/* Evidnce, site public. Les couleurs, rayons et ombres viennent de l'app (src/theme/palette.ts et tokens.ts du dépôt mobile).
   Mise en page : une colonne centrée de 1160 px, le titre au-dessus d'une démo du produit, puis des sections texte et interface en alternance. */

@font-face { font-family: "Geist"; src: url("../fonts/Geist_400Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist_500Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist_600SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist_700Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono_500Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #f4f5f8;
  --bg-deep: #e8eaef;
  --bg-start: #f7f8fb;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-border: rgba(255, 255, 255, 0.72);
  --header: rgba(244, 245, 248, 0.78);
  --separator: rgba(20, 20, 40, 0.10);
  --chip: rgba(120, 120, 140, 0.10);
  --muted: #e8eaef;
  --control: #868894;
  --fg: #0b0b0f;
  --fg-2: #626269;
  --accent: #5e63e6;
  --accent-hover: #5156d6;
  --on-accent: #ffffff;
  --accent-text: #4f54cf;
  --accent-soft: rgba(94, 99, 230, 0.12);
  --accent-border: rgba(94, 99, 230, 0.28);
  --good: #1fb66b;
  --good-text: #14633f;
  --good-soft: rgba(31, 182, 107, 0.12);
  --warn: #f09a22;
  --warn-text: #8a4a00;
  --warn-soft: rgba(240, 154, 34, 0.14);
  --bad-text: #9f392f;
  --scrim: rgba(15, 15, 20, 0.78);
  --on-scrim: #ffffff;
  --shadow-card: 0 12px 30px rgba(28, 35, 54, 0.08);
  --shadow-panel: 0 18px 44px rgba(28, 35, 54, 0.10);
  --shadow-action: 0 10px 24px rgba(94, 99, 230, 0.20);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --page: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0e12; --bg-deep: #0a0b0e; --bg-start: #111218; --surface: #1b1c22; --glass: rgba(255, 255, 255, 0.07); --glass-border: rgba(255, 255, 255, 0.09);
    --header: rgba(13, 14, 18, 0.78); --separator: rgba(255, 255, 255, 0.10); --chip: rgba(235, 235, 245, 0.10); --muted: #2a2b33; --control: #6c6e7a;
    --fg: #f2f3f7; --fg-2: #a3a5b1; --accent-hover: #6b70f0; --accent-text: #a5a8ff; --accent-soft: rgba(124, 128, 255, 0.20); --accent-border: rgba(165, 168, 255, 0.38);
    --good: #2bc275; --good-text: #5fd38d; --good-soft: rgba(48, 209, 120, 0.16); --warn: #f5a524; --warn-text: #ffbe5c; --warn-soft: rgba(255, 159, 10, 0.16); --bad-text: #ff8f80;
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.35); --shadow-panel: 0 18px 44px rgba(0, 0, 0, 0.45); --shadow-action: 0 10px 24px rgba(94, 99, 230, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0e12; --bg-deep: #0a0b0e; --bg-start: #111218; --surface: #1b1c22; --glass: rgba(255, 255, 255, 0.07); --glass-border: rgba(255, 255, 255, 0.09);
  --header: rgba(13, 14, 18, 0.78); --separator: rgba(255, 255, 255, 0.10); --chip: rgba(235, 235, 245, 0.10); --muted: #2a2b33; --control: #6c6e7a;
  --fg: #f2f3f7; --fg-2: #a3a5b1; --accent-hover: #6b70f0; --accent-text: #a5a8ff; --accent-soft: rgba(124, 128, 255, 0.20); --accent-border: rgba(165, 168, 255, 0.38);
  --good: #2bc275; --good-text: #5fd38d; --good-soft: rgba(48, 209, 120, 0.16); --warn: #f5a524; --warn-text: #ffbe5c; --warn-soft: rgba(255, 159, 10, 0.16); --bad-text: #ff8f80;
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.35); --shadow-panel: 0 18px 44px rgba(0, 0, 0, 0.45); --shadow-action: 0 10px 24px rgba(94, 99, 230, 0.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--header); }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent-border); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -120px; z-index: 40; background: var(--surface); color: var(--fg); padding: 10px 14px; border-radius: var(--r-sm); box-shadow: var(--shadow-card); }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: calc(var(--page) + 40px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.eyebrow { font: 500 13px/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--header); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--separator); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--fg-2); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color 0.15s ease, background-color 0.15s ease; }
.nav a:hover { color: var(--fg); background: var(--chip); }
.header-cta { margin-left: 8px; }

/* Boutons et champs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 16px; border: 1px solid transparent; font: 600 16px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-action); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--accent-text); border-color: var(--accent-border); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 14px; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

.waitlist { display: grid; gap: 10px; width: 100%; max-width: 560px; }
.waitlist-row { display: flex; gap: 10px; width: 100%; }
.field { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--control); background: var(--surface); color: var(--fg); font: 400 16px/1 var(--font); }
.field::placeholder { color: var(--fg-2); }
.field:focus-visible { outline: 3px solid var(--accent-border); outline-offset: 1px; border-color: var(--accent); }
.field[aria-invalid="true"] { border-color: var(--bad-text); }
.form-note { font-size: 14px; color: var(--fg-2); }
.form-error { font-size: 14px; color: var(--bad-text); font-weight: 500; }
.form-status { font-size: 14px; color: var(--fg); font-weight: 500; }

/* Haut de page */
.hero { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 88px) 0; background: linear-gradient(180deg, var(--bg-start), var(--bg) 70%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 38%; height: 62%; z-index: -1; pointer-events: none; background: radial-gradient(55% 60% at 50% 45%, var(--accent-soft), transparent 72%); }
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero h1 { font-size: clamp(38px, 6vw, 74px); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; max-width: 18ch; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--fg-2); max-width: 36em; }
.hero .waitlist { justify-items: center; }
.hero .form-note { text-align: center; }

/* Démo : Pilot lit, trie, classe, puis le couple vote */
.stage { position: relative; margin-top: clamp(40px, 6vw, 64px); border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-panel); padding: 22px; display: grid; grid-template-columns: minmax(250px, 300px) 1fr; gap: 22px; overflow: hidden; }
.stage-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stage-tag { font: 500 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); background: var(--chip); padding: 7px 10px; border-radius: 999px; }
.stage-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--separator); background: var(--surface); color: var(--fg-2); font: 500 13px/1 var(--font); cursor: pointer; }
.stage-toggle:hover { color: var(--fg); }
.stage-toggle svg { width: 14px; height: 14px; }
.chat { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bubble-user { align-self: flex-end; max-width: 100%; background: var(--accent); color: var(--on-accent); padding: 14px 18px; border-radius: 22px 22px 6px 22px; font-size: 17px; line-height: 1.4; min-height: 52px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: currentColor; opacity: 0; }
.stage.is-typing .caret { opacity: 1; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.pilot-line { display: flex; align-items: center; gap: 10px; color: var(--fg-2); font-size: 15px; font-weight: 500; }
.pilot-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.pilot-avatar svg { width: 17px; height: 17px; }
.pilot-status { transition: opacity 0.25s ease; }
.pilot-steps { display: grid; gap: 8px; margin-top: 4px; }
.pilot-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); }
.pilot-steps .dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good-text); transition: background-color 0.3s ease, color 0.3s ease; }
.pilot-steps .dot svg { width: 13px; height: 13px; }
.pilot-steps li[data-state="todo"] .dot { background: var(--chip); color: transparent; }
.pilot-steps li[data-state="todo"] { color: var(--control); }

.board { position: relative; display: grid; min-width: 0; }
.board > * { grid-area: 1 / 1; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; align-self: stretch; transition: opacity 0.45s ease; }
.tile { position: relative; min-height: 0; border-radius: 14px; overflow: hidden; background: var(--muted); transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s ease, filter 0.45s ease; }
.tile-reason { position: absolute; left: 6px; right: 6px; bottom: 6px; background: var(--scrim); color: var(--on-scrim); font-size: 11px; line-height: 1.2; font-weight: 500; padding: 4px 6px; border-radius: 8px; opacity: 0; transition: opacity 0.3s ease; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: start; }
.results .listing { transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* États de l'animation, posés par site.js. Sans script, la démo reste sur son état final. */
.stage[data-step="0"] .tile, .stage[data-step="1"] .tile { opacity: 0; transform: scale(0.92); }
.stage[data-step="3"] .tile.is-out { transform: scale(0.95); }
.stage[data-step="3"] .tile.is-out img { opacity: 0.3; filter: grayscale(1); }
.stage[data-step="3"] .tile:not(.is-out) { box-shadow: 0 0 0 3px var(--accent); transform: scale(1.03); z-index: 1; }
.stage[data-step="3"] .tile.is-out .tile-reason { opacity: 1; }
.stage[data-step="4"] .tiles, .stage[data-step="5"] .tiles { opacity: 0; pointer-events: none; }
.stage:not([data-step="4"]):not([data-step="5"]) .results .listing { opacity: 0; transform: translateY(18px); }
.stage[data-step="4"] .listing:nth-child(2) { transition-delay: 0.08s; }
.stage[data-step="4"] .listing:nth-child(3) { transition-delay: 0.16s; }
.stage:not([data-step="5"]) .votes, .stage:not([data-step="5"]) .match-chip { opacity: 0; transform: scale(0.9); }

/* Carte d'annonce, comme dans Découvrir */
.listing { background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--separator); display: flex; flex-direction: column; min-width: 0; }
.listing-photo { position: relative; aspect-ratio: 4 / 3; background: var(--muted); }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.pct { position: absolute; left: 10px; bottom: 10px; background: var(--scrim); color: var(--on-scrim); font: 600 15px/1 var(--font); padding: 7px 10px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.heart { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-text); box-shadow: var(--shadow-card); }
.heart svg { width: 18px; height: 18px; }
.votes { position: absolute; right: 10px; top: 10px; display: flex; transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1); }
.votes img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--surface); object-fit: cover; }
.votes img + img { margin-left: -10px; }
.listing-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.listing-place { color: var(--fg-2); font-size: 13px; }
.listing-title { font-size: 16px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.listing-price { font-size: 14px; }
.reasons { display: grid; gap: 3px; margin-top: 4px; }
.reasons li { display: flex; gap: 6px; font-size: 13px; line-height: 1.35; color: var(--fg-2); }
.reasons svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--good); }
.match-chip { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: var(--good-soft); color: var(--good-text); font-size: 13px; font-weight: 600; transition: opacity 0.4s ease 0.25s, transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) 0.25s; }
.match-chip svg { width: 14px; height: 14px; }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 14px; max-width: 40em; }
.section-head.center { justify-items: center; text-align: center; margin-inline: auto; }
.section h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.steps { display: grid; gap: clamp(56px, 8vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.step:nth-child(even) .step-visual { order: -1; }
.step-copy { display: grid; gap: 14px; max-width: 30em; }
.step-num { font: 500 13px/1 var(--mono); letter-spacing: 0.04em; color: var(--accent-text); }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.step-copy p { color: var(--fg-2); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--chip); color: var(--fg); font-size: 14px; font-weight: 500; }
.chip svg { width: 14px; height: 14px; color: var(--accent-text); }
.step-visual { min-width: 0; }
.panel { border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-panel); padding: 18px; display: grid; gap: 14px; max-width: 460px; margin-inline: auto; }
.panel .bubble-user { font-size: 16px; }
.bubble-pilot { justify-self: start; display: flex; gap: 10px; align-items: flex-start; }
.bubble-pilot p { background: var(--surface); border: 1px solid var(--separator); padding: 12px 16px; border-radius: 22px 22px 22px 6px; font-size: 15px; line-height: 1.45; }
.row-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-md); padding: 10px; }
.row-card img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.row-card .listing-title { font-size: 15px; }
.row-card .meta { display: grid; gap: 2px; min-width: 0; }
.pct-inline { font: 600 14px/1 var(--font); padding: 7px 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.room-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room-title { font-weight: 600; font-size: 16px; }
.people { display: flex; align-items: center; }
.people img, .people .invite { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--surface); object-fit: cover; }
.people img + img, .people .invite { margin-left: -8px; }
.invite { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.invite svg { width: 16px; height: 16px; }
.vote-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-2); }
.vote-line svg { width: 15px; height: 15px; }
.vote-yes { color: var(--accent-text); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.status-good { background: var(--good-soft); color: var(--good-text); }
.status-wait { background: var(--chip); color: var(--fg-2); }
.invite-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); border: 1px dashed var(--accent-border); color: var(--accent-text); font-size: 15px; font-weight: 500; }
.invite-row svg { width: 18px; height: 18px; }
.report-photo { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; }
.report-photo img { width: 100%; height: 100%; object-fit: cover; }
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.report-rows { display: grid; gap: 8px; }
.report-rows li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.report-rows svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.row-good { background: var(--good-soft); color: var(--good-text); }
.row-check { background: var(--warn-soft); color: var(--warn-text); }
.sources { font-size: 13px; color: var(--fg-2); }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: clamp(56px, 8vw, 88px); text-align: center; }
.inline-cta p { color: var(--fg-2); }

/* Expert et partenaire */
.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: start; }
.card p { color: var(--fg-2); }
.card h2, .card h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.card .partner-name { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.04em; color: var(--fg); }

/* Prix */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: clamp(32px, 5vw, 56px); }
.price-card { display: grid; gap: 12px; align-content: start; }
.price-big { font-size: clamp(36px, 5vw, 52px); line-height: 1; letter-spacing: -0.04em; }
.price-list { display: grid; gap: 8px; }
.price-list li { display: flex; gap: 10px; align-items: baseline; color: var(--fg-2); }
.price-list .mono { color: var(--fg); font-size: 18px; min-width: 6.2em; }

/* Questions */
.faq { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 18px; height: 18px; color: var(--fg-2); transition: transform 0.2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--fg-2); max-width: 60em; }

/* Dernier appel */
.final { padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 120px); }
.final-card { border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-panel); padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px); display: grid; justify-items: center; text-align: center; gap: 18px; }
.final-card .waitlist { justify-items: center; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--separator); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--fg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; align-content: start; }
.footer-links a { color: var(--fg-2); text-decoration: none; }
.footer-links a:hover { color: var(--fg); text-decoration: underline; }
.footer-meta { display: grid; gap: 8px; }
.footer-meta strong { color: var(--fg); font-weight: 600; }

/* Pages de texte (légal, merci, 404) */
.doc { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 96px); }
.doc article { max-width: 760px; margin-inline: auto; display: grid; gap: 18px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.doc h2 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.doc p, .doc li { color: var(--fg-2); }
.doc ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.doc strong { color: var(--fg); }
.doc .updated { font: 500 13px/1.3 var(--mono); color: var(--fg-2); }
.todo { background: var(--warn-soft); color: var(--warn-text); border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--separator); vertical-align: top; color: var(--fg-2); }
.doc th { color: var(--fg); font-weight: 600; }
.table-scroll { overflow-x: auto; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .stage { grid-template-columns: 1fr; }
  .step, .duo, .prices, .footer-grid { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-visual { order: 0; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .waitlist-row { flex-direction: column; }
  .waitlist-row .btn { width: 100%; }
  .header-cta .label-long { display: none; }
  .stage { padding: 16px; border-radius: var(--r-lg); gap: 16px; }
  .stage-tag { font-size: 11px; white-space: nowrap; }
  .stage-toggle { width: 36px; padding: 0; justify-content: center; }
  .stage-toggle [data-toggle-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bubble-user { font-size: 16px; }
  .pilot-steps { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); gap: 8px; }
  .results { grid-template-columns: 1fr; gap: 10px; }
  .results .listing { display: grid; grid-template-columns: 112px 1fr; }
  .results .listing-photo { aspect-ratio: auto; min-height: 112px; }
  .results .reasons li + li { display: none; }
  .results .pct { left: 6px; bottom: 6px; font-size: 13px; padding: 5px 7px; }
  .results .votes img { width: 28px; height: 28px; }
  .results .votes { right: 6px; top: 6px; }
  .results .heart { display: none; }
  .row-card { grid-template-columns: 60px 1fr auto; }
  .row-card img { width: 60px; height: 60px; }
}
@media (min-width: 641px) { .header-cta .label-short { display: none; } }

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

/* Carte du haut de page : floue partout, nette sous la loupe qui suit la souris (ou dérive seule sur un écran tactile). */
:root { --map-land: #eceef3; --map-street: #ffffff; --map-blvd: #ffffff; --map-blvd-edge: #dcdfe7; --map-water: #cddff3; --map-park: #d9ecdf; --map-label: #8a8d99; --map-metro: rgba(94, 99, 230, 0.55); --lens-ring: rgba(255, 255, 255, 0.9); --halo: rgba(244, 245, 248, 0.72); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --map-land: #14161c; --map-street: #262934; --map-blvd: #303441; --map-blvd-edge: #1b1d25; --map-water: #1a2a3d; --map-park: #17251d; --map-label: #6c6f7c; --map-metro: rgba(165, 168, 255, 0.55); --lens-ring: rgba(255, 255, 255, 0.28); --halo: rgba(13, 14, 18, 0.7); } }
:root[data-theme="dark"] { --map-land: #14161c; --map-street: #262934; --map-blvd: #303441; --map-blvd-edge: #1b1d25; --map-water: #1a2a3d; --map-park: #17251d; --map-label: #6c6f7c; --map-metro: rgba(165, 168, 255, 0.55); --lens-ring: rgba(255, 255, 255, 0.28); --halo: rgba(13, 14, 18, 0.7); }
.hero-map { position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: -1; overflow: hidden; pointer-events: none; --r: 150px; --x: 72%; --y: 42%; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.map-layer { position: absolute; inset: 0; }
.map-layer svg { width: 100%; height: 100%; display: block; }
.map-base { filter: blur(5px) saturate(0.7); opacity: 0.6; }
.map-lit { -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 58%, transparent 100%); mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 58%, transparent 100%); }
.m-land { fill: var(--map-land); }
.m-park { fill: var(--map-park); }
.m-water { fill: none; stroke: var(--map-water); stroke-width: 34; stroke-linecap: round; }
.m-street { fill: none; stroke: var(--map-street); stroke-width: 2.4; stroke-linecap: round; }
.m-blvd-edge { fill: none; stroke: var(--map-blvd-edge); stroke-width: 10; stroke-linecap: round; }
.m-blvd { fill: none; stroke: var(--map-blvd); stroke-width: 7; stroke-linecap: round; }
.m-place { fill: var(--map-land); stroke: var(--map-blvd); stroke-width: 7; }
.m-metro { fill: none; stroke: var(--map-metro); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.m-station { fill: var(--map-land); stroke: var(--map-metro); stroke-width: 3; }
.m-label { fill: var(--map-label); font: 500 15px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.m-dot { fill: var(--accent); opacity: 0.55; }
.lens { position: absolute; left: 0; top: 0; width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; box-shadow: 0 0 0 1.5px var(--lens-ring), 0 24px 60px rgba(28, 35, 54, 0.16), inset 0 0 40px rgba(255, 255, 255, 0.12); will-change: transform; }
.pins { position: absolute; inset: 0; z-index: 2; }
.lens { z-index: 1; }
.m-canal { stroke-width: 12; }
.pin { position: absolute; width: 0; height: 0; }
.pin-dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2.5px solid var(--surface); box-shadow: 0 2px 6px rgba(28, 35, 54, 0.3); opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1); }
.pin-card { position: absolute; left: 0; bottom: 16px; width: 232px; display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--separator); box-shadow: var(--shadow-card); opacity: 0; transform: translateX(calc(-50% + var(--shift, 0px))) translateY(6px) scale(0.92); transform-origin: 50% 100%; transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1); }
.pin-card img { width: 58px; height: 46px; border-radius: 10px; object-fit: cover; }
.pin-card b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--fg); }
.pin-card small { display: block; font-size: 11.5px; color: var(--fg-2); }
.pin-card .mono { display: block; font-size: 12.5px; color: var(--fg); }
.pin-pct { font: 600 12px/1 var(--font); padding: 6px 7px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.pin.is-lit .pin-dot { opacity: 1; transform: scale(1); }
.pin.is-lit .pin-card { opacity: 1; transform: translateX(calc(-50% + var(--shift, 0px))) translateY(0) scale(1); }
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(980px, 110%); height: 120%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--halo), transparent); z-index: -1; pointer-events: none; }
.pin-price { position: absolute; left: 0; bottom: 14px; padding: 5px 8px; border-radius: 999px; background: var(--surface); color: var(--fg); font-size: 12px; white-space: nowrap; box-shadow: var(--shadow-card); opacity: 0; transform: translateX(-50%) scale(0.9); transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1); }
@media (max-width: 1199px) { .pin-card { display: none; } .pin.is-lit .pin-price { opacity: 1; transform: translateX(-50%) scale(1); } }
@media (max-width: 640px) { .hero-map { --r: 105px; } }
