/* ═══════════════════════════════════════════════════════════════
   DiveMemory — la page est une plongée.
   Surface lumineuse → abysse. Thème unique assumé : l'océan de nuit.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --abysse: #04101f;
  --nuit: #071a2e;
  --ocean: #0e3355;
  --ocean-raise: #12406a;
  --turquoise: #35e0ce;
  --lagon: #7be8dc;
  --azur: #2bb8e8;
  --ecume: #edf4f2;
  --brume: #8fb0c0;
  --corail: #ff6b4a;
  --corail-fonce: #e4522f;
  --line: rgba(123, 232, 220, 0.14);

  --font-display: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;

  --size-hero: clamp(2.4rem, 5.6vw, 4.2rem);
  --size-h2: clamp(1.7rem, 3.4vw, 2.6rem);
  --size-h3: 1.17rem;
  --size-body: 1.06rem;

  --container: 1120px;
  --radius: 18px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.65;
  color: var(--ecume);
  /* La descente : de la surface éclairée vers l'abysse */
  background:
    linear-gradient(180deg,
      #0d3a5e 0%,
      #0a2c4b 12%,
      #082542 26%,
      #071e37 42%,
      #06192e 58%,
      #051426 74%,
      #040f1e 88%,
      #030b17 100%);
  background-attachment: scroll;
  overflow-x: hidden;
}

::selection { background: rgba(53, 224, 206, 0.35); color: var(--ecume); }

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

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }
.container-narrow { max-width: 780px; }

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.12; }
h2 { font-size: var(--size-h2); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: var(--size-h3); font-weight: 600; }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-lead { color: var(--brume); max-width: 62ch; margin-top: 1.1rem; font-size: 1.1rem; }

/* Repères de profondeur — la signature de la descente */
.depth {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--turquoise);
  opacity: 0.85;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.depth::after { content: ''; height: 1px; flex: 0 0 72px; background: linear-gradient(90deg, var(--turquoise), transparent); }
.depth-bottom::after { flex: 1; }

/* ─────────────── Navigation ─────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 22, 40, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto;
  padding: 0.7rem clamp(1.2rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  color: var(--ecume); text-decoration: none; letter-spacing: -0.01em;
}
.brand em { font-style: normal; color: var(--lagon); }
.brand-mark { width: 27px; height: 27px; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
  color: var(--brume); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ecume); }
@media (max-width: 720px) { .nav-links { display: none; } .nav-inner { justify-content: space-between; } }

/* ─────────────── Boutons ─────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-coral {
  background: linear-gradient(135deg, var(--corail), var(--corail-fonce));
  color: #fff8f5;
  box-shadow: 0 6px 24px rgba(255, 107, 74, 0.32);
}
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 107, 74, 0.42); }
.btn-ghost {
  background: rgba(123, 232, 220, 0.07);
  color: var(--lagon);
  border: 1px solid rgba(123, 232, 220, 0.35);
}
.btn-ghost:hover { background: rgba(123, 232, 220, 0.14); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.3rem; font-size: 1.08rem; }

/* ─────────────── Hero · la surface ─────────────── */

.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 7rem) clamp(4rem, 8vw, 6rem); }
#sea { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* rayons de lumière traversant l'eau */
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto;  height: 130%;
  background:
    linear-gradient(112deg, transparent 42%, rgba(123, 232, 220, 0.07) 46%, transparent 52%),
    linear-gradient(105deg, transparent 60%, rgba(43, 184, 232, 0.09) 66%, transparent 74%),
    linear-gradient(120deg, transparent 22%, rgba(123, 232, 220, 0.05) 28%, transparent 34%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; } }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--lagon);
  background: rgba(53, 224, 206, 0.08);
  border: 1px solid rgba(53, 224, 206, 0.3);
  padding: 0.38rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.6rem;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 8px var(--turquoise); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

.hero h1 {
  font-size: var(--size-hero); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06;
}
.glow {
  background: linear-gradient(100deg, var(--lagon) 10%, var(--azur) 55%, var(--lagon) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 1.4rem; font-size: 1.16rem; color: var(--brume); max-width: 56ch; }
.lead, .section-lead { text-wrap: pretty; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 2rem; padding: 0; list-style: none; }
.hero-chips li {
  font-size: 0.9rem; color: var(--brume); display: flex; align-items: center; gap: 0.45rem;
}
.hero-chips li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--turquoise); flex: none;
}

/* ─────────────── Téléphone / mockups ─────────────── */

.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; justify-self: center; }
.phone {
  width: min(300px, 74vw); aspect-ratio: 9 / 16;
  border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #1d3d5e, #122c47);
  box-shadow:
    0 24px 60px rgba(2, 8, 16, 0.55),
    inset 0 1px 0 rgba(123, 232, 220, 0.25);
}
.phone-mini { width: min(230px, 62vw); border-radius: 28px; padding: 8px; }
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 28px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.phone-mini .phone-screen { border-radius: 22px; }

.phone-media {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.phone-screen .scene-chip, .phone-screen .story-segments,
.phone-screen .scene-ui, .phone-screen .wm { z-index: 1; }

/* scènes sous-marines simulées */
.scene-hero, .scene-main, .scene-story, .scene-preview {
  background:
    radial-gradient(120% 60% at 70% 0%, rgba(123, 232, 220, 0.28), transparent 55%),
    radial-gradient(100% 55% at 20% 15%, rgba(43, 184, 232, 0.22), transparent 60%),
    linear-gradient(185deg, #0e4a66 0%, #0a3350 38%, #072238 72%, #051a2c 100%);
}
.scene-story {
  background:
    radial-gradient(120% 60% at 30% 0%, rgba(255, 107, 74, 0.18), transparent 55%),
    radial-gradient(100% 55% at 75% 20%, rgba(53, 224, 206, 0.22), transparent 60%),
    linear-gradient(200deg, #0d4560 0%, #093049 45%, #06202f 100%);
}
.scene-preview { filter: saturate(0.75) brightness(0.92); }

.scene-chip {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ecume); background: rgba(4, 16, 31, 0.55);
  border: 1px solid rgba(237, 244, 242, 0.14);
  padding: 0.28rem 0.75rem; border-radius: 999px;
  backdrop-filter: blur(6px);
}

.wm {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transform: rotate(-24deg);
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.18em; white-space: nowrap; color: rgba(237, 244, 242, 0.13);
  pointer-events: none; user-select: none;
}
.wm-strong { color: rgba(237, 244, 242, 0.22); }

.play {
  position: relative; z-index: 2;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(237, 244, 242, 0.35);
  background: rgba(4, 16, 31, 0.45);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.play:hover { transform: scale(1.07); background: rgba(53, 224, 206, 0.2); }
.play svg { width: 26px; height: 26px; fill: var(--ecume); margin-left: 3px; }

.scene-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 0.7rem; }
.scrub { flex: 1; height: 3px; border-radius: 2px; background: rgba(237, 244, 242, 0.22); overflow: hidden; }
.scrub span { display: block; width: 26%; height: 100%; background: var(--turquoise); border-radius: 2px; }
.scene-time { font-size: 0.7rem; color: rgba(237, 244, 242, 0.75); font-variant-numeric: tabular-nums; }

.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles i {
  position: absolute; bottom: -12px; border-radius: 50%;
  border: 1px solid rgba(123, 232, 220, 0.4);
  background: radial-gradient(circle at 32% 30%, rgba(237, 244, 242, 0.32), rgba(123, 232, 220, 0.05));
  animation: rise 7s linear infinite;
}
.bubbles i:nth-child(1) { left: 18%; width: 8px;  height: 8px;  animation-duration: 6.5s; }
.bubbles i:nth-child(2) { left: 34%; width: 5px;  height: 5px;  animation-duration: 8.2s; animation-delay: 1.2s; }
.bubbles i:nth-child(3) { left: 55%; width: 10px; height: 10px; animation-duration: 7.4s; animation-delay: 2.6s; }
.bubbles i:nth-child(4) { left: 70%; width: 6px;  height: 6px;  animation-duration: 9s;   animation-delay: 0.6s; }
.bubbles i:nth-child(5) { left: 82%; width: 4px;  height: 4px;  animation-duration: 6s;   animation-delay: 3.4s; }
.bubbles i:nth-child(6) { left: 45%; width: 7px;  height: 7px;  animation-duration: 10s;  animation-delay: 4.2s; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(-540px) translateX(14px); opacity: 0; }
}

.unlock-card {
  display: flex; align-items: center; gap: 1.4rem; justify-content: space-between;
  width: min(300px, 74vw);
  background: rgba(14, 51, 85, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 0.85rem 1.1rem;
  backdrop-filter: blur(8px);
}
.unlock-card strong { display: block; font-size: 0.95rem; }
.unlock-card span:not(.price) { font-size: 0.8rem; color: var(--brume); }
.price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--lagon); font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ─────────────── Photos éditoriales ─────────────── */

.photo-wide {
  margin-top: 2.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(4, 16, 31, 0.4);
}
.photo-wide img {
  display: block; width: 100%; height: auto;
  max-height: 460px; object-fit: cover;
}
.photo-wide figcaption {
  padding: 0.85rem 1.2rem;
  font-size: 0.88rem; color: var(--brume);
  border-top: 1px solid var(--line);
}

/* bandeau immersif pleine largeur */
.immersive {
  position: relative; overflow: hidden;
  min-height: clamp(320px, 52vh, 520px);
  display: flex; align-items: center; justify-content: center;
}
.immersive img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.immersive::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 30, 55, 0.55) 0%, rgba(6, 21, 38, 0.15) 45%, rgba(5, 17, 31, 0.75) 100%);
}
.immersive-baseline {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  letter-spacing: -0.01em; line-height: 1.15;
  text-align: center; color: var(--ecume);
  text-shadow: 0 2px 24px rgba(2, 8, 16, 0.6);
  padding-inline: 1.5rem;
}

/* ─────────────── Cartes problème ─────────────── */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
@media (max-width: 880px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: rgba(14, 51, 85, 0.32);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.card h3 { color: var(--ecume); margin-bottom: 0.6rem; }
.card p { color: var(--brume); font-size: 0.98rem; }

/* ─────────────── Étapes ─────────────── */

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin: 2.8rem 0 0; padding: 0; list-style: none;
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: rgba(14, 51, 85, 0.32);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--nuit);
  background: linear-gradient(135deg, var(--lagon), var(--azur));
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.55rem; }
.step p { color: var(--brume); font-size: 0.98rem; }

.journey {
  margin-top: 3rem;
  background: rgba(7, 26, 46, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem clamp(1.2rem, 3vw, 2.2rem);
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem); align-items: center;
}
@media (max-width: 820px) { .journey { grid-template-columns: 1fr; } }
.journey-photo { border-radius: 12px; overflow: hidden; }
.journey-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .journey-photo { max-height: 260px; } }
.journey-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1.3rem; }
.journey-steps {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem 1.6rem;
  padding: 0; margin: 0; list-style: none; counter-reset: j;
}
@media (max-width: 520px) { .journey-steps { grid-template-columns: 1fr; } }
.journey-steps li { counter-increment: j; position: relative; padding-top: 1.5rem; }
.journey-steps li::before {
  content: counter(j, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; color: var(--turquoise);
}
.journey-steps strong { display: block; font-size: 0.97rem; margin-bottom: 0.25rem; }
.journey-steps span { font-size: 0.86rem; color: var(--brume); }

/* ─────────────── Formats ─────────────── */

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
@media (max-width: 880px) { .formats { grid-template-columns: 1fr; } }
.format { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.3rem; }
.format figcaption { max-width: 34ch; }
.format h3 { margin-bottom: 0.5rem; }
.format p { color: var(--brume); font-size: 0.95rem; }
.format-glyph {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(237, 244, 242, 0.3);
  background: rgba(4, 16, 31, 0.4);
  display: flex; align-items: center; justify-content: center;
}
.format-glyph svg { width: 22px; height: 22px; fill: var(--ecume); }
.story-segments {
  position: absolute; top: 10px; left: 12px; right: 12px;
  display: flex; gap: 4px;
}
.story-segments i { flex: 1; height: 3px; border-radius: 2px; background: rgba(237, 244, 242, 0.25); }
.story-segments i.on { background: var(--turquoise); }

/* ─────────────── Simulateur ─────────────── */

.simulator {
  margin-top: 2.8rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem);
  background: rgba(7, 26, 46, 0.55);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
}
@media (max-width: 820px) { .simulator { grid-template-columns: 1fr; } }
.sim-controls { display: flex; flex-direction: column; gap: 1.5rem; }
.sim-field { display: block; }
.sim-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.93rem; font-weight: 500; color: var(--brume);
  margin-bottom: 0.55rem; gap: 1rem;
}
.sim-label output {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--lagon); font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%; height: 6px; -webkit-appearance: none; appearance: none;
  background: linear-gradient(90deg, var(--turquoise) var(--fill, 30%), rgba(143, 176, 192, 0.25) var(--fill, 30%));
  border-radius: 3px; outline-offset: 6px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ecume);
  border: 3px solid var(--turquoise);
  box-shadow: 0 2px 10px rgba(4, 16, 31, 0.6);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ecume); border: 3px solid var(--turquoise);
}
.sim-result {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.4rem;
  border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 820px) { .sim-result { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; } }
.sim-result-label { font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brume); font-weight: 600; }
.sim-figure {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.6rem); letter-spacing: -0.02em;
  color: var(--ecume); font-variant-numeric: tabular-nums; line-height: 1;
}
.sim-figure .sim-period { font-size: 1.05rem; font-weight: 500; color: var(--brume); margin-left: 0.5rem; letter-spacing: 0; }
.sim-detail { color: var(--brume); font-size: 0.95rem; margin-bottom: 1.2rem; font-variant-numeric: tabular-nums; }
.sim-note {
  grid-column: 1 / -1;
  font-size: 0.84rem; color: var(--brume); opacity: 0.85;
  border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 0.4rem;
}

/* ─────────────── Pilote ─────────────── */

.pilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 820px) { .pilot-grid { grid-template-columns: 1fr; } }
.pilot-col {
  background: rgba(14, 51, 85, 0.32);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
}
.pilot-col h3 { margin-bottom: 1.1rem; font-size: 1.25rem; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { padding-left: 1.9rem; position: relative; color: var(--ecume); font-size: 0.99rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 0.28em;
  width: 17px; height: 17px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 7 11l5-6' fill='none' stroke='%23071a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, var(--lagon), var(--azur));
}
.check-list-alt li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 7 11l5-6' fill='none' stroke='%23edf4f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    rgba(123, 232, 220, 0.16);
  border: 1px solid rgba(123, 232, 220, 0.4);
}
.pilot-note { margin-top: 1.3rem; font-size: 0.88rem; color: var(--brume); font-style: italic; }

/* ─────────────── FAQ ─────────────── */

.faq-list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-list details {
  background: rgba(14, 51, 85, 0.3);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  font-weight: 600; font-size: 1.02rem;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--turquoise); transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 1.3rem 1.2rem; color: var(--brume); max-width: 65ch; }

/* ─────────────── Formulaire · le fond ─────────────── */

.section-form { padding-bottom: clamp(5rem, 10vw, 8rem); }
.pilot-form {
  margin-top: 2.4rem;
  background: rgba(7, 26, 46, 0.6);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 0.9rem; font-weight: 500; color: var(--brume); }
.field b { color: var(--corail); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  color: var(--ecume);
  background: rgba(4, 16, 31, 0.55);
  border: 1px solid rgba(143, 176, 192, 0.28);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(143, 176, 192, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(53, 224, 206, 0.18);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%238fb0c0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 15px; }
.field select option { background-color: var(--nuit); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; align-items: center; gap: 1.6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.form-privacy { font-size: 0.82rem; color: var(--brume); max-width: 40ch; }
.form-status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.4em; }
.form-status.err { color: var(--corail); }

.form-success {
  margin-top: 2.4rem; text-align: center;
  background: rgba(7, 26, 46, 0.6);
  border: 1px solid rgba(53, 224, 206, 0.4);
  border-radius: 22px;
  padding: 3rem 2rem;
  color: var(--ecume);
}
.form-success svg { width: 56px; height: 56px; color: var(--turquoise); margin-bottom: 1.1rem; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--brume); max-width: 46ch; margin-inline: auto; }

/* ─────────────── Footer ─────────────── */

.footer { border-top: 1px solid var(--line); padding-block: 2.2rem; background: rgba(3, 11, 23, 0.6); }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.footer-brand em { font-style: normal; color: var(--lagon); }
.footer-baseline { font-family: var(--font-body); font-weight: 400; color: var(--brume); font-size: 0.92rem; }
.footer-note { font-size: 0.84rem; color: var(--brume); opacity: 0.8; }

/* ─────────────── Révélations au scroll ─────────────── */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
