/* ═══════════════════════════════════════════════════════════════════════
   VOYAGE AU CENTRE DE L’ÉROS — v2
   Visuel de référence : boules à facettes argentées, liaisons dorées
   pointillées, ondes de signal, fond pétrole liquide.
   Identité : Indigo · Or · Ocre.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* — Eau profonde (élément dominant des deux cartes) — */
  --abysse:   #04100f;
  --petrole:  #07231f;
  --petrole2: #0b3b36;
  --petrole3: #147069;
  --argent:   #cfe4ee;
  --cyan:     #5fd6d0;

  /* — Indigo de marque & bleu de la vidéo — */
  --indigo:      #241a49;
  --indigo-deep: #150f2c;
  --marine:      #0d1e38;
  --bleu:        #2f6b9e;

  /* — Feu / incarnation — */
  --braise:  #c1452c;
  --braise2: #d9714f;
  --ocre:    #b96c43;
  --ocre2:   #8c4f30;

  /* — Or : la mise en forme, le lien — */
  --or:       #d9ae68;
  --or-clair: #f3e0b4;
  --or-sourd: #a8814a;

  /* — Clairs — */
  --nacre:  #faf4ea;
  --ivoire: #f1e6d5;
  --sable:  #e3d2b8;
  --encre:  #1a1720;

  --trait:   rgba(198,232,226,.14);
  --trait-s: rgba(26,23,32,.16);
  --or-trait: rgba(217,174,104,.4);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --shell: min(1260px, calc(100vw - 72px));
  --head-h: 86px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-s: cubic-bezier(.33,1,.68,1);
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* le bandeau est fixe : on décale l’arrivée des ancres pour que le haut
     de section ne passe pas dessous */
  scroll-padding-top: calc(var(--head-h) + 18px);
}
body {
  margin: 0; background: var(--abysse); color: var(--nacre);
  font-family: var(--sans); font-size: 17px; line-height: 1.68;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.018em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.15em; }
em { font-style: italic; color: var(--or); }
::selection { background: var(--or); color: var(--abysse); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 999; padding: 12px 20px; background: var(--or); color: var(--abysse); text-decoration: none; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; transition: top .25s var(--ease); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }

/* Atelier SVG : porte les symboles, ne s’affiche jamais */
.atelier { position: absolute; width: 0; height: 0; overflow: hidden; }

.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 900; opacity: .05; mix-blend-mode: overlay; }


/* Kintsugi — l’or qui répare : l’alliance rendue visible */
.cadre::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/marbre-or.jpg") center / cover no-repeat;
  opacity: .62; mix-blend-mode: multiply;
}
/* un lavis clair derrière la parole : la texture reste, le texte redevient net */
.cadre::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(98deg,
    rgba(243,236,226,.92) 0%, rgba(243,236,226,.84) 22%,
    rgba(243,236,226,.42) 40%, rgba(243,236,226,.10) 52%, transparent 60%);
}

/* ── Bandeau ───────────────────────────────────────────────────────── */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; background: rgba(255,255,255,.05); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--indigo-lift, #3a2a68), var(--bleu) 26%, var(--cyan) 48%, var(--or) 82%); box-shadow: 0 0 14px rgba(217,174,104,.5); }

.masthead { position: fixed; inset: 0 0 auto 0; z-index: 110; border-bottom: 1px solid transparent; transition: background .45s var(--ease), backdrop-filter .45s var(--ease), border-color .45s var(--ease); }
.masthead.is-scrolled { background: rgba(4,16,15,.8); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--trait); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
/* Logo : une boule à facettes prélevée dans le visuel d’identité.
   Fond quasi noir → mix-blend screen le fait disparaître. */
.brand-boule {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: url("assets/logo-128.png") center / 106% auto no-repeat;
  /* le fond sombre du visuel se fond dans le bandeau : pas de vignette */
  mix-blend-mode: screen;
  transition: transform .5s var(--ease-s), filter .5s var(--ease);
}
.brand:hover .brand-boule { transform: rotate(8deg) scale(1.05); filter: brightness(1.12); }
.foot .brand-boule { width: 34px; height: 34px; }
.brand-word { font-family: var(--serif); font-size: 1rem; }
.brand-word i { font-style: italic; color: var(--or); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a { position: relative; text-decoration: none; font-size: .75rem; letter-spacing: .055em; text-transform: uppercase; color: rgba(250,244,234,.64); transition: color .3s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--or); transition: right .4s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--nacre); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav-cta { border: 1px solid var(--or-trait); background: transparent; color: var(--or-clair); padding: 11px 22px; border-radius: 999px; cursor: pointer; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.nav-cta:hover { background: var(--or); border-color: var(--or); color: var(--abysse); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span:not(.sr-only) { position: absolute; left: 11px; width: 22px; height: 1px; background: var(--nacre); transition: transform .35s var(--ease); }
.burger span:not(.sr-only):nth-of-type(1) { top: 19px; }
.burger span:not(.sr-only):nth-of-type(2) { top: 25px; }
.burger[aria-expanded="true"] span:not(.sr-only):nth-of-type(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) { transform: translateY(-3px) rotate(-45deg); }

/* ── Boutons ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 11px; padding: 16px 32px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; font-size: .82rem; letter-spacing: .085em; text-transform: uppercase; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn span { transition: transform .4s var(--ease); }
.btn:hover span { transform: translate(3px,3px); }
.btn-gold { background: linear-gradient(120deg, var(--or-clair), var(--or) 46%, var(--ocre)); color: #1a1206; box-shadow: 0 14px 42px rgba(217,174,104,.24); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 54px rgba(217,174,104,.34); }
.btn-line { background: transparent; border-color: var(--trait); color: var(--nacre); }
.btn-line:hover { border-color: var(--or); color: var(--or-clair); }
.btn-lg { padding: 20px 42px; font-size: .88rem; }

/* ── Titrailles ────────────────────────────────────────────────────── */
.kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: .73rem; letter-spacing: .22em; text-transform: uppercase; color: var(--or); font-weight: 500; }
.kicker::before { content: ""; width: 42px; height: 1px; background: var(--or-trait); }
.seuil-date { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or-clair); }
.seuil-date i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--or); box-shadow: 0 0 14px var(--or); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-s), transform 1s var(--ease-s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ═══ I. LE SEUIL — texte à gauche sur fond profond, image à droite ══ */
:root { --marge: calc((100vw - min(1260px, 100vw - 72px)) / 2); }

.seuil {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  background:
    radial-gradient(74% 58% at 8% 92%, rgba(20,112,105,.28) 0%, transparent 62%),
    radial-gradient(56% 46% at 4% 10%, rgba(36,26,73,.5) 0%, transparent 64%),
    radial-gradient(44% 38% at 44% 34%, rgba(47,107,158,.16) 0%, transparent 70%),
    linear-gradient(168deg, #081b28 0%, var(--abysse) 62%);
}

.seuil-texte {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--head-h) + 72px) clamp(40px, 5vw, 84px) 72px var(--marge);
}

.seuil-copy { max-width: 620px; }
.seuil h1 { font-size: clamp(2.8rem, 4.8vw, 4.5rem); letter-spacing: -.026em; color: #fffefb; }
.seuil-sub { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.9vw, 1.72rem); color: var(--or-clair); }
.seuil-lead { margin: 24px 0 0; max-width: 500px; font-size: 1.05rem; color: rgba(250,244,234,.8); }
.seuil-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* L’image. Deux masques imbriqués : le cadre porte le fondu vertical,
   la photo porte le fondu latéral. Aucun aplat de couleur par-dessus,
   donc aucune bordure possible — l’image devient réellement transparente. */
.seuil-image {
  position: relative;
  align-self: center;
  width: 106%; margin-left: -6%;
  aspect-ratio: 1 / 1;            /* format natif du marbre : échelle quasi 1:1, pas de pixellisation */
  max-height: 78svh;
  -webkit-mask-image: linear-gradient(180deg,
      transparent 0%, rgba(0,0,0,.55) 7%, #000 18%,
      #000 82%, rgba(0,0,0,.5) 93%, transparent 100%);
          mask-image: linear-gradient(180deg,
      transparent 0%, rgba(0,0,0,.55) 7%, #000 18%,
      #000 82%, rgba(0,0,0,.5) 93%, transparent 100%);
}
.seuil-photo {
  position: absolute; inset: 0; display: block;
  background-image: url("assets/marbre-or.jpg");
  background-repeat: no-repeat; background-size: cover;
  background-position: 55% var(--sy, 50%);
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0%, rgba(0,0,0,.3) 12%, rgba(0,0,0,.72) 26%, #000 40%);
          mask-image: linear-gradient(90deg,
      transparent 0%, rgba(0,0,0,.3) 12%, rgba(0,0,0,.72) 26%, #000 40%);
}

.cue {
  position: relative; align-self: flex-start; margin-top: 56px;
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font-size: .67rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(250,244,234,.5); transition: color .3s var(--ease);
}
.cue:hover { color: var(--or); }
.cue i { width: 46px; height: 1px; background: linear-gradient(90deg, var(--or), transparent); animation: cue 2.6s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: scaleX(.6); transform-origin: left; } 50% { opacity: 1; transform: scaleX(1); } }

/* ═══ I bis. ACCOMPAGNÉ PAR — en attendant la photo ═════════════════ */
.accomp { position: relative; padding: 104px 0 116px; background: linear-gradient(180deg, var(--abysse) 0%, #071b18 100%); }
.accomp-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.accomp-titre h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); }
.accomp-titre h2 em { color: var(--or); }

/* le cadre qui attend la photo : double liseré d'or, fond patiné */
.accomp-cadre {
  position: relative; margin: 0; width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 340px; margin-inline: auto;
  border: 1px solid var(--or-trait);
  padding: 10px;
}
.accomp-cadre::before {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(217,174,104,.22);
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(20,112,105,.16) 0%, transparent 70%),
    linear-gradient(160deg, rgba(217,174,104,.06) 0%, rgba(4,16,15,.5) 100%);
}
.accomp-cadre img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
}

/* ═══ II. LA TRAVERSÉE — l'image à gauche, la parole à droite ═══════ */
.invitation {
  position: relative; min-height: 66svh;
  display: grid; grid-template-columns: minmax(0, 53fr) minmax(0, 47fr);
  align-items: center;
  color: var(--nacre);
  background:
    radial-gradient(60% 50% at 88% 16%, rgba(36,26,73,.32) 0%, transparent 64%),
    linear-gradient(192deg, #071b28 0%, var(--abysse) 60%);
}
.inv-image {
  position: relative;
  align-self: center;
  width: 112%;
  aspect-ratio: 16 / 10;
  max-height: 60svh;
  -webkit-mask-image: linear-gradient(180deg,
      transparent 0%, rgba(0,0,0,.55) 8%, #000 20%,
      #000 80%, rgba(0,0,0,.5) 92%, transparent 100%);
          mask-image: linear-gradient(180deg,
      transparent 0%, rgba(0,0,0,.55) 8%, #000 20%,
      #000 80%, rgba(0,0,0,.5) 92%, transparent 100%);
}
.inv-photo {
  position: absolute; inset: 0; display: block;
  background: url("assets/champ-boules.jpg") 38% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(270deg,
      transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.72) 30%, #000 46%);
          mask-image: linear-gradient(270deg,
      transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.72) 30%, #000 46%);
}
.inv-texte { position: relative; z-index: 2; padding: 96px var(--marge) 96px clamp(36px, 4vw, 72px); }
.invitation .kicker { color: var(--or); }
.invitation-head { max-width: 620px; }
.invitation-head h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.16; color: #fffefb; }
.invitation-head h2 em { color: var(--or-clair); }

/* la reprise du même modèle, sur un autre cadrage de l’image */
.invitation-bis .inv-photo { background-position: 74% 46%; }

/* ═══ II bis. LA TRAVERSÉE — le texte sur crème ═════════════════════ */
.traversee {
  position: relative; padding: 130px 0 145px; color: var(--encre);
  background: linear-gradient(180deg, var(--nacre) 0%, var(--ivoire) 100%);
}
.invitation-body { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: start; }
.invitation-text { max-width: 640px; color: #4e463f; font-size: 1.05rem; }
.invitation-text .lede { font-family: var(--serif); font-size: 1.44rem; line-height: 1.45; color: #2b242a; }
.invitation-text em { color: var(--ocre2); }
.invitation-text strong { color: #241d24; font-weight: 600; }
/* l’énumération de l’invitation : quatre lignes, sans puces */
.inv-amorce { margin: 34px 0 14px; }
.inv-liste { list-style: none; margin: 0 0 14px; padding: 0 0 0 22px; border-left: 1px solid rgba(140,79,48,.28); }
.inv-liste li { padding: 6px 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: #2f2730; }
.inv-liste em { color: var(--ocre2); }
.inv-chute { padding-left: 22px; }
.invitation-pull .pull-suite { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(140,79,48,.2); font-size: 1.08rem; }
.invitation-pull strong { color: #241d24; font-weight: 600; }

.invitation-pull {
  position: relative; padding: 46px 44px;
  background: rgba(255,255,255,.58); border: 1px solid rgba(140,79,48,.16);
  box-shadow: 0 26px 70px rgba(60,40,25,.09);
}
.invitation-pull::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 72px; background: linear-gradient(180deg, var(--or), var(--ocre)); }
.invitation-pull p { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: #2f2730; }
.invitation-pull em { color: var(--ocre2); }

/* ═══ III. LE SIGNAL ════════════════════════════════════════════════ */
.signal { position: relative; padding: 150px 0 160px; overflow: hidden; background: linear-gradient(180deg, var(--petrole) 0%, #05201c 55%, var(--abysse) 100%); }
.signal-head { position: relative; max-width: 860px; margin-bottom: 86px; }
.signal-head h2 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); }

.litanie { list-style: none; margin: 40px 0 0; padding: 0; }
.litanie li { position: relative; padding: 11px 0 11px 34px; font-family: var(--serif); font-size: clamp(1.12rem, 1.9vw, 1.42rem); color: rgba(250,244,234,.9); border-bottom: 1px solid rgba(198,232,226,.07); }
.litanie li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1px; background: var(--or-trait); }
.litanie li.last { border-bottom: 0; color: var(--or-clair); }
.litanie strong { font-weight: 400; color: var(--or); }
.signal-def { margin: 44px 0 0; font-family: var(--serif); font-size: 1.3rem; color: rgba(250,244,234,.82); }

/* L’ascenseur du Signal — transposé de la V1 : pas de filets, des respirations,
   des nœuds discrets, et une bille de lumière qui descend la colonne. */
.chaine-bloc { position: relative; margin-top: 12px; padding: 34px 0 0 46px; }

.chaine-axe {
  position: absolute; top: 42px; bottom: 96px; left: 20px; width: 1px;
  background: linear-gradient(var(--or), rgba(95,214,208,.6), rgba(217,174,104,.25));
}
/* la cabine devient une boule à facettes qui monte la colonne en tournant */
.chaine-axe .cabine {
  position: absolute; top: 0; left: -13px;
  width: 28px; height: 28px; border-radius: 50%;
  background: url("assets/logo-128.png") center / 112% auto no-repeat;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 12px rgba(217,174,104,.55));
  animation: ascenseur 7.5s ease-in-out infinite;
}
/* halo respirant autour de la boule, à la place du trait lumineux */
.chaine-axe .cabine::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,224,180,.34) 0%, rgba(217,174,104,.14) 42%, transparent 70%);
  animation: halo-boule 3.6s ease-in-out infinite;
}
/* scintillements : quatre éclats qui s’allument autour d’elle, en décalé */
.chaine-axe .cabine::after {
  content: ""; position: absolute; inset: -20px;
  background:
    radial-gradient(circle, #fff6e2 0 1.5px, transparent 2.1px) 62% 4%,
    radial-gradient(circle, #f3e0b4 0 1.1px, transparent 1.7px) 96% 38%,
    radial-gradient(circle, #fff6e2 0 1.3px, transparent 1.9px) 78% 92%,
    radial-gradient(circle, #f3e0b4 0 1px,   transparent 1.6px) 22% 96%,
    radial-gradient(circle, #fff6e2 0 1.2px, transparent 1.8px) 2%  56%,
    radial-gradient(circle, #f3e0b4 0 .9px,  transparent 1.5px) 14% 14%;
  background-repeat: no-repeat;
  animation: scintille-boule 4.4s steps(1, end) infinite;
}
@keyframes halo-boule {
  0%,100% { opacity: .55; transform: scale(.92); }
  50%     { opacity: 1;   transform: scale(1.08); }
}
@keyframes scintille-boule {
  0%   { opacity: .9;  background-size: 100% 100%, 0 0, 100% 100%, 0 0, 0 0, 100% 100%; }
  14%  { opacity: .55; background-size: 0 0, 100% 100%, 0 0, 100% 100%, 100% 100%, 0 0; }
  29%  { opacity: 1;   background-size: 100% 100%, 100% 100%, 0 0, 0 0, 100% 100%, 0 0; }
  43%  { opacity: .4;  background-size: 0 0, 0 0, 100% 100%, 100% 100%, 0 0, 100% 100%; }
  57%  { opacity: .95; background-size: 100% 100%, 0 0, 0 0, 100% 100%, 100% 100%, 100% 100%; }
  71%  { opacity: .5;  background-size: 0 0, 100% 100%, 100% 100%, 0 0, 0 0, 0 0; }
  86%  { opacity: 1;   background-size: 100% 100%, 100% 100%, 100% 100%, 0 0, 100% 100%, 0 0; }
  100% { opacity: .7;  background-size: 0 0, 0 0, 100% 100%, 100% 100%, 0 0, 100% 100%; }
}
@keyframes ascenseur {
  0%   { top: 0;   opacity: 0; }
  10%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { top: 88%; opacity: 0; }
}

/* les nœuds deviennent de petites boules à facettes */
.chaine-tete { margin-bottom: 54px; }
.chaine-tete h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

.chaine {
  position: relative; z-index: 2; display: grid; gap: 27px;
  margin: 0; padding: 0; list-style: none;
}
.chaine li {
  position: relative; display: grid;
  grid-template-columns: 38px 1fr; grid-template-rows: auto auto;
  align-items: center; padding-left: 5px;
}
.chaine li::before {
  content: ""; position: absolute; top: 8px; left: -33px;
  width: 14px; height: 14px; border-radius: 50%;
  background: url("assets/logo-128.png") center / 118% auto no-repeat, var(--abysse);
  mix-blend-mode: screen; opacity: .8;
  box-shadow: 0 0 0 5px var(--abysse), 0 0 16px rgba(217,174,104,.3);
}
.chaine li:nth-child(even)::before { opacity: .62; }

.chaine li.is-last::before {
  background: var(--or); border-color: var(--or-clair);
  box-shadow: 0 0 0 6px rgba(217,174,104,.07), 0 0 26px rgba(217,174,104,.55);
}
.idx { grid-row: 1 / 3; font-family: var(--serif); font-size: .8rem; color: rgba(250,244,234,.3); }
.chaine strong { font-family: var(--serif); font-size: 1.42rem; font-weight: 400; color: var(--ivoire); }
.chaine em { font-style: normal; font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; color: rgba(250,244,234,.43); }
.chaine-note {
  margin: 35px 0 0; padding: 20px 0 0; border-top: 1px solid var(--trait);
  font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: rgba(250,244,234,.6);
}
.signal-coda { margin: 60px 0 0; max-width: 800px; padding-left: 30px; border-left: 1px solid var(--or-trait); font-family: var(--serif); font-size: 1.26rem; line-height: 1.55; color: rgba(250,244,234,.88); }

/* Bande d’onde sonore — composition originale, palette Éros */
/* ═══ BANDE — L’ONDE DU SIGNAL ══════════════════════════════════════ */
.onde-sec { position: relative; padding: 96px 0 0; background: var(--abysse); overflow: hidden; }

/* le texte descend jusqu’à effleurer l’onde : la vidéo remonte sous lui,
   et la dernière ligne baigne dans la lueur montante */
.onde-mot { position: relative; z-index: 2; text-align: center; margin-bottom: -34px; }
.onde-mot h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.7rem); line-height: 1.24;
  max-width: 940px; margin-inline: auto;
  text-shadow: 0 2px 26px rgba(4,16,15,.9), 0 0 60px rgba(4,16,15,.7);
}

.onde-video { position: relative; line-height: 0; }
.onde-video video { width: 100%; height: auto; display: block; }
/* le haut de l’onde se dissout dans le fond, le texte y pose ses pieds */
.onde-video::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%;
  background: linear-gradient(180deg, var(--abysse) 0%, rgba(4,16,15,.72) 34%, transparent 100%);
  pointer-events: none;
}
.onde-video::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26%;
  background: linear-gradient(0deg, var(--abysse), transparent);
  pointer-events: none;
}

/* ═══ IV. LES QUATRE MOUVEMENTS ═════════════════════════════════════ */
.mouvements { position: relative; padding: 150px 0 160px; background: var(--abysse); }
.mouvements-head { max-width: 760px; margin-bottom: 90px; }
.mouvements-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.mouvements-head h2 em { display: block; margin-top: 10px; font-size: .6em; line-height: 1.3; }
.mouvements-head > p { margin: 28px 0 0; color: rgba(250,244,234,.7); }
.rail { display: flex; gap: 10px; margin-top: 40px; }
.rail span { width: 46px; height: 2px; background: rgba(255,255,255,.14); transition: background .5s var(--ease), width .5s var(--ease); }
.rail span.on { background: var(--or); width: 78px; box-shadow: 0 0 16px rgba(217,174,104,.5); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { position: relative; padding: 52px 46px 46px; overflow: hidden; isolation: isolate; border: 1px solid var(--trait); background: linear-gradient(165deg, rgba(11,59,54,.42) 0%, rgba(4,16,15,.7) 62%); transition: transform .7s var(--ease-s), border-color .5s var(--ease); }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--or), transparent 70%); transform: scaleX(.24); transform-origin: left; transition: transform .8s var(--ease-s); }
.card::after { content: ""; position: absolute; z-index: -1; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; opacity: .3; filter: blur(50px); background: radial-gradient(circle, var(--petrole3) 0%, transparent 68%); transition: opacity .7s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: var(--or-trait); }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: .6; }
.card.c2 { background: linear-gradient(165deg, rgba(140,79,48,.26) 0%, rgba(4,16,15,.72) 60%); }
.card.c2::after { background: radial-gradient(circle, var(--ocre) 0%, transparent 68%); opacity: .24; }
.card.c3::after { background: radial-gradient(circle, var(--indigo) 0%, transparent 68%); opacity: .5; }
.card.c4::after { background: radial-gradient(circle, var(--or) 0%, transparent 68%); opacity: .2; }

.card header { position: relative; margin-bottom: 26px; }
.card-day { margin: 0 0 6px; font-size: .69rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-sourd); }
.card-day i { font-style: normal; opacity: .5; }
.card-num { position: absolute; right: -6px; top: -20px; margin: 0; font-family: var(--serif); font-size: 4.2rem; line-height: 1; color: rgba(217,174,104,.13); }
.card h3 { font-size: 2.05rem; margin: 0 0 8px; }
.card-sub { margin: 0; font-family: var(--serif); font-style: italic; color: var(--or); font-size: 1.04rem; }
.card blockquote { margin: 0 0 24px; padding-left: 22px; border-left: 1px solid var(--or-trait); font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--nacre); }
.card > p { color: rgba(250,244,234,.74); font-size: .99rem; }
.card > p em { color: var(--or-clair); }
.card-triade { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(198,232,226,.08); font-family: var(--serif); font-size: 1.04rem; line-height: 1.62; }
.card-triade em { color: rgba(250,244,234,.9); font-style: italic; }
.card.c2 .card-triade em { color: var(--or-clair); }

.boussole {
  margin: 66px 0 0; max-width: 880px; padding-left: 30px;
  border-left: 1px solid var(--or-trait);
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.6; color: rgba(250,244,234,.86);
}
.boussole em { color: var(--or-clair); }

/* ═══ INTERLUDE ═════════════════════════════════════════════════════ */
.interlude { position: relative; padding: 105px 0; text-align: center; overflow: hidden; background: #06201d; }
.interlude-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.04) brightness(.86); }
.interlude .shell { position: relative; z-index: 2; }
/* surtitre aligné à gauche, comme partout ailleurs sur le site :
   la bande reste centrée, seul le surtitre reprend le motif commun */
.interlude .kicker { display: flex; justify-content: flex-start; max-width: 940px; margin: 0 auto 20px; }

.interlude-glow {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,16,15,.55) 0%, rgba(4,16,15,.18) 34%, rgba(4,16,15,.2) 66%, rgba(4,16,15,.6) 100%);
}
.interlude .shell { position: relative; }
.interlude p { margin: 0 0 20px; font-size: .79rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(250,244,234,.68); }
.interlude h2 { position: relative; font-size: clamp(1.8rem, 3.5vw, 2.9rem); max-width: 940px; margin-inline: auto; text-shadow: 0 2px 30px rgba(3,12,11,.7); }

/* ═══ VI. LE CADRE ══════════════════════════════════════════════════ */
.cadre { position: relative; padding: 145px 0 155px; color: #221a15; background: linear-gradient(165deg, #ece1d2 0%, #ddccb8 100%); }
.cadre .shell { position: relative; z-index: 2; }
.cadre .kicker { color: #7d4326; }
.cadre .kicker::before { background: rgba(125,67,38,.4); }
.cadre-statement { max-width: 820px; margin-bottom: 46px; }
.cadre-texte { max-width: 780px; margin-bottom: 52px; color: #4a382c; font-size: 1.03rem; }
.cadre-texte strong { color: #241c18; font-weight: 600; }
.cadre-texte em { color: #7d4326; font-style: italic; }
.cadre-ety {
  position: relative; max-width: 880px; margin: 0 0 72px; padding: 40px 44px;
  background: rgba(255,253,249,.62); border: 1px solid rgba(125,67,38,.16);
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.62; color: #43332a;
}
.cadre-ety::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 64px; background: linear-gradient(180deg, var(--or), var(--ocre)); }
.cadre-ety em { color: #7d4326; }
.cadre-ety p { margin: 0; }
.cadre-statement h2 { font-size: clamp(1.9rem, 3.7vw, 3.15rem); color: #1b1410; line-height: 1.12; }
.cadre-statement h2 em { color: var(--ocre2); }
.cadre-statement > p:last-child { margin: 30px 0 0; max-width: 720px; color: #4a382c; font-size: 1.05rem; }
.cadre-statement em { color: #7d4326; font-style: italic; }
.cadre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.principe { padding: 34px 30px 32px; background: rgba(255,253,249,.78); border: 1px solid rgba(125,67,38,.16); transition: background .5s var(--ease), transform .6s var(--ease-s); }
.principe:hover { background: rgba(255,253,249,.94); transform: translateY(-4px); }
.principe b { display: block; font-family: var(--serif); font-weight: 400; color: var(--ocre2); letter-spacing: .1em; font-size: .88rem; margin-bottom: 20px; }
.principe h3 { font-size: 1.52rem; color: #2b211d; margin-bottom: 12px; }
.principe p { margin: 0; font-size: .91rem; color: #4f3c30; }

/* ═══ VI bis. LA CARTE ÉNERGÉTIQUE ══════════════════════════════════ */
.carte {
  position: relative; padding: 150px 0 160px; overflow: hidden;
  background:
    radial-gradient(70% 55% at 88% 6%, rgba(36,26,73,.26) 0%, transparent 62%),
    radial-gradient(56% 48% at 4% 92%, rgba(20,112,105,.2) 0%, transparent 64%),
    linear-gradient(165deg, #0a1622 0%, #071c1e 52%, var(--abysse) 100%);
}
/* Les vagues de points — la matière du Signal, reprise de la V2 */
.carte::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("assets/maillage-signal.svg") center 46% / 118% auto no-repeat;
  opacity: .5; mix-blend-mode: screen;
  animation: respire 22s ease-in-out infinite;
}
@keyframes respire { 0%,100% { opacity: .38; transform: translateX(-1.5%); } 50% { opacity: .6; transform: translateX(1.5%); } }
.carte .shell { position: relative; z-index: 2; }

.carte-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 78px; align-items: start; }
.carte-copy h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 30px; }
.carte-copy p { color: rgba(250,244,234,.76); font-size: 1.01rem; }
.carte-copy .lede { font-family: var(--serif); font-size: 1.28rem; line-height: 1.52; color: var(--nacre); }
.carte-copy strong { color: var(--or-clair); font-weight: 400; }
/* le paragraphe sur l’IA, mis en encadré */
.carte-ia {
  position: relative; margin: 34px 0 0; padding: 30px 32px;
  border: 1px solid var(--or-trait);
  background: linear-gradient(165deg, rgba(217,174,104,.07), rgba(4,16,15,.34));
}
.carte-ia::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 62px;
  background: linear-gradient(180deg, var(--or), var(--ocre));
}
.carte-ia p { margin: 0; font-size: .99rem; color: rgba(250,244,234,.86); }
.carte-ia em { color: var(--or-clair); }

/* ── Le cadran : la Carte Énergétique de l’Éros comme instrument ─────
   Une boule à facettes tourne au centre et projette ses éclats tout
   autour. Les sept axes tournent avec elle ; celui qui atteint le
   point haut s’éclaire et se raconte dessous. */
.carte-cadran { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.archi-titre { margin: 0 0 4px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--or); align-self: flex-start; }

.cadran { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; }
.cadran-lumieres { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cadran-anneau { position: absolute; inset: 20%; border: 1px solid rgba(217,174,104,.17); border-radius: 50%; pointer-events: none; }
.cadran-anneau.fin { inset: 7%; border-color: rgba(198,232,226,.06); }

.axe {
  --p: 0;
  position: absolute; left: 0; top: 0; width: clamp(86px, 27%, 146px);
  padding: 6px 4px; text-align: center; border: 0; background: none; cursor: pointer;
  font-family: var(--sans); color: rgba(250,244,234,.72);
  opacity: calc(.44 + .56 * var(--p));
  will-change: transform; transition: color .45s var(--ease);
}
.axe b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(.86rem, 2.1vw, 1.04rem); line-height: 1.14; color: var(--nacre);
  text-shadow: 0 0 calc(6px + 26px * var(--p)) rgba(243,224,180, calc(.14 + .58 * var(--p)));
}
.axe span {
  display: block; margin-top: 3px;
  font-size: clamp(.6rem, 1.5vw, .69rem); line-height: 1.26; letter-spacing: .04em;
  text-shadow: 0 0 calc(4px + 16px * var(--p)) rgba(243,224,180, calc(.1 + .4 * var(--p)));
}
.axe:hover { color: var(--nacre); }
.axe.est-haut, .axe.est-haut b { color: var(--or-clair); }

.cadran-pause {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(250,244,234,.46); padding: 7px 16px; cursor: pointer;
  background: none; border: 1px solid var(--trait);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.cadran-pause:hover { color: var(--or); border-color: var(--or-trait); }

.cadran-detail {
  width: 100%; max-width: 520px; min-height: 250px; margin-top: 8px;
  padding-top: 26px; border-top: 1px solid var(--or-trait);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
.cadran-detail.bascule { opacity: 0; transform: translateY(9px); }
.cadran-detail .num { margin: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-sourd); }
.cadran-detail h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; margin: 9px 0 5px; color: var(--nacre); }
.cadran-detail .sous { font-family: var(--serif); font-style: italic; color: var(--or); font-size: 1.04rem; }
.cadran-detail p { margin: 0; }
.cadran-detail .quoi { margin-top: 16px; color: rgba(250,244,234,.76); font-size: 1.01rem; }

/* ═══ VII. CAROLINE & BENOÎT ════════════════════════════════════════ */
.duo { position: relative; padding: 150px 0 155px; overflow: hidden; background: radial-gradient(60% 50% at 84% 10%, rgba(36,26,73,.42) 0%, transparent 64%), linear-gradient(180deg, var(--abysse) 0%, var(--petrole) 46%, var(--abysse) 100%); }
.duo-head { max-width: 780px; margin-bottom: 68px; }
.duo-head h2 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); }

.duo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.pers { position: relative; padding: 46px 44px 42px; border: 1px solid var(--trait); background: linear-gradient(170deg, rgba(198,232,226,.05) 0%, rgba(198,232,226,.012) 100%); transition: border-color .5s var(--ease); }
.pers:hover { border-color: var(--or-trait); }
/* portrait sous le prénom : carré, liseré d’or, cadré sur le visage */
/* le portrait prend toute la largeur du bloc de texte de la fiche */
.pers-photo {
  width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%;
  margin: 0 0 28px;
  border: 1px solid var(--or-trait);
  filter: saturate(.96);
}

.pers-role { margin: 0 0 10px; font-size: .71rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.pers h3 { font-size: 2.15rem; margin-bottom: 20px; }
.pers p { color: rgba(250,244,234,.76); font-size: .99rem; }
.pers cite { font-style: italic; color: var(--or-clair); }
.duo-together { position: relative; margin: 66px 0 0; padding-top: 44px; max-width: 920px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.6; color: rgba(250,244,234,.88); }
.duo-together span { position: absolute; top: 0; left: 0; width: 130px; height: 1px; background: linear-gradient(90deg, var(--or), transparent); }
.duo-together strong { color: var(--or); font-weight: 400; }

/* ═══ X. LE PREMIER SIGNAL ══════════════════════════════════════════ */
.final { position: relative; padding: 175px 0 165px; text-align: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 106%, var(--petrole2) 0%, var(--petrole) 34%, var(--abysse) 76%); }
.final-champ {
  background:
    radial-gradient(58% 46% at 50% 104%, rgba(243,224,180,.30) 0%, rgba(217,174,104,.13) 34%, transparent 70%),
    radial-gradient(40% 34% at 50% 100%, rgba(255,253,246,.22) 0%, transparent 62%);
  animation: souffle 11s ease-in-out infinite;
}
@keyframes souffle { 0%,100% { opacity: .82; } 50% { opacity: 1; } }

/* la constellation, réduite à quelques points d’or */
.final-champ::before, .final-champ::after {
  content: ""; position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(circle, #f3e0b4 0 1.6px, transparent 2px),
    radial-gradient(circle, #f3e0b4 0 1.2px, transparent 1.6px),
    radial-gradient(circle, #ffffff 0 1.9px, transparent 2.4px),
    radial-gradient(circle, #f3e0b4 0 1.1px, transparent 1.5px),
    radial-gradient(circle, #f3e0b4 0 1.5px, transparent 2px);
  background-position: 14% 26%, 31% 61%, 63% 18%, 78% 47%, 89% 72%;
  background-size: 100% 100%;
  animation: perle 6.5s ease-in-out infinite;
}
.final-champ::after {
  background-position: 22% 78%, 45% 33%, 57% 69%, 71% 12%, 93% 38%;
  animation-delay: -3.1s; opacity: .7;
}
.final-inner { position: relative; max-width: 820px; margin-inline: auto; }
.final .kicker { justify-content: center; }
.final h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); margin-bottom: 18px; }
.final-inner > p { color: rgba(250,244,234,.8); max-width: 620px; margin-inline: auto; }
.final .btn { margin-top: 22px; }
.final small { display: block; margin-top: 22px; font-size: .82rem; color: rgba(250,244,234,.52); }
.final-sign { margin: 74px auto 0; padding-top: 40px; max-width: 740px; border-top: 1px solid var(--trait); font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--or-clair); }

/* sigle copyright : discret, aligné en exposant */
sup.copy { font-size: .58em; line-height: 0; vertical-align: super; letter-spacing: 0; }

.cta-ligne { margin-top: 54px; text-align: center; }
.carte-grid > .cta-ligne { grid-column: 1 / -1; margin-top: 14px; }

.final-sous { margin: -8px 0 6px; font-family: var(--serif); font-style: italic; font-size: 1.22rem; color: var(--or-clair); }

.dlg-mention { margin: 10px 0 0; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--or-clair); }

.dlg-infos {
  margin: 0 0 28px; padding: 4px 24px;
  border: 1px solid var(--or-trait);
  background: linear-gradient(165deg, rgba(217,174,104,.07), rgba(4,16,15,.3));
}
.dlg-infos > div { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; }
.dlg-infos > div + div { border-top: 1px solid rgba(198,232,226,.08); }
.dlg-infos dt { flex: none; width: 108px; font-size: .63rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.dlg-infos dd { margin: 0; font-family: var(--serif); font-size: 1.04rem; color: var(--nacre); }
.dlg-infos small { display: block; margin-top: 2px; font-family: var(--sans); font-size: .74rem; color: rgba(250,244,234,.55); }

.stage-infos {
  display: flex; flex-wrap: wrap; justify-content: center;
  margin: 44px 0 50px; padding: 28px 0;
  border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
}
.stage-infos > div { padding: 0 42px; border-right: 1px solid var(--trait); text-align: center; }
.stage-infos > div:last-child { border-right: 0; }
.stage-infos dt { font-size: .67rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(250,244,234,.5); margin-bottom: 8px; }
.stage-infos dd { margin: 0; font-family: var(--serif); font-size: 1.28rem; }
.stage-infos small { display: block; margin-top: 4px; font-family: var(--sans); font-size: .73rem; color: rgba(250,244,234,.55); }
.final-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.cache-bot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.final-contact { margin: 62px auto 0; padding-top: 38px; max-width: 640px; border-top: 1px solid var(--trait); }
.final-contact-titre { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--or-clair); margin-bottom: 20px; }
.final-contact-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin: 0; }
.final-contact-liens a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.02rem; color: var(--nacre); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid var(--or-trait);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.final-contact-liens a:hover { color: var(--or-clair); border-color: var(--or); }
.fc-ico { width: 16px; height: 16px; flex: none; color: var(--or); opacity: .85; }
.final-contact-note { margin-top: 20px !important; font-size: .87rem; color: rgba(250,244,234,.55); }
@media (max-width: 620px) {
  .final-contact { margin-top: 44px; padding-top: 30px; }
  /* en colonne, il faut recentrer explicitement : sans align-items les liens
     s'étirent sur toute la largeur et leur contenu part à gauche */
  .final-contact-liens { flex-direction: column; align-items: center; gap: 18px; }
  .final-contact-liens a { font-size: .95rem; justify-content: center; }
}

.dlg-tarifs { width: min(620px, calc(100vw - 32px)); }
.tarifs-note { margin: 0 0 20px; font-size: .93rem; color: rgba(250,244,234,.78); }
.tarifs-note strong { color: var(--or-clair); font-weight: 400; }
.tarifs-scroll { overflow-x: auto; }
.tarifs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tarifs-table th, .tarifs-table td { padding: 9px 10px; border-bottom: 1px solid rgba(198,232,226,.1); text-align: right; vertical-align: baseline; }
.tarifs-table th:first-child, .tarifs-table td:first-child { text-align: left; }
.tarifs-table thead th { font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,244,234,.55); line-height: 1.5; }
.tarifs-table thead th.saison-stage, .tarifs-table td.saison-stage { color: var(--or-clair); }
.tarifs-table .grp td { padding-top: 20px; font-family: var(--serif); font-size: 1rem; color: var(--or); border-bottom-color: var(--or-trait); }
.tarifs-table td small { display: block; font-size: .73rem; color: rgba(250,244,234,.5); }
.tarifs-foot { margin: 18px 0 0; font-size: .77rem; line-height: 1.6; color: rgba(250,244,234,.55); }

/* ═══ PIED ══════════════════════════════════════════════════════════ */
.foot { padding: 62px 0 54px; background: #030d0c; border-top: 1px solid rgba(198,232,226,.07); }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.foot p { margin: 0; font-size: .87rem; color: rgba(250,244,234,.52); }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot nav a { text-decoration: none; font-size: .77rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(250,244,234,.55); transition: color .3s var(--ease); }
.foot nav a:hover { color: var(--or); }
.foot-note {
  grid-column: 1 / -1; margin-top: 6px; padding-top: 26px;
  border-top: 1px solid rgba(198,232,226,.06);
  font-size: .77rem; color: var(--or-sourd);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline;
}
.foot-note a { color: var(--or-sourd); text-decoration: none; transition: color .3s var(--ease); }
.foot-note a:hover { color: var(--or); text-decoration: underline; }
.foot-note span { opacity: .45; }

/* ═══ DIALOGUE ══════════════════════════════════════════════════════ */
.dlg { width: min(560px, calc(100vw - 32px)); padding: 48px 46px 44px; border: 1px solid var(--or-trait); background: linear-gradient(165deg, #0a2f2a 0%, #040c12 100%); color: var(--nacre); box-shadow: 0 50px 130px rgba(0,0,0,.62); }
.dlg::backdrop { background: rgba(3,9,16,.84); backdrop-filter: blur(8px); }
.dlg-x { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.6rem; line-height: 1; color: rgba(250,244,234,.55); transition: color .3s var(--ease); }
.dlg-x:hover { color: var(--or); }
.dlg-head { margin-bottom: 32px; }
.dlg-head h2 { font-size: 2rem; margin-bottom: 16px; }
.dlg-head > p:last-child { margin: 0; font-size: .95rem; color: rgba(250,244,234,.72); }
.row { margin-bottom: 20px; }
.row label { display: block; margin-bottom: 8px; font-size: .71rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(250,244,234,.62); }
.row label span { text-transform: none; letter-spacing: 0; opacity: .6; }
.row input, .row textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--trait); background: rgba(198,232,226,.05); color: var(--nacre); font: inherit; font-size: .96rem; transition: border-color .3s var(--ease), background .3s var(--ease); }
.row input:focus, .row textarea:focus { outline: none; border-color: var(--or); background: rgba(198,232,226,.09); }
.row textarea { resize: vertical; }
.row input[aria-invalid="true"], .check input[aria-invalid="true"] { border-color: var(--braise2); outline: 1px solid var(--braise2); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 26px; font-size: .86rem; color: rgba(250,244,234,.74); }
.check input { margin-top: 4px; accent-color: var(--or); flex: none; }
.status { margin: 18px 0 0; font-size: .88rem; color: var(--or-clair); }
.status.is-error { color: var(--braise2); }
.proto-note { margin: 18px 0 0; font-size: .77rem; color: rgba(250,244,234,.45); }
.proto-note code { color: var(--or-sourd); }
.dlg-back { display: none; }

/* ═══ RESPONSIVE ════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  :root { --shell: min(100% - 52px, 1080px); }
  .invitation-body { grid-template-columns: 1fr; gap: 46px; }
  .invitation-pull { max-width: 660px; }
  .carte-grid { grid-template-columns: 1fr; gap: 52px; }
  .cadre-grid { grid-template-columns: repeat(2, 1fr); }
  .chaine-bloc { max-width: 620px; }
}

@media (max-width: 900px) {
  :root { --head-h: 72px; --shell: min(100% - 40px, 840px); }
  body { font-size: 16.5px; }
  .burger { display: block; }
  .nav { position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 32px 28px 40px; background: #071512; border-bottom: 1px solid var(--trait); transform: translateY(-16px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 0; font-size: 1rem; letter-spacing: .03em; text-transform: none; font-family: var(--serif); }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 18px; width: 100%; justify-content: center; }
  body.menu-open { overflow: hidden; }

  .seuil { grid-template-columns: 1fr; grid-template-rows: 44svh auto; min-height: 0; }
  .seuil-texte { order: 2; padding: 54px var(--marge) 72px; }
  .seuil-texte::after { display: none; }
  .seuil-image {
    order: 1; width: 100%; margin-left: 0;
    aspect-ratio: auto; max-height: none;
    align-self: stretch; height: 100%;   /* sinon l’élément, sans contenu, s’écrase à zéro */
    -webkit-mask-image: linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 82%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 82%, transparent 100%);
  }
  .seuil-photo { -webkit-mask-image: none; mask-image: none; }
  .cue { display: none; }

  .traversee, .signal, .mouvements, .cadre, .carte, .duo { padding: 100px 0 108px; }
  .onde-sec { padding-top: 70px; }
  /* la bande 2560×432 écrasée à 375 px ne ferait que 63 px de haut :
     on la recadre en hauteur utile et le texte cesse de la traverser */
  .onde-mot { margin-bottom: -22px; }
  .onde-video { height: 150px; overflow: hidden; }
  .onde-video video { height: 100%; object-fit: cover; object-position: center; }
  .accomp { padding: 84px 0 92px; }
  .accomp-inner { grid-template-columns: 1fr; gap: 40px; }
  .accomp-cadre { max-width: 300px; }
  .cadre::before { background: rgba(243,236,226,.88); }
  .cadre::after { opacity: .4; }
  .invitation { grid-template-columns: 1fr; min-height: 0; }
  .inv-image { order: 1; width: 100%; aspect-ratio: auto; height: 40svh; max-height: none; }
  .inv-photo { -webkit-mask-image: none; mask-image: none; }
  .inv-texte { order: 2; padding: 50px var(--marge) 66px; }
  .interlude, .final { padding: 120px 0; }
  .cards, .duo-grid { grid-template-columns: 1fr; }
  .card { padding: 42px 30px 38px; }
  /* sept sous-titres sur un si petit cadran se marchent dessus :
     seul celui qu'on lit se déplie — il reste lisible dans le cadre du bas */
  .axe span { overflow: hidden; max-height: 0; margin-top: 0; opacity: 0;
    transition: max-height .4s var(--ease), opacity .4s var(--ease), margin-top .4s var(--ease); }
  .axe.est-haut span { max-height: 3.4em; margin-top: 3px; opacity: 1; }
  .cadran-detail { min-height: 0; }
  .card-num { font-size: 4rem; top: -18px; }
  .card h3 { font-size: 2.1rem; }
  .invitation-pull { padding: 34px 28px; }
  .pers { padding: 38px 28px 34px; }
  .pratique-facts > div { padding-right: 26px; margin-right: 26px; }
  .faq details p { margin-right: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .stage-infos { flex-direction: column; gap: 20px; }
  .stage-infos > div { border-right: 0; padding: 0; }
  .dlg-tarifs { width: calc(100vw - 24px); }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .chaine-bloc { padding-left: 36px; }
  .chaine-axe { left: 13px; }
  .chaine li::before { left: -27px; }
  .chaine strong { font-size: 1.2rem; }
  .cadre-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .seuil-actions { gap: 12px; }
  .dlg { padding: 40px 24px 34px; }
  }

/* ═══ MOUVEMENT RÉDUIT / CONTRASTE / IMPRESSION ═════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
    }
@media (forced-colors: active) {
  .card, .principe, .pers, .invitation-pull, .btn { border: 1px solid CanvasText; }
}
@media print {
  .masthead, .progress, .grain, .cue, .final-champ, .onde-video, .interlude-video, .dlg, .dlg-back { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── Pages légales (mentions-legales.html, confidentialite.html) ──── */
.legal { padding: calc(var(--head-h) + 54px) 0 90px; }
.legal .shell { max-width: 760px; }
.legal-retour {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 34px;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--or); text-decoration: none; transition: gap .3s var(--ease);
}
.legal-retour:hover { gap: 15px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.1; margin: 0 0 10px; }
.legal .maj { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or-sourd); margin: 0 0 46px; }
.legal h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.42rem; line-height: 1.2;
  margin: 46px 0 14px; padding-top: 22px; border-top: 1px solid var(--trait); color: var(--nacre);
}
.legal h3 { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; margin: 26px 0 8px; color: var(--or-clair); }
.legal p, .legal li { color: rgba(250,244,234,.78); font-size: 1rem; line-height: 1.72; }
.legal p { margin: 0 0 15px; }
.legal ul { margin: 0 0 15px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--or); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--or-clair); }
.legal strong { color: var(--nacre); font-weight: 400; }
.legal-encadre {
  margin: 22px 0; padding: 20px 24px;
  border: 1px solid var(--or-trait); background: rgba(217,174,104,.05);
}
.legal-encadre p:last-child { margin-bottom: 0; }
.a-completer {
  background: rgba(193,69,44,.16); color: #f0b8a6; padding: 1px 7px;
  border: 1px dashed rgba(217,113,79,.6); border-radius: 2px; font-style: italic;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 15px; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.legal-table th { color: var(--or); font-weight: 400; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-table td { color: rgba(250,244,234,.78); }
@media (max-width: 620px) {
  .legal { padding-top: calc(var(--head-h) + 30px); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { padding: 12px 0; border-bottom: 1px solid var(--trait); }
  .legal-table td { border: 0; padding: 2px 0; }
}
