/* Le Monarque · le site. Un seul cadre pour les quatre pages. */
:root {
  --nuit: #05070d;
  --encre: #0b0f1c;
  --indigo: #17193a;
  --or: #edb04c;
  --aile: #e8791f;
  --ivoire: #f4ecdb;
  --eau: #5cc8dd;
  --voile: rgba(244, 236, 219, .74);
  --filet: rgba(244, 236, 219, .16);
  --titre: "Marcellus", "Trajan Pro", "Times New Roman", serif;
  --texte: "Newsreader", Georgia, serif;
  --sys: "Jost", system-ui, sans-serif;
  --gout: clamp(1.25rem, 5vw, 5.5rem);
  --barre: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--ivoire);
  font-family: var(--texte);
  font-size: 1.1875rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- voix typographiques ---------- */
.cap {
  font-family: var(--titre);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 400;
}
.sys {
  font-family: var(--sys);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
}
.dit {
  font-style: italic;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* ---------- la barre ---------- */
.barre {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--barre);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--gout);
  background: linear-gradient(rgba(5, 7, 13, .82), rgba(5, 7, 13, 0));
  transition: background .4s;
}
.barre.pleine { background: rgba(5, 7, 13, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marque { font-family: var(--titre); letter-spacing: .3em; text-transform: uppercase; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav a {
  font-family: var(--sys); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--voile); padding: .6rem 0; position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--ivoire); }
.nav a[aria-current="page"] { color: var(--or); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: .1rem; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--or); box-shadow: 0 0 10px var(--or);
}
.outils { display: flex; align-items: center; gap: .75rem; }
.aum {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sys); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--filet); border-radius: 999px; padding: .5rem .95rem .5rem .8rem; color: var(--voile);
  white-space: nowrap;
}
.aum:hover { color: var(--ivoire); border-color: rgba(244, 236, 219, .4); }
.aum[aria-pressed="true"] { color: var(--or); border-color: var(--or); }
.onde { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.onde i { display: block; width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.aum[aria-pressed="true"] .onde i { animation: onde 1.6s ease-in-out infinite; }
.aum[aria-pressed="true"] .onde i:nth-child(2) { animation-delay: .2s; }
.aum[aria-pressed="true"] .onde i:nth-child(3) { animation-delay: .4s; }
.aum[aria-pressed="true"] .onde i:nth-child(4) { animation-delay: .6s; }
@keyframes onde { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 22px; height: 1px; background: var(--ivoire); position: relative; transition: transform .3s; }
.menu-btn span::before { content: ""; position: absolute; top: 7px; }
.menu-ouvert .menu-btn span { transform: translateY(3.5px) rotate(45deg); }
.menu-ouvert .menu-btn span::before { transform: translateY(-7px) rotate(-90deg); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(5, 7, 13, .97);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a { font-family: var(--titre); font-size: 1.35rem; letter-spacing: .22em; color: var(--ivoire); }
  .menu-ouvert .nav { opacity: 1; visibility: visible; }
  .aum .aum-mot { display: none; }
  .aum { padding: .65rem .8rem; }
  .marque { font-size: .85rem; letter-spacing: .24em; }
}

/* ---------- l'ouverture (page d'accueil) ---------- */
.ouverture { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.ouverture picture, .ouverture picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ouverture picture img { object-position: 72% 50%; animation: respire 2.8s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes respire { from { transform: scale(1.07); filter: brightness(.55); } to { transform: none; filter: none; } }
.ouverture::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .78) 0%, rgba(5, 7, 13, .38) 42%, rgba(5, 7, 13, 0) 68%),
    linear-gradient(0deg, rgba(5, 7, 13, .92) 0%, rgba(5, 7, 13, 0) 38%);
}
.ouverture-texte { position: relative; z-index: 1; padding: calc(var(--barre) + 2rem) var(--gout) clamp(5.5rem, 12svh, 8rem); max-width: 60rem; }
.titre-monde {
  font-family: var(--titre); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 9.2vw, 8.25rem); line-height: .98; letter-spacing: .1em;
  animation: leve 1.8s .5s both;
}
.titre-monde .le { display: block; font-size: .42em; letter-spacing: .5em; margin-bottom: .35em; color: var(--or); }
.titre-monde .ligne { display: block; white-space: nowrap; }
.titre-monde .o { display: inline-block; width: .8em; height: .8em; margin: 0 .05em 0 -.02em; vertical-align: -.035em; position: relative; }
.titre-monde .o img { width: 100%; height: 100%; border-radius: 50%; mix-blend-mode: screen; animation: luit 5s ease-in-out 2.4s infinite; }
@keyframes luit { 0%, 100% { filter: brightness(1.05) drop-shadow(0 0 0 rgba(237, 176, 76, 0)); } 50% { filter: brightness(1.3) drop-shadow(0 0 22px rgba(237, 176, 76, .55)); } }
.question { font-size: clamp(1.5rem, 3.4vw, 2.9rem); margin-top: clamp(1rem, 2.5vw, 2rem); animation: leve 1.8s 1.1s both; }
.devise { margin-top: clamp(1.25rem, 3vw, 2.25rem); color: var(--voile); animation: leve 1.8s 1.6s both; }
.devise span { display: block; }
@keyframes leve { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.depart { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.6rem, 3.5vw, 2.6rem); animation: leve 1.8s 2.1s both; }
.depart .geste { margin-top: 0; }
.descendre {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 1.2rem; margin: 0 auto; width: 1px; height: 2.4rem;
  animation: leve 1.6s 2.6s both;
}
.descendre::after { content: ""; display: block; width: 1px; height: 2.4rem; background: linear-gradient(var(--or), transparent); animation: goutte 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes goutte { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@media (max-width: 700px) {
  .ouverture picture img { object-position: 50% 30%; }
  .ouverture::after { background: linear-gradient(0deg, rgba(5, 7, 13, .95) 4%, rgba(5, 7, 13, .5) 44%, rgba(5, 7, 13, 0) 66%); }
  .ouverture-texte { padding-bottom: 5rem; }
  .depart .geste { padding: .85rem 1.15rem; font-size: .74rem; letter-spacing: .16em; }
  .titre-monde { letter-spacing: .06em; font-size: clamp(2.5rem, 12.6vw, 4.2rem); }
}

/* ---------- le voyage : scènes épinglées ---------- */
.scene { position: relative; --sat: 1; --lum: 1; overflow-x: clip; }
.scene-image { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--nuit); }
.scene-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--cadre, 50% 50%);
  filter: saturate(var(--sat)) brightness(var(--lum));
}
.scene-image::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 7, 13, .78) 0%, rgba(5, 7, 13, 0) 45%),
    linear-gradient(180deg, rgba(5, 7, 13, .6) 0%, rgba(5, 7, 13, 0) 22%),
    linear-gradient(var(--sens, 90deg), rgba(5, 7, 13, .72) 0%, rgba(5, 7, 13, .2) 45%, rgba(5, 7, 13, 0) 65%);
}
.scene[data-cote="droite"] { --sens: 270deg; }
.scene-temps { position: relative; z-index: 1; margin-top: -58svh; padding: 0 var(--gout) 62svh; display: grid; gap: 62svh; }
.temps { position: relative; max-width: 33rem; text-shadow: 0 1px 22px rgba(5, 7, 13, .9), 0 0 2px rgba(5, 7, 13, .7); }
.temps::before {
  content: ""; position: absolute; z-index: -1; inset: -3.5rem -5rem; pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 7, 13, .7) 0%, rgba(5, 7, 13, .46) 55%, rgba(5, 7, 13, 0) 100%);
}
.scene[data-cote="droite"] .temps { justify-self: end; }
.temps.centre { justify-self: center; text-align: center; max-width: 46rem; }
.scene-nom { color: var(--or); font-size: .95rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .9rem; }
.scene-nom::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--or) 45%, #7b4a12); box-shadow: 0 0 14px rgba(237, 176, 76, .8); flex: none; }
.temps.centre .scene-nom { justify-content: center; }
.recit { font-size: clamp(1.25rem, 1.02rem + .85vw, 1.7rem); line-height: 1.48; text-wrap: pretty; }
.recit + .recit { margin-top: 1em; }
.parole { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem); }
.parole small { display: block; font-style: normal; font-family: var(--sys); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--voile); margin-top: 1.4rem; line-height: 1.6; }
.geste {
  display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.8rem;
  font-family: var(--sys); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid var(--or); color: var(--or);
  background: rgba(5, 7, 13, .45); text-shadow: none; transition: background .3s, color .3s;
}
.geste:hover { background: var(--or); color: var(--nuit); }
.geste.plein { background: var(--or); color: var(--nuit); }
.geste.plein:hover { background: var(--ivoire); border-color: var(--ivoire); }
.geste-note { display: block; margin-top: 1rem; font-family: var(--sys); font-size: .9rem; color: var(--voile); min-height: 1.5em; text-shadow: none; }
.gestes { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: inherit; }
.temps.centre .gestes { justify-content: center; }

/* la plongée : le noir, puis la couleur */
#surface .scene-image::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: #02040a; opacity: var(--noir, 0); pointer-events: none;
}
#surface .scene-image::after { z-index: 2; }

/* le rail : les billes du manteau */
.rail {
  position: fixed; z-index: 40; left: clamp(.55rem, 1.6vw, 1.6rem); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .15rem;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.rail.visible { opacity: 1; visibility: visible; }
.rail a { display: flex; align-items: center; gap: .7rem; height: 1.6rem; text-decoration: none; color: transparent; }
.rail a::before {
  content: ""; width: 7px; height: 7px; margin: 0 4px; border-radius: 50%; flex: none;
  border: 1px solid rgba(244, 236, 219, .5); background: transparent; transition: all .5s;
}
.rail a.passee::before { background: radial-gradient(circle at 35% 30%, #fff, var(--or) 50%, #7b4a12); border-color: transparent; box-shadow: 0 0 9px rgba(237, 176, 76, .7); }
.rail a.ici::before { width: 13px; height: 13px; margin: 0 1px; background: radial-gradient(circle at 35% 30%, #fff, var(--or) 45%, #7b4a12); border-color: transparent; box-shadow: 0 0 18px rgba(237, 176, 76, .95); }
.rail a span { font-family: var(--sys); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s; text-shadow: 0 0 10px #000; }
.rail a:hover span, .rail a:focus-visible span { color: var(--ivoire); opacity: 1; }
.rail a span { background: rgba(5, 7, 13, .8); padding: .25rem .6rem; border-radius: 999px; }
@media (max-width: 860px) {
  .rail { left: auto; right: .3rem; }
  .rail a { flex-direction: row-reverse; height: 1.5rem; }
  .rail a span { display: none; }
  .scene-temps { padding-right: calc(var(--gout) + 1rem); }
  .scene-image::after { background: linear-gradient(0deg, rgba(5, 7, 13, .86) 0%, rgba(5, 7, 13, .3) 55%, rgba(5, 7, 13, .5) 100%); }
  .scene[data-cote="droite"] .temps { justify-self: start; }
  .temps::before { inset: -4rem -3rem; }
}

/* ---------- les portes (mosaïque, comme les planches) ---------- */
.bloc { padding: clamp(4.5rem, 11vw, 9rem) var(--gout); position: relative; }
.bloc-tete { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.bloc-titre { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem); line-height: 1.12; text-wrap: balance; }
.bloc-tete p { margin-top: 1.2rem; color: var(--voile); max-width: 38rem; }
.mosaique { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.tuile { position: relative; overflow: hidden; display: block; text-decoration: none; grid-column: span 3; aspect-ratio: 4 / 5; background: var(--encre); }
.tuile.large { grid-column: span 6; aspect-ratio: auto; }
.tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.tuile:hover img, .tuile:focus-visible img { transform: scale(1.045); }
.tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 7, 13, .92) 0%, rgba(5, 7, 13, 0) 55%); }
.tuile-texte { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.2rem; text-align: center; }
.tuile-nom { font-family: var(--titre); text-transform: uppercase; letter-spacing: .2em; font-size: 1.05rem; display: block; }
.tuile-dit { font-family: var(--sys); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--voile); display: block; margin-top: .45rem; line-height: 1.7; }
@media (max-width: 1000px) { .tuile { grid-column: span 4; } .tuile.large { grid-column: span 12; aspect-ratio: 16 / 9; } }
@media (max-width: 640px) {
  .tuile { grid-column: span 6; aspect-ratio: 3 / 4; } .tuile.large { aspect-ratio: 4 / 3; }
  .tuile-texte { padding: .9rem .5rem; }
  .tuile-nom { font-size: .8rem; letter-spacing: .14em; line-height: 1.35; }
  .tuile.large .tuile-nom { font-size: 1.05rem; letter-spacing: .2em; }
  .tuile-dit { font-size: .6rem; letter-spacing: .14em; }
}

.passages { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 4px; }
.passage { position: relative; min-height: clamp(17rem, 34vw, 27rem); display: flex; align-items: flex-end; overflow: hidden; text-decoration: none; background: var(--encre); }
.passage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.passage:hover img, .passage:focus-visible img { transform: scale(1.04); }
.passage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 7, 13, .92), rgba(5, 7, 13, .1) 70%); }
.passage-texte { position: relative; z-index: 1; padding: clamp(1.4rem, 3vw, 2.6rem); }
.passage-texte .dit { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.7rem); display: block; }
.passage-texte .sys { display: block; margin-top: .8rem; color: var(--or); }
@media (max-width: 760px) { .passages { grid-template-columns: 1fr; } }

/* ---------- pages intérieures ---------- */
.entete { position: relative; min-height: 78svh; display: grid; align-items: end; overflow: hidden; }
.entete img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--cadre, 50% 50%); }
.entete::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--nuit) 0%, rgba(5, 7, 13, .35) 55%, rgba(5, 7, 13, .55) 100%); }
.entete-texte { position: relative; z-index: 1; padding: calc(var(--barre) + 3rem) var(--gout) clamp(2.5rem, 6vw, 4.5rem); max-width: 62rem; }
.entete h1 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(2.3rem, 1.2rem + 5.6vw, 6rem); line-height: 1.02; }
.entete .dit { font-size: clamp(1.35rem, 1rem + 1.5vw, 2.2rem); margin-top: 1.2rem; max-width: 44rem; }
.entete .chapo { margin-top: 1.2rem; color: var(--voile); max-width: 40rem; }

.sommaire {
  position: sticky; top: var(--barre); z-index: 30;
  display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none;
  padding: .7rem var(--gout); background: rgba(5, 7, 13, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--filet);
}
.sommaire::-webkit-scrollbar { display: none; }
.sommaire a {
  flex: none; font-family: var(--sys); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--voile); padding: .5rem .95rem; border-radius: 999px; border: 1px solid transparent;
}
.sommaire a:hover { color: var(--ivoire); }
.sommaire a.ici { color: var(--or); border-color: rgba(237, 176, 76, .55); }

.partie { padding: clamp(4rem, 9vw, 8rem) var(--gout); scroll-margin-top: calc(var(--barre) + 3rem); position: relative; }
.partie + .partie { border-top: 1px solid var(--filet); }
.partie-tete { max-width: 48rem; margin-bottom: clamp(2rem, 4.5vw, 3.6rem); }
.partie-tete h2 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem); line-height: 1.12; text-wrap: balance; }
.partie-tete .dit { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); color: var(--or); margin-top: 1rem; }
.partie-tete p:not(.dit) { margin-top: 1.1rem; color: var(--voile); }
.prose { max-width: 40rem; }
.prose p + p { margin-top: 1em; }
.prose p { color: rgba(244, 236, 219, .86); }

.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.duo.inverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.duo.inverse > :first-child { order: 2; }
.duo figure img { width: 100%; }
.duo figure.colle { position: sticky; top: calc(var(--barre) + 4.5rem); }
@media (max-width: 860px) { .duo, .duo.inverse { grid-template-columns: 1fr; } .duo.inverse > :first-child { order: 0; } .duo figure.colle { position: static; } }

.citation { font-size: clamp(1.5rem, 1rem + 2.2vw, 2.9rem); max-width: 48rem; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; color: var(--ivoire); }
.citation::before { content: ""; display: block; width: 2.5rem; height: 1px; background: var(--or); margin-bottom: 1.4rem; }

/* paires de contradictions */
.paires { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.paires li { padding: 1.15rem 0; border-top: 1px solid var(--filet); }
.paires b { display: block; font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: .98rem; color: var(--or); margin-bottom: .35rem; }
.paires span { color: var(--voile); font-size: 1.05rem; line-height: 1.5; display: block; }
@media (max-width: 560px) { .paires { grid-template-columns: 1fr; } }

/* les couches du réel */
.couches { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.couches svg { width: 100%; max-width: 34rem; height: auto; justify-self: center; }
.couches svg .anneau { fill: none; stroke: rgba(244, 236, 219, .28); stroke-width: 1; transition: stroke .4s, stroke-width .4s; cursor: pointer; }
.couches svg .zone { fill: transparent; cursor: pointer; }
.couches svg text { font-family: "Jost", sans-serif; font-size: 11px; letter-spacing: 3px; fill: rgba(244, 236, 219, .6); text-anchor: middle; pointer-events: none; transition: fill .4s; }
.couches svg g.choisie .anneau { stroke: var(--or); stroke-width: 2; }
.couches svg g.choisie text { fill: var(--or); }
.couches svg .source { fill: url(#lueur); }
.couche-liste { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.pastille {
  font-family: var(--sys); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .6rem 1.05rem; border-radius: 999px; border: 1px solid var(--filet); color: var(--voile);
}
.pastille:hover { color: var(--ivoire); border-color: rgba(244, 236, 219, .4); }
.pastille[aria-pressed="true"], .pastille[aria-selected="true"] { color: var(--nuit); background: var(--or); border-color: var(--or); }
.couche-texte h3 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: 1.5rem; margin-bottom: .8rem; }
.couche-texte p { color: rgba(244, 236, 219, .86); max-width: 34rem; min-height: 9.5em; }
@media (max-width: 860px) { .couches { grid-template-columns: 1fr; } .couche-texte p { min-height: 0; } }

/* figures intérieures */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.figure-carte figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--encre); }
.figure-carte figure img { width: 100%; height: 100%; object-fit: cover; }
.figure-carte figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 7, 13, .9), rgba(5, 7, 13, 0) 50%); }
.figure-carte figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.3rem; text-align: center; }
.figure-carte figcaption b { display: block; font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; font-size: 1.15rem; }
.figure-carte figcaption span { display: block; margin-top: .4rem; font-family: var(--sys); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--or); }
.figure-carte p { margin-top: 1.1rem; color: var(--voile); font-size: 1.08rem; line-height: 1.55; }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr; gap: 2.5rem; } .figure-carte figure { aspect-ratio: 1 / 1; } }

/* les billes */
.billes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(.2rem, 1vw, 1rem); margin-bottom: 2rem; max-width: 62rem; }
.bille-btn { display: grid; justify-items: center; gap: .5rem; padding: .3rem 0 .7rem; border-radius: .5rem; }
.bille-btn img { width: 100%; max-width: 7.5rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; mix-blend-mode: screen; filter: brightness(.82) saturate(.85); transition: filter .5s, transform .5s; }
.bille-btn:hover img { filter: brightness(.95); }
.bille-btn[aria-selected="true"] img { filter: brightness(1.25) saturate(1.1) drop-shadow(0 0 16px rgba(237, 176, 76, .45)); transform: scale(1.12); }
.bille-btn span { font-family: var(--sys); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--voile); }
.bille-btn[aria-selected="true"] span { color: var(--or); }
.bille-fiche { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; max-width: 52rem; min-height: 15rem; }
.bille-fiche img { width: clamp(9rem, 22vw, 15rem); aspect-ratio: 1; object-fit: cover; border-radius: 50%; mix-blend-mode: screen; }
.bille-fiche h3 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.bille-fiche .sys { color: var(--or); margin-top: .5rem; display: block; }
.bille-fiche .dit { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); margin-top: .9rem; }
@media (max-width: 760px) {
  .billes { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: .6rem; }
  .bille-fiche { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 0; }
}

/* territoires */
.territoires { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); }
.territoire figure { aspect-ratio: 3 / 2; overflow: hidden; background: var(--encre); }
.territoire figure img { width: 100%; height: 100%; object-fit: cover; }
.territoire h3 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; font-size: 1.1rem; margin-top: 1.1rem; }
.territoire p { margin-top: .5rem; color: var(--voile); font-size: 1.05rem; line-height: 1.55; }
@media (max-width: 900px) { .territoires { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .territoires { grid-template-columns: 1fr; } }
.trois-lieux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.trois-lieux li { border-top: 1px solid var(--or); padding-top: 1.1rem; }
.trois-lieux b { display: block; font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: 1rem; margin-bottom: .4rem; }
.trois-lieux span { color: var(--voile); font-size: 1.05rem; line-height: 1.5; }
@media (max-width: 760px) { .trois-lieux { grid-template-columns: 1fr; gap: 1.6rem; } }

/* listes ordonnées (lois, titres, épisodes, séquences, salles) */
.suite { counter-reset: n; max-width: 56rem; }
.suite > li { counter-increment: n; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 1rem; padding: 1.2rem 0; border-top: 1px solid var(--filet); }
.suite > li::before { content: counter(n, decimal-leading-zero); font-family: var(--sys); font-size: .82rem; letter-spacing: .14em; color: var(--or); padding-top: .32rem; }
.suite.romain > li::before { content: counter(n, upper-roman); }
.suite b { display: block; font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 1.05rem; line-height: 1.4; }
.suite span { display: block; color: var(--voile); font-size: 1.06rem; line-height: 1.52; margin-top: .3rem; }
.suite.deux { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 760px) { .suite.deux { grid-template-columns: 1fr; } }

.sous-titre { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; font-size: 1.05rem; color: var(--or); margin: clamp(2.5rem, 6vw, 4rem) 0 1rem; }
.liste-fine { max-width: 56rem; }
.liste-fine li { padding: .95rem 0; border-top: 1px solid var(--filet); color: var(--voile); font-size: 1.06rem; line-height: 1.5; }
.liste-fine b { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; color: var(--ivoire); margin-right: .6rem; }
.liste-fine.deux { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 760px) { .liste-fine.deux { grid-template-columns: 1fr; } }
.liste-fine.bloc-b b { display: block; margin: 0 0 .25rem; }

/* une œuvre */
.oeuvre-image { position: relative; aspect-ratio: 21 / 9; overflow: hidden; margin: 0 calc(var(--gout) * -1) clamp(2.2rem, 5vw, 3.5rem); background: var(--encre); }
.oeuvre-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cadre, 50% 50%); }
.oeuvre-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--nuit), rgba(5, 7, 13, 0) 45%); }
.partie.oeuvre { padding-top: 0; }
@media (max-width: 760px) { .oeuvre-image { aspect-ratio: 4 / 3; } }
.apporte { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); color: var(--or); margin-top: 1rem; }
.inscriptions { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 60rem; }
.inscriptions li { font-family: var(--titre); text-transform: uppercase; letter-spacing: .2em; font-size: .9rem; padding: .8rem 1.1rem; border: 1px solid var(--filet); }
.lancement { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); counter-reset: n; position: relative; }
.lancement::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--or), rgba(237, 176, 76, .15)); }
.lancement li { counter-increment: n; padding: 1.8rem 1rem 0 0; position: relative; }
.lancement li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--or) 45%, #7b4a12); box-shadow: 0 0 14px rgba(237, 176, 76, .7); }
.lancement b { display: block; font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: .92rem; }
.lancement b::before { content: counter(n) ". "; color: var(--or); }
.lancement span { display: block; color: var(--voile); font-size: .98rem; line-height: 1.45; margin-top: .4rem; }
@media (max-width: 1000px) {
  .lancement { grid-template-columns: 1fr; }
  .lancement::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--or), rgba(237, 176, 76, .15)); }
  .lancement li { padding: 0 0 1.5rem 2.2rem; }
}
.circulation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); }
.circulation li { padding: 1rem 0; border-top: 1px solid var(--filet); }
.circulation b { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.circulation b i { font-style: normal; width: 1.8rem; height: 1px; background: var(--or); position: relative; display: inline-block; }
.circulation b i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--or); border-right: 1px solid var(--or); transform: rotate(45deg); }
.circulation span { display: block; color: var(--voile); font-size: 1.04rem; line-height: 1.5; margin-top: .3rem; }
@media (max-width: 760px) { .circulation { grid-template-columns: 1fr; } }

/* les oublis */
.tirage { max-width: 54rem; min-height: 17rem; }
.tirage .sys { color: var(--or); }
.tirage h2 { font-family: var(--texte); font-style: italic; font-weight: 300; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1.1; margin-top: 1rem; text-wrap: balance; }
.tirage p { margin-top: 1.2rem; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); color: var(--voile); max-width: 38rem; }
.oublis { columns: 2; column-gap: clamp(2rem, 5vw, 4.5rem); counter-reset: n; }
.oublis li { counter-increment: n; break-inside: avoid; display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); padding: 1.05rem 0; border-top: 1px solid var(--filet); }
.oublis li::before { content: counter(n, decimal-leading-zero); font-family: var(--sys); font-size: .8rem; letter-spacing: .12em; color: var(--or); padding-top: .38rem; }
.oublis b { display: block; font-weight: 400; font-size: 1.22rem; line-height: 1.3; }
.oublis span { display: block; color: var(--voile); font-size: 1.04rem; line-height: 1.5; margin-top: .25rem; }
.oublis li.tire b { color: var(--or); }
@media (max-width: 760px) { .oublis { columns: 1; } }

/* fin de page : la suite */
.suivant { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
@media (max-width: 760px) { .suivant { grid-template-columns: 1fr; } }

/* ---------- pied ---------- */
.pied { padding: clamp(3.5rem, 8vw, 6rem) var(--gout) 2.5rem; border-top: 1px solid var(--filet); text-align: center; }
.pied .marque { font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); letter-spacing: .34em; display: inline-block; }
.pied .dit { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: var(--voile); margin-top: 1rem; }
.pied nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; margin-top: 2.2rem; }
.pied nav a { font-family: var(--sys); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--voile); padding: .4rem 0; }
.pied nav a:hover { color: var(--or); }
.pied small { display: block; margin: 2.4rem auto 0; max-width: 44rem; font-family: var(--sys); font-size: .82rem; line-height: 1.7; color: rgba(244, 236, 219, .5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- mentions légales ---------- */
.mentions { padding-top: calc(var(--barre) + clamp(3rem, 8vw, 6rem)); }
.mentions h1 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem); line-height: 1.12; }
.mentions .sous-titre { margin-top: 2.6rem; }
.mentions .prose a { color: var(--or); }
