/* ==========================================================================
   Zano — zano-ai.com · Design system (charte Zano 2026, v1.0)
   Statique pur. Geist variable locale. Mode clair défaut + sombre (toggle).
   ========================================================================== */

/* ---------- Fonts (locales, zéro CDN) ---------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Couleurs charte */
  --ink: #1A2332;
  --ink-950: #0F1419;
  --ink-900: #161C23;
  --ink-800: #1A222C;
  --ink-700: #2A333E;
  --ink-500: #6B7785;
  --ink-400: #9AA5B1;
  --ink-300: #CDD4DC;
  --ink-200: #E5E9EE;
  --ink-100: #F2F4F7;
  --cloud: #F8F9FA;
  --white: #FFFFFF;
  --amber: #F4A23E;
  --amber-hover: #E08A25;
  --amber-subtle: rgba(244, 162, 62, 0.12);
  --green: #16A34A;
  --indigo: #2D3FA8;

  /* Rôles — mode clair (défaut) */
  --bg: var(--cloud);
  --surface: var(--white);
  --surface-raised: var(--white);
  --border: var(--ink-300);
  --border-subtle: var(--ink-100);
  --text: var(--ink);
  --text-secondary: var(--ink-500);
  --text-tertiary: var(--ink-400);
  --bubble-user: var(--ink-100);
  --accent: var(--amber);
  --accent-hover: var(--amber-hover);
  --accent-subtle: var(--amber-subtle);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 20, 25, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 20, 25, 0.12);
  --shadow-cta: 0 4px 12px rgba(244, 162, 62, 0.25);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --m-instant: 80ms;
  --m-fast: 150ms;
  --m-base: 250ms;
  --m-slow: 400ms;
}

[data-theme="dark"] {
  --bg: var(--ink-950);
  --surface: var(--ink-800);
  --surface-raised: var(--ink-900);
  --border: var(--ink-700);
  --border-subtle: var(--ink-700);
  --text: var(--ink-100);
  --text-secondary: var(--ink-400);
  --text-tertiary: var(--ink-500);
  --bubble-user: var(--ink-700);
  --accent-subtle: rgba(244, 162, 62, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--amber-subtle); }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }

.display-xl { font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem); line-height: 1.0; }
.display-l  { font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem); line-height: 1.05; }
.display-m  { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); line-height: 1.1; letter-spacing: -0.01em; }
.display-s  { font-size: 2rem; line-height: 1.15; letter-spacing: -0.01em; }
.heading-l  { font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.heading-m  { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.body-l     { font-size: 1.125rem; line-height: 1.55; font-weight: 400; letter-spacing: 0; }
.body-s     { font-size: 0.875rem; line-height: 1.5; }
.mono       { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.875rem; }

.muted   { color: var(--text-secondary); }
.subtle  { color: var(--text-tertiary); }
.accent-word { color: var(--accent); }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px)  { .container { padding-inline: 32px; } }
@media (min-width: 1100px) { .container { padding-inline: 48px; } }

.narrow { max-width: 720px; margin-inline: auto; }

section { padding-block: 64px; }
@media (min-width: 768px) { section { padding-block: 96px; } }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color var(--m-fast) var(--ease);
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta); background: var(--accent-hover); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 11px 19px;
}
.btn-secondary:hover { border-color: var(--text-secondary); transform: translateY(-1px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--m-fast) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border-subtle); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--amber);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav-links { display: none; gap: 28px; }
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--m-fast) var(--ease);
}
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 9px 16px; font-size: 0.9375rem; }
.nav-cta-label-long { display: none; }
@media (min-width: 560px) { .nav-cta-label-long { display: inline; } .nav-cta-label-short { display: none; } }

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: color var(--m-fast) var(--ease), border-color var(--m-fast) var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-secondary); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- Hero ---------- */
.hero { padding-block: 80px 64px; }
@media (min-width: 900px) { .hero { padding-block: 112px 96px; } }

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 55fr 45fr; gap: 64px; }
}

.hero-copy .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-sub { margin-top: 24px; max-width: 34rem; }
.hero-note { margin-top: 16px; font-size: 0.875rem; color: var(--text-tertiary); }

/* ---------- Scène signature : carte conversation ---------- */
.chat-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 20px;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--amber);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  animation: pulse-rest 4s ease-in-out infinite;
}
.chat-head-name { font-weight: 600; font-size: 0.9375rem; line-height: 1.2; }
.chat-head-status {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-head-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.chat-replay {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  transition: color var(--m-fast) var(--ease), background-color var(--m-fast) var(--ease);
}
.chat-replay:hover { color: var(--text); background: var(--border-subtle); }

.chat-body { display: flex; flex-direction: column; gap: 10px; }

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.msg-user {
  align-self: flex-end;
  background: var(--bubble-user);
  border-bottom-right-radius: var(--radius-sm);
}
.msg-zano {
  align-self: flex-start;
  background: var(--accent-subtle);
  border-bottom-left-radius: var(--radius-sm);
}

/* Waveform vocal */
.voice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.voice-bars { display: flex; align-items: center; gap: 3px; height: 22px; }
.voice-bars span {
  width: 3px;
  border-radius: 2px;
  background: var(--text-secondary);
  height: 30%;
}
.playing .voice-bars span { animation: wave 1.1s ease-in-out infinite; }
.voice-bars span:nth-child(1)  { height: 35%; animation-delay: 0ms; }
.voice-bars span:nth-child(2)  { height: 70%; animation-delay: 90ms; }
.voice-bars span:nth-child(3)  { height: 50%; animation-delay: 180ms; }
.voice-bars span:nth-child(4)  { height: 90%; animation-delay: 270ms; }
.voice-bars span:nth-child(5)  { height: 45%; animation-delay: 360ms; }
.voice-bars span:nth-child(6)  { height: 75%; animation-delay: 450ms; }
.voice-bars span:nth-child(7)  { height: 55%; animation-delay: 540ms; }
.voice-bars span:nth-child(8)  { height: 85%; animation-delay: 630ms; }
.voice-bars span:nth-child(9)  { height: 40%; animation-delay: 720ms; }
.voice-bars span:nth-child(10) { height: 60%; animation-delay: 810ms; }
.voice-time { font-family: "Geist Mono", monospace; font-size: 0.75rem; color: var(--text-tertiary); }

.msg-transcript { font-size: 0.875rem; color: var(--text-secondary); margin-top: 8px; }

/* Tâches qui se cochent */
.task-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}
.task-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text-tertiary);
  border: 1.5px dashed var(--border);
  transition: all var(--m-base) var(--ease);
}
.task-icon svg { opacity: 0; transform: scale(0.5); transition: all var(--m-base) var(--ease); }
.task.done .task-icon {
  border: none;
  background: var(--green);
  color: #fff;
  animation: glow-confirm 600ms var(--ease) 1;
}
.task.done .task-icon svg { opacity: 1; transform: scale(1); }
.task-note { margin-left: auto; font-size: 0.75rem; color: var(--text-tertiary); }

.chat-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Séquence animée : états pilotés par JS via [data-step] */
.chat-card [data-reveal-step] { opacity: 0; transform: translateY(6px); transition: opacity var(--m-base) var(--ease), transform var(--m-base) var(--ease); }
.chat-card [data-reveal-step].shown { opacity: 1; transform: none; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.4); }
}
@keyframes pulse-rest {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
@keyframes glow-confirm {
  0% { box-shadow: 0 0 0 0 rgba(244, 162, 62, 0.5); }
  100% { box-shadow: 0 0 0 12px rgba(244, 162, 62, 0); }
}

/* ---------- Stats (problème) ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.stat {
  flex: 1 1 160px;
  max-width: 220px;
  text-align: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stat-num { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); margin-top: 4px; }

/* ---------- Étapes ---------- */
.steps {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.9375rem; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 640px)  { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } }

.cell {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--m-fast) var(--ease), transform var(--m-fast) var(--ease);
}
.cell:hover { border-color: var(--accent); transform: translateY(-2px); }
.cell-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  color: var(--accent-hover);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.cell h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.cell p { font-size: 0.875rem; color: var(--text-secondary); }
@media (min-width: 1000px) { .cell-wide { grid-column: span 3; display: flex; align-items: center; gap: 24px; } .cell-wide .cell-icon { margin-bottom: 0; } }

/* ---------- Section app ---------- */
.app-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .app-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.phone {
  width: 270px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  padding: 16px 12px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone .msg { font-size: 0.8125rem; padding: 8px 12px; }
.phone .task { font-size: 0.75rem; padding: 8px 10px; }
.phone .task-icon { width: 18px; height: 18px; }
.phone .chat-head { border: none; margin: 0; padding-bottom: 6px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
}
.store-badge .subtle { display: block; font-size: 0.6875rem; line-height: 1.2; }
.store-badge strong { font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }

.app-points { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.app-point { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--text-secondary); }
.app-point svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }

/* ---------- Tarif ---------- */
.price-card {
  max-width: 480px;
  margin: 48px auto 0;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 36px;
}
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.price-amount .num { font-size: 3rem; font-weight: 700; letter-spacing: -0.02em; color: var(--accent-hover); }
.price-amount .per { color: var(--text-secondary); }
.price-setup { font-size: 0.875rem; color: var(--text-secondary); margin-top: 4px; }
.price-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; }
.price-list svg { flex-shrink: 0; color: var(--green); margin-top: 3px; }
.price-card .btn { width: 100%; margin-top: 32px; }

.price-compare {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) { .price-compare { grid-template-columns: repeat(3, 1fr); } }
.compare-item {
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.compare-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.compare-item p { font-size: 0.875rem; color: var(--text-secondary); }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; color: var(--text-tertiary); transition: transform var(--m-slow) var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.9375rem; }

/* ---------- Bandeau final + formulaire ---------- */
.final {
  background: var(--ink-950);
  color: var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 64px 24px;
  text-align: center;
}
@media (min-width: 768px) { .final { padding: 80px 64px; } }
.final .display-l { color: #fff; }
.final p { color: var(--ink-400); margin-top: 16px; }

.signup-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.signup-form input[type="email"] {
  flex: 1 1 260px;
  max-width: 360px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  background: var(--ink-900);
  color: var(--ink-100);
  font: 400 1rem "Geist", sans-serif;
}
.signup-form input[type="email"]::placeholder { color: var(--ink-500); }
.signup-form input[type="email"]:focus {
  border-color: var(--amber);
  outline: 2px solid rgba(244, 162, 62, 0.25);
  outline-offset: 0;
}
.signup-form .btn { height: 48px; }
.form-msg { margin-top: 16px; font-size: 0.9375rem; min-height: 1.5em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #F87171; }
.final .form-note { font-size: 0.8125rem; color: var(--ink-500); margin-top: 12px; }
.final .form-note a { color: var(--ink-400); }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
  margin-top: 64px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-brand .brand { font-size: 1.125rem; margin-bottom: 8px; }
.footer-brand p { max-width: 30rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; transition: color var(--m-fast) var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.7;
}

/* ---------- Pages légales ---------- */
.legal-page { padding-block: 64px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-date { color: var(--text-tertiary); font-size: 0.875rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.375rem; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal-page h3 { font-size: 1.0625rem; font-weight: 600; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--text-secondary); font-size: 0.9375rem; }
.legal-page p { margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 12px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--indigo); }
[data-theme="dark"] .legal-page a { color: #8B9BE8; }
.legal-page strong { color: var(--text); }
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 12px;
}
.legal-card p { margin-bottom: 4px; }

/* ---------- 404 ---------- */
.page-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 24px; }
.page-404 .display-xl { color: var(--accent); }

/* ---------- Reveals au scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--m-slow) var(--ease), transform var(--m-slow) var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 60ms; }
.reveal-d2 { transition-delay: 120ms; }
.reveal-d3 { transition-delay: 180ms; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .chat-card [data-reveal-step] { opacity: 1; transform: none; }
}

/* Sans JS : tout est visible, la scène chat est affichée complète */
.no-js .reveal, .no-js .chat-card [data-reveal-step] { opacity: 1; transform: none; }
.no-js .theme-toggle { display: none; }
