/* lerat.app — feuille unique du site vitrine et des pages légales.
   Tokens repris de la palette de l'app (app/lib/design/tokens.dart, Kachi 2.0 « Aura »).
   Thème sombre de référence ; le thème clair suit le réglage du système. */

@font-face { font-family: "Hanken"; src: url("fonts/hanken-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("fonts/hanken-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("fonts/hanken-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("fonts/hanken-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("fonts/hanken-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark light;
  --bg: #0b0c0e;
  --bg-2: #0f1114;
  --surface: #16181b;
  --surface-2: #1f2226;
  --surface-3: #2a2e33;
  --line: #25282d;
  --line-strong: #32363c;
  --ink: #f2f3f5;
  --muted: #9ba1a9;
  --faint: #868c94;
  --accent: #4faeff;
  --accent-ink: #4faeff;
  --accent-soft: #14283a;
  --on-accent: #04121f;
  --gold: #d7a95f;
  --gold-soft: #2a2213;
  --success: #3fcb86;
  --warning: #eba84a;
  --danger: #f06158;
  --glass: rgba(22, 24, 27, 0.62);
  --glass-line: rgba(255, 255, 255, 0.08);
  --glow-a: rgba(79, 174, 255, 0.22);
  --glow-b: rgba(215, 169, 95, 0.12);
  --hl-a: #4faeff;
  --hl-b: #a6dbff;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 30px 80px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.4);
  --bezel: #050607;
  --bezel-edge: #2c3035;
  --badge-bg: #000;
  --badge-ink: #fff;
  --badge-line: #3a3e44;

  --font: "Hanken", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #efeff1;
    --bg-2: #e8e9ec;
    --surface: #ffffff;
    --surface-2: #f3f4f6;
    --surface-3: #e7e8eb;
    --line: #e2e4e8;
    --line-strong: #d6d8dd;
    --ink: #0c0e10;
    --muted: #5f656d;
    --faint: #676d75;
    --accent: #2e9bf5;
    --accent-ink: #1769aa;
    --accent-soft: #e7f2fe;
    --on-accent: #ffffff;
    --gold: #b07f2c;
    --gold-soft: #fbf1de;
    --success: #1f9a5c;
    --warning: #c97a17;
    --danger: #d63a31;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-line: rgba(12, 14, 16, 0.08);
    --glow-a: rgba(46, 155, 245, 0.18);
    --glow-b: rgba(192, 143, 60, 0.14);
    --hl-a: #1f86dd;
    --hl-b: #1258a0;
    --shadow-1: 0 1px 2px rgba(11, 18, 32, 0.05), 0 10px 30px rgba(11, 18, 32, 0.07);
    --shadow-2: 0 30px 80px rgba(11, 18, 32, 0.18), 0 8px 24px rgba(11, 18, 32, 0.1);
    --badge-bg: #0c0e10;
    --badge-ink: #fff;
    --badge-line: #0c0e10;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.gold { color: var(--gold); }

.h-xl { font-size: clamp(46px, 6.6vw, 98px); letter-spacing: -0.045em; line-height: 0.93; }
.h-lg { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.04em; line-height: 0.98; }
.h-md { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.06; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.5; max-width: 40ch; }
.muted { color: var(--muted); }
.gold-text { color: var(--gold); }
.accent-text { color: var(--accent); }
.hl {
  background: linear-gradient(100deg, var(--hl-a) 0%, var(--hl-b) 50%, var(--hl-a) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons & store badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 30px -8px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 22px 0 18px; border-radius: 16px;
  background: var(--badge-bg); color: var(--badge-ink);
  box-shadow: inset 0 0 0 1px var(--badge-line);
  text-decoration: none; line-height: 1.1;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.badge:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent), 0 12px 30px -10px var(--glow-a); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; letter-spacing: 0.01em; }
.badge b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.offer-note { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.offer-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); flex: none; }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 14px 0 auto 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
  padding: 0 var(--gutter);
}
.nav-inner {
  pointer-events: auto;
  width: 100%; max-width: 1080px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: max-width 0.4s var(--ease), background 0.3s;
}
.nav.is-scrolled .nav-inner { max-width: 940px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.lang:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Ambient background ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(#000 55%, transparent 98%); mask-image: linear-gradient(#000 55%, transparent 98%); }
.ambient::before, .ambient::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); }
.ambient::before { width: 760px; height: 760px; right: -180px; top: -260px; background: radial-gradient(circle, var(--glow-a), transparent 65%); }
.ambient::after { width: 620px; height: 620px; left: -260px; bottom: -200px; background: radial-gradient(circle, var(--glow-b), transparent 65%); }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(120px, 15vw, 170px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; align-content: center; }
.hero-copy .lead { max-width: 34ch; }
.pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.pill img { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); }
.pill b { color: var(--ink); }
.hero-cta { display: grid; gap: 14px; }
.qr-hint { display: none; }
@media (min-width: 1100px) and (hover: hover) {
  .qr-hint { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
  .qr-hint .qr { width: 60px; height: 60px; padding: 5px; background: #fff; border-radius: 10px; }
}

.stage { position: relative; height: clamp(560px, 62vw, 700px); }
.stage .phone { position: absolute; right: 2%; top: 50%; transform: translateY(-50%) rotate(2deg); width: clamp(240px, 22vw, 300px); z-index: 2; }
.stage .hero-rat { position: absolute; left: 0; bottom: 2%; width: clamp(120px, 11vw, 158px); z-index: 3; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); }
.stage .hero-rat img { width: 100%; height: auto; }

.bubble {
  position: absolute; z-index: 4; left: 0; top: 33%;
  max-width: 250px; padding: 14px 18px; border-radius: 22px 22px 22px 6px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2);
  font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
  transform-origin: 0% 100%;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.bubble .who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.bubble .who i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.bubble.is-out { opacity: 0; transform: translateY(6px) scale(0.96); }
.bubble .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.chip-float {
  position: absolute; z-index: 1;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: 16px;
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-1);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--s, 1));
  transition: transform 0.6s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}
.chip-float .ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.chip-float .ico svg { width: 16px; height: 16px; }
.chip-float .ico.gold { background: var(--gold-soft); color: var(--gold); }
.chip-float .ico.green { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }
.chip-float small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.chip-float.far { filter: blur(1.2px); opacity: 0.75; --s: 0.92; z-index: 0; }
.chip-float.c1 { left: 0; top: 9%; z-index: 4; animation-delay: -1s; }
.chip-float.c2 { right: -13%; top: 36%; animation-delay: -3s; }
.chip-float.c3 { right: -6%; bottom: 24%; z-index: 3; animation-delay: -5s; }
.chip-float.c4 { left: 27%; bottom: 3%; animation-delay: -2s; z-index: 4; }
.chip-float.c5 { left: 24%; top: 0; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .stage { height: 600px; max-width: 520px; width: 100%; margin: 0 auto; }
  .stage .phone { right: 4%; width: 260px; }
}
@media (max-width: 520px) {
  .stage { height: 540px; }
  .stage .phone { width: 220px; right: 0; }
  .stage .hero-rat { width: 150px; left: -4%; }
  .bubble { max-width: 220px; font-size: 15px; left: 0; top: 2%; }
  .chip-float { font-size: 12.5px; padding: 8px 11px; }
  .chip-float .ico { width: 24px; height: 24px; }
  .chip-float.c1, .chip-float.c2, .chip-float.c5 { display: none; }
  .chip-float.c3 { right: 0; bottom: 30%; }
  .chip-float.c4 { left: 30%; bottom: 2%; }
  .badges { gap: 10px; }
  .badge { height: 52px; padding: 0 14px 0 12px; gap: 9px; border-radius: 14px; }
  .badge svg { width: 22px; height: 22px; }
  .badge b { font-size: 16px; }
  .badge small { font-size: 10px; }
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative; border-radius: 46px; padding: 9px;
  background: var(--bezel);
  box-shadow: 0 0 0 1.5px var(--bezel-edge), 0 0 0 4px #0d0f11, var(--shadow-2);
}
.phone::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.05));
}
.phone .screen { position: relative; border-radius: 38px; overflow: hidden; aspect-ratio: 1320 / 2868; background: #0b0c0e; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .screen picture { position: absolute; inset: 0; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.phone .screen picture.is-off { opacity: 0; transform: scale(1.03); }

/* ---------- Fact bar ---------- */
.facts { position: relative; z-index: 1; padding: 8px 0 0; }
.facts ul {
  list-style: none; margin: 0; padding: 22px 8px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts li { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 6px 12px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.facts span { font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 720px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .facts li:nth-child(3) { border-left: 0; }
}

/* ---------- Différences ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: var(--r-lg); padding: 28px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.diff-card { display: grid; gap: 14px; align-content: start; min-height: 300px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.diff-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-1); }
.diff-card .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.diff-card .ico svg { width: 24px; height: 24px; }
.diff-card .ico.gold { background: var(--gold-soft); color: var(--gold); }
.diff-card h3 { font-size: 23px; letter-spacing: -0.025em; line-height: 1.1; }
.diff-card p { color: var(--muted); font-size: 16px; }
.diff-card .big { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.diff-card.feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 230px; align-items: end; gap: 10px; background: linear-gradient(160deg, var(--surface) 30%, var(--accent-soft)); }
.diff-card.feature .rat { width: 250px; align-self: end; margin: -20px -24px -34px -20px; }
.diff-card.feature .copy { display: grid; gap: 14px; align-self: start; }
@media (max-width: 1080px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card.feature { grid-column: auto; grid-template-columns: 1fr 110px; }
  .diff-card.feature .rat { width: 120px; }
  .diff-card { min-height: 0; }
}

/* ---------- Démo ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.demo-copy { display: grid; gap: 22px; }
.demo-copy .note { font-size: 13px; color: var(--faint); }
.chat {
  position: relative; border-radius: var(--r-xl); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  display: grid; grid-template-rows: auto 1fr auto; height: 600px; overflow: hidden;
}
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-top img { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); }
.chat-top b { display: block; font-size: 16px; }
.chat-top small { display: block; font-size: 12.5px; color: var(--muted); }
.chat-top .live { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--success); display: inline-flex; align-items: center; gap: 6px; }
.chat-top .live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chat-log { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 82%; animation: pop 0.35s var(--ease) both; }
.msg.me { align-self: flex-end; background: var(--accent); color: var(--on-accent); padding: 10px 15px; border-radius: 20px 20px 6px 20px; font-weight: 600; }
.msg.rat { align-self: flex-start; display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: end; }
.msg.rat img { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); }
.msg.rat .txt { background: var(--surface-2); padding: 11px 15px; border-radius: 20px 20px 20px 6px; font-weight: 500; }
.msg.typing .txt { display: inline-flex; gap: 4px; padding: 15px; }
.msg.typing .txt i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: bounce 1s infinite; }
.msg.typing .txt i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing .txt i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.exp {
  align-self: flex-start; margin-left: 43px; width: min(300px, 80%);
  border-radius: 18px; padding: 12px 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center;
  animation: pop 0.35s var(--ease) both;
}
.exp .cat { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 18px; }
.exp .cat svg { width: 18px; height: 18px; }
.exp b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.exp small { display: block; font-size: 12.5px; color: var(--muted); }
.exp .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.exp .ok svg { width: 13px; height: 13px; }
.chat-foot { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 34px; padding: 0 13px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.composer { display: grid; grid-template-columns: 1fr 46px; gap: 8px; }
.composer input {
  height: 46px; border-radius: 999px; border: 0; padding: 0 18px;
  background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong);
  font: inherit; font-size: 16px;
}
.composer input::placeholder { color: var(--faint); }
.composer input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.composer button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; }
.composer button svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .chat { height: 540px; }
}

/* ---------- Récit au scroll ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 96px); }
.story-steps { display: grid; }
.step { min-height: 78vh; display: grid; align-content: center; gap: 18px; padding: 40px 0; }
.step .k { font-size: 14px; font-weight: 800; color: var(--accent-ink); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.035em; line-height: 1.02; }
.step p { color: var(--muted); font-size: 18px; max-width: 44ch; }
.step ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.step li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; color: var(--ink); }
.step li svg { width: 18px; height: 18px; color: var(--success); margin-top: 3px; }
.step-media { display: none; }
.story-phone { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.story-phone .phone { width: min(330px, 100%); }
.story-phone .halo { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--glow-a), transparent 65%); filter: blur(30px); z-index: -1; }
.story-progress { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.story-progress i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background 0.3s, height 0.3s; }
.story-progress i.on { background: var(--accent); height: 22px; border-radius: 4px; }
@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .step { min-height: 0; padding: 36px 0; }
  .step-media { display: block; margin-top: 14px; }
  .step-media .phone { width: min(280px, 78vw); margin: 0 auto; }
}

/* ---------- Voyageurs ---------- */
.travel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.travel-visual { position: relative; border-radius: var(--r-xl); padding: 28px; background: linear-gradient(170deg, var(--surface), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); min-height: 520px; overflow: hidden; }
.travel-visual .globe-rat { position: absolute; right: -8px; bottom: -6px; width: 230px; }
.fx-list { display: grid; gap: 10px; position: relative; z-index: 1; max-width: 340px; }
.fx-row {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 18px; background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--glass-line);
}
.fx-row .flag { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: 0.02em; }
.fx-row b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.fx-row small { display: block; font-size: 12.5px; color: var(--muted); }
.fx-row .eq { text-align: right; }
.fx-row .eq b { color: var(--accent); }
.fx-row .lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--gold); }
.fx-row .lock svg { width: 11px; height: 11px; }
.travel-points { display: grid; gap: 18px; margin-top: 6px; }
.travel-points div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.travel-points .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.travel-points .ico svg { width: 21px; height: 21px; }
.travel-points b { display: block; font-size: 18px; letter-spacing: -0.015em; }
.travel-points p { color: var(--muted); font-size: 16px; }
.places { display: flex; flex-wrap: wrap; gap: 8px; }
.places span { padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) {
  .travel { grid-template-columns: 1fr; }
  .travel-visual { min-height: 480px; order: 2; }
  .travel-visual .globe-rat { width: 180px; }
}

/* ---------- Avant / après ---------- */
.life { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.life-card { display: grid; gap: 16px; align-content: start; }
.life-card .before { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--danger) 10%, transparent); font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--danger) 75%, transparent); text-decoration-thickness: 2px; }
.life-card .before::before { content: "✕"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--danger) 22%, transparent); color: var(--danger); font-size: 10px; font-weight: 800; text-decoration: none; }
.life-card h3 { font-size: 24px; letter-spacing: -0.025em; line-height: 1.12; }
.life-card p { color: var(--muted); font-size: 16px; }
.life-card .rat { width: 120px; margin: -6px 0 -28px auto; }
.life-card.wide { grid-column: span 2; grid-template-columns: 1fr 200px; align-items: end; background: linear-gradient(160deg, var(--surface) 35%, var(--gold-soft)); }
.life-card.wide .rat { width: 200px; margin: 0 -10px -28px 0; }
.life-card.wide .copy { display: grid; gap: 16px; align-self: start; }
@media (max-width: 960px) { .life { grid-template-columns: 1fr 1fr; } .life-card.wide { grid-column: span 2; } }
@media (max-width: 640px) {
  .life { grid-template-columns: 1fr; }
  .life-card.wide { grid-column: auto; grid-template-columns: 1fr 120px; }
  .life-card.wide .rat { width: 130px; }
}

/* ---------- Comparatif ---------- */
.compare-wrap { border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; padding-top: 22px; }
.compare thead th.us { color: var(--ink); }
.compare thead th.us span { display: inline-flex; align-items: center; gap: 8px; }
.compare thead th.us img { width: 24px; height: 24px; border-radius: 7px; }
.compare tbody th { font-weight: 600; font-size: 15.5px; width: 28%; }
.compare td { font-size: 15px; color: var(--muted); }
.compare td.us { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.compare .y, .compare .n { display: inline-flex; align-items: center; gap: 8px; }
.compare .y svg, .compare .n svg { width: 18px; height: 18px; flex: none; }
.compare .y svg { color: var(--success); }
.compare .n svg { color: var(--faint); }
.compare-note { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* ---------- Modèle équitable / confidentialité ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .card { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 4vw, 44px); }
.duo h3 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.03em; }
.duo p { color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 16px; }
.checks svg { width: 20px; height: 20px; color: var(--success); margin-top: 2px; }
.checks.gold svg { color: var(--gold); }
.price-line { display: flex; flex-wrap: wrap; gap: 10px; }
.price-line span { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 700; font-size: 14.5px; }
.price-line span.gold { background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 18px; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.25s var(--ease), margin 0.25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 24px 22px; color: var(--muted); display: grid; gap: 10px; }
.faq .a a { color: var(--accent-ink); }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; }
.final-card {
  position: relative; border-radius: 44px; padding: clamp(40px, 7vw, 90px) clamp(24px, 6vw, 80px);
  background: radial-gradient(120% 140% at 85% 0%, var(--accent-soft), var(--surface) 55%);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: end; overflow: hidden;
}
.final-card .copy { display: grid; gap: 24px; align-self: center; }
.final-card .rat { width: 300px; margin-bottom: calc(-1 * clamp(40px, 7vw, 90px)); }
@media (max-width: 860px) {
  .final-card { grid-template-columns: 1fr; }
  .final-card .rat { width: 220px; justify-self: center; }
}

/* ---------- Footer ---------- */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 110px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .foot-h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 14px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--ink); }
.foot .about { display: grid; gap: 14px; max-width: 36ch; }
.foot .about p { color: var(--muted); font-size: 14.5px; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot .about { grid-column: span 2; } }

/* ---------- Pages légales ---------- */
.legal { padding: 140px 0 40px; }
.legal .wrap { max-width: 820px; }
.legal-head { display: grid; gap: 16px; margin-bottom: 40px; }
.legal-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; }
.legal-head .meta { color: var(--muted); font-size: 15px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.legal-nav a { padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.legal-nav a[aria-current="page"] { color: var(--on-accent); background: var(--accent); box-shadow: none; }
.prose { color: var(--ink); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; letter-spacing: -0.025em; margin-top: 2em; line-height: 1.15; }
.prose h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 82%, var(--muted)); }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; }
.prose .callout, .prose .note, .prose .tldr { padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.lost .inner { display: grid; gap: 20px; justify-items: center; max-width: 520px; }
.lost img { width: 200px; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hl { animation: none; }
}

/* Voyageurs : en-tête et total de la liste de conversions */
.fx-head { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin: 2px 4px 6px; }
.fx-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; margin-top: 4px; border-radius: 18px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); font-weight: 700; font-size: 15px; }
.fx-total b { font-size: 20px; color: var(--accent); letter-spacing: -0.02em; }
.facts b.txt { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.25; letter-spacing: -0.03em; }
.facts li { align-content: start; }
