/* ═══════════════════════════════════════════════
   Aquelio — eau profonde, urgence, un trait de corail
   ═══════════════════════════════════════════════ */

:root {
  --bg: #0f2e2e;          /* eau profonde, très sombre */
  --bg-2: #133838;        /* panneau légèrement plus clair */
  --ink: #f5f3ec;         /* papier chaud, presque blanc */
  --muted: #9fc4bd;       /* gris-teal atténué */
  --hairline: #23524d;    /* filets sombres */
  --accent: #ff6b5b;      /* corail vif */
  --accent-ink: #2b0d08;  /* texte sombre sur fond corail */
  --font-display: "Archivo", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

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

/* ── Labels techniques ─────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

/* ── Navigation ────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem);
  background: rgb(15 46 46 / 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-mark {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  height: 1.3em;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

/* Bouton menu, mobile uniquement (voir la media query « Mobile » plus bas) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.2rem;
  height: 2.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cart {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.55em 1.2em;
  transition: background 0.2s, color 0.2s;
}

.nav-cart:hover { background: var(--accent); color: var(--accent-ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { color: var(--accent); }

/* ═══════════════════════════════════════════════
   Premier écran : promesse + formulaire dossier
   Le formulaire doit rester visible sans défilement
   à partir de 375 × 667 px (73 % du trafic est mobile).
   ═══════════════════════════════════════════════ */
.lead-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  /* Fond de repli — visible sur mobile, où la vidéo n'est pas chargée. */
  background:
    radial-gradient(115% 75% at 10% 6%, #1a4a44 0%, transparent 58%),
    radial-gradient(95% 65% at 92% 2%, #1d534b 0%, transparent 52%),
    linear-gradient(180deg, #10312f 0%, #0c2523 62%, #081716 100%);
}

.lead-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lead-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(8 23 22 / 0.92) 0%, rgb(8 23 22 / 0.72) 42%, rgb(8 23 22 / 0.34) 100%),
    linear-gradient(0deg, rgb(8 23 22 / 0.88) 0%, rgb(8 23 22 / 0.35) 45%, rgb(8 23 22 / 0.55) 100%);
}

/* L'ordre visuel mobile est celui du brief : promesse, formulaire, preuves.
   En deux colonnes, le formulaire occupe la colonne droite sur les deux
   rangées — il reste dans le premier écran sans repousser le texte. */
.lh-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-areas:
    "copy   form"
    "proofs form";
  align-content: center;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 1.7rem;
  padding: 7rem clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
  max-width: 92rem;
  margin-inline: auto;
}

.lh-copy { grid-area: copy; max-width: 34rem; }
.lh-proofs { grid-area: proofs; max-width: 34rem; }
.lh-form { grid-area: form; align-self: center; }

/* Bandeau réglementaire */
.lh-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
  padding: 0.42em 0.95em 0.42em 0.75em;
  border: 1px solid rgb(255 107 91 / 0.38);
  border-radius: 999px;
  background: rgb(255 107 91 / 0.08);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.lh-flag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-weight: 300;
  font-size: clamp(1.72rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-title .hero-title-sub {
  display: block;
  margin-top: 0.35em;
  font-size: 0.52em;
  font-weight: 400;
  font-variation-settings: "wdth" 100;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-sub {
  margin-top: 1.1rem;
  max-width: 27rem;
  font-size: 1.02rem;
  color: rgb(245 243 236 / 0.88);
}

/* Trois preuves courtes, en ligne */
.proofs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgb(245 243 236 / 0.16);
}

.proofs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(245 243 236 / 0.82);
}

.proofs svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-hint {
  margin-top: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 2.4rem;
  position: relative;
}

.scroll-hint::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1.7rem; height: 1px;
  background: var(--accent);
}

/* ── Bloc formulaire « dossier PFAS » (répété 3 fois) ── */
.form-card {
  background: rgb(9 26 25 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(245 243 236 / 0.14);
  border-radius: 6px;
  padding: clamp(1.15rem, 2.4vw, 2.1rem);
  box-shadow: 0 26px 70px -26px rgb(0 0 0 / 0.65);
}

/* Hors du hero (fond opaque, pas de vidéo derrière) */
.form-block {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.form-block .form-card {
  background: var(--bg-2);
  border-color: var(--hairline);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.form-block-copy .section-title { max-width: 22rem; }

.form-block-copy p {
  margin-top: 1.2rem;
  color: var(--muted);
  max-width: 32rem;
}

.form-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 500;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.22;
  text-wrap: balance;
}

.form-intro {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.df-fields {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.df-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }

.df-field > span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.df-field input {
  min-width: 0;
  width: 100%;
  padding: 0.78em 1em;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.df-field input::placeholder { color: rgb(159 196 189 / 0.6); }
.df-field input:focus { background: rgb(255 255 255 / 0.07); border-color: var(--muted); }
.df-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.df-field input[aria-invalid="true"] { border-color: var(--accent); }

.df-submit { width: 100%; margin-top: 0.95rem; }

.df-note {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.df-note a { text-decoration: underline; }
.df-note a:hover { color: var(--accent); }

.df-status {
  margin-top: 0.5rem;
  min-height: 1.3em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--accent);
  text-align: center;
}

/* ── Section signature : anatomie vidéo au scroll ─────────────── */
.scrub {
  height: 340vh;
  position: relative;
}

.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  /* Même fond que le hero, sans vidéo : plus léger, surtout sur mobile,
     et le texte se lit sans dépendre du contenu d'un clip. */
  background:
    radial-gradient(115% 75% at 10% 6%, #1a4a44 0%, transparent 58%),
    radial-gradient(95% 65% at 92% 2%, #1d534b 0%, transparent 52%),
    linear-gradient(180deg, #10312f 0%, #0c2523 62%, #081716 100%);
}

/* Étapes superposées (texte) */
.stage {
  position: absolute;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
}

.stage.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stage-line {
  inset: auto auto 12vh clamp(1.25rem, 4vw, 3.5rem);
  max-width: 30rem;
}

.stage-big {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

/* Principe de filtration (cartouche, technologie non arrêtée) */
.stage-principe {
  inset: auto auto 9vh clamp(1.25rem, 4vw, 3.5rem);
  width: min(26rem, 88vw);
  padding: 1.3rem 1.5rem 1.5rem;
  background: rgb(8 23 22 / 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(245 243 236 / 0.15);
}

.principe-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 115;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.2;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
}

.principe-line {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgb(245 243 236 / 0.86);
}

.principe-targets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.principe-targets li {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgb(255 107 91 / 0.35);
  border-radius: 999px;
  padding: 0.34em 0.8em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stage-principe.is-on .principe-targets li { opacity: 1; transform: none; }
.stage-principe.is-on .principe-targets li:nth-child(1) { transition-delay: 0.05s; }
.stage-principe.is-on .principe-targets li:nth-child(2) { transition-delay: 0.13s; }
.stage-principe.is-on .principe-targets li:nth-child(3) { transition-delay: 0.21s; }
.stage-principe.is-on .principe-targets li:nth-child(4) { transition-delay: 0.29s; }
.stage-principe.is-on .principe-targets li:nth-child(5) { transition-delay: 0.37s; }

/* Filet de progression */
.scrub-progress {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 34vh;
  background: var(--hairline);
}

.scrub-progress span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--accent);
}

/* ── La réalité (photo humaine) ─────────────── */
.emotion {
  position: relative;
  height: clamp(28rem, 62vw, 46rem);
  overflow: hidden;
  background: var(--bg-2);
}

.emotion-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04);
}

.emotion::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgb(15 46 46 / 0.4), rgb(255 107 91 / 0.06) 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.emotion-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  background: linear-gradient(0deg,
    rgb(8 23 22 / 0.92) 0%,
    rgb(8 23 22 / 0.55) 45%,
    rgb(8 23 22 / 0.05) 80%);
}

.emotion-line {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 40rem;
}

/* ── Caractéristiques ──────────────────────── */
.features {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}

.section-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 122;
  font-weight: 285;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 46rem;
}

.features-grid {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 3rem 2.5rem;
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ── Bouton principal (réutilisé partout) ──── */
.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 1em 1.6em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgb(255 107 91 / 0.35);
}

.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }

/* ── FAQ ────────────────────────────────────── */
.specs {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}

.faq-list {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
}

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

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.4rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.faq-item[open] summary::before { content: "–"; }

.faq-item p {
  margin-top: 0.8rem;
  padding-left: 1.4rem;
  color: var(--muted);
  max-width: 40rem;
}

/* ── Pied de page ──────────────────────────── */
.footer {
  background: #081716;
  color: var(--ink);
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3.5rem) 3rem;
  text-align: center;
}

.footer-line {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125;
  font-weight: 250;
  font-size: clamp(2.2rem, 6vw, 5rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.footer-cta {
  display: inline-block;
  margin-top: 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgb(235 232 228 / 0.4);
  border-radius: 999px;
  padding: 0.85em 1.9em;
  transition: border-color 0.2s, color 0.2s;
}

.footer-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-legal {
  margin-top: 4.5rem;
  font-size: 0.72rem;
  color: rgb(235 232 228 / 0.45);
  max-width: 40rem;
  margin-inline: auto;
}

/* Pied allégé — pages de remerciement, où le grand pied n'a rien à annoncer */
.footer-minimal { padding: 2.6rem clamp(1.25rem, 4vw, 3.5rem) 2.2rem; }
.footer-minimal .footer-legal { margin-top: 0; }

.footer-link { text-decoration: underline; }
.footer-link:hover { color: var(--accent); }

/* ── Confidentialité ───────────────────────── */
.legal {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}

.legal-body {
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Pages légales autonomes (mentions, confidentialité) ── */
.legal-page {
  padding-top: clamp(7rem, 15vw, 9.5rem);
  border-top: none;
}

.legal-page .section-title { margin-bottom: 2.5rem; }

.legal-page .legal-body { max-width: 48rem; font-size: 0.96rem; }

.legal-body h2 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 122;
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 2.8rem 0 0.9rem;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.6rem 0 0.5rem;
}

.legal-body p { margin-bottom: 0.9rem; }

.legal-body ul {
  margin: 0.4rem 0 1.1rem 1.2rem;
}

.legal-body li { margin-bottom: 0.45rem; }

.legal-body a { text-decoration: underline; }
.legal-body a:hover { color: var(--accent); }

.legal-placeholder {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.legal-updated {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Bannière cookies ───────────────────────── */
.cookie-banner[hidden] { display: none; }

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: 40rem;
  margin-inline: auto;
  background: #081716;
  color: var(--ink);
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.35);
}

.cookie-banner p {
  flex: 1;
  min-width: 14rem;
  font-size: 0.82rem;
  color: rgb(245 243 236 / 0.85);
}

.cookie-banner a { text-decoration: underline; color: var(--accent); }

.cookie-banner .btn-primary { white-space: nowrap; }

/* ── Page de remerciement ──────────────────── */
.thanks {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 46rem;
  padding: 7rem clamp(1.25rem, 6vw, 4rem) 4rem;
  margin: 0 auto;
}

.thanks-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 122;
  font-weight: 285;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  text-transform: uppercase;
  line-height: 1.02;
  margin-top: 0.2rem;
}

.thanks-sub { margin-top: 1.1rem; color: var(--muted); max-width: 32rem; }

/* Bloc téléchargement du dossier */
.thanks-download {
  width: 100%;
  margin-top: 2.2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--hairline);
  background: var(--bg-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.thanks-download-meta { min-width: 12rem; }

.thanks-download-name {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 115;
  font-weight: 500;
  font-size: 1.08rem;
}

.thanks-download-note {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.thanks-download .btn-primary { text-decoration: none; display: inline-block; }

/* Sondage prix */
.price-poll {
  width: 100%;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.price-poll-q {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 115;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.25;
  margin-top: 0.9rem;
  max-width: 34rem;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.price-options button {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 1em 0.9em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.price-options button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.price-options button.is-picked {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.price-options button:disabled { cursor: default; opacity: 0.45; }
.price-options button.is-picked:disabled { opacity: 1; }

.price-thanks {
  margin-top: 1.1rem;
  min-height: 1.3em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

/* Dépôt de réservation (20 €) */
.deposit {
  width: 100%;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.deposit-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 115;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.25;
  margin-top: 0.9rem;
  max-width: 34rem;
}

.deposit-note {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.92rem;
}

.deposit-actions { margin-top: 1.4rem; }

.deposit-status {
  margin-top: 1rem;
  min-height: 1.3em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.thanks-back {
  margin-top: 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.25em;
}

.thanks-back:hover { color: var(--accent); border-color: var(--accent); }

/* ── Tablette ──────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .stage-principe { width: min(24rem, 64vw); }
}

/* ── Le hero passe en une colonne dès que la place manque ── */
@media (max-width: 960px) {
  .lh-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "form"
      "proofs";
    row-gap: 1.5rem;
    padding-top: 6rem;
  }

  .lh-copy,
  .lh-proofs,
  .lh-form { max-width: 38rem; }

  .form-block {
    grid-template-columns: minmax(0, 1fr);
    max-width: 38rem;
    gap: 2rem;
  }
}

/* ── Mobile ────────────────────────────────── */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  /* Panneau plein écran plutôt qu'un simple display:none : les liens
     restent atteignables sur mobile (Guide, Questions, Réserver...),
     ce qui manquait complètement avant. */
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.5rem 1.5rem;
    background: rgb(15 46 46 / 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .nav.is-open .nav-links {
    max-height: 100vh;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 1.02rem;
  }

  /* Vidéo d'ambiance et formulaire présents sur mobile comme sur desktop :
     le fond dégradé ne sert plus que de repli le temps du chargement. */
  .lh-inner {
    padding: 6.2rem 1.15rem 2rem;
    row-gap: 1rem;
  }

  /* Plus de vidéo pilotée au scroll ici (retirée) : les trois blocs
     s'affichent l'un après l'autre en flux normal, sans grand vide à
     défiler pour les atteindre. */
  .scrub { height: auto; }
  .scrub-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 3.5rem 1.25rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .stage {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    max-width: none;
  }
  .stage-principe { width: auto; }

  .lh-flag {
    margin-bottom: 0.95rem;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    padding: 0.36em 0.75em 0.36em 0.62em;
  }

  /* Traits plus épais sur mobile : plus lisible sur petit écran que le style
     fin utilisé en desktop, où le voile + le grand format compensent déjà. */
  .hero-title { font-size: 1.6rem; font-weight: 430; font-variation-settings: "wdth" 104; }
  .hero-title .hero-title-sub { font-size: 0.62em; font-weight: 400; margin-top: 0.3em; }
  /* Le sous-titre répète l'idée déjà portée par le bandeau + le titre :
     retiré sur mobile pour réduire le nombre de blocs de texte empilés. */
  .hero-sub { display: none; }

  .proofs { padding-top: 0.85rem; gap: 0.4rem 1rem; }
  .proofs li { font-size: 0.6rem; letter-spacing: 0.03em; }
  .proofs svg { width: 0.88rem; height: 0.88rem; }

  .scroll-hint { margin-top: 1rem; font-size: 0.6rem; }

  .form-card { padding: 0.95rem 1rem 1.05rem; }
  .form-title { font-size: 0.98rem; }
  /* Idem : le champ "code postal / email" clairement libellé suffit à
     comprendre l'offre sans reformuler la même chose juste au-dessus. */
  .form-intro { display: none; }
  .df-fields { grid-template-columns: 6.1rem minmax(0, 1fr); gap: 0.55rem; margin-top: 0.7rem; }
  /* 16 px minimum : en dessous, iOS zoome sur le champ à la mise au point. */
  .df-field input { padding: 0.7em 0.85em; font-size: 1rem; }
  .df-submit { margin-top: 0.8rem; }
  .df-status { min-height: 0; }
  .df-status:empty { margin-top: 0; }

  .stage-big { font-weight: 440; }
  .eyebrow { letter-spacing: 0.14em; font-size: 0.76rem; }

  .stage-principe { width: min(21rem, 90vw); padding: 1.1rem 1.15rem 1.25rem; }

  .scrub-progress { display: none; }

  .features-grid { grid-template-columns: 1fr; }

  .thanks { padding-top: 6rem; }
  .thanks-download { flex-direction: column; align-items: stretch; }
  .thanks-download .btn-primary { text-align: center; }
  .price-options { grid-template-columns: 1fr 1fr; }

  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
}

/* Écrans courts (375 × 667 et en dessous) : on comprime les interlignes,
   jamais le contenu — bandeau, titre et formulaire restent tous. */
@media (max-width: 720px) and (max-height: 700px) {
  .lh-inner { padding-top: 5.8rem; padding-bottom: 1.5rem; row-gap: 0.85rem; }
  .lh-flag { margin-bottom: 0.75rem; }
  .form-card { padding: 0.9rem 0.9rem 1rem; }
}

/* ── Mouvement réduit ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .scrub { height: auto; }

  .scrub-sticky { position: relative; height: auto; min-height: 100vh; }

  .stage,
  .principe-targets li {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }

  .lead-hero-video { display: none; }

  .stage { position: relative; inset: auto; padding: 2rem clamp(1.25rem, 4vw, 3.5rem); max-width: 40rem; }

  .scroll-hint { display: none; }

  .scrub-progress { display: none; }
}
