/* ============================================================================
   L'ŒUVRE — styles.css
   Landing one-page cinématographique · Bivouac Luna × Renêtre
   Ordre : tokens → reset → typographie → portail → scrub → sections → footer
   ========================================================================== */

/* ---------- 1 · TOKENS ---------------------------------------------------- */
:root {
  /* Palette */
  --sable:      #F4ECDD;
  --creme:      #F4EEE1;
  --nuit:       #241A10;
  --nuit-deep:  #1A120A;
  --texte:      #3A2A1E;
  --texte-doux: #6A5A48;
  --terracotta: #B4552F;
  --or:         #BE8A2E;
  --or-clair:   #E4B85E;

  /* Sur fond nuit */
  --sur-nuit:        #EFE4D2;
  --sur-nuit-doux:   #B7A98F;

  /* Typo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  /* Rythme */
  --wrap:      1200px;
  --wrap-wide: 1360px;
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(5rem, 12vh, 11rem);

  /* Divers */
  --radius: 2px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --line:   color-mix(in srgb, var(--texte) 15%, transparent);
}

/* ---------- 2 · RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Lenis prend le relais du scroll ; on neutralise le smooth natif quand actif */
html.lenis { scroll-behavior: auto; }
html.lenis body { height: auto; }

body {
  background: var(--sable);
  color: var(--texte);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.125rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

/* Focus accessible */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Empêche le scroll tant que le portail est ouvert */
body.portal-open { overflow: hidden; height: 100vh; }

/* ---------- 3 · TYPOGRAPHIE / UTILITAIRES -------------------------------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -0.01em; }
em { font-style: italic; }

.label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.label--terra { color: var(--terracotta); }
.label--gold  { color: var(--or-clair); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }
.wrap--wide   { max-width: var(--wrap-wide); }

/* ---------- Boutons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05em 2.2em;
  border-radius: 100px;
  border: 1px solid currentColor;
  color: var(--texte);
  background: transparent;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--texte); color: var(--sable); transform: translateY(-2px); }
.btn svg { transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--portal { color: var(--creme); border-color: color-mix(in srgb, var(--creme) 60%, transparent); }
.btn--portal:hover { background: var(--creme); color: var(--nuit); }

.btn--light { color: var(--creme); border-color: color-mix(in srgb, var(--creme) 55%, transparent); }
.btn--light:hover { background: var(--or-clair); color: var(--nuit); border-color: var(--or-clair); }

.btn--full { display: flex; justify-content: center; width: 100%; }

/* ---------- Sections nuit / sable ---------------------------------------- */
.section--night { background: var(--nuit); color: var(--sur-nuit); }
.section--night .section__title { color: var(--creme); }
.section--night p { color: var(--sur-nuit-doux); }
.section--sand  { background: var(--creme); }

/* ============================================================================
   4 · PORTAIL D'ENTRÉE
   ========================================================================== */
.portal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--nuit-deep);
  text-align: center;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.portal.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.portal__video,
.portal__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.portal__fallback { z-index: -1; } /* visible seulement si la vidéo échoue */
.portal__video { opacity: 0.9; }

.portal__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 20%, transparent 30%, rgba(20,13,7,0.55) 100%),
    linear-gradient(to bottom, rgba(20,13,7,0.55), rgba(20,13,7,0.35) 45%, rgba(20,13,7,0.8));
}

.portal__content {
  position: relative;
  z-index: 2;
  padding: var(--gutter);
  max-width: 820px;
}
.portal__eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--or-clair);
  margin-bottom: 1.6rem;
}
.portal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.5rem, 20vw, 15rem);
  line-height: 0.9;
  color: var(--creme);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 60px rgba(0,0,0,0.4);
}
.portal__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  color: color-mix(in srgb, var(--creme) 85%, transparent);
  max-width: 34ch;
  margin: 1.6rem auto 2.8rem;
  line-height: 1.35;
}

/* Co-branding */
.portal__brand {
  position: absolute;
  bottom: clamp(1.4rem, 4vh, 3rem);
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  flex-wrap: wrap;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--creme) 70%, transparent);
}
.portal__brand strong { color: var(--creme); font-weight: 500; }
.portal__brand-logo { display: inline-flex; align-items: center; height: 1.4em; }
.portal__brand-logo svg { height: 100%; width: auto; }
.portal__brand-agency {
  color: color-mix(in srgb, var(--creme) 72%, transparent);
  letter-spacing: 0.05em;
}

/* Loader de préchargement */
.portal__loader {
  position: absolute;
  bottom: clamp(4.5rem, 11vh, 7rem);
  left: 50%; transform: translateX(-50%);
  z-index: 2;
  width: min(320px, 70vw);
  text-align: center;
  transition: opacity 0.6s var(--ease);
}
.portal__loader.is-done { opacity: 0; }
.portal__loader-bar {
  height: 1px;
  background: color-mix(in srgb, var(--creme) 22%, transparent);
  overflow: hidden;
}
.portal__loader-bar span {
  display: block; height: 100%; width: 0%;
  background: var(--or-clair);
  transition: width 0.3s linear;
}
.portal__loader-label {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: color-mix(in srgb, var(--creme) 55%, transparent);
}

/* Rideau de transition */
.curtain {
  position: fixed; inset: 0; z-index: 999;
  background: var(--nuit-deep);
  transform: translateY(100%);
  pointer-events: none;
}

/* ============================================================================
   5 · SCRUB (séquences canvas pilotées au scroll)
   ========================================================================== */
.main { opacity: 0; transition: opacity 0.8s var(--ease); }
.main.is-visible { opacity: 1; }

.scrub {
  position: relative;
  height: 400vh;              /* hauteur de défilement pinnée (JS pin le sticky) */
  background: var(--nuit-deep);
}
.scrub--hero { height: 360vh; }

.scrub__sticky {
  position: sticky;           /* fallback si JS/GSAP absent */
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.scrub__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--nuit-deep);
}
/* Mode fallback : image de poster affichée en fond (parallaxe léger via JS) */
.scrub__canvas.is-fallback { object-fit: cover; }

.scrub__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,13,7,0.45) 0%, rgba(20,13,7,0.1) 35%, rgba(20,13,7,0.55) 100%);
  pointer-events: none;
}

.scrub__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
  pointer-events: none;
}
.scrub__head {
  position: absolute;
  top: clamp(2.5rem, 13vh, 7rem);
  left: 0; right: 0;
}
.scrub__head .label { color: var(--or-clair); }
.scrub__chapter {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  color: var(--creme);
  margin-top: 0.5rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

/* Phrases synchronisées au scrub (opacité pilotée par JS via --p) */
.scrub__phrase {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 780px);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--creme);
  text-shadow: 0 2px 40px rgba(0,0,0,0.55);
  opacity: 0;
  will-change: opacity, transform;
}
.scrub__phrase--cta { pointer-events: auto; }
.scrub__phrase--cta .btn { pointer-events: auto; }

/* Indice de scroll (hero) — visible, flèche vers le bas, rebond */
.scrub__hint {
  position: absolute;
  bottom: clamp(1.8rem, 4vh, 3rem); left: 50%; transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 0.95rem;
  pointer-events: none;
  animation: hintBob 2s ease-in-out infinite;
}
.scrub__hint-label {
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--creme);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.scrub__hint-arrow {
  display: grid; place-items: center;
  width: clamp(44px, 5vw, 52px); height: clamp(44px, 5vw, 52px);
  border-radius: 50%;
  color: var(--or-clair);
  border: 1.5px solid color-mix(in srgb, var(--or-clair) 65%, transparent);
  background: rgba(20, 13, 7, 0.28);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.scrub__hint-arrow svg { width: 60%; height: 60%; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ============================================================================
   6 · MANIFESTE
   ========================================================================== */
.manifeste { padding-block: var(--section-y); }
.manifeste__body { margin-top: 2.5rem; }
.manifeste__body p { margin-bottom: 1.6rem; }
.manifeste__lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.28;
  color: var(--creme) !important;
  font-weight: 300;
}
.manifeste__lead em { color: var(--or-clair); font-style: italic; }
.manifeste__body p:not(.manifeste__lead) {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 62ch;
}

/* ============================================================================
   7 · MARQUEE
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding-block: clamp(1.6rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  white-space: nowrap;
}
.section--night.marquee { border-color: color-mix(in srgb, var(--creme) 12%, transparent); }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  will-change: transform;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-style: italic;
  color: var(--texte);
}
.section--night .marquee span { color: var(--sur-nuit); }
.marquee__dot { color: var(--terracotta); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================================
   8 · EDITORIAL (récit sous chapitre)
   ========================================================================== */
.editorial { padding-block: var(--section-y); background: var(--sable); }
.wrap--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.wrap--reverse .editorial__media,
.wrap--reverse .experience__media { order: -1; }
.editorial__text .label { margin-bottom: 1.4rem; }
.editorial__text p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  color: var(--texte);
  font-weight: 300;
}
.editorial__media, .experience__media, .lieu__media {
  overflow: hidden;
  border-radius: var(--radius);
}
.editorial__media img, .experience__media img, .lieu__media img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.experience__media img { aspect-ratio: 3 / 4; }

/* ============================================================================
   9 · SECTIONS GÉNÉRIQUES
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section__head .label { margin-bottom: 1.2rem; }
.section__title {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--texte);
}

/* Cartes (Pour qui) */
.cards { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--sable);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  min-height: 15rem;
  display: flex; flex-direction: column;
  transition: background 0.5s var(--ease);
}
.card:hover { background: var(--creme); }
.card__num {
  font-family: var(--serif); font-size: 1.4rem; color: var(--terracotta);
  margin-bottom: auto; padding-bottom: 2rem;
}
.card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; color: var(--texte-doux); }

/* Piliers (L'expérience) */
.wrap--split.wrap--wide { max-width: var(--wrap-wide); }
.experience__text .section__title { margin-block: 1.2rem 2.5rem; }
.pillars { list-style: none; padding: 0; display: grid; gap: 2rem; }
.pillars li { display: flex; gap: 1.2rem; align-items: flex-start; }
.pillars__mark {
  flex: 0 0 auto; width: 12px; height: 12px; margin-top: 0.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--or-clair), var(--terracotta));
}
.pillars h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.pillars p { color: var(--texte-doux); font-size: 0.98rem; }

/* Programme */
.program { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.program__day { background: var(--sable); padding: clamp(1.8rem, 3vw, 2.8rem); }
.program__num {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--terracotta);
}
.program__day h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 0.5rem 0 1.6rem; }
.program__day ul { list-style: none; padding: 0; display: grid; gap: 0.9rem; }
.program__day li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.98rem; color: var(--texte-doux); line-height: 1.5;
}
.program__day li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--or);
}

/* Guides */
.guides { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.guide { display: flex; flex-direction: column; gap: 1.6rem; }
.guide__portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--terracotta) 25%, var(--nuit)), var(--nuit-deep));
  background-size: cover; background-position: center;
  display: grid; place-items: end start;
  padding: 1.4rem;
  position: relative; overflow: hidden;
}
.guide__portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,13,7,0.5), transparent 60%);
}
.guide__portrait span {
  position: relative; z-index: 1;
  font-family: var(--serif); font-size: 1.6rem; font-style: italic;
  color: color-mix(in srgb, var(--creme) 70%, transparent);
}
.guide__portrait.has-image span { display: none; }
.guide__body h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: var(--creme); margin: 0.6rem 0 0.9rem; }
.guides__host { margin-top: 3rem; font-size: 1rem; }
.guides__host strong { color: var(--or-clair); }

/* Bénéfices */
.benefits { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 2rem; }
.benefits li { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.benefits li:last-child { border-bottom: 1px solid var(--line); }
.benefits span {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--texte);
}

/* Le lieu */
.lieu { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.lieu__media--tall img { aspect-ratio: 3 / 4; }
.lieu__aside { display: grid; gap: 2rem; }
.lieu__aside > p { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.4; }
.lieu__facts { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.lieu__facts li { display: grid; gap: 0.2rem; }
.lieu__facts strong { color: var(--terracotta); font-weight: 500; }
.lieu__facts span { color: var(--texte-doux); font-size: 0.98rem; }
.lieu__aside .lieu__media img { aspect-ratio: 16 / 10; }

/* En pratique */
.pratique__text .section__title { margin-block: 1.2rem 2.5rem; }
.facts { display: grid; gap: 0; }
.facts > div {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid color-mix(in srgb, var(--creme) 14%, transparent);
}
.facts > div:last-child { border-bottom: 1px solid color-mix(in srgb, var(--creme) 14%, transparent); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or-clair); padding-top: 0.35rem; }
.facts dd { color: var(--sur-nuit); font-size: 1.05rem; }

.price {
  background: linear-gradient(160deg, color-mix(in srgb, var(--or) 16%, var(--nuit-deep)), var(--nuit-deep));
  border: 1px solid color-mix(in srgb, var(--or-clair) 25%, transparent);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3rem);
}
.price__label { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--or-clair); }
.price__amount {
  font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.6rem); color: var(--creme);
  line-height: 1; margin: 0.6rem 0 0.4rem;
}
.price__amount span { font-size: 0.5em; vertical-align: super; }
.price__note { color: var(--sur-nuit-doux) !important; font-size: 0.9rem; margin-bottom: 1.8rem; }
.price__included { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.price__included li {
  position: relative; padding-left: 1.6rem; font-size: 0.95rem; color: var(--sur-nuit);
}
.price__included li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--or-clair); box-shadow: 0 0 12px color-mix(in srgb, var(--or-clair) 60%, transparent);
}
.price__excluded { font-size: 0.85rem; color: var(--sur-nuit-doux) !important; margin-bottom: 1.8rem; font-style: italic; }

/* Témoignages */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote { display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(1.8rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote {
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3; color: var(--texte); font-style: italic;
}
.quote::before { content: "“"; font-family: var(--serif); font-size: 3.5rem; line-height: 0.4; color: var(--terracotta); }
.quote figcaption { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--texte-doux); margin-top: auto; }

/* FAQ */
.faq { display: grid; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.9rem); color: var(--texte);
  transition: color 0.4s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--terracotta); }
.faq__icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--terracotta); transition: transform 0.4s var(--ease);
}
.faq__icon::before { width: 100%; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 100%; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__answer { overflow: hidden; }
.faq__answer p { color: var(--texte-doux); padding-bottom: 1.6rem; max-width: 60ch; }

/* ============================================================================
   10 · CTA FINAL
   ========================================================================== */
.cta { position: relative; padding-block: clamp(6rem, 16vh, 12rem); overflow: hidden; color: var(--creme); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(20,13,7,0.72), rgba(20,13,7,0.55) 50%, rgba(20,13,7,0.85));
}
.cta__content { position: relative; z-index: 2; text-align: center; }
.cta__slogan {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-style: italic;
  line-height: 1.2;
  color: var(--creme);
  max-width: 20ch;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

/* Formulaire */
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}
.field { display: grid; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--creme) 75%, transparent);
}
.field label span { text-transform: none; letter-spacing: 0; opacity: 0.6; }
.field input, .field textarea {
  font: inherit; font-size: 1rem;
  color: var(--creme);
  background: color-mix(in srgb, var(--creme) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--creme) 25%, transparent);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--or-clair);
  background: color-mix(in srgb, var(--creme) 10%, transparent);
}
.field textarea { resize: vertical; min-height: 3.5rem; }
.cta__form .btn { grid-column: 1 / -1; margin-top: 0.5rem; }
.cta__feedback { grid-column: 1 / -1; text-align: center; font-size: 0.9rem; color: var(--or-clair); min-height: 1.2em; }

/* ============================================================================
   11 · FOOTER
   ========================================================================== */
.footer { background: var(--nuit-deep); color: var(--sur-nuit-doux); padding-top: clamp(3.5rem, 8vw, 6rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.footer__made { line-height: 1.5; color: var(--sur-nuit-doux); }
.footer__made strong { color: var(--creme); font-weight: 500; }
.footer__logo-wrap { display: inline-flex; align-items: center; gap: 0.45em; margin-top: 1rem; }
.footer__logo { display: inline-flex; height: 1.7rem; }
.footer__logo svg { height: 100%; width: auto; }
.footer__agency { color: var(--sur-nuit); font-size: 1.1rem; letter-spacing: 0.04em; }
.footer__links { display: grid; gap: 0.8rem; align-content: start; }
.footer__links a { color: var(--sur-nuit); font-size: 0.95rem; transition: color 0.4s var(--ease); width: max-content; }
.footer__links a:hover { color: var(--or-clair); }
.footer__slogan { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--sur-nuit); line-height: 1.35; }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.8rem;
  border-top: 1px solid color-mix(in srgb, var(--creme) 10%, transparent);
  font-size: 0.8rem;
}
.footer__legal a:hover { color: var(--or-clair); }

/* Logo Renêtre injecté (monochrome recolorisé en crème) */
[data-logo] svg path, [data-logo] svg rect { fill: currentColor; }
.portal__brand-logo, .footer__logo { color: var(--creme); }

/* ============================================================================
   12 · ANIMATIONS D'ENTRÉE (état initial ; GSAP révèle)
   ========================================================================== */
.reveal-up, .reveal-line, .reveal-media > img { will-change: transform, opacity; }
.js .reveal-up { opacity: 0; transform: translateY(32px); }
.js .reveal-line { opacity: 0; transform: translateY(20px); }
.js .reveal-media { overflow: hidden; }
.js .reveal-media > img { transform: scale(1.12); opacity: 0; }

/* ============================================================================
   13 · RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .program, .guides, .quotes { grid-template-columns: 1fr; }
  .wrap--split { grid-template-columns: 1fr; gap: 2.5rem; }
  .wrap--reverse .editorial__media,
  .wrap--reverse .experience__media { order: 0; }
  .lieu { grid-template-columns: 1fr; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 6.5rem 1fr; }
}
@media (max-width: 560px) {
  .cards--4 { grid-template-columns: 1fr; }
  .scrub { height: 320vh; }
  .scrub--hero { height: 300vh; }
  .portal__brand { font-size: 0.72rem; }
}

/* ============================================================================
   14 · REDUCED MOTION — pas de scrub, fondus simples, marquees figés
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html, html.lenis { scroll-behavior: auto; }
  .marquee__track, .scrub__hint span::after { animation: none; }
  .scrub { height: auto; }
  .scrub__sticky { position: relative; height: auto; min-height: 100svh; }
  .scrub__overlay { position: relative; inset: auto; display: grid; gap: 1.2rem; place-items: center; padding-block: 6rem; }
  .scrub__head { position: relative; top: auto; margin-bottom: 1rem; }
  .scrub__phrase { position: relative; transform: none; left: auto; top: auto; opacity: 1; margin: 0 auto; }
  .btn:hover, .card:hover { transform: none; }
}
