/* Vitrine Slary — feuille de style unique de la landing.
 *
 * Reprise à l'identique des styles inline de l'ancienne page React
 * (app/src/pages/LandingDemo.jsx, branche release/june_2026_old_demo).
 * Les seules interactions (menu mobile, accordéon FAQ) sont ici en CSS pur
 * sur les états natifs de <details> : la page ne charge aucun JavaScript.
 */

:root {
  /* Palette dérivée du logo (landing/logo.svg) : sable #e9e1d1, terre #be7a50.
     Les variantes existent pour le contraste, pas pour la décoration —
     `terre` seul ne passe pas AA sous du texte (3,45:1 sur blanc). */
  --terre: #be7a50; /* la teinte du logo : accents, aplats, texte sur fond sombre */
  --terre-fort: #a25f38; /* fonds portant du texte blanc — 4,96:1 */
  --terre-sombre: #8a4f2d; /* survols et fins de dégradés — 6,49:1 */
  --terre-clair: #d9a273; /* accent sur fond sombre — 7,87:1 */
  --sable: #e9e1d1; /* le fond du logo */
  --sable-clair: #f7f3ec;
  --ink: #1f1712; /* encre chaude — 17,65:1 sur blanc */
  --head: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.snap {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Libellés de formulaire réservés aux lecteurs d'écran (le champ porte un
   placeholder visuel, mais un placeholder n'est pas un label). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Animations ── */
@keyframes slary-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes slary-float-card { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-8px) rotate(-5deg); } }
@keyframes slary-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slary-cue-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.rise { animation: slary-rise .8s ease both; }
.cue-arrow { animation: slary-cue-bounce 1.6s ease-in-out infinite; }

/* ── Boutons (états de survol) ── */
.btn-primary { transition: transform .18s ease, box-shadow .18s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(190, 122, 80, .42); }
.btn-ghost { transition: border-color .18s ease, color .18s ease; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ── Nav (fixe) ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 23, 18, .05);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* Le logo est une image, pas une lettre redessinée en CSS : une seule source
   de vérité pour la marque (landing/logo.svg, le même fichier que le front). */
.logo-img {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: block;
  box-shadow: 0 4px 12px rgba(138, 79, 45, .2);
}
.logo-text { font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.6px; }

.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-link { font-size: 14.5px; font-weight: 500; color: #54453a; text-decoration: none; }
.nav-cta {
  padding: 10px 20px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--ink);
  border-radius: 10px;
  text-decoration: none;
}

/* Menu mobile : <details> natif, aucun JavaScript. */
.nav-mobile { display: block; }
.nav-burger {
  display: flex;
  padding: 4px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.nav-burger::-webkit-details-marker { display: none; }
.icon-close { display: none; }
.nav-mobile[open] .icon-burger { display: none; }
.nav-mobile[open] .icon-close { display: block; }
.nav-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  padding: 8px 24px 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid #f2ece1;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px);
}
.menu-link {
  display: block;
  padding: 14px 0;
  font-size: 16px; font-weight: 500; color: #3f3128;
  text-decoration: none;
  border-bottom: 1px solid #f2ece1;
}
.menu-cta {
  display: block;
  margin-top: 12px;
  padding: 14px;
  font-size: 16px; font-weight: 600; color: #fff;
  background: var(--ink);
  border-radius: 12px;
  text-decoration: none; text-align: center;
}

/* ── Section 1 · Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #f7f3ec 0%, #fff 70%);
  overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(31, 23, 18, .045) 1px, transparent 0);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -120px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 122, 80, .16), transparent 65%);
  pointer-events: none;
}
.hero-body { position: relative; flex: 1; display: flex; align-items: center; width: 100%; }
.hero-grid {
  max-width: 1120px; margin: 0 auto; width: 100%;
  padding: 96px 24px 32px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px;
  font-size: 12.5px; font-weight: 500; color: #3f3128;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(31, 23, 18, .08);
  border-radius: 30px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(31, 23, 18, .04);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terre);
  box-shadow: 0 0 0 3px rgba(190, 122, 80, .2);
}
.hero-title {
  font-family: var(--head);
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 600; line-height: 1.05;
  margin: 0 0 22px;
  color: var(--ink);
  letter-spacing: -2px;
}
.hero-accent {
  background: linear-gradient(120deg, var(--terre-fort), var(--terre-sombre));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub { font-size: 18px; line-height: 1.6; color: #6b5c50; margin: 0 0 34px; max-width: 480px; font-weight: 400; }
.hero-btns { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 30px;
  font-size: 16px; font-weight: 600; color: #fff;
  /* `--terre` seul ne porterait pas du blanc (3,45:1) : la variante foncée si. */
  background: var(--terre-fort);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(190, 122, 80, .32);
}
.hero-btn-outline {
  display: inline-flex; align-items: center;
  padding: 15px 26px;
  font-size: 15px; font-weight: 500; color: #54453a;
  background: #fff;
  border: 1.5px solid #e4dbcd;
  border-radius: 14px;
  text-decoration: none;
}
.hero-trust { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trust-label { font-size: 13px; font-weight: 500; color: #a3917f; }
.trust-pill {
  font-size: 12.5px; font-weight: 600; color: #3f3128;
  background: #fff;
  border: 1px solid #ebe3d6;
  border-radius: 9px;
  padding: 6px 13px;
  box-shadow: 0 1px 3px rgba(31, 23, 18, .04);
}

/* ── Maquette téléphone ── */
.phone-wrap {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  animation: slary-float 5.5s ease-in-out infinite;
}
.blob-green {
  position: absolute; top: -30px; right: 0;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(190, 122, 80, .20);
  filter: blur(80px);
  z-index: 0;
}
.blob-purple {
  position: absolute; bottom: -20px; left: -10px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(138, 79, 45, .18);
  filter: blur(80px);
  z-index: 0;
}
.float-card {
  position: absolute; z-index: 4; bottom: 56px; left: -6px;
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(31, 23, 18, .16);
  transform: rotate(-5deg);
  animation: slary-float-card 5.5s ease-in-out infinite;
}
.float-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--terre);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(190, 122, 80, .35);
}
.float-amount { display: block; font-family: var(--head); font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }
.float-meta { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: #7a6a5e; }

.phone {
  position: relative; z-index: 1;
  width: 322px;
  background: var(--ink);
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 40px 80px rgba(31, 23, 18, .32), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.phone-notch {
  position: absolute; top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 116px; height: 26px;
  background: var(--ink);
  border-radius: 0 0 18px 18px;
  z-index: 3;
}
.phone-screen { background: #faf7f1; border-radius: 36px; padding: 30px 20px 22px; }
.app-header { display: flex; align-items: center; gap: 12px; margin: 8px 0 22px; }
.app-avatar {
  width: 44px; height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--terre), var(--terre-sombre));
  color: #fff;
  font-family: var(--head); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-identity { flex: 1; }
.app-hello { display: block; font-size: 12.5px; color: #a3917f; }
.app-name { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.app-bell {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #efe8dc;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.balance-card {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #241a13 0%, #3d2718 100%);
  border-radius: 24px;
  padding: 24px 22px 21px;
  margin-bottom: 16px;
  box-shadow: 0 14px 30px rgba(36, 26, 19, .3);
}
.balance-glow {
  position: absolute; top: -40px; right: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 122, 80, .4), transparent 65%);
}
.balance-label { position: relative; margin: 0 0 8px; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .62); }
.balance-value { position: relative; margin: 0 0 16px; font-family: var(--head); font-size: 46px; font-weight: 700; color: #fff; letter-spacing: -1.8px; }
.progress-track { position: relative; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; margin-bottom: 10px; }
.progress-fill { width: 50%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--terre), #d9a273); }
.balance-hint { position: relative; margin: 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
.withdraw-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  background: var(--terre);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(190, 122, 80, .32);
}
.pay-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #efe8dc;
  border-radius: 14px;
}
.pay-row-label { font-size: 13px; font-weight: 400; color: #7a6a5e; }
.pay-row-value { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* ── Bande chiffres (sol du hero) ── */
.numbers-band { position: relative; background: var(--ink); padding: 34px 24px 26px; }
.numbers-hairline {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(800px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 122, 80, .6), transparent);
}
.numbers-row { max-width: 840px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.number-item { flex: 1; text-align: center; padding: 8px 20px; }
.number-value { font-family: var(--head); font-size: clamp(24px, 4vw, 34px); font-weight: 600; color: var(--terre); margin: 0 0 5px; letter-spacing: -.8px; }
.number-label { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin: 0; }
.number-sep { width: 1px; height: 42px; background: rgba(255, 255, 255, .1); flex-shrink: 0; }

/* ── Indice de scroll ── */
.cue {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
}
.cue-dark { color: #a3917f; }
.cue-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ── Section 2 · Comment ça marche ── */
.how {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: #fff;
  padding: 24px 24px 28px;
}
.how-body { flex: 1; display: flex; align-items: center; justify-content: center; }
.section-inner { max-width: 1000px; margin: 0 auto; width: 100%; }
.section-eyebrow { text-align: center; margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--terre-fort); }
.section-title { font-family: var(--head); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; text-align: center; margin: 0 0 10px; color: var(--ink); letter-spacing: -1.4px; }
.section-sub { font-size: 15.5px; color: #7a6a5e; text-align: center; margin: 0 0 48px; font-weight: 400; }

/* Frise connectée : le trait de liaison est un pseudo-élément (horizontal en
   desktop, vertical en mobile) — un <ol> ne peut pas contenir de <div>. */
.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute; top: 27px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--terre), var(--terre-sombre));
  border-radius: 2px;
  z-index: 0;
}
.timeline::after {
  content: "";
  display: none;
  position: absolute; left: 26px; top: 30px; bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--terre), var(--terre-sombre));
  border-radius: 2px;
  z-index: 0;
}
.tl-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tl-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terre), var(--terre-sombre));
  color: #fff;
  font-family: var(--head); font-weight: 700; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border: 5px solid #fff;
  box-shadow: 0 8px 20px rgba(138, 79, 45, .25);
  flex-shrink: 0;
}
.tl-title { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.tl-desc { margin: 0; font-size: 14px; color: #7a6a5e; line-height: 1.65; max-width: 230px; font-weight: 400; }

/* ── Section 3 · Sécurité & conformité ── */
.sec {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--ink);
  overflow: hidden;
  padding: 24px 24px 28px;
}
.sec-glow {
  position: absolute; top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 360px;
  background: radial-gradient(circle, rgba(190, 122, 80, .13), transparent 65%);
  pointer-events: none;
}
.sec-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; }
.sec-eyebrow { text-align: center; margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--terre); }
.sec-title { font-family: var(--head); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; text-align: center; margin: 0 0 10px; color: #fff; letter-spacing: -1.4px; }
.sec-sub { font-size: 15.5px; color: rgba(255, 255, 255, .6); text-align: center; margin: 0 0 44px; font-weight: 400; }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.sec-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  padding: 24px 22px;
}
.sec-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(190, 122, 80, .12);
  border: 1px solid rgba(190, 122, 80, .25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--terre);
}
.sec-card-title { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: #fff; }
.sec-card-desc { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .6); line-height: 1.6; font-weight: 400; }

/* ── Section 4 · FAQ (accordéon natif) ── */
.faq {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: #f7f3ec;
  padding: 24px 24px 28px;
}
.faq-body { flex: 1; display: flex; align-items: center; justify-content: center; }
.faq-list { max-width: 720px; margin: 30px auto 0; }
.faq-item { border-bottom: 1px solid #e6ddd0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  text-align: left;
  font-family: var(--body); font-size: 16.5px; font-weight: 600; color: var(--ink);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; color: var(--terre); transition: transform .2s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a { margin: 0 4px; padding: 0 0 20px; font-size: 14.5px; color: #6b5c50; line-height: 1.65; font-weight: 400; max-width: 650px; }

/* ── Section 5 · CTA + footer ── */
.cta-wrap {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, #241a13 0%, #3d2718 100%);
}
.cta-glow {
  position: absolute; top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 360px;
  background: radial-gradient(circle, rgba(190, 122, 80, .22), transparent 65%);
  pointer-events: none;
}
.cta-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.cta-title { font-family: var(--head); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; color: #fff; margin: 0 0 12px; letter-spacing: -1.4px; }
.cta-sub { font-size: 15.5px; color: rgba(255, 255, 255, .7); margin: 0 0 34px; font-weight: 400; }

.form { max-width: 540px; margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; }
.form input {
  flex: 1; min-width: 130px;
  padding: 14px 16px;
  font-family: var(--body); font-size: 15px;
  border: 1.5px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.form input[type="email"] { flex: 2; }
.form input::placeholder { color: rgba(255, 255, 255, .55); }
.form input:focus-visible { border-color: var(--terre); }
.form-btn {
  padding: 14px 24px;
  font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--terre);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease;
}
.form-btn:hover { transform: translateY(-2px); }
.form-err { width: 100%; margin: 6px 0 0; font-size: 13px; color: #fecaca; text-align: center; }
.form-ok { max-width: 540px; margin: 0 auto; text-align: center; padding: 16px; font-size: 16px; font-weight: 500; color: #fff; }

.footer { position: relative; padding: 28px 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin-bottom: 14px; flex-wrap: wrap; }
.footer-link { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-legal { margin: 0; font-size: 11px; color: rgba(255, 255, 255, .4); line-height: 1.6; }

/* ── Adaptations (mêmes points de rupture que l'ancienne page) ── */
@media (min-width: 769px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { text-align: center; align-items: center; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .float-card { display: none; }
}

@media (max-width: 768px) {
  .numbers-row { flex-direction: column; gap: 0; }
  .number-sep { width: 80%; height: 1px; }
  .hero-btns { flex-direction: column; }
  .sec-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .timeline::after { display: block; }
  .tl-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 18px; padding: 16px 0; }
  .tl-body { padding-top: 5px; }
}

/* Écran étroit ou peu haut : le scroll par sections devient pénible. */
@media (max-width: 900px), (max-height: 700px) {
  html { scroll-snap-type: none; }
  .snap { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

