/* ============================================================
   CHAQUE MOT COMPTE — site one-page cinématique
   Base : starter du kit cinematic-site, passé en charte CLAIRE.
   Le :root ci-dessous est la charte. Les bandes sombres (hero,
   chiffres, contact) redéfinissent les variables via .is-dark.
   ============================================================ */

:root {
  color-scheme: only light;

  /* ---- Fonds (charte claire) ---- */
  --bg:          #FAF6EF;   /* crème — fond principal */
  --bg-2:        #F1E8DA;   /* sable — bandes alternées */
  --bg-3:        #E9DDC9;   /* sable +1 cran */
  --ink:         #11243B;   /* marine — bandes sombres */

  /* ---- Texte ---- */
  --head:        #11243B;   /* marine — titres */
  --fg:          #3A3530;   /* brun chaud — texte courant */
  --fg-soft:     #574F48;
  --muted:       #766C62;

  /* ---- Accent unique (terracotta, foncé pour rester lisible sur crème) ---- */
  --accent:      #A95B3C;
  --line:        rgba(17, 36, 59, 0.14);

  /* ---- Layout ---- */
  --maxw:        1240px;
  --pad:         clamp(20px, 5vw, 80px);

  /* ---- Motion + typo ---- */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --serif:       "Fraunces", Georgia, "Times New Roman", serif;
  --sans:        "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Bandes sombres : mêmes noms de variables, valeurs inversées */
.is-dark, .scrub, .stats, .bleed {
  --head:    #FAF6EF;
  --fg:      #FAF6EF;
  --fg-soft: rgba(250, 246, 239, 0.82);
  --muted:   rgba(250, 246, 239, 0.62);
  --line:    rgba(250, 246, 239, 0.18);
  --accent:  #E3A27F;   /* même terracotta, éclairci pour fond marine */
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* 🔴 jamais hidden : casserait le sticky du hero */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08;
  letter-spacing: -0.015em; color: var(--head); font-optical-sizing: auto;
}
em { font-style: italic; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---- Briques partagées ---- */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px;
}
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-soft); max-width: 46ch; margin: 24px 0 0; line-height: 1.7; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 18px 30px; border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn--solid {
  color: #FAF6EF; background: #A95B3C;
  box-shadow: 0 14px 30px -14px rgba(169, 91, 60, 0.7);
}
.btn--solid:hover { background: #11243B; transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(17, 36, 59, 0.6); }
.is-dark .btn--solid:hover, .bleed .btn--solid:hover { background: #FAF6EF; color: #11243B; }

/* CTA récurrente + sous-texte */
.cta { margin-top: 38px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta__note { font-size: 14px; color: var(--muted); max-width: 44ch; line-height: 1.55; }
.cta__note a, .cta__sign a { color: var(--fg); border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); white-space: nowrap; }
.cta__note a:hover, .cta__sign a:hover { border-color: var(--accent); }
.cta__sign { font-size: 14px; color: var(--fg-soft); }

/* ---- Barre de progression ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: #A95B3C; z-index: 200; transition: width .1s linear;
}

/* ============================================================
   NAV — verre crème permanent (lisible au-dessus du vol)
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease),
              backdrop-filter .5s var(--ease), -webkit-backdrop-filter .5s var(--ease);
}
/* Voile sombre discret derrière le header pendant le vol (lisibilité du logo crème) */
.nav::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(17,36,59,0.55), rgba(17,36,59,0));
  transition: opacity .5s var(--ease);
}
/* Bandeau crème une fois sorti du vol */
.nav.is-solid {
  padding-top: 10px; padding-bottom: 10px;
  background-color: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
.nav.is-solid::before { opacity: 0; }

.nav__brand { position: relative; display: block; }
.nav__logo { height: 58px; width: auto; transition: height .5s var(--ease), opacity .5s var(--ease); }
.nav__logo--dark { position: absolute; left: 0; top: 0; opacity: 0; }
.nav.is-solid .nav__logo { height: 42px; }
.nav.is-solid .nav__logo--light { opacity: 0; }
.nav.is-solid .nav__logo--dark { opacity: 1; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--fg-soft); position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--head); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  /* sur le vol : contour crème discret */
  color: #FAF6EF; background: transparent; border: 1px solid rgba(250, 246, 239, 0.65);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.nav__cta:hover { background: #FAF6EF; color: #11243B; border-color: #FAF6EF; transform: translateY(-1px); }
/* dans les sections claires : bouton terracotta plein */
.nav.is-solid .nav__cta { background: #A95B3C; border-color: #A95B3C; color: #FAF6EF; }
.nav.is-solid .nav__cta:hover { background: #11243B; border-color: #11243B; }

/* ============================================================
   1. HERO — vol scroll-scrub
   Hauteur = vitesse du vol : 191 frames, réglé à l'œil.
   ============================================================ */
.scrub { position: relative; height: 680vh; background: var(--ink); }
.scrub__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrub__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(17,36,59,0.82) 0%, rgba(17,36,59,0.35) 34%, rgba(17,36,59,0) 60%),
    linear-gradient(to right, rgba(17,36,59,0.45) 0%, rgba(17,36,59,0) 55%);
}

.loader {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: #FAF6EF; transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__logo { width: min(260px, 60vw); height: auto; }
.loader__track { width: 180px; height: 1px; background: rgba(17,36,59,0.14); overflow: hidden; }
.loader__bar { display: block; height: 100%; width: 0; background: #A95B3C; transition: width .25s var(--ease); }
.loader__pct { font-size: 12px; letter-spacing: 0.2em; color: #766C62; }

.scrub__beat {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(70px, 14vh, 150px); z-index: 10;
  max-width: 820px; opacity: 0; will-change: opacity, transform;
}
.scrub__beat-title {
  font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em;
  font-size: clamp(30px, 4.4vw, 64px); color: #FAF6EF;
  text-shadow: 0 2px 40px rgba(17,36,59,0.55), 0 1px 3px rgba(17,36,59,0.35);
  text-wrap: balance;
}
.scrub__beat-title em { color: #F3C7A9; }
.scrub__beat-copy {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px); color: #F3C7A9;
  margin: 18px 0 0; text-shadow: 0 1px 24px rgba(17,36,59,0.6);
}

.scrub--static .scrub__beat { transition: opacity 0.5s var(--ease); }

/* Points de pagination du hero — mobile uniquement (swipe entre les textes) */
.scrub__dots {
  display: none; position: fixed; left: 0; right: 0; bottom: 24px;
  z-index: 11; justify-content: center; gap: 10px;
}
.scrub--static .scrub__dots { display: flex; }
.scrub__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none; cursor: pointer;
  background: rgba(250,246,239,0.55); transition: background .35s var(--ease), transform .35s var(--ease);
}
.scrub__dot.is-active { background: #E3A27F; transform: scale(1.3); }

/* CTA mobile sous le hero (remplace celle du texte 4) */
.hero-mobile-cta { display: none; }

.cta--hero { margin-top: 28px; }
.cta--hero .cta__note { color: rgba(250, 246, 239, 0.86); text-shadow: 0 1px 14px rgba(17, 36, 59, 0.7); }

.scrub__cue {
  position: absolute; right: var(--pad); bottom: clamp(48px, 10vh, 96px); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(250,246,239,0.85);
}
.scrub__cue-line { width: 1px; height: 54px; background: linear-gradient(rgba(250,246,239,0.85), transparent); animation: cuePulse 2.4s var(--ease) infinite; }
@keyframes cueSlide { 0%,100% { opacity: .4; transform: translateX(-8px); } 50% { opacity: 1; transform: translateX(6px); } }
@keyframes cuePulse { 0%,100% { opacity: .35; transform: scaleY(.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   ÉDITORIAL (image + texte) — sections 2, 5, 7
   ============================================================ */
.editorial { padding: clamp(96px, 14vh, 180px) var(--pad); background: var(--bg); }
.editorial--reverse { background: var(--bg-2); }
.editorial__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.editorial--reverse .editorial__media { order: 2; }
.editorial--reverse .editorial__text { order: 1; }
.editorial__text { max-width: 580px; }
.editorial__title { font-size: clamp(34px, 4.2vw, 60px); text-wrap: balance; }
.editorial__title em { color: var(--accent); }

.frame {
  margin: 0; overflow: hidden; border-radius: 6px;
  box-shadow: 0 50px 90px -50px rgba(17, 36, 59, 0.45);
  position: relative; aspect-ratio: 16 / 9; background: var(--bg-3);
}
.frame--portrait { aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.editorial__media:hover .frame img { transform: scale(1.03); }

/* Section 2 — la promesse */
.promesse__title { font-size: clamp(36px, 4.6vw, 66px); }
.promesse__list { list-style: none; margin: 38px 0 0; padding: 0; display: grid; gap: 0; }
.promesse__list li {
  position: relative; padding: 20px 0 20px 40px; border-top: 1px solid var(--line);
  font-size: clamp(17px, 1.35vw, 19px); color: var(--fg); line-height: 1.55;
}
.promesse__list li:last-child { border-bottom: 1px solid var(--line); }
.promesse__list li::before {
  content: "✦"; position: absolute; left: 4px; top: 19px;
  color: var(--accent); font-size: 17px; line-height: 1.55;
}

/* Section 5 — ce que vous recevez */
.recevez__label { margin: 40px 0 6px; }
.features { list-style: none; margin: 0; padding: 0; }
.feature { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature__index { font-family: var(--serif); font-size: 22px; color: var(--accent); line-height: 1.2; }
.feature__title { font-size: 21px; margin-bottom: 6px; }
.feature__text { font-size: 16px; color: var(--fg-soft); line-height: 1.6; }

/* Section 7 — qui je suis */
.about p { color: var(--fg-soft); margin-top: 18px; max-width: 52ch; }
.about__title { font-size: clamp(30px, 3.4vw, 48px); }
.about .about__hello { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); color: var(--head); margin-top: 30px; }
.about .about__quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 27px); line-height: 1.35;
  color: var(--accent); padding-left: 22px; border-left: 2px solid var(--accent); margin-top: 20px;
}
.about .about__punch { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); color: var(--head); line-height: 1.4; }

/* ============================================================
   3. CHIFFRES CLÉS — bande marine
   ============================================================ */
.stats { background: var(--ink); padding: clamp(80px, 12vh, 140px) var(--pad); color: var(--fg); }
.stats__wrap { max-width: var(--maxw); margin: 0 auto; }
.stats__title { font-size: clamp(32px, 3.8vw, 54px); max-width: 18ch; margin-bottom: clamp(48px, 7vh, 80px); }
.stats__title em { color: var(--accent); }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 60px); }
.stat { border-left: 1px solid var(--line); padding-left: 26px; }
.stat__num { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6vw, 88px); line-height: 1; color: var(--fg); }
.stat__unit { font-size: 0.42em; color: var(--accent); letter-spacing: 0.02em; }
.stat__label { display: block; font-size: 15px; color: var(--fg-soft); margin-top: 18px; max-width: 22ch; line-height: 1.45; }

/* ============================================================
   4. COMMENT ÇA MARCHE
   ============================================================ */
.amenities { background: var(--bg-2); padding: clamp(96px, 14vh, 180px) var(--pad); }
.amenities__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(44px, 7vw, 110px); align-items: start;
}
.amenities__head { position: sticky; top: 130px; }
.amenities__title { font-size: clamp(34px, 4vw, 58px); text-wrap: balance; }
.amenities__title em { color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step__index { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent); }
.step__title { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 10px; }
.step__text { color: var(--fg-soft); font-size: 17px; line-height: 1.65; }
.step__text strong { font-family: var(--serif); font-weight: 600; color: var(--head); font-size: 1.15em; }

/* ============================================================
   6. LA PREUVE — albums horizontaux
   ============================================================ */
.proof { background: var(--bg); padding: clamp(96px, 14vh, 180px) 0; }
.proof__head { max-width: var(--maxw); margin: 0 auto clamp(48px, 7vh, 76px); padding: 0 var(--pad); }
.proof__title { font-size: clamp(34px, 4.2vw, 60px); max-width: 20ch; text-wrap: balance; }
.proof__title em { color: var(--accent); }
.album { margin: 0 0 clamp(56px, 8vh, 90px); }
.album:last-child { margin-bottom: 0; }
.album__bar {
  max-width: var(--maxw); margin: 0 auto 20px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.album__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.album__nav { display: flex; gap: 10px; }
.album__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); background: var(--accent);
  color: #FAF6EF; font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(169, 91, 60, 0.28);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.album__btn:hover { background: var(--head); border-color: var(--head); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(17, 36, 59, 0.25); }
.album__btn:active { transform: scale(0.96); }
.album__btn[data-dir="1"] { animation: albumNudge 2.6s var(--ease) infinite; }
.album__btn[data-dir="1"]:hover { animation: none; }
@keyframes albumNudge { 0%, 70%, 100% { transform: translateX(0); } 82% { transform: translateX(5px); } 92% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .album__btn[data-dir="1"] { animation: none; } }
.album__track {
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
  padding: 6px var(--pad) 26px;
  scrollbar-width: thin; scrollbar-color: rgba(17,36,59,0.25) transparent;
}
.album__track img {
  flex: 0 0 auto; width: min(80vw, 880px); height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 8px; scroll-snap-align: start;
  box-shadow: 0 30px 60px -36px rgba(17, 36, 59, 0.55);
  border: 1px solid var(--line); background: var(--bg-3);
}

/* ============================================================
   8. CONTACT FINAL — full-bleed
   ============================================================ */
.bleed { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.bleed--tall { min-height: 100vh; }
.bleed__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(17,36,59,0.9) 0%, rgba(17,36,59,0.72) 38%, rgba(17,36,59,0.15) 72%, rgba(17,36,59,0) 100%),
    linear-gradient(to top, rgba(17,36,59,0.55) 0%, rgba(17,36,59,0) 40%);
}
.bleed__content {
  position: relative; z-index: 2; width: 100%; max-width: calc(var(--maxw) + 2 * var(--pad));
  margin: 0 auto; padding: clamp(110px, 16vh, 160px) var(--pad);
}
.bleed__content > * { max-width: 600px; }
.bleed__title { font-size: clamp(36px, 4.6vw, 66px); text-wrap: balance; text-shadow: 0 2px 40px rgba(17,36,59,0.5); }
.bleed__title em { color: var(--accent); }
.bleed__copy { font-size: clamp(17px, 1.4vw, 20px); color: var(--fg); margin-top: 22px; line-height: 1.7; text-shadow: 0 1px 20px rgba(17,36,59,0.7); }
.bleed__price {
  font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45;
  color: var(--accent); margin-top: 30px; padding-left: 20px; border-left: 2px solid var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); padding: clamp(56px, 8vh, 96px) var(--pad) 36px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo { width: 220px; height: auto; }
.footer__base { max-width: var(--maxw); margin: 28px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__legal { font-size: 13px; color: var(--muted); }
.footer__legal a:hover { color: var(--accent); }

/* ============================================================
   FORMULAIRE DE CONTACT — fenêtre <dialog>
   ============================================================ */
html.form-open { overflow: hidden; }
.form-modal {
  padding: 0; border: 0; background: transparent; color: var(--fg);
  width: min(640px, calc(100% - 32px)); max-width: none;
  max-height: calc(100dvh - 32px); overflow: visible;
}
.form-modal::backdrop { background: rgba(17, 36, 59, 0.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.form-modal[open] { animation: formIn .45s var(--ease); }
@keyframes formIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.form-modal__panel {
  position: relative; background: var(--bg); border-radius: 10px;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 90px -40px rgba(17, 36, 59, 0.6);
}
.form-modal__close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--head);
  font-size: 24px; line-height: 1; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease);
}
.form-modal__close:hover { background: var(--head); color: var(--bg); }
.form-modal__title { font-size: clamp(28px, 3vw, 38px); padding-right: 40px; }
.form-modal__title em { color: var(--accent); }
.form-modal__lede { color: var(--fg-soft); margin-top: 12px; font-size: 16px; }
.form-modal__done .btn { margin-top: 28px; }

.form { margin-top: 26px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: grid; gap: 6px; }
.form__label { font-size: 14px; font-weight: 500; color: var(--head); line-height: 1.4; }
.form__opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px : évite le zoom auto sur iPhone */
  color: var(--head); background: #FFFDF9;
  border: 1px solid rgba(17, 36, 59, 0.22); border-radius: 6px; padding: 13px 14px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: .8; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169, 91, 60, 0.18); }
.form textarea { resize: vertical; min-height: 110px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form__legal a { color: var(--fg-soft); border-bottom: 1px solid var(--line); }
.form__submit { justify-self: start; border: 0; cursor: pointer; }
.form__submit[disabled] { opacity: .6; cursor: wait; }
.form__error { font-size: 14px; color: #9B2C1F; }
.form__error a { border-bottom: 1px solid currentColor; white-space: nowrap; }
.form__alt { margin-top: -4px; }

/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; padding: 150px var(--pad) 90px; }
.legal__title { font-size: clamp(36px, 4.4vw, 58px); }
.legal__date { color: var(--muted); font-size: 14px; margin-top: 14px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--fg-soft); }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal strong { color: var(--head); font-weight: 600; }

/* ============================================================
   REVEAL + MOTION LAYER (additive, désactivée en reduced-motion)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.ml-reveal .ml-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ml-reveal .ml-line__inner { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: var(--ml-delay, 0s); will-change: transform; }
.ml-reveal.is-shown .ml-line__inner { transform: translateY(0); }
.ml-eyebrow { clip-path: inset(0 0 100% 0); opacity: 0; transition: clip-path 0.7s var(--ease), opacity 0.7s var(--ease); }
.ml-eyebrow.is-shown { clip-path: inset(0 0 0 0); opacity: 1; }

.stat__num.is-counting { font-variant-numeric: tabular-nums; }
.bleed__img { will-change: transform; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); }
.btn:active, .nav__cta:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }

body.intro-ready .nav { opacity: 0; transform: translateY(-12px); }
body.intro-ready.is-loaded .nav { opacity: 1; transform: translateY(0); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), padding .5s var(--ease); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
}
@media (max-width: 980px) {
  .editorial__inner, .amenities__inner { grid-template-columns: 1fr; gap: 44px; }
  .editorial--reverse .editorial__media { order: 1; }
  .editorial--reverse .editorial__text { order: 2; }
  .editorial__media { max-width: 520px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; }
  .amenities__head { position: static; }
}
/* 🔴 820px = breakpoint JS isSmall : le hero passe en image fixe, donc 100vh */
@media (max-width: 820px) {
  .scrub { height: 100vh; height: 100svh; }
  .cta--hero { display: none; }
  .hero-mobile-cta {
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    padding: 24px var(--pad) 28px; background: var(--bg);
  }
  .hero-mobile-cta .cta__note { max-width: none; }

  /* Indice de swipe : flèche horizontale vers la droite, alignée à droite */
  .scrub__cue {
    right: var(--pad); left: auto; width: auto; bottom: 48px; flex-direction: row; gap: 0;
    pointer-events: none; transition: opacity .5s var(--ease);
  }
  .scrub__cue > span:first-child { display: none; } /* flèche seule, sans texte */
  .scrub__cue-line {
    position: relative; width: 46px; height: 1px; animation: cueSlide 2s var(--ease) infinite;
    background: linear-gradient(to right, transparent, rgba(250,246,239,0.9));
  }
  .scrub__cue-line::after {
    content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px;
    border-top: 1px solid rgba(250,246,239,0.95); border-right: 1px solid rgba(250,246,239,0.95);
    transform: rotate(45deg); transform-origin: center;
  }

  /* Section 1 (promesse) : pas d'image sur mobile */
  #promesse .editorial__media { display: none; }

  /* Rythme vertical : 64px de vide entre le contenu de deux sections
     (32px de marge en bas de l'une + 32px en haut de la suivante). */
  .editorial, .amenities, .stats, .proof { padding-top: 32px; padding-bottom: 32px; }
  #promesse { padding-top: 36px; }      /* suit la CTA mobile (28px dessous) */
  .proof { padding-bottom: 6px; }       /* l'album a déjà 26px de marge pour l'ombre */

  /* Qui je suis : la photo vient après le titre */
  #qui-je-suis .editorial__inner { gap: 0; }
  #qui-je-suis .editorial__text { display: contents; }
  #qui-je-suis .about__title { order: 1; }
  #qui-je-suis .editorial__media { order: 2; margin-top: 36px; }
  #qui-je-suis .about > p { order: 3; }

  .bleed__scrim {
    background: linear-gradient(to top, rgba(17,36,59,0.95) 0%, rgba(17,36,59,0.82) 55%, rgba(17,36,59,0.45) 100%);
  }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav__logo { height: 44px; }
  .nav.is-solid .nav__logo { height: 36px; }
  .nav__cta { font-size: 10px; padding: 10px 14px; letter-spacing: 0.06em; }
  .stats__inner { grid-template-columns: 1fr; }
  .step { grid-template-columns: 52px 1fr; }
  .step__index { font-size: 34px; }
  .btn { width: 100%; padding: 18px 20px; }
  .cta { align-items: stretch; }
  .album__track img { width: 86vw; }
  /* Formulaire plein écran sur mobile */
  .form-modal { width: 100%; height: 100%; max-height: none; margin: 0; }
  .form-modal__panel { min-height: 100%; max-height: 100dvh; border-radius: 0; padding: 64px 20px 32px; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit { justify-self: stretch; }
  .legal { padding-top: 110px; }
  .album__nav { display: none; }
  .footer__base { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 400px) {
  .nav__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ml-reveal .ml-line { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .ml-reveal .ml-line__inner { transform: none !important; transition: none !important; }
  .ml-eyebrow { clip-path: none !important; opacity: 1 !important; transition: none !important; }
  .bleed__img { transform: none !important; will-change: auto; }
  .btn:active, .nav__cta:active { transform: none !important; }
  body.intro-ready .nav { opacity: 1 !important; transform: none !important; transition: none !important; }
  .frame img, .editorial__media:hover .frame img { transition: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) { .scrub__cue-line { animation: none; } }
