/* =====================
   THÈME MUSÉE HISTORIQUE (SOMBRE, SANS BLEU)
===================== */
:root{
  --bg: #0b0a08;          /* noir chaud */
  --panel: linear-gradient(180deg, rgba(192,138,75,.22), rgba(192,138,75,.10));      /* panneaux */
  --card: #1b1814;    /* vitrines / cartes */
  --text: #f2eee6;        /* ivoire */
  --muted: #c2b8aa;       /* gris chaud */
  --accent: #c08a4b;      /* cuivre */
  --accent2: #8f6b3e;     /* ocre foncé */
  --line: rgba(255,255,255,.10);
  --radius: 18px;
  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  --bullet: rgba(192,138,75,.85); /* cuivre */

}

/* =====================
   BASE
===================== */
*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: var(--font);
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(192,138,75,.14), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(143,107,62,.10), transparent 62%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a{ color: inherit; text-decoration:none; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 78px;
}

/* =====================
   HEADER
===================== */
.site-header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand{
  font-weight: 900;
  letter-spacing: .4px;
  font-size: 1.05rem;
}

.site-nav a{
  margin-left: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.site-nav a:hover{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}

/* =====================
   HERO + BANNIÈRE
===================== */
.hero-banner{
   position: relative;
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;

  background:
    linear-gradient(to bottom, rgba(11,10,8,.55), rgba(11,10,8,.90)),
    radial-gradient(900px 420px at 18% 15%, rgba(192,138,75,.35), transparent 60%),
    url("images/top.jpg") center / cover no-repeat;
}

/* grain très subtil */
.hero-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .05;
  pointer-events:none;
}

.hero-content{
  position: relative;
  display:grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 46px;
  align-items: center;
}

.name{
  font-weight: 900;
  letter-spacing: .25px;
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 6px;
}

.kicker{
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: 12px;
}

.hero h1{
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 46px);
  line-height: 1.12;
}

.subtitle{
  color: rgba(242,238,230,.82);
  max-width: 64ch;
}

/* =====================
   BOUTONS
===================== */
.cta{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn{
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 700;
  background: rgba(255,255,255,.05);
}

.btn:hover{
  background: rgba(255,255,255,.08);
}

.btn.primary{
  border-color: rgba(192,138,75,.65);
  background:
    linear-gradient(180deg, rgba(192,138,75,.22), rgba(192,138,75,.10));
}

/* =====================
   PORTRAIT (cartouche musée)
===================== */
.hero-photo{
  display:flex;
  justify-content: center;
}

.hero-photo img{
  width: 100%;
  max-width: 200px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: #0d0c0a;
  box-shadow: 0 18px 42px rgba(0,0,0,.6);
}

/* =====================
   SECTIONS
===================== */
.section{
  margin-top: 60px;
  position: relative;
}

.section::before{
  content:"";
  display:block;
  width: 96px;
  height: 2px;
  background: rgba(192,138,75,.55);
  border-radius: 2px;
  margin: 0 0 28px;
}

.section h2{
  margin: 0 0 18px;
  font-size: 2.00rem;
  letter-spacing: .25px;
  
}

/* =====================
   PANNEAUX
===================== */
.section.section-alt{
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--radius) + 2px);
  padding: 40px;
  margin-top: 68px;
  box-shadow: 0 18px 36px rgba(0,0,0,.45);
  border-left: 4px solid rgba(192,138,75,.45);
  border-bottom: 4px solid rgba(192,138,75,.45);
}

.section.section-alt::before{
  display:none;
}

.section.section-alt1{
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--radius) + 2px);
  padding: 40px;
  margin-top: 68px;
 box-shadow: 5px 5px 18px rgba(255,255,255,.45);
  border-right: 4px solid rgba(192,138,75,.45);
  border-bottom: 4px solid rgba(192,138,75,.45);
}

.section.section-alt1::before{
  display:none;
}
/* =====================
   STATS
===================== */
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat{
   background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--radius) + 2px);
  margin-top: 20px;
  box-shadow: 5px 5px 18px rgba(255,255,255,.45);
  border-left: 4px solid rgba(192,138,75,.55);
  padding: 10px;
  font-size: 1.00rem;
  letter-spacing: .25px;
  text-align: center;
}

.stat strong{
  display:block;
  font-size: 1.00rem;
}

.stat span{
  color: rgba(242,238,230,.70);
}

/* =====================
   CARTES
===================== */
.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);

  padding: 24px;
  transition: transform .12s ease, box-shadow .12s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 5px 5px 18px rgba(255,255,255,.55);
}

.card h3{
  margin: 0 0 10px;
  letter-spacing: .25px;
}

.card p{
  margin: 0;
  color: rgba(242,238,230,.72);
}

.card1{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);

  padding: 24px;
  transition: transform .12s ease, box-shadow .12s ease;
}


.card1 h3{
  margin: 0 0 10px;
  letter-spacing: .25px;
}

.card1 p{
  margin: 0;
  color: rgba(242,238,230,.72);
}

/* =====================
   FOOTER
===================== */
.site-footer{
  margin-top: 82px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(242,238,230,.70);
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================
   BOUTON THÈME
===================== */
.theme-toggle{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text);
}

.theme-toggle:hover{
  background: rgba(255,255,255,.08);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px){
  .site-nav{ display:none; }

  .hero-content{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo{ order: -1; }

  .hero-banner{ padding: 44px 22px; }

  .stats{ grid-template-columns: repeat(2, 1fr); }

  .grid{ grid-template-columns: 1fr; }

  .section.section-alt{ padding: 30px; }
}

@media (max-width: 500px){
  .stats{ grid-template-columns: 1fr; }
}

.axes{
  margin-top: 14px;
  max-width: 64ch;
}

.axes-title{
  display:block;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--accent2);
  margin-bottom: 6px;
}

.axes ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.axes li{
  position: relative;
  padding-left: 18px;
  margin-bottom: 3px;
}

.axes li::before{
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.pub-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pub-list li{
  position: relative;
  padding-left: 18px;
  margin: 0 0 8px;
}

.pub-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bullet);
}
.pub-list.tri li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--bullet);
}
/* Liens dans les listes de publications */
.pub-list a{
  color: inherit;                /* même couleur que le texte */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.pub-list a:hover,
.pub-list a:focus{
  color: var(--accent);           /* change selon le thème */
  border-bottom-color: var(--accent);
}



		/* HERO COMPACT */
.hero-banner{ padding: 36px 36px; }

.hero h1{
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 40px);
}

.axes{ margin-top: 14px; }
.axes-title{ margin-bottom: 6px; }
.axes li{ margin-bottom: 3px; }

.hero-photo img{ max-width: 260px; }

.hero-banner{
  position: relative;
}

.hero-link{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content{
  position: relative;
  z-index: 2;
}
.hero-banner:hover{
  filter: brightness(1.02);
}


.libutton {
          display: flex;
          flex-direction: column;
          justify-content: center;
          padding: 7px;
          text-align: center;
          outline: none;
          text-decoration: none !important;
          color: #ffffff !important;
          width: 50px;
          height: 32px;
         
        }
		