/* ============================================================
   Lightworker Collective — Composants (components.css)
   Page « Activation de Kundalini » (conversion Meta). Nav, boutons,
   hero sombre, trailer 16/9 + CTA, cartes « C'est pour toi si »,
   scène épinglée, témoignages en verre liquide, FAQ, dates par ville,
   bande CTA, footer, formulaire <dialog>.
   Toutes les couleurs et polices viennent de brand.css.

   STRATÉGIE RESPONSIVE (charte §8) — pensée dès le départ :
   • un seul seuil qui compte : 900px ;
   • aucune media query ne redéfinit une taille de police : tout est
     en clamp() fluide, et l'échelle de base :root{font-size} est
     indexée sur la HAUTEUR (bloc en fin de fichier) ;
   • le bloc @media (min-width:900px) reste EN FIN DE FICHIER.
   ============================================================ */

/* Décalage d'ancre sous la nav sticky */
[id] { scroll-margin-top: 96px; }

/* ------------------------------------------------------------
   Navigation — sticky, TRANSPARENTE sur le hero, fond révélé au
   scroll (--nav-op posée par main.js). Hero sombre -> nav crème,
   fond révélé = verre foncé (une seule couleur de texte partout).
   ------------------------------------------------------------ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-soft);
  --ink: var(--cream);
  --focus-ring: var(--cream);
  --hairline: color-mix(in srgb, var(--cream) 16%, transparent);
}

.site-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--charcoal) 86%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: var(--nav-op, 0);
  transition: opacity 0.25s var(--ease-soft);
  pointer-events: none;
}

.site-nav.is-scrolled { border-bottom-color: var(--hairline); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding-block: 0.85rem;
  width: 100%;
  max-width: none;
  padding-inline: clamp(1.25rem, 3.5vw, 3rem);
}

.nav-inner .logo { margin-right: auto; margin-left: clamp(0.5rem, 1.3vw, 1.4rem); }

.nav-links { display: none; /* mobile : dans le panneau burger */ }

.nav-links a {
  font-family: var(--font-display);   /* Royal */
  font-weight: 500;
  font-size: 0.88rem;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  text-decoration: none;
  position: relative;
  padding-block: 0.3em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-celestial-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-soft);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

/* Bouton CTA de la nav : bleu #4B6D77 (lisible sur le verre foncé). */
.nav-cta {
  margin-left: 0;
  white-space: nowrap;
  --btn-bg: #4B6D77;
  --btn-ink: var(--cream);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), background-color 0.35s var(--ease-soft);
}
.nav-cta:hover,
.nav-cta:focus-visible { --btn-bg: var(--color-celestial-light); }
.nav-cta .btn-arrow { display: inline-flex; align-items: center; }
.nav-cta .btn-arrow svg { width: 1.05em; height: 1.05em; display: block; }

/* Burger minimaliste (crème sur fond sombre) */
.nav-burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.35s var(--ease-soft), opacity 0.35s;
}

.burger-lines { position: relative; }
.burger-lines::before { position: absolute; top: -7px; }
.burger-lines::after  { position: absolute; top: 7px; }

.site-nav.is-open .burger-lines { background: transparent; }
.site-nav.is-open .burger-lines::before { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .burger-lines::after  { transform: translateY(-7px) rotate(-45deg); }

/* Panneau mobile (verre foncé) */
.site-nav.is-open .nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  padding: 1.2rem clamp(1.25rem, 4vw, 2.5rem) 1.8rem;
  background: color-mix(in srgb, var(--charcoal) 94%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.site-nav.is-open .nav-links a { font-size: 1.05rem; padding-block: 0.5em; color: var(--cream); }

@media (min-width: 1024px) {
  .nav-links { display: flex; gap: 1.9rem; }
  .nav-burger { display: none; }
  .nav-cta { margin-left: 0; }
}

/* Très petits écrans : logo + CTA (tous deux nowrap) donnent une rangée de
   ~395px de min-content — le burger serait poussé HORS écran à 320-360px et
   html{overflow-x:clip} le rendrait inatteignable (menu inaccessible). On
   retire le CTA de la nav (le hero + 4 autres boutons [data-resa] restent)
   et on fige la largeur du burger (cible tactile 44px garantie).
   Sélecteur à 2 classes : .btn { display:inline-flex } est défini PLUS BAS
   dans le fichier et gagnerait sinon la cascade à spécificité égale. */
.nav-burger { flex: 0 0 auto; }
@media (max-width: 480px) {
  .nav-inner .nav-cta { display: none; }
}

/* ------------------------------------------------------------
   Logotype LIGHTWORKER — GELÉ (demande cliente). Polices
   historiques épinglées (Cormorant + Poppins).
   ------------------------------------------------------------ */

.logo {
  display: inline-block;
  text-decoration: none;
  color: var(--ink, var(--cream));
  line-height: 1;
  white-space: nowrap;
}

.logo-light {
  font-family: var(--font-logo-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
}

.logo-worker {
  font-family: var(--font-logo-sans);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  margin-left: 0.1em;
}

.logo-collective {
  display: block;
  font-family: var(--font-logo-sans);
  font-weight: 500;
  font-size: 0.52rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 0.38em;
}

/* Logotype généreux du footer */
.footer-brand .logo-light { font-size: 2.4rem; }
.footer-brand .logo-worker { font-size: 1.58rem; }
.footer-brand .logo-collective { font-size: 0.62rem; }

/* ------------------------------------------------------------
   Boutons
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);   /* Royal */
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  line-height: 1;
  text-decoration: none;
  padding: 0.78em 1.75em;
  border-radius: var(--radius-btn);
  background: var(--btn-bg, var(--charcoal));
  color: var(--btn-ink, var(--cream));
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.btn-arrow { display: inline-block; transition: transform 0.35s var(--ease-soft); }

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--powder-blue) 45%, transparent);
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow { transform: translateX(3px); }

.btn--sm { padding: 0.62em 1.4em; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}

/* Bouton « réserver » — variante douce (fond presque blanc, texte bleu, flèche
   cerclée). Au survol, un fond plein bleu balaye G->D. CTA doux signature. */
.btn--call {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding-block: 1.05em;
  background: color-mix(in srgb, var(--color-celestial-tides) 9%, var(--white));
  color: var(--color-celestial-tides);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-celestial-tides) 28%, transparent);
  transition: color 0.35s var(--ease-soft), transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.btn--call::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-celestial-tides);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-soft);
}
.btn--call .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: var(--color-celestial-tides);
  color: var(--white);
  font-size: 0.82em;
  line-height: 1;
  transition: background-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}
.btn--call .btn-arrow svg { width: 0.95em; height: 0.95em; display: block; }
.btn--call:hover,
.btn--call:focus-visible {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px transparent;
}
.btn--call:hover::before,
.btn--call:focus-visible::before { transform: scaleX(1); }
.btn--call:hover .btn-arrow,
.btn--call:focus-visible .btn-arrow {
  background: #fff;
  color: var(--color-celestial-tides);
}

/* Même bouton en VERRE LIQUIDE BLEU (bande CTA, hero sombre). */
.btn--call.btn--blue {
  background: color-mix(in srgb, var(--color-celestial-tides) 30%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  color: #fff;
  text-shadow: 0 1px 6px color-mix(in srgb, var(--color-celestial-tides) 55%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px color-mix(in srgb, #fff 22%, transparent),
    0 12px 30px color-mix(in srgb, var(--color-celestial-tides) 26%, transparent);
}
.btn--call.btn--blue::before { background: color-mix(in srgb, var(--color-celestial-light) 60%, transparent); }
.btn--call.btn--blue .btn-arrow {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-celestial-tides);
}
.btn--call.btn--blue:hover,
.btn--call.btn--blue:focus-visible { color: #fff; }
.btn--call.btn--blue:hover .btn-arrow,
.btn--call.btn--blue:focus-visible .btn-arrow {
  background: #fff;
  color: var(--color-celestial-tides);
}

/* ------------------------------------------------------------
   Têtes de section
   ------------------------------------------------------------ */

.section-head { max-width: 46rem; margin-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1.3rem; font-size: 1.14rem; color: var(--ink-soft); }

/* ------------------------------------------------------------
   HERO — vidéo de fond PILOTÉE AU SCROLL (theme-charcoal hero--dark).
   Colonne centrée : badge · H1 · lead · CTA · accroche.
   Couches empilées : média (canvas desktop / vidéo mobile) -> voile
   sombre -> blooms -> texte. Voir main.js/initHeroScrub.
   ------------------------------------------------------------ */

/* Piste : donne la DISTANCE de scroll pour scruber les 121 images (le hero
   s'épingle pendant qu'on la traverse). Hauteur posée en mode scrub desktop
   par .is-scrub ; sinon auto (le hero fait 1 écran).
   margin-top négatif = hauteur de la nav : le hero remonte SOUS la nav
   sticky (transparente sur le hero) et occupe le plein cadre dès le scroll 0.
   Sans ça, la nav réserve ~64px de flux en haut -> bande blanche du <body>
   au-dessus du hero jusqu'au 1er scroll. --nav-h est posée par main.js. */
.hero-runway {
  position: relative;
  margin-top: calc(-1 * var(--nav-h, 64px));
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 20vh, 210px) var(--section-y);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* Repli ultime (canvas ET vidéo absents : reduced-motion, sans-JS + vidéo qui
   échoue) : le poster (1re image) en fond statique. */
.hero.hero--dark {
  background-color: var(--charcoal);
  background-image: url('../img/hero-poster.webp?v=1');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Couches média : remplissent le hero, derrière le voile. */
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  pointer-events: none;
}
/* Canvas (scrub desktop) : masqué tant que le mode scrub n'est pas actif. */
.hero-canvas { display: none; }
/* Vidéo (boucle mobile / repli) : affichée par défaut. */
.hero-video { display: block; background: var(--charcoal); }

/* Voile sombre par-dessus le média (les 2 dégradés d'origine) : garde le texte
   crème lisible sans noyer l'image. */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(92% 72% at 50% 45%,
      color-mix(in srgb, var(--charcoal) 40%, transparent) 0%,
      transparent 74%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--charcoal) 50%, transparent) 0%,
      color-mix(in srgb, var(--charcoal) 44%, transparent) 45%,
      color-mix(in srgb, var(--charcoal) 72%, transparent) 100%);
}

/* MODE SCRUB (desktop, motion, canvas OK — classe .is-scrub posée par le JS) :
   le hero s'épingle et on scrube les images au fil de la piste. */
@media (min-width: 900px) {
  .hero-runway.is-scrub { height: 240vh; }
  .hero-runway.is-scrub .hero {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
  }
  .hero-runway.is-scrub .hero-canvas { display: block; }
  .hero-runway.is-scrub .hero-video  { display: none; }
}

/* reduced-motion : aucun mouvement de fond -> ni canvas ni boucle vidéo, le
   poster statique (fond de .hero--dark) suffit. */
@media (prefers-reduced-motion: reduce) {
  .hero-canvas,
  .hero-video { display: none; }
}

.hero--dark .eyebrow { color: var(--color-celestial-light); }
.hero--dark h1 { color: var(--cream); }
.hero--dark .accent { color: var(--color-celestial-light); }
.hero--dark .hero-title,
.hero--dark .hero-lead,
.hero--dark .hero-accroche { text-shadow: 0 2px 18px color-mix(in srgb, var(--charcoal) 62%, transparent); }
.hero--dark .btn--ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cream) 45%, transparent);
}
.hero--dark .btn--ghost:hover,
.hero--dark .btn--ghost:focus-visible {
  box-shadow: inset 0 0 0 1.5px var(--cream);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.15rem, 2.6vw, 1.8rem);
  max-width: 48rem;
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  padding: 0.55em 1.2em;
  border-radius: var(--radius-btn);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-celestial-light);
  background: color-mix(in srgb, var(--charcoal) 42%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--color-celestial-light) 34%, transparent);
}
.hero-eyebrow > span[aria-hidden] { opacity: 0.85; }

.hero-title { margin: 0; }
.hero-lead {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-editorial);   /* Georgia */
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--cream) 84%, transparent);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
  margin-top: 0.4rem;
}
.hero-cta-row .btn { margin-top: 0; }

.hero-accroche {
  margin: 0.4rem 0 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-celestial-light) 90%, var(--cream));
}

/* ------------------------------------------------------------
   Sections vidéo (trailer 16/9 + FAQ 4/5) — média (gauche) +
   intention (droite). Placeholder vidéo propre.
   ------------------------------------------------------------ */

.video-feature { background-color: var(--cream); }

.video-feature-grid {
  display: grid;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .video-feature-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  /* Trailer PORTRAIT 9:16 : média étroit à gauche, texte large à droite. */
  #trailer .video-feature-grid { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); align-items: center; }
  /* FAQ : colonnes dimensionnées à leur CONTENU (texte ~500px + vidéo ~420px),
     écart réduit, et le groupe CENTRÉ dans la page (justify-content) -> les deux
     colonnes se rapprochent et restent au centre au lieu de s'écarter aux bords. */
  #faq .video-feature-grid {
    grid-template-columns: minmax(0, 500px) minmax(0, 420px);
    column-gap: clamp(3.5rem, 7vw, 9rem);
    justify-content: center;
  }
}

.video-feature-media { width: 100%; max-width: 420px; margin-inline: auto; }
/* Trailer portrait : cadre plus étroit (il est grand en hauteur). */
.video-feature-media--portrait { max-width: 340px; }
@media (min-width: 900px) {
  .video-feature-media { margin-inline: 0; }
}

.video-frame {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, var(--sage) 20%, var(--cream));
  box-shadow: 0 32px 80px color-mix(in srgb, var(--charcoal) 16%, transparent);
}
.video-frame--wide { aspect-ratio: 16 / 9; }
.video-frame--portrait { aspect-ratio: 9 / 16; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder : dégradé de marque, en attendant la vraie vidéo. */
.video-frame--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 85% at 28% 8%, color-mix(in srgb, var(--color-celestial-light) 34%, transparent), transparent 58%),
    radial-gradient(120% 90% at 82% 100%, color-mix(in srgb, var(--aubergine) 60%, transparent), transparent 60%),
    linear-gradient(155deg, color-mix(in srgb, var(--aubergine) 85%, #000), var(--charcoal));
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px color-mix(in srgb, var(--charcoal) 40%, transparent);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.video-play svg { width: 26px; height: 26px; color: var(--charcoal); margin-left: 4px; }
.video-play:hover,
.video-play:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--powder-blue) 55%, transparent);
}

.video-tag {
  position: absolute;
  left: 50%;
  bottom: clamp(0.9rem, 2vw, 1.3rem);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1.05em;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: color-mix(in srgb, var(--charcoal) 55%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
}

.video-feature-copy { max-width: 40rem; }
.video-feature-copy .eyebrow { margin-bottom: 0.9rem; }
.video-feature-copy h2 { margin-bottom: 1.1rem; }
.video-feature-copy p { color: var(--ink-soft); font-size: 1.1rem; }

/* Bouton de réservation (+ sous-titre) SOUS le paragraphe du trailer, aligné à
   gauche comme le reste de la colonne texte. */
.trailer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.trailer-micro {
  margin: 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   « C'est pour toi si… » — bande bleue (theme-aubergine).
   Lede Georgia + 6 cartes compactes à crochet (check-draw).
   ------------------------------------------------------------ */

.pt-lede { max-width: 42rem; margin-inline: auto; text-align: center; }

.pt-para {
  margin: 0;
  font-family: var(--font-editorial);   /* Georgia */
  font-size: clamp(1.24rem, 2.2vw, 1.55rem);
  line-height: 1.6;
  color: var(--cream);
}

/* Mots de la révélation « texte » (gris -> plein), pilotés par le JS en scène. */
.kd-pword { display: inline; }

.pt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2vw, 1.3rem);
  margin-top: clamp(2.6rem, 5.5vw, 4rem);
  max-width: 62rem;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}
@media (min-width: 700px) { .pt-grid { grid-template-columns: repeat(2, 1fr); } }

/* Carte compacte : crochet cerclé + une phrase. Verre translucide clair sur
   bleu (sans backdrop-filter -> pas de piège Chrome aux coins). */
.pt-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(0.95rem, 2vw, 1.25rem) clamp(1.1rem, 2.2vw, 1.5rem);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}
.pt-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cream) 45%, transparent);
  box-shadow:
    0 30px 66px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.pt-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--color-celestial-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.pt-icon .pt-ico { width: 22px; height: 22px; color: var(--white); }

.pt-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--cream) 94%, transparent);
}

/* ============================================================
   SCÈNE « Le trailer » → « C'est pour toi si… » (épinglée + scrubée).
   Base (mobile / sans-JS / reduced-motion) : wrappers transparents,
   piste à 0 -> empilement normal (reveals IntersectionObserver).
   Enrichi (.is-on, posé par main.js) : le trailer s'épingle, le bleu
   se fond PAR-DESSUS, titre mot par mot, texte gris -> plein, cartes
   une à une. Voir main.js / initKundaReveal.
   ============================================================ */
.kd-runway { height: 0; }

@media (min-width: 380px) {
  .kd-reveal.is-on {
    position: relative;
    /* Fond de secours : sur mobile, la barre d'URL se rétracte au scroll
       (svh < lvh) et une bande apparaît SOUS le stage 100svh — elle reste
       dans l'univers bleu de la scène au lieu du blanc pur du body. */
    background: var(--color-mermaid-blue);
  }

  .kd-reveal.is-on .kd-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }

  /* Les deux sections occupent le MÊME emplacement pendant la scène. */
  .kd-reveal.is-on .kd-stage > section {
    position: absolute;
    inset: 0;
    margin: 0;
    min-height: 0;
    padding-block: clamp(1.5rem, 5vh, 4rem);
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .kd-reveal.is-on #trailer { z-index: 1; }

  /* Copie du trailer : masquée à l'arrivée (le média reste visible). Le JS la
     révèle SÉQUENTIELLEMENT au scrub, dans le 1er segment de la piste, avant
     que le bleu ne se fonde par-dessus. Pas de transition (piloté au pixel). */
  .kd-reveal.is-on #trailer .tr-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: none;
    will-change: opacity, transform;
  }

  /* La section bleue se fond PAR-DESSUS (opacité scrubée 0 -> 1 par le JS). */
  .kd-reveal.is-on #pour-toi {
    z-index: 2;
    opacity: 0;
    will-change: opacity;
  }

  /* En scène, tout est piloté au pixel : pas de transition (sinon décalage
     avec le scroll). L'en-tête apparaît avec le fondu du bleu. */
  .kd-reveal.is-on #pour-toi .section-head {
    opacity: 1;
    transform: none;
    transition: none;
    margin-bottom: clamp(1.4rem, 3.5vh, 2.6rem);
  }
  .kd-reveal.is-on .kd-word {
    display: inline-block;
    opacity: 0;
    will-change: opacity, transform;
  }
  .kd-reveal.is-on #pour-toi .pt-para,
  .kd-reveal.is-on #pour-toi .pt-card {
    opacity: 0;
    transition: none;
    will-change: opacity, transform;
  }
  /* Mots du paragraphe : « gris » avant révélation (JS scrube l'opacité). */
  .kd-reveal.is-on #pour-toi .kd-pword {
    opacity: 0.22;
    transition: none;
  }
  /* En scène : plus d'air entre le paragraphe et les cases (les cases descendent),
     tout en tenant dans 100svh. */
  .kd-reveal.is-on #pour-toi .pt-grid { margin-top: clamp(2.6rem, 6vh, 4.2rem); gap: clamp(0.6rem, 1.6vh, 1rem); }

  /* Piste LONGUE : révélation lente + inertie + temps de lecture. Rallongée
     (560 -> 680vh) pour absorber le segment d'intro du trailer (INTRO=0.16 dans
     main.js) sans raccourcir la scène cross-fade qui suit. */
  .kd-reveal.is-on .kd-runway { height: 680vh; height: 680svh; }

  /* La section suivante MONTE par-dessus la scène épinglée — transition CSS
     déclenchée au scroll (main.js pose .is-up au seuil). Fond opaque + ombre
     haute = couverture nette. */
  .kd-reveal.is-on + #temoignages {
    position: relative;
    z-index: 5;
    margin-top: -100vh;
    transform: translateY(100vh);
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    box-shadow: 0 -40px 90px rgba(0, 0, 0, 0.28);
  }
  .kd-reveal.is-on + #temoignages.is-up { transform: translateY(0); }
}

/* Ancre « Témoignages » (nav) cliquée depuis le HAUT, scène active : la
   section porte encore translateY(100vh) et le saut d'ancre vise le rect
   TRANSFORMÉ -> on atterrirait 100vh trop bas (puis la montée glisserait la
   section sous le lecteur). On compense dans la cible ; dès .is-up
   (transform 0), le scroll-margin par défaut (96px) reprend. Desktop
   uniquement : sur mobile transform:none, l'ancre native est déjà juste. */
@media (min-width: 900px) {
  .kd-reveal.is-on + #temoignages:not(.is-up) { scroll-margin-top: calc(100vh + 96px); }

  /* « Ton intuition t'a menée ici » (scène épinglée, laptop) : un peu plus
     COMPACTE (titre, texte, cartes) + plus d'air eyebrow->titre et ENTRE les
     cases. Reste dans 100svh (garde-fou fits()). */
  .kd-reveal.is-on #pour-toi .section-head .eyebrow { margin-bottom: clamp(1.6rem, 2.6vh, 2.3rem); }
  .kd-reveal.is-on #pour-toi .section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); white-space: nowrap; }
  .kd-reveal.is-on #pour-toi .pt-para { font-size: clamp(1rem, 1.65vw, 1.22rem); line-height: 1.55; }
  .kd-reveal.is-on #pour-toi .pt-grid { gap: clamp(1.1rem, 2.6vh, 1.9rem); margin-top: clamp(2.8rem, 6vh, 4rem); }
  .kd-reveal.is-on #pour-toi .pt-card { padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.35rem); gap: 0.85rem; }
  .kd-reveal.is-on #pour-toi .pt-icon { width: 38px; height: 38px; }
  .kd-reveal.is-on #pour-toi .pt-icon .pt-ico { width: 19px; height: 19px; }
  .kd-reveal.is-on #pour-toi .pt-text { font-size: 0.95rem; line-height: 1.45; }
}

/* ============================================================
   SCÈNE ÉPINGLÉE — ADAPTATION MOBILE (< 900px). On COMPACTE et le
   paragraphe PARTAGE la même zone que les cartes : il se révèle, se
   fond, puis les cartes s'y posent (séquentiel, piloté par le JS).
   ============================================================ */
@media (max-width: 899.98px) {
  .kd-reveal.is-on .kd-stage > section { padding-block: clamp(0.8rem, 2.5vh, 1.6rem); }

  /* Paragraphe + cartes dans la MÊME cellule de grille (superposés). */
  .kd-reveal.is-on #pour-toi .container {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
  }
  .kd-reveal.is-on #pour-toi .section-head {
    grid-area: 1 / 1;
    margin-bottom: clamp(1rem, 3vh, 1.6rem);
  }
  .kd-reveal.is-on #pour-toi .pt-lede,
  .kd-reveal.is-on #pour-toi .pt-grid {
    grid-area: 2 / 1;    /* même cellule -> superposition */
    margin: 0;
    width: 100%;
    align-self: start;
  }

  /* Compactage pour tenir dans la hauteur (6 cartes). */
  .kd-reveal.is-on #pour-toi .pt-para { font-size: 1.16rem; line-height: 1.55; }
  .kd-reveal.is-on #pour-toi .pt-grid { gap: 0.55rem; }
  .kd-reveal.is-on #pour-toi .pt-card { padding: 0.6rem 0.9rem; gap: 0.7rem; border-radius: 14px; }
  .kd-reveal.is-on #pour-toi .pt-icon { width: 30px; height: 30px; }
  .kd-reveal.is-on #pour-toi .pt-icon .pt-ico { width: 16px; height: 16px; }
  .kd-reveal.is-on #pour-toi .pt-text { font-size: 0.86rem; line-height: 1.35; }

  /* « Le trailer » (base de la scène) : cadre portrait borné en HAUTEUR pour
     tenir dans 100svh (9:16 -> largeur = hauteur × 9/16 ; 24vh de large = 43vh
     de haut). */
  .kd-reveal.is-on #trailer .video-feature-media { max-width: min(52vw, 24vh); }
  .kd-reveal.is-on #trailer .video-feature-grid { gap: 1.6rem; }
  .kd-reveal.is-on #trailer .video-feature-copy h2 { font-size: 1.35rem; }
  .kd-reveal.is-on #trailer .video-feature-copy p { font-size: 0.9rem; line-height: 1.45; }
  .kd-reveal.is-on #trailer .trailer-cta { margin-top: 0.9rem; }

  /* Étiquette vidéo resserrée (cadre étroit). */
  .video-tag { font-size: 0.58rem; letter-spacing: 0.05em; padding: 0.45em 0.85em; }

  /* Montée AU SCROLL (PAS de transform) sur mobile : margin négatif + z-index,
     synchronisé avec l'image sticky de #temoignages (le transform désynchronise
     position:sticky — piège charte §12.5). */
  .kd-reveal.is-on + #temoignages {
    margin-top: -100svh;
    transform: none;
    transition: none;
  }
  .kd-reveal.is-on + #temoignages.is-up { transform: none; }

  /* TÉMOIGNAGES sur MOBILE : les deux colonnes s'empilent (photo en haut,
     pile en dessous — la grille .tmn-layout est mono-colonne sous 900px). */
  /* Photo plus PETITE sur mobile (sélecteur à 2 classes -> gagne sur .tmn-media de base). */
  .tmn-layout .tmn-media { max-width: min(58vw, 230px); }
  .tmn-stack { min-height: clamp(360px, 84vw, 460px); }
}

/* Sécurité : jamais de scène épinglée en reduced-motion. Ceinture-bretelles :
   le JS écoute aussi le changement de préférence (deactivate + clearInline),
   mais si .is-on restait posée, TOUT le contenu éteint par la scène doit
   redevenir visible. */
@media (prefers-reduced-motion: reduce) {
  .kd-reveal.is-on .kd-stage { position: static; height: auto; overflow: visible; }
  .kd-reveal.is-on .kd-stage > section { position: relative; inset: auto; }
  .kd-reveal.is-on #pour-toi { opacity: 1; }
  .kd-reveal.is-on .kd-word,
  .kd-reveal.is-on #trailer .tr-reveal,
  .kd-reveal.is-on #pour-toi .pt-para,
  .kd-reveal.is-on #pour-toi .pt-card { opacity: 1; transform: none; }
  .kd-reveal.is-on #pour-toi .kd-pword { opacity: 1; }
  .kd-reveal.is-on .kd-runway { height: 0; }
  .kd-reveal.is-on + #temoignages { margin-top: 0; transform: none; transition: none; }
}

/* ------------------------------------------------------------
   TÉMOIGNAGES — theme-charcoal. GAUCHE : placeholder photo portrait.
   DROITE : entête + PILE de témoignages « verre liquide » qu'on fait
   défiler (glisser + points + auto). Voir main.js/initTestimonialStack.
   ------------------------------------------------------------ */

#temoignages {
  --container: 1200px;
  padding-block: clamp(70px, 7.5vw, 110px);
  /* Fond photo + voile sombre (texte crème et cartes lisibles par-dessus). */
  background-color: var(--charcoal);   /* repli si l'image manque */
  background-image:
    linear-gradient(180deg,
      color-mix(in srgb, var(--charcoal) 56%, transparent) 0%,
      color-mix(in srgb, var(--charcoal) 62%, transparent) 50%,
      color-mix(in srgb, var(--charcoal) 70%, transparent) 100%),
    url('../img/fond-section.webp?v=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Section PLEINE HAUTEUR (desktop), contenu centré verticalement. */
@media (min-width: 900px) {
  #temoignages {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* En-tête sur fond sombre : eyebrow bleu clair, titre crème + ombre de lisibilité. */
#temoignages .section-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 22px rgba(0, 0, 0, 0.5); }
#temoignages .section-head .eyebrow { color: var(--color-celestial-light); }
#temoignages .section-head h2 { color: var(--cream); }
#temoignages .section-head .lead { color: var(--ink-soft); }

/* Layout deux colonnes : photo (gauche) + pile (droite). */
.tmn-layout {
  display: grid;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  /* Colonne photo à largeur EXPLICITE (les slides sont en position absolue ->
     pas de largeur intrinsèque, `auto` s'effondrerait) + colonne pile bornée +
     groupe CENTRÉ, écart réduit -> l'image se rapproche beaucoup des témoignages. */
  .tmn-layout {
    grid-template-columns: min(330px, 40vh) minmax(0, 680px);
    column-gap: clamp(1.5rem, 3vw, 2.6rem);
    justify-content: center;
  }
}

/* --- GAUCHE : placeholder photo portrait 4:5 --- */
.tmn-media { width: 100%; max-width: 360px; margin-inline: auto; }
/* Desktop/laptop : borne surtout en HAUTEUR (photo 2:3 -> largeur = hauteur×2/3).
   40vh de large = 60vh de haut. translateX : léger décalage de la photo vers la
   GAUCHE (n'affecte pas le flux -> l'écart photo/cartes reste inchangé). */
@media (min-width: 900px) {
  .tmn-media { margin-inline: 0; max-width: min(330px, 40vh); transform: translateX(-0.9rem); }
}

.tmn-frame {
  position: relative;
  aspect-ratio: 2 / 3;   /* format des photos (portrait 2:3) : affichage parfait */
  border-radius: var(--radius-soft);
  overflow: hidden;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--aubergine) 82%, #000), var(--charcoal));   /* repli sous les photos */
  border: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

/* Diaporama : les 6 photos superposées, fondu enchaîné INFINI, une à la fois. */
.tmn-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: tmn-fade 30s linear infinite;
  animation-delay: calc(var(--n, 0) * -5s);   /* décalage : chacune passe à son tour */
  will-change: opacity;
}
@keyframes tmn-fade {
  0%      { opacity: 0; }
  5%      { opacity: 1; }   /* fondu d'entrée (~1,5 s) */
  16.66%  { opacity: 1; }   /* reste affichée (~3,5 s) */
  21.66%  { opacity: 0; }   /* fondu de sortie (~1,5 s) — chevauche l'entrée de la suivante */
  100%    { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tmn-slide { animation: none; opacity: 0; }
  .tmn-slide:first-child { opacity: 1; }   /* une image fixe, sans mouvement */
}

/* --- DROITE : la PILE (cartes superposées, pilotées par le JS) --- */
.tmn-content { width: 100%; }

.tmn-stack {
  position: relative;
  min-height: clamp(340px, 44vw, 400px);
  margin-top: clamp(0.4rem, 1.4vw, 1rem);
}

.tmn-card2 {
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--white) 70%, transparent);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    inset 0 2px 1px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px color-mix(in srgb, var(--color-celestial-tides) 10%, transparent);
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease-soft), opacity 0.55s var(--ease-soft);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.tmn-card2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(152deg,
    color-mix(in srgb, var(--white) 80%, transparent),
    color-mix(in srgb, var(--color-celestial-light) 12%, color-mix(in srgb, var(--white) 68%, transparent)) 52%,
    color-mix(in srgb, var(--white) 74%, transparent));
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.tmn-card2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 68% at 18% -8%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 26%);
}
/* Carte active en cours de glissement : suit le doigt sans transition. */
.tmn-stack.is-dragging .tmn-card2.is-active { transition: none; cursor: grabbing; }

.tmn-card2 .tmn-quote-mark {
  position: absolute;
  top: clamp(0.8rem, 2vw, 1.3rem);
  right: clamp(1.1rem, 2.4vw, 1.7rem);
  font-family: var(--font-accent);
  font-size: 3rem;
  line-height: 0.5;
  color: var(--color-celestial-tides);
  opacity: 0.55;
  pointer-events: none;
}

.tmn-card-head { display: flex; align-items: center; gap: 0.9rem; }
.tmn-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 14px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--white);
  background: linear-gradient(135deg, var(--color-celestial-light), var(--color-celestial-tides));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--color-celestial-tides) 32%, transparent);
}
.tmn-id { line-height: 1.2; }
.tmn-name {
  margin: 0;
  font-family: var(--font-display);   /* Royal */
  font-weight: 500;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.tmn-city2 {
  margin: 0.18rem 0 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celestial-tides);
}

.tmn-quote2 { margin: 0 0 auto; }
.tmn-quote2 p {
  margin: 0;
  font-family: var(--font-editorial);   /* Georgia */
  font-style: italic;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
  color: color-mix(in srgb, var(--charcoal) 92%, var(--white));
}

.tmn-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  align-self: flex-start;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-celestial-tides);
}
.tmn-badge > span[aria-hidden] { opacity: 0.8; }

/* Contrôles sous la pile : FLÈCHES (seul moyen de changer de carte) + points
   indicateurs de position. */
.tmn-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.tmn-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--cream);
  background: color-mix(in srgb, var(--color-celestial-tides) 32%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease-soft), background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.tmn-arrow svg { width: 20px; height: 20px; display: block; }
.tmn-arrow:hover,
.tmn-arrow:focus-visible {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--color-celestial-light) 55%, transparent);
  border-color: color-mix(in srgb, var(--color-celestial-light) 72%, transparent);
}
.tmn-arrow:active { transform: translateY(0) scale(0.96); }

/* Points : simples INDICATEURS de position (non cliquables). */
.tmn-dots { display: flex; gap: 0.5rem; }
.tmn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cream) 28%, transparent);
  transition: background 0.35s var(--ease-soft), width 0.35s var(--ease-soft);
}
.tmn-dot.is-on {
  width: 22px;
  border-radius: 4px;
  background: var(--color-celestial-light);
}

/* ------------------------------------------------------------
   FAQ — accordéon <details> natif sous la vidéo FAQ (theme-cream).
   Filets fins, chevron qui tourne, ouverture douce.
   ------------------------------------------------------------ */

.faq-list {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--hairline);
}

.faq-item { border-bottom: 1px solid var(--hairline); }

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.05em 2.2em 1.05em 0.1em;
  font-family: var(--font-display);   /* Royal */
  font-weight: 500;
  font-size: 1.06rem;
  line-height: 1.35;
  text-transform: uppercase;          /* titres de questions en MAJUSCULE (comme les autres titres de cartes) */
  letter-spacing: 0.04em;
  color: var(--charcoal);
  transition: color 0.3s var(--ease-soft);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-celestial-tides); }

/* Chevron « + » qui devient « × » à l'ouverture. */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2em;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05em;
  line-height: 1;
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 9%, var(--white));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-celestial-tides) 26%, transparent);
  transition: rotate 0.4s var(--ease-soft), background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.faq-item[open] summary::after {
  rotate: 45deg;
  background: var(--color-celestial-tides);
  color: var(--white);
}

.faq-body { padding: 0.1em 2.2em 1.25em 0.1em; }
.faq-body p {
  margin: 0;
  font-size: 0.98rem !important;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   PROCHAINES DATES — theme-charcoal. Cartes en verre foncé,
   badge d'urgence, ville en Royal, date en Georgia italique.
   ------------------------------------------------------------ */

.date-grid {
  display: grid;
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: clamp(2.6rem, 5vw, 3.6rem);
  list-style: none;
  padding: 0;
}

.date-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(1.7rem, 3vw, 2.3rem) clamp(1.4rem, 2.6vw, 2rem);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 color-mix(in srgb, var(--white) 14%, transparent);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}
.date-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-celestial-light) 45%, transparent);
  box-shadow:
    0 30px 66px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 color-mix(in srgb, var(--white) 22%, transparent);
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45em 1em;
  border-radius: var(--radius-btn);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-celestial-light);
  background: color-mix(in srgb, var(--color-celestial-light) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-celestial-light) 38%, transparent);
  margin-bottom: 0.5rem;
}
/* « Presque complet » : le badge PULSE doucement (urgence douce, jamais criarde). */
.date-badge--hot {
  color: var(--cream);
  background: color-mix(in srgb, var(--color-celestial-tides) 55%, transparent);
  border-color: color-mix(in srgb, var(--cream) 35%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .date-badge--hot { animation: badge-pulse 2.6s ease-in-out infinite; }
  @keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-celestial-light) 38%, transparent); }
    50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--color-celestial-light) 0%, transparent); }
  }
}
.date-badge--new {
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  background: color-mix(in srgb, var(--cream) 8%, transparent);
  border-color: color-mix(in srgb, var(--cream) 26%, transparent);
}

.date-city {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.date-when {
  margin: 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 100;
  letter-spacing: 0.5px;
  font-size: 1.14rem;
  color: var(--color-celestial-light);
}

.date-detail {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: auto;
}

.date-btn { margin-top: 1.3rem; }
.date-btn.btn--call {
  padding: 0.7em 1.3em;
  font-size: 11.5px;
  letter-spacing: 1.1px;
  border-radius: 22px;
}

.date-note {
  margin: clamp(2.2rem, 4.5vw, 3.2rem) auto 0;
  max-width: 40rem;
  text-align: center;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}

/* ------------------------------------------------------------
   Bande CTA finale (theme-teal) — centrée, galaxie, 1 bloom.
   ------------------------------------------------------------ */

.cta-band { text-align: center; overflow: hidden; }

/* Canvas galaxie : couvre sa section, derrière le contenu (bande CTA + Dates). */
.galaxy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.2rem, 2.6vw, 1.9rem);
}
.cta-band-inner .lead { font-size: 1.16rem; color: var(--ink-soft); margin: 0; }
.cta-band-inner .btn { margin-top: 0.4rem; }

.cta-micro {
  margin: 0.2rem 0 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--cream) 85%, transparent);
}

/* ------------------------------------------------------------
   Footer — fond charcoal. Logo généreux, devise italique,
   grille de liens, icônes sociales en verre liquide bleu.
   ------------------------------------------------------------ */

.site-footer { padding-block: calc(var(--section-y) * 0.62) 2.4rem; }

.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 2.2fr 1fr 1fr; gap: 4rem; }
}

.footer-devise {
  margin-top: 1.7rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.6;
  max-width: 26rem;
  color: var(--ink-soft);
}

.footer-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1.2rem;
}

.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a {
  font-size: 0.98rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.footer-col .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-social .social-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--color-celestial-light);
  text-decoration: none;
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--color-celestial-light) 26%, transparent),
    color-mix(in srgb, var(--color-celestial-light) 9%, transparent));
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid color-mix(in srgb, var(--color-celestial-light) 42%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--white) 28%, transparent),
    0 8px 20px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.4s var(--ease-soft),
    background 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft),
    color 0.4s var(--ease-soft),
    border-color 0.4s var(--ease-soft);
}
.footer-social .social-icon svg { width: 20px; height: 20px; display: block; }
.footer-social .social-icon:hover,
.footer-social .social-icon:focus-visible {
  transform: translateY(-3px);
  color: var(--cream);
  text-decoration: none;
  border-color: color-mix(in srgb, var(--color-celestial-light) 75%, transparent);
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--color-celestial-light) 55%, transparent),
    color-mix(in srgb, var(--color-celestial-light) 24%, transparent));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--white) 45%, transparent),
    0 14px 30px color-mix(in srgb, var(--color-celestial-light) 32%, transparent);
}

.footer-legal {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.footer-legal a { color: inherit; text-underline-offset: 3px; }
.link-btn { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* ============================================================
   POP-UP FORMULAIRE — <dialog> natif « Réserver ma place »
   Une étape à la fois. Le balisage est INJECTÉ par main.js.
   (Recette identique à la page Aide — charte §6.)
   ============================================================ */

.lwf {
  width: 100%;
  max-width: min(540px, calc(100vw - 2rem));
  margin: auto;   /* rétablit le centrage natif du <dialog> (reset * {margin:0}) */
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--charcoal);
}
.lwf::backdrop {
  background: color-mix(in srgb, var(--charcoal) 38%, transparent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.lwf-boite {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(1.5rem, 3.6vw, 2.3rem);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--white) 72%, transparent);
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.30),
    0 10px 26px rgba(0, 0, 0, 0.12),
    inset 0 2px 1px rgba(255, 255, 255, 0.95),
    inset 0 -2px 4px color-mix(in srgb, var(--color-celestial-tides) 12%, transparent);
}
.lwf-boite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(152deg,
      color-mix(in srgb, var(--white) 88%, transparent),
      color-mix(in srgb, var(--color-celestial-light) 10%, color-mix(in srgb, var(--white) 76%, transparent)) 52%,
      color-mix(in srgb, var(--white) 82%, transparent));
  -webkit-backdrop-filter: blur(34px) saturate(1.7);
  backdrop-filter: blur(34px) saturate(1.7);
}
.lwf-boite::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 68% at 18% -8%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 26%);
}

.lwf-tete {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
}
.lwf-tete[hidden] { display: none; }
.lwf-progres {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--color-celestial-tides) 16%, transparent);
  overflow: hidden;
}
.lwf-progres-barre {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #4B6D77;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-soft);
}
.lwf-compteur {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--charcoal) 45%, var(--white));
  white-space: nowrap;
}
.lwf-fermer {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: color-mix(in srgb, var(--charcoal) 55%, var(--white));
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.lwf-fermer svg { width: 17px; height: 17px; }
.lwf-fermer:hover { background: color-mix(in srgb, var(--charcoal) 8%, transparent); color: var(--charcoal); }

.lwf-scene { position: relative; min-height: 208px; }

.lwf-etape {
  position: relative;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.34s var(--ease-soft), transform 0.34s var(--ease-soft);
}
.lwf-etape.part-gauche,
.lwf-etape.part-droite { position: absolute; inset: 0; }
.lwf-etape.vient-droite { opacity: 0; transform: translateX(36px); }
.lwf-etape.vient-gauche { opacity: 0; transform: translateX(-36px); }
.lwf-etape.part-gauche  { opacity: 0; transform: translateX(-36px); }
.lwf-etape.part-droite  { opacity: 0; transform: translateX(36px); }

.lwf-question {
  margin: 0;
  font-family: var(--font-display);   /* Royal */
  font-weight: 500;
  font-size: clamp(1.32rem, 3.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--charcoal);
}
.lwf-requis {
  margin-left: 0.28em;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.62em;
  vertical-align: super;
  color: #b4453f;
}

.lwf-aide {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--charcoal) 58%, var(--white));
}

.lwf-champ {
  width: 100%;
  margin-top: 1.15rem;
  padding: 0.75em 0.1em;
  font: inherit;
  font-size: 1.06rem;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--charcoal) 16%, transparent);
  border-radius: 0;
  transition: border-color 0.3s var(--ease-soft);
}
.lwf-champ:focus { outline: none; border-bottom-color: #4B6D77; }
textarea.lwf-champ { resize: vertical; min-height: 4.4em; }

.lwf-choix { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }
.lwf-option {
  flex: 1 1 auto;
  min-width: 116px;
  padding: 0.85em 1.4em;
  border-radius: 14px;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4B6D77;
  background: color-mix(in srgb, #4B6D77 6%, var(--white));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #4B6D77 26%, transparent);
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft),
              box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.lwf-option:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px #4B6D77; }
.lwf-option.is-choisi { background: #4B6D77; color: var(--cream); box-shadow: none; }

.lwf-erreur {
  margin: 0.7rem 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: #b4453f;
}

.lwf-pied[hidden] { display: none; }
.lwf-pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: clamp(1.2rem, 3vw, 1.7rem);
}
.lwf-prec {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--charcoal) 55%, var(--white));
  padding: 0.6em 0.2em;
  transition: color 0.3s var(--ease-soft);
}
.lwf-prec:hover { color: var(--charcoal); }
.lwf-prec[hidden] { display: none; }
.lwf-suiv {
  margin-left: auto;
  padding: 0.85em 1.9em;
  border-radius: 14px;
  background: #4B6D77;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft),
              box-shadow 0.3s var(--ease-soft);
}
.lwf-suiv:hover {
  background: var(--color-celestial-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px color-mix(in srgb, #4B6D77 40%, transparent);
}

.lwf-etat { align-items: center; text-align: center; }
.lwf-etat .lwf-aide { margin-top: 0.7rem; }
.lwf-etat .lwf-suiv { margin: 1.4rem auto 0; }
.lwf-spin {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, #4B6D77 22%, transparent);
  border-top-color: #4B6D77;
  animation: lwf-tourne 0.75s linear infinite;
}
@keyframes lwf-tourne { to { transform: rotate(360deg); } }
.lwf-coche {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 0.3rem;
  border-radius: 50%;
  color: var(--cream);
  background: #4B6D77;
}
.lwf-coche svg { width: 25px; height: 25px; }

/* Piège à robots : hors écran, JAMAIS display:none. */
.lwf-pot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .lwf-etape, .lwf-progres-barre, .lwf-option, .lwf-suiv { transition: none; }
  .lwf-spin { animation: none; }
}

/* ============================================================
   VERSANT MOBILE — @media (max-width: 899px)
   Aucune règle ne redéfinit une taille de police globale : on ne
   relève QUE des planchers de clamp() qui s'écrasent.
   ============================================================ */
@media (max-width: 899.98px) {
  .hero { padding-block: clamp(96px, 16vh, 140px) var(--section-y); }
  .hero { min-height: 100svh; }

  /* Titre du hero AGRANDI : il remplit la largeur (11vw), plafonné 3.2rem. */
  .hero-title { font-size: clamp(2.3rem, 11vw, 3.2rem); line-height: 1.1; }

  /* Trailer portrait 9:16 sur mobile : cadre modéré (il est grand en hauteur). */
  #trailer .video-feature-media { max-width: min(62vw, 250px); }
  /* Vidéo FAQ portrait un peu plus petite (elle dominait l'écran). */
  #faq .video-feature-media { max-width: 280px; }

  /* Cartes « pour toi » compactées + plus d'air vertical. */
  .pt-grid { gap: 0.8rem; margin-top: clamp(2.2rem, 7vw, 3rem); }
  .pt-card { padding: 0.85rem 1rem; gap: 0.8rem; }
  .pt-icon { width: 36px; height: 36px; }
  .pt-icon .pt-ico { width: 19px; height: 19px; }
  .pt-text { font-size: 0.94rem; }

  /* Témoignages : cartes plus petites. */
  .tmn-grid { gap: clamp(1.3rem, 4vw, 2rem); margin-top: clamp(2rem, 6vw, 3rem); }
  .tmn-card { padding: 1.25rem 1.3rem; gap: 0.6rem; border-radius: 18px; }
  .tmn-quote p { font-size: 0.95rem; }
  .tmn-who { font-size: 0.95rem; }

  /* Dates : cartes plus compactes. */
  .date-grid { gap: 1.1rem; margin-top: clamp(2rem, 6vw, 3rem); }
  .date-card { padding: 1.4rem 1.3rem; border-radius: 18px; }
  .date-city { font-size: 1.45rem; }
  .date-when { font-size: 1.05rem; }

  /* FAQ : question un peu plus petite. */
  .faq-item summary { font-size: 0.98rem; }

  /* Bande CTA finale : REMPLIT l'écran, centrée verticalement. */
  .cta-band {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .cta-band-inner { gap: clamp(2rem, 6.5vw, 3.2rem); }
  .cta-band h2 { font-size: clamp(2rem, 8.5vw, 2.7rem); line-height: 1.15; }
  .cta-band-inner .lead { font-size: 1.2rem; }
  .cta-micro { font-size: 1.14rem; }
}

/* ============================================================
   ÉCHELLE PILOTÉE PAR LA HAUTEUR — le vrai correctif « laptop ».
   16px au-dessus de ~900px de haut ; descend à 12,5px sur laptop bas.
   Réservé au desktop. À reprendre tel quel (charte §8.1).
   ============================================================ */
@media (min-width: 900px) {
  :root { font-size: clamp(12.5px, 1.78vh, 16px); }

  /* Cadre vidéo FAQ (4/5, max-width en px pur) : borne vh (charte §8.1). */
  #faq .video-feature-media { max-width: min(420px, 54vh); }
  /* Trailer PORTRAIT 9:16 : borne vh (largeur = hauteur × 9/16). 35vh de large
     -> ~62vh de haut : tient dans la scène épinglée même sur laptop bas. */
  #trailer .video-feature-media { max-width: min(340px, 35vh); }
}

/* ============================================================
   LAPTOP LARGE ET BAS — @media (min-width:900px) and (max-height:780px)
   EN FIN DE FICHIER (cascade). On rogne les rembourrages / recentre
   les visuels, JAMAIS le texte.
   ============================================================ */
@media (min-width: 900px) and (max-height: 780px) {
  .video-feature-media { margin-inline: auto; }
}
