/* ==========================================================================
   MyCarFleet — site vitrine (France)
   Le monde de l'appli (noir profond, un seul accent jaune, chiffres en serif)
   avec la retenue d'une page produit Apple : matériaux translucides, retour
   immédiat à l'appui, mouvements amortis, médias jamais rognés.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #000;
  --bg-2: #0b0b0d;
  --card: #141416;
  --card-2: #1c1c1f;
  --fill: rgba(120, 120, 128, 0.2);
  --fill-2: rgba(120, 120, 128, 0.32);
  --ink: #f5f5f7;
  --ink-2: rgba(245, 245, 247, 0.72);
  --mute: #8e8e93;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #ffd60a;
  --accent-ink: #111;
  --up: #30d158;
  --down: #ff453a;
  --sheet: #0f9d58;

  --serif: "Instrument Serif", ui-serif, "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(3rem, 8.4vw, 7.25rem);
  --fs-h2: clamp(2.25rem, 4.8vw, 4rem);
  --fs-lg: clamp(1.0625rem, 1.3vw, 1.25rem);
  --fs-small: 0.9375rem;
  --fs-fine: 0.8125rem;

  --gutter: clamp(20px, 4vw, 44px);
  --max: 1200px;
  --section: clamp(88px, 11vw, 150px);
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  /* Courbe proche d'un ressort critiquement amorti (pas de rebond) */
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --edge: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--sans); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--mute); font-weight: 500; }

/* ---------- Typo : interlettrage selon la taille ---------- */
.display { font: 400 var(--fs-display)/0.98 var(--serif); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.h2 { font: 400 var(--fs-h2)/1.02 var(--serif); letter-spacing: -0.025em; margin: 0 0 18px; text-wrap: balance; max-width: 20ch; }
.h3 { font: 600 1.375rem/1.25 var(--sans); letter-spacing: -0.02em; margin: 0 0 10px; }
.body-lg { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-2); max-width: 58ch; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; font: 600 0.9375rem/1 var(--sans); letter-spacing: 0; color: var(--accent); }
.fineprint { font-size: var(--fs-fine); color: var(--mute); margin: 16px 0 0; letter-spacing: 0; }
.fineprint a { color: var(--ink-2); }
.micro { margin: 16px 0 0; font-size: var(--fs-small); color: var(--mute); letter-spacing: 0; }

/* ---------- Boutons : retour à l'appui, pas au relâchement ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 1rem/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform 380ms var(--spring), background-color 200ms, box-shadow 300ms var(--spring), opacity 200ms; }
.btn:active, .btn.is-pressed { transform: scale(0.96); transition-duration: 90ms; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .btn-primary:hover { box-shadow: 0 10px 34px rgba(255, 214, 10, 0.3); } .btn-ghost:hover { background: var(--fill-2); } }
.btn-ghost { background: var(--fill); color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--fill); display: grid; place-items: center; cursor: pointer; transition: transform 380ms var(--spring), background-color 200ms; touch-action: manipulation; }
.round:active { transform: scale(0.92); transition-duration: 90ms; }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Navigation : matériau translucide, le contenu glisse dessous ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(0, 0, 0, 0.62); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line); opacity: 0; transition: opacity 300ms; }
.nav.is-scrolled::after { opacity: 1; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.0625rem/1 var(--sans); letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 0.875rem; padding: 10px 2px; transition: color 200ms; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(124px + env(safe-area-inset-top, 0px)) 0 var(--section); overflow: hidden; text-align: center; }
.glow { position: absolute; pointer-events: none; top: -18%; left: 50%; width: min(1200px, 160vw); height: 80%; transform: translateX(-50%); background: radial-gradient(ellipse 45% 55% at 50% 0%, rgba(255, 236, 160, 0.16), transparent 70%); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: var(--ink-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.18); }
.lede { margin: 24px auto 0; max-width: 46ch; font-size: clamp(1.125rem, 1.55vw, 1.375rem); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.015em; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.spots { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 16px; border-radius: 999px; background: var(--fill); color: var(--ink-2); font-size: var(--fs-small); letter-spacing: 0; }
.spots p { margin: 0; }
.spots strong { color: var(--ink); }
.spots-meter { display: grid; grid-template-columns: repeat(10, 6px); gap: 3px; }
.spots-meter i { height: 14px; border-radius: 2px; background: var(--accent); }
.spots-meter i.taken { background: var(--fill-2); }

/* Film d'accroche : cadre au format exact du film, rien n'est rogné */
.hero-film-wrap { margin-top: clamp(48px, 7vw, 84px); padding: 0 var(--gutter); }
.hero-film { position: relative; max-width: 1280px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2vw, 26px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px rgba(0, 0, 0, 0.8), 0 0 160px rgba(255, 214, 10, 0.07); transform-origin: 50% 0; will-change: transform; }
.media-fit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.proof { list-style: none; margin: 36px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--ink-2); font-size: var(--fs-small); letter-spacing: 0; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .body-lg { margin-top: 4px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--spring), transform 900ms var(--spring); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Téléphones : cadre au format exact des captures (390 × 844) ---------- */
/* Écran 390 × 844 de la capture, sous une barre d'état (48) et au-dessus d'une marge basse (16) :
   les coins arrondis ne mordent jamais sur l'interface de l'appli. */
.phone { position: relative; aspect-ratio: 390 / 908; border-radius: 13.5% / 5.8%; overflow: hidden; background: #000; box-shadow: 0 0 0 8px #1c1c1e, 0 0 0 9px rgba(255, 255, 255, 0.14), 0 40px 90px rgba(0, 0, 0, 0.7); container-type: inline-size; }
.phone-screen { position: absolute; left: 0; right: 0; top: 5.286%; height: 92.95%; overflow: hidden; }
.phone-screen .media-fit { object-fit: cover; }
.phone-status { position: absolute; left: 0; right: 0; top: 0; height: 5.286%; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 11%; color: #fff; font: 600 4.1cqw/1 var(--sans); letter-spacing: 0; }
.sb-island { position: absolute; left: 50%; top: 22%; width: 30%; height: 62%; transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: 0 0 0 1px #111; }
.sb-icons { display: flex; align-items: center; gap: 1.6cqw; }
.sb-signal { width: 4.6cqw; height: 3cqw; background: linear-gradient(90deg, #fff 0 18%, transparent 18% 27%, #fff 27% 45%, transparent 45% 54%, #fff 54% 72%, transparent 72% 81%, #fff 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb-batt { position: relative; width: 6.4cqw; height: 3.1cqw; border-radius: 0.9cqw; box-shadow: inset 0 0 0 0.35cqw rgba(255, 255, 255, 0.5); }
.sb-batt::after { content: ""; position: absolute; inset: 0.7cqw; right: 1.6cqw; border-radius: 0.4cqw; background: #fff; }
.home-ind { position: absolute; left: 50%; bottom: 0.55%; width: 34%; height: 0.6%; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, 0.85); }
.phone-inline { width: min(300px, 76vw); margin: 32px auto 0; }

/* ---------- Au quotidien ---------- */
.daily { background: radial-gradient(ellipse 60% 40% at 70% 20%, rgba(255, 214, 10, 0.045), transparent 70%); }
.daily-grid { display: grid; gap: 40px; }
.daily-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 80px; }
.dstep { max-width: 520px; }
.dstep-tag { margin: 0 0 12px; font: 600 0.9375rem/1 var(--sans); color: var(--accent); letter-spacing: 0; }
.dstep h3 { margin: 0 0 14px; font: 400 clamp(2.125rem, 3.8vw, 3.25rem)/1.02 var(--serif); letter-spacing: -0.02em; }
.dstep p { margin: 0; color: var(--ink-2); font-size: var(--fs-lg); max-width: 44ch; }
.daily-stage { display: none; }
.stage-dots { display: flex; flex-direction: column; gap: 10px; }
.stage-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--fill-2); transition: background-color 300ms, transform 400ms var(--spring); }
.stage-dots i.is-on { background: var(--accent); transform: scale(1.3); }
@media (min-width: 1040px) {
  .daily-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 72px; }
  .daily-steps { gap: 0; }
  .dstep { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.3; transition: opacity 600ms var(--spring); }
  .dstep.is-active { opacity: 1; }
  .phone-inline { display: none; }
  .daily-stage { display: block; }
  .stage-sticky { position: sticky; top: 60px; height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; gap: 30px; }
  .phone-stage { height: min(78vh, 760px); }
  .phone-stage .layer { opacity: 0; transform: scale(1.03); transition: opacity 500ms var(--spring), transform 700ms var(--spring); }
  .phone-stage .layer.is-on { opacity: 1; transform: none; }
}
.inline-cta { margin-top: clamp(56px, 8vw, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 30px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--edge); }
.inline-cta p { margin: 0; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); letter-spacing: -0.015em; }

/* ---------- Avant / après ---------- */
.vs { border-top: 1px solid var(--line); }
.vs-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.vs-head { display: none; }
.vs-before { color: var(--mute); font-size: var(--fs-lg); }
.vs-before s { text-decoration: none; background: linear-gradient(var(--down), var(--down)) 0 55% / var(--strike, 100%) 2px no-repeat; transition: background-size 800ms var(--spring); }
.vs-after { font-size: var(--fs-lg); color: var(--ink); font-weight: 500; position: relative; padding-left: 30px; }
.vs-after::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 15px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
@media (min-width: 860px) {
  .vs-row { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .vs-head { display: grid; padding: 0 0 14px; font: 600 0.8125rem/1 var(--sans); color: var(--mute); letter-spacing: 0.02em; }
  .vs-head span:last-child { color: var(--accent); }
}

/* ---------- Sélection du véhicule : contrôle segmenté façon iOS ---------- */
.segmented { display: flex; gap: 2px; width: max-content; max-width: 100%; overflow-x: auto; padding: 3px; margin-bottom: 20px; border-radius: 13px; background: var(--fill); scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.seg { flex: none; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 10px; cursor: pointer; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; transition: background-color 250ms var(--spring), color 200ms, box-shadow 250ms; touch-action: manipulation; }
.seg i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.seg[aria-selected="true"] { background: #636366; color: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); }
.car-card { display: grid; gap: 36px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--edge); }
.car-index { font: 600 0.875rem/1 var(--sans); color: var(--mute); margin: 0 0 12px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.car-name { font: 400 clamp(2.75rem, 6vw, 4.75rem)/0.98 var(--serif); letter-spacing: -0.025em; margin: 0 0 18px; }
.car-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 26px; font-weight: 500; }
.plate { padding: 6px 11px; border-radius: 8px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); letter-spacing: 0.06em; font-size: 0.875rem; font-weight: 600; }
.car-status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.car-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--up); }
.car-status.is-rented::before { background: var(--accent); }
.car-nav { display: flex; gap: 10px; }
.stats { margin: 0; display: grid; gap: 22px; }
.stat-row dt { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; font-size: 0.9375rem; color: var(--ink-2); letter-spacing: 0; }
.stat-row dd { margin: 0; }
.stat-val { font: 400 clamp(1.625rem, 2.6vw, 2.125rem)/1 var(--serif); letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-val.up { color: var(--up); }
.gauge { position: relative; height: 8px; border-radius: 4px; background: var(--fill); overflow: hidden; }
.gauge i { position: absolute; inset: 0; border-radius: 4px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 900ms var(--spring); }
@media (min-width: 900px) { .car-card { grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; } }

/* ---------- Le tableur ---------- */
.sheet-grid { display: grid; gap: 48px; align-items: center; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: var(--fs-lg); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 15px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.gsheet { background: #fff; color: #202124; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 110px rgba(0, 0, 0, 0.7); font-family: var(--sans); letter-spacing: 0; min-width: 0; }
.gs-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e3e5e8; }
.gs-logo { width: 22px; height: 28px; border-radius: 3px; background: var(--sheet); position: relative; flex: none; }
.gs-logo::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; bottom: 6px; border: 2px solid #fff; border-radius: 1px; }
.gs-title { font-weight: 600; font-size: 1rem; }
.gs-sync { margin-left: auto; font-size: 0.8125rem; color: #188038; white-space: nowrap; }
.gs-tabs { display: flex; gap: 4px; padding: 8px 12px 0; background: #f1f3f4; }
.gs-tabs button { border: 0; background: transparent; padding: 10px 14px; border-radius: 8px 8px 0 0; font-weight: 600; font-size: 0.875rem; color: #5f6368; cursor: pointer; min-height: 40px; }
.gs-tabs button[aria-selected="true"] { background: #fff; color: var(--sheet); }
.gs-panels { display: grid; }
.gs-body { grid-area: 1 / 1; padding: 18px; min-width: 0; }
.gs-body.is-off { visibility: hidden; }
.gs-h { margin: 0 0 14px; font-weight: 700; font-size: 1rem; }
.gs-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gs-kpis div { padding: 10px 12px; background: #f8f9fa; border: 1px solid #e3e5e8; border-radius: 8px; min-width: 0; }
.gs-kpis span { display: block; font-size: 0.75rem; color: #5f6368; margin-bottom: 4px; }
.gs-kpis b { font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.gs-progress { height: 10px; margin: 14px 0; border-radius: 5px; background: #e8eaed; overflow: hidden; }
.gs-progress i { display: block; height: 100%; width: 100%; background: var(--sheet); transform-origin: 0 50%; transform: scaleX(0.324); transition: transform 900ms var(--spring); }
.gs-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.gs-table th, .gs-table td { padding: 9px 10px; border-bottom: 1px solid #e8eaed; text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gs-table th { color: #5f6368; font-weight: 600; }
.gs-table td:last-child { text-align: right; }
.gs-journal thead th { background: #f8f9fa; position: sticky; top: 0; }
.gs-journal .r { text-align: right; }
.gs-scroll { overflow-x: auto; max-width: 100%; }
.gs-journal tr.is-new td { background: #fff3b0; transition: background-color 1.4s ease; }
.gs-journal tr.is-new.settled td { background: #fffbe0; }
.gs-foot { margin: 0; padding: 10px 18px 14px; font-size: 0.75rem; color: #80868b; }
@media (min-width: 560px) { .gs-kpis { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .sheet-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }

/* ---------- Comment ça marche ---------- */
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 100px rgba(0, 0, 0, 0.7); }
@media (max-width: 700px) { .screen { aspect-ratio: 4 / 5; border-radius: var(--r-lg); } }
.steps { list-style: none; counter-reset: step; margin: 56px 0 0; padding: 0; display: grid; gap: 28px; }
.steps li { counter-increment: step; position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--edge); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 0.9375rem/1 var(--sans); }
.steps h3 { font: 600 1.1875rem/1.3 var(--sans); letter-spacing: -0.02em; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Histoire ---------- */
.story { background: radial-gradient(ellipse 50% 50% at 15% 10%, rgba(255, 214, 10, 0.05), transparent 70%); }
.story-grid { display: grid; gap: 40px; }
.story-text p { font-size: var(--fs-lg); color: var(--ink-2); max-width: 58ch; margin: 0 0 18px; }
.sign { margin-top: 26px !important; font: italic 400 2rem/1 var(--serif) !important; color: var(--ink) !important; }
.sign span { display: block; margin-top: 8px; font: 500 var(--fs-small)/1 var(--sans); font-style: normal; color: var(--mute); }
.trust { list-style: none; margin: 36px 0 0; padding: 6px 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--edge); }
.trust li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.trust li:last-child { border-bottom: 0; }
.trust b { color: var(--ink); font-weight: 600; }
@media (min-width: 1040px) { .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; } }

/* ---------- Bêta ---------- */
.beta { background: linear-gradient(180deg, transparent, rgba(255, 214, 10, 0.04) 40%, transparent); }
.beta-grid { display: grid; gap: 44px; align-items: start; }
.next-steps { list-style: none; counter-reset: ns; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; }
.next-steps li { counter-increment: ns; position: relative; display: grid; gap: 3px; padding: 14px 0 14px 52px; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fill); color: var(--ink); font: 700 0.9375rem/1 var(--sans); }
.next-steps li:first-child::before { background: var(--accent); color: var(--accent-ink); }
.next-steps b { font-weight: 600; font-size: 1.0625rem; }
.next-steps span { color: var(--ink-2); font-size: var(--fs-small); letter-spacing: 0; }
.offer { margin-top: 24px; border-top: 1px solid var(--line); }
.offer summary, .more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; color: var(--ink-2); }
.offer summary::-webkit-details-marker, .more summary::-webkit-details-marker { display: none; }
.offer summary::after, .more summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg) translateY(-3px); transition: transform 350ms var(--spring); }
.offer[open] summary::after, .more[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.offer ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.offer li { position: relative; padding-left: 20px; color: var(--ink-2); }
.offer li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }

.form-card { position: relative; background: rgba(28, 28, 31, 0.86); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 38px); box-shadow: var(--edge), 0 40px 100px rgba(0, 0, 0, 0.5); scroll-margin-top: 84px; }
.form-card.is-focus { box-shadow: var(--edge), 0 0 0 2px var(--accent), 0 40px 100px rgba(0, 0, 0, 0.5); transition: box-shadow 400ms var(--spring); }
.form-head { margin-bottom: 22px; }
.form-title { font: 400 2.125rem/1.05 var(--serif); letter-spacing: -0.02em; margin: 0; }
.form-sub { margin: 6px 0 0; color: var(--mute); font-size: var(--fs-small); letter-spacing: 0; }
.field { display: grid; gap: 7px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: var(--fs-small); color: var(--ink-2); padding: 0; margin-bottom: 0; letter-spacing: 0; }
.field legend { margin-bottom: 8px; }
.opt { color: var(--mute); font-weight: 400; font-size: var(--fs-fine); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-md); border: 0; background: var(--card-2); color: var(--ink); font: 400 1rem/1.4 var(--sans); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 200ms; }
select { -webkit-appearance: none; appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238e8e93' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea { resize: vertical; min-height: 92px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.field.has-err input { box-shadow: inset 0 0 0 2px var(--down); }
.field.is-ok input { box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.6); }
.err { display: none; margin: 0; color: var(--down); font-size: var(--fs-fine); letter-spacing: 0; }
.field.has-err .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; transition: background-color 200ms, color 200ms, box-shadow 200ms, transform 380ms var(--spring); }
.chip:active span { transform: scale(0.95); transition-duration: 90ms; }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.more { margin: 2px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more[open] { padding-bottom: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; min-height: 1.4em; font-size: var(--fs-small); color: var(--down); letter-spacing: 0; }
.form-status:empty { display: none; }
.form-fine { display: flex; gap: 8px; align-items: flex-start; }
.form-fine svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linejoin: round; }
.form-done { padding: 12px 0; text-align: center; outline: none; }
.done-check { width: 72px; height: 72px; margin: 6px auto 22px; border-radius: 50%; background: var(--up); display: grid; place-items: center; animation: pop 600ms var(--spring) both; }
.done-check svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.form-done p { color: var(--ink-2); font-size: var(--fs-lg); margin: 0 auto; max-width: 34ch; }
.sign-sm { margin-top: 16px !important; font: italic 400 1.75rem/1 var(--serif) !important; color: var(--ink) !important; }
@media (min-width: 1040px) { .beta-grid { grid-template-columns: 1fr 1fr; gap: 80px; } .beta-copy { position: sticky; top: 100px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 600 1.125rem/1.35 var(--sans); letter-spacing: -0.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(var(--ink-2), var(--ink-2)) center/13px 1.6px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center/1.6px 13px no-repeat; transition: transform 400ms var(--spring); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 22px; color: var(--ink-2); font-size: var(--fs-lg); max-width: 60ch; }
@media (min-width: 1040px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }

/* ---------- Final + pied ---------- */
.final { padding: var(--section) 0 calc(var(--section) + 20px); position: relative; overflow: hidden; text-align: center; }
.final::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 80%; background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 214, 10, 0.12), transparent 70%); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final-inner .micro { margin: -18px 0 0; }
.final-title { font-size: clamp(2.75rem, 7vw, 6rem); max-width: 14ch; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--mute); font-size: var(--fs-small); letter-spacing: 0; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.foot p { margin: 0; }
.foot .brand { color: var(--ink); }
.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.foot-legal { flex-basis: 100%; font-size: var(--fs-fine); }

/* ---------- Barre d'inscription collante (mobile) ---------- */
.dock { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px; background: rgba(36, 36, 40, 0.78); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 40px rgba(0, 0, 0, 0.5); transform: translateY(calc(100% + 30px)); opacity: 0; transition: transform 550ms var(--spring), opacity 300ms; }
.dock.is-shown { transform: none; opacity: 1; }
.dock-text { display: grid; gap: 2px; font-size: 0.875rem; letter-spacing: 0; }
.dock-text b { font-weight: 600; }
.dock-text > span { color: var(--ink-2); }
@media (min-width: 900px) { .dock { display: none !important; } }

/* ---------- Film plein écran ---------- */
.film { border: 0; padding: 0; background: transparent; width: min(1120px, 94vw); max-width: none; overflow: visible; }
.film[open] { animation: materialize 450ms var(--spring); }
@keyframes materialize { from { opacity: 0; transform: scale(0.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.film::backdrop { background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.film video { width: 100%; aspect-ratio: 16 / 9; max-height: 78svh; object-fit: contain; border-radius: var(--r-lg); background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px rgba(0, 0, 0, 0.8); }
.film-close { position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--fill-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.film-cta { margin: 18px auto 0; display: flex; width: max-content; }

/* ---------- Consentement ---------- */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 18px; background: rgba(36, 36, 40, 0.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--edge), 0 20px 50px rgba(0, 0, 0, 0.6); font-size: var(--fs-small); letter-spacing: 0; }
.consent p { margin: 0; }
.consent div { display: flex; gap: 8px; }

/* ---------- Pages légales ---------- */
.legal { padding-top: 120px; padding-bottom: 96px; max-width: 760px; }
.legal p, .legal li { color: var(--ink-2); font-size: var(--fs-lg); max-width: 64ch; }
.legal .h3 { margin-top: 36px; }
.todo { color: var(--accent); }

/* ---------- Accessibilité : mouvement, transparence, contraste ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 160ms !important; transition-property: opacity, background-color, color !important; }
  .reveal { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dock, .consent, .form-card { background: #1c1c1f; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #fff; --mute: #c7c7cc; --line: rgba(255, 255, 255, 0.3); --line-2: rgba(255, 255, 255, 0.5); }
}

/* ==========================================================================
   Mobile d'abord : la plupart des visiteurs arrivent d'une pub, sur téléphone
   ========================================================================== */
.swipe-dots, .swipe-hint { display: none; }
.film-tap { display: none; position: absolute; right: 10px; bottom: 10px; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; background: rgba(36, 36, 40, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font: 600 0.8125rem/1 var(--sans); letter-spacing: 0; }
.film-tap svg { width: 12px; height: 12px; }
@media (max-width: 1039px) {
  /* « Au quotidien » : un carrousel qu'on fait glisser, comme dans une appli */
  .daily-steps { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .daily-steps::-webkit-scrollbar { display: none; }
  .dstep { flex: 0 0 min(86%, 420px); scroll-snap-align: center; display: flex; flex-direction: column; padding: 22px 20px 26px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--edge); }
  .dstep h3 { font-size: clamp(1.75rem, 7.4vw, 2.25rem); }
  .dstep p { font-size: 1rem; }
  .phone-inline { width: min(260px, 64vw); margin-top: auto; padding-top: 0; }
  .dstep > p:not(.dstep-tag) { margin-bottom: 24px; }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .swipe-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--fill-2); transition: background-color 300ms, width 400ms var(--spring); }
  .swipe-dots i.is-on { width: 22px; border-radius: 4px; background: var(--accent); }
  .swipe-hint { display: inline; }
  .daily-grid { gap: 0; }
}
@media (max-width: 700px) {
  :root { --section: 72px; --gutter: 18px; }
  .hero { padding-top: calc(92px + env(safe-area-inset-top, 0px)); padding-bottom: 56px; }
  .display { font-size: clamp(2.6rem, 12.2vw, 3.6rem); letter-spacing: -0.035em; }
  .lede { font-size: 1.0625rem; margin-top: 18px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; margin-top: 26px; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .micro { font-size: 0.8125rem; }
  .hero-film-wrap { margin-top: 36px; padding: 0 12px; }
  .hero-film { border-radius: 14px; }
  .proof { justify-content: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 0.8125rem; padding: 0 var(--gutter); text-align: left; }
  .proof li { align-items: flex-start; }
  .film-tap { display: flex; }
  .h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .body-lg, .vs-before, .vs-after, .ticks li, .story-text p, .faq-list p { font-size: 1rem; }
  .section-head { margin-bottom: 32px; }
  .inline-cta { flex-direction: column; align-items: stretch; text-align: left; padding: 22px; }
  .inline-cta .btn { width: 100%; }
  .car-card { padding: 22px; gap: 26px; border-radius: var(--r-lg); }
  .car-name { font-size: 2.5rem; }
  .stats { gap: 18px; }
  .segmented { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0; width: auto; padding-left: var(--gutter); padding-right: var(--gutter); background: transparent; gap: 8px; }
  .seg { background: var(--fill); min-height: 40px; }
  .seg[aria-selected="true"] { background: var(--ink); color: #000; }
  .gs-body { padding: 14px; }
  .gs-sync { display: none; }
  .steps { margin-top: 32px; gap: 12px; }
  .steps li { padding: 20px; }
  .beta-grid { gap: 28px; }
  .next-steps { margin-top: 24px; }
  .form-card { padding: 22px 18px; border-radius: var(--r-lg); margin: 0 -6px; }
  .form-title { font-size: 1.875rem; }
  .chip span { min-height: 46px; padding: 0 16px; }
  .faq-list summary { font-size: 1.0625rem; padding: 18px 0; }
  .final-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .final .btn { width: 100%; max-width: 420px; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .film-close { top: -50px; }
  .film-cta { width: 100%; }
}

/* ---------- Le garage (film gameplay) ---------- */
.garage-sec { border-top: 1px solid var(--line); }
.garage-film { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .garage-film { aspect-ratio: 16 / 9; border-radius: 14px; margin: 0 -6px; } }
.garage-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.garage-points li { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--edge); }
.garage-points b { font-weight: 600; font-size: 1.0625rem; }
.garage-points span { color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 860px) { .garage-points { grid-template-columns: repeat(3, 1fr); } }
