/* ChauffApp – site vitrine (première version) */
:root {
  --bg: #ffffff;
  --panel: #f4f5f8;
  --panel-2: #eceef3;
  --line: #e1e4ec;
  --ink: #0f1f3d;
  --ink-2: #4a5672;
  --ink-3: #5a6480;
  --gold: #c9a45c;
  --gold-soft: #f6efe1;
  --gold-ink: #775a21;
  --live: #12703f;
  --live-soft: #e3f4ea;
  --late: #9c4318;
  --late-soft: #fbeee4;
  --radius: 28px;
  --radius-s: 16px;
  --wrap: 1180px;
  --gutter: 24px;
  --display: "Archivo", "Manrope", system-ui, sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
::selection { background: var(--gold-soft); color: var(--ink); }
img, svg { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Boutons (survol inversé, comme vipazur.fr) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; font: 700 16px/1 var(--text); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { height: 42px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
@media (hover: hover) {
  .btn:hover { background: var(--bg); color: var(--ink); border-color: var(--ink); }
  .btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
}

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
/* Logo de 50 px en haut de page, qui rétrécit en douceur dès qu'on défile */
.top .wrap { display: flex; align-items: center; height: 86px; gap: 32px; transition: height .35s var(--ease); }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; flex: none; }
/* Le logo est l'image de marque découpée telle quelle (fond blanc du JPEG) :
   « multiply » fond ce blanc dans le fond de l'en-tête, sans retoucher le fichier. */
.logo-img { display: block; width: auto; height: 50px; mix-blend-mode: multiply; transition: height .35s var(--ease); }
.top.scrolled .wrap { height: 66px; }
.top.scrolled .logo-img { height: 36px; }
.desk aside .lg .logo-img { height: 22px; }
.top nav { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); transition: color .3s; }
@media (hover: hover) { .top nav a:hover { color: var(--ink); } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero h1 {
  margin: 0 auto; max-width: 15ch;
  font-size: clamp(42px, 7.2vw, 92px); line-height: .98; letter-spacing: -.035em; font-weight: 800;
}
/* Titre : toujours le même nombre de lignes, quel que soit le mot affiché.
   « Toute la course, » seul sur la 1re ligne ; le saut avant « compris. » n'est actif (.three)
   que si le mot le plus long ne tient pas à côté (calculé par site.js). */
.hero h1 .br2 { display: none; }
.hero h1.three .br2 { display: inline; }
.rot { position: relative; display: inline-block; white-space: nowrap; color: var(--ink); }
.rot .w { display: inline-block; transition: opacity .35s var(--ease), transform .45s var(--ease), filter .35s; }
.rot .w.out { opacity: 0; transform: translateY(-.25em); filter: blur(6px); }
.rot .w.in { opacity: 0; transform: translateY(.3em); filter: blur(6px); }
.rot svg.road { position: absolute; left: -2%; right: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.rot svg.road path { fill: none; stroke: var(--gold); stroke-linecap: round; }
.hero .sub { margin: 26px auto 0; max-width: 40ch; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.5; }

/* Formulaire liste d'attente */
.wl { margin: 34px auto 0; max-width: 560px; text-align: left; }
.wl .role { display: inline-flex; padding: 4px; background: var(--panel); border-radius: 12px; margin: 0 auto 12px; position: relative; }
.wl .role-wrap { text-align: center; }
.wl .role button {
  position: relative; z-index: 1; border: 0; background: transparent; font: 600 14px/1 var(--text);
  color: var(--ink-3); padding: 10px 16px; border-radius: 9px; cursor: pointer; transition: color .3s;
}
.wl .role button[aria-pressed="true"] { color: var(--ink); }
.wl .role .pill { position: absolute; top: 4px; bottom: 4px; border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(15,31,61,.12); transition: left .35s var(--ease), width .35s var(--ease); }
.wl .row { display: flex; gap: 8px; padding: 6px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .3s; }
.wl .row:focus-within { border-color: var(--gold); }
.wl input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: 500 17px var(--text); color: var(--ink);
  padding: 0 14px; caret-color: var(--gold);
}
.wl input::placeholder { color: var(--ink-3); }
.wl .note { margin-top: 12px; font-size: 14px; color: var(--ink-3); text-align: center; }
.wl .done { display: none; align-items: center; justify-content: center; gap: 10px; height: 66px; border-radius: 18px; background: var(--live-soft); color: var(--live); font-weight: 700; }
.wl.sent .row, .wl.sent .role-wrap { display: none; }
.wl.sent .done { display: flex; }
.tip {
  position: absolute; z-index: 80; max-width: 280px; padding: 10px 14px 10px 40px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(15,31,61,.25); animation: tipIn .3s var(--ease);
}
.tip::before { content: "!"; position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; border-radius: 50%; background: #f08a24; color: #fff; font: 800 12px/18px var(--text); text-align: center; }
.tip::after { content: ""; position: absolute; top: -6px; left: 24px; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
@keyframes tipIn { from { opacity: 0; transform: translateY(-4px); } }

/* Scène appareils */
.devices { position: relative; margin: 64px auto 0; max-width: 1080px; height: 560px; }
.laptop {
  position: absolute; left: 50%; top: 0; translate: -50% 0; width: 860px; max-width: 100%;
  border-radius: 22px 22px 0 0; background: #fff; border: 10px solid #18233b; border-bottom: 0;
  height: 520px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(15,31,61,.35);
}
.laptop::after { content: ""; position: absolute; inset: auto -10px 0 -10px; height: 0; }
.devices .base { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 960px; max-width: 108%; height: 14px; border-radius: 0 0 16px 16px; background: linear-gradient(#d8dce5, #b9bfcc); }
.phone {
  position: relative; width: 280px; height: 572px; border-radius: 46px; background: #fff;
  border: 10px solid #18233b; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(15,31,61,.4);
}
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 20px; background: #18233b; z-index: 5; }
.devices .phone { position: absolute; right: 30px; top: 70px; }
/* Tiroir « 30 secondes de plus » : tiroir sur téléphone, au-dessus du bouton sur ordinateur */
.pf-dim { position: fixed; inset: 0; z-index: 70; background: rgba(15,31,61,.28); animation: pfFade .25s; }
.pf { position: fixed; z-index: 71; width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - 24px); overflow: auto; background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 24px 60px -16px rgba(15,31,61,.45); text-align: left; animation: pfIn .35s var(--ease); }
.pf[hidden], .pf-dim[hidden] { display: none; }
.pf-grip { display: none; }
.pf h3 { font-size: 22px; letter-spacing: -.02em; }
.pf-lead { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.pf-q { font: 800 16px/1.25 var(--display); margin: 20px 0 10px; }
.pf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; font: 600 14px/1.2 var(--text); color: var(--ink); cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.opt[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (hover: hover) { .opt:not([aria-pressed="true"]):hover { border-color: var(--ink-3); } }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-fld { display: block; position: relative; margin-top: 20px; }
.pf-fld > span { position: absolute; top: -9px; left: 12px; padding: 0 6px; background: #fff; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pf-fld input { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; font: 500 15px var(--text); color: var(--ink); background: #fff; caret-color: var(--gold); transition: border-color .3s; }
.pf-fld input:focus { outline: none; border-color: var(--gold); }
.pf-btns { display: flex; gap: 10px; margin-top: 22px; }
.pf-btns .btn { flex: 1; height: 50px; }
@keyframes pfFade { from { opacity: 0; } }
@keyframes pfIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 720px) {
  .pf { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-width: none; max-height: 92vh; border-radius: 24px 24px 0 0; padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); animation: pfUp .4s var(--ease); }
  .pf-grip { display: block; width: 40px; height: 5px; border-radius: 5px; background: #d5d9e2; margin: 0 auto 14px; }
  .pf-row { grid-template-columns: 1fr; gap: 0; }
  @keyframes pfUp { from { transform: translateY(100%); } }
}

.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.end-sub { margin: 18px auto 0; max-width: 40ch; color: var(--ink-2); font-size: 19px; }

/* Ordinateur : texte à gauche, l'app à droite */
@media (min-width: 1081px) {
  .hero { padding: 40px 0 72px; text-align: left; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; min-height: min(760px, calc(100vh - 112px)); }
  .hero h1 { margin: 0; font-size: clamp(50px, 4.9vw, 63px); line-height: 1; } /* 63 px max : « dispatch compris. » tient sur une ligne dans la colonne */
  .hero .sub { margin: 24px 0 0; max-width: 34ch; font-size: 19px; }
  .hero .wl { margin: 32px 0 0; max-width: 520px; }
  .hero .wl .role-wrap, .hero .wl .note { text-align: left; }
  .hero .devices { margin: 0; max-width: none; height: 600px; }
  .hero .laptop { left: 120px; top: 36px; translate: none; width: 760px; max-width: none; height: 500px; }
  .hero .devices .base { display: none; }
  .hero .devices .phone { right: auto; left: 0; top: 14px; }
}

/* ---------- Écrans de l'app (Manrope, comme l'app) ---------- */
.scr { position: absolute; inset: 0; padding: 44px 16px 16px; font-size: 13px; line-height: 1.35; color: var(--ink); background: #fff; }
.scr .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.scr .hd b { font-size: 17px; font-weight: 800; }
.scr .hd small { color: var(--ink-3); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--panel); color: var(--ink-2); white-space: nowrap; }
.chip.live { background: var(--live-soft); color: var(--live); }
.chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.gold { background: var(--gold-soft); color: var(--gold-ink); }
.chip.late { background: var(--late-soft); color: var(--late); }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: #fff; }
.card + .card { margin-top: 10px; }
.k { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.v { font-weight: 700; }
.route { display: grid; grid-template-columns: 12px 1fr; gap: 2px 10px; margin-top: 8px; }
.route i { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--ink); margin-top: 4px; }
.route i.to { background: var(--gold); border-color: var(--gold); }
.route .bar { width: 2px; height: 10px; background: var(--line); margin-left: 4px; }
.sl { position: relative; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; margin-top: 12px; }
.sl .knob { position: absolute; left: 4px; top: 4px; width: 40px; height: 40px; border-radius: 11px; background: var(--gold); display: grid; place-items: center; }
.sl .knob svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.4; }
.btnapp { height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; background: var(--ink); color: #fff; margin-top: 10px; }
.btnapp.light { background: var(--panel); color: var(--ink); }
.timer { height: 4px; border-radius: 4px; background: var(--panel); overflow: hidden; margin-top: 10px; }
.timer i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; }

/* Hero : offre qui arrive sur le téléphone */
.h-offer { position: absolute; left: 12px; right: 12px; bottom: 14px; transform: translateY(120%); transition: transform .6s var(--ease); box-shadow: 0 -10px 30px rgba(15,31,61,.12); }
.phone.offer .h-offer { transform: none; }
.phone.offer .h-offer .timer i { animation: drain 6s linear forwards; }
.phone.accepted .h-offer .timer { opacity: 0; }
.h-offer .acc { display: none; }
.phone.accepted .h-offer .acc { display: grid; background: var(--live); }
.phone.accepted .h-offer .go { display: none; }
@keyframes drain { to { transform: scaleX(0); } }
.mini-map { height: 170px; border-radius: 16px; background: #eef1f6; position: relative; overflow: hidden; }
.mini-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Hero : écran ordinateur (planning) */
.desk { display: grid; grid-template-columns: 190px 1fr; height: 100%; font-size: 13px; }
.desk aside { background: var(--panel); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.desk aside .it { padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 600; }
.desk aside .it.on { background: #fff; color: var(--ink); }
.desk aside .lg { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; margin: 0 0 14px 6px; }
.desk main { padding: 18px 20px; overflow: hidden; text-align: left; }
.desk .tb { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.desk .tb b { font-size: 18px; font-weight: 800; }
.desk table { width: 100%; border-collapse: collapse; }
.desk th { text-align: left; font-size: 11px; color: var(--ink-3); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.desk td { padding: 11px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.desk td small { display: block; color: var(--ink-3); font-size: 11px; }
.desk tr.flash td { animation: rowFlash 1.6s var(--ease); }
@keyframes rowFlash { 0% { background: var(--gold-soft); } 100% { background: transparent; } }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.sec-h { max-width: 760px; }
.sec-h.c { margin: 0 auto; text-align: center; }
.sec-h h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.sec-h p { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 56ch; }
.sec-h.c p { margin-left: auto; margin-right: auto; }
.hl { color: var(--gold-ink); }

/* Deux publics */
.aud { padding-top: 96px; }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.aud-c { background: var(--panel); border-radius: var(--radius); padding: 36px; }
.aud-c h3 { font-size: 28px; letter-spacing: -.02em; font-weight: 800; }
.aud-c > p { margin-top: 10px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; }
.ticks svg { width: 22px; height: 22px; margin-top: 1px; }

/* Scène « une course de A à Z » */
.story { background: var(--ink); color: #fff; border-radius: 40px; margin: 0 12px; }
.story .sec-h h2, .story h3 { color: #fff; }
.story .sec-h p { color: #b9c2d6; }
.story .hl { color: var(--gold); }
.st-grid { display: grid; grid-template-columns: 1fr 340px; gap: 80px; margin-top: 72px; align-items: start; }
.st-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.st-step { position: relative; padding: 0 0 0 64px; min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: .62; transition: opacity .5s var(--ease); }
.st-step:last-child { min-height: 50vh; }
.st-step.on { opacity: 1; }
.st-step::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid #56648a; display: grid; place-items: center;
  font: 800 15px/36px var(--display); text-align: center; color: #b9c2d6; transition: all .4s var(--ease);
}
.st-step.on::before { background: var(--gold); border-color: var(--gold); color: #fff; }
.st-step .who { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--gold); text-transform: uppercase; }
.st-step h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; margin-top: 8px; font-weight: 800; }
.st-step p { margin-top: 12px; color: #c6cede; font-size: 18px; max-width: 46ch; }
.st-phone { position: sticky; top: calc(50vh - 286px); }
.st-phone .phone { border-color: #2a3756; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); margin: 0 auto; }
.st-phone .scr { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.st-phone .scr.on { opacity: 1; transform: none; }
.st-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.st-dots i { width: 6px; height: 6px; border-radius: 6px; background: #3a4866; transition: all .4s var(--ease); }
.st-dots i.on { width: 22px; background: var(--gold); }

/* Fonctionnalités */
.feats { display: grid; gap: 20px; margin-top: 56px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--panel); border-radius: var(--radius); padding: 48px; }
.feat:nth-child(even) .fx { order: -1; }
.feat h3 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.025em; font-weight: 800; }
.feat > div > p { margin-top: 12px; color: var(--ink-2); }
.feat .ticks { margin-top: 20px; }
.feat .ticks li { font-weight: 500; }
.fx { background: #fff; border-radius: 22px; padding: 22px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; font-size: 14px; position: relative; overflow: hidden; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* Petites illustrations codées */
.flight { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.flight .code { font: 800 22px/1 var(--display); }
.flight .path { height: 2px; background: var(--line); position: relative; }
.flight .path i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); animation: fly 6s var(--ease) infinite; }
@keyframes fly { 0% { left: 0; } 80%, 100% { left: calc(100% - 12px); } }
.tl { display: grid; gap: 0; margin-top: 18px; }
.tl div { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
.tl s { color: var(--ink-3); }
.lvls { display: grid; gap: 10px; }
.lvl { display: grid; grid-template-columns: 74px 1fr 56px; gap: 12px; align-items: center; font-weight: 700; }
.lvl .b { height: 10px; border-radius: 10px; background: var(--panel); overflow: hidden; }
.lvl .b i { display: block; height: 100%; border-radius: 10px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.seen .lvl .b i { transform: scaleX(var(--w)); }
.lvl small { color: var(--ink-3); font-weight: 600; text-align: right; }
.bub { max-width: 78%; padding: 10px 14px; border-radius: 16px; margin-top: 8px; }
.bub.in { background: var(--panel); border-bottom-left-radius: 4px; }
.bub.me { background: var(--ink); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bub small { display: block; opacity: .6; font-size: 11px; margin-top: 2px; }
.inv { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.inv:first-of-type { border-top: 0; }
.plan { display: grid; grid-template-columns: 64px repeat(6, 1fr); gap: 6px 4px; align-items: center; font-size: 12px; }
.plan .h { color: var(--ink-3); font-weight: 700; }
.plan .blk { height: 30px; border-radius: 8px; background: var(--gold-soft); border: 1px solid #ead9b4; display: flex; align-items: center; padding: 0 8px; font-weight: 700; color: var(--gold-ink); overflow: hidden; white-space: nowrap; }
.plan .blk.n { background: var(--panel); border-color: var(--line); color: var(--ink-2); }
.zones { position: relative; height: 240px; border-radius: 16px; background: #eef1f6; overflow: hidden; }
.zones svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.price { position: absolute; right: 16px; bottom: 16px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(15,31,61,.12); }
.price b { font: 800 24px/1 var(--display); display: block; margin-top: 4px; }

/* Bande de chiffres vrais */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.fact { border-top: 2px solid var(--ink); padding-top: 18px; }
.fact b { font: 800 40px/1 var(--display); letter-spacing: -.03em; display: block; }
.fact span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* Origine */
.origin { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.origin blockquote { margin: 0; font: 700 clamp(24px, 2.6vw, 32px)/1.25 var(--display); letter-spacing: -.02em; }
.origin .who { margin-top: 18px; color: var(--ink-3); font-weight: 600; }
.origin .card { padding: 24px; border-radius: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 700 19px/1.3 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .35s var(--ease); stroke: var(--ink); fill: none; stroke-width: 2; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* Fin */
.end { text-align: center; background: var(--panel); border-radius: 40px; margin: 0 12px 12px; }
.end h2 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.end .wl .row { background: #fff; }
.end .wl .role { background: #fff; }
.end .wl .role .pill { background: var(--panel); box-shadow: none; }
footer { padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .top nav { display: none; }
  .devices { height: auto; display: flex; justify-content: center; }
  .laptop, .devices .base { display: none; }
  .devices .phone { position: relative; right: auto; top: auto; }
  .st-grid { grid-template-columns: 1fr 300px; gap: 40px; }
  .feat { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .feat:nth-child(even) .fx { order: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .origin { grid-template-columns: 1fr; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 720px) {
  :root { --gutter: 16px; --radius: 22px; }
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .top .wrap { height: 72px; gap: 12px; }
  /* Sur téléphone, 50 px de haut ferait 240 px de large : trop pour tenir à côté du bouton */
  .logo-img { height: 38px; }
  .top.scrolled .wrap { height: 60px; }
  .top.scrolled .logo-img { height: 30px; }
  .hero { padding-top: 40px; }
  .hero h1 { margin-top: 20px; }
  .wl .row { flex-direction: column; padding: 6px; }
  .wl input { height: 50px; }
  .wl .row .btn { width: 100%; }
  .devices { margin-top: 44px; }
  .phone { width: 260px; height: 532px; border-radius: 42px; }
  .aud-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .aud-c { padding: 26px 22px; }
  .story { border-radius: 28px; margin: 0 8px; }
  .story .wrap { padding: 0 16px; }
  .st-grid { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .st-phone { order: -1; top: 60px; z-index: 2; padding: 10px 0 14px; background: var(--ink); }
  .st-phone .phone { width: 210px; height: 300px; border-radius: 30px; border-width: 7px; }
  .st-phone .phone::before { width: 60px; height: 16px; top: 6px; }
  .st-phone .scr { padding: 30px 12px 12px; font-size: 11.5px; }
  .st-phone .scr .hd { margin-bottom: 8px; }
  .st-phone .scr .hd b { font-size: 14px; }
  .st-step { min-height: 74vh; padding: 0 0 7vh; justify-content: flex-end; }
  .st-step:first-child { min-height: 46vh; }
  .st-step::before { position: static; translate: none; width: 34px; height: 34px; line-height: 30px; font-size: 14px; margin-bottom: 12px; }
  .st-step p { font-size: 16px; }
  .st-dots { margin-top: 10px; }
  .feat { padding: 24px 18px; border-radius: 22px; }
  .fx { padding: 16px; min-height: 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fact b { font-size: 30px; }
  .end { border-radius: 28px; margin: 0 8px 8px; }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .plan { grid-template-columns: 46px repeat(4, 1fr); font-size: 11px; }
  .plan .blk { padding: 0 5px; font-size: 11px; }
  .hero .tag { font-size: 13px; }
  .plan .x { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
