/* =============================================================================
   Halta — landing page
   Tokens repris de constants/design.ts / DESIGN_SYSTEM.md (mode clair uniquement).
   Aucune couleur d'UI hors palette : les deux accents « bleu lac » et « jaune
   soleil » du doc de direction artistique ne servent qu'aux illustrations.
   ========================================================================== */

:root {
  /* Palette (DESIGN_SYSTEM.md §2) */
  --bg: #faf6ef;
  --surface: #ffffff;
  --primary: #2e5e3a;
  --primary-dark: #24492f;
  --on-primary: #ffffff;
  --accent: #be5b2c;
  --accent-soft: #f2e4d8;
  --text: #2b2a26;
  --muted: #7b7567;
  --border: #e9e1d2;
  --chip-bg: #f0eadb;
  --chip-text: #5a5443;

  /* Échelle de distance au tracé (DESIGN_SYSTEM.md §3) */
  --d-very-near: #38894e;
  --d-near: #2e5e3a;
  --d-mid: #be5b2c;
  --d-far: #b23a2e;

  /* Rayons (§7) */
  --r-card: 18px;
  --r-control: 12px;
  --r-pill: 999px;

  /* Ombre unique (§8) */
  --shadow: 0 6px 14px rgba(59, 42, 24, 0.1);
  --shadow-lift: 0 18px 40px rgba(59, 42, 24, 0.16);

  /* Rythme */
  --shell: 1180px;
  --gutter: 20px;
  --section-y: clamp(72px, 9vw, 132px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Réinitialisation ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* `clip` (et non `hidden`) : coupe les décors qui débordent — le tracé du
     chapitre 2 — sans créer de conteneur de défilement parasite. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, 'Times New Roman', serif;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
/* `height: auto` est indispensable : les <img> portent width/height (ratio
   intrinsèque), sans quoi la hauteur en attribut est appliquée telle quelle. */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Blocs de texte ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light { color: #f4e3d4; }

.dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: currentColor;
}

.section__title {
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
}

.lead {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(16px, 1.35vw, 18px);
  color: var(--muted);
}

.lead--center { margin-inline: auto; text-align: center; }
.lead--light { color: rgba(255, 255, 255, 0.86); }

.caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Boutons ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 13px 20px;
  border: 1.5px solid transparent;
  border-radius: var(--r-control);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }

.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 13px; }
.btn--lg { padding: 15px 24px; font-size: 15px; }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* En-tête ------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-block: 14px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header.is-stuck {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.wordmark {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-family: Fraunces, Georgia, serif;
  font-weight: 900;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.3s var(--ease);
}

.site-header.is-stuck .wordmark { color: var(--primary); }
.wordmark--light { color: var(--bg); font-size: 27px; }

.wordmark__leaf {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #8fb27a;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s var(--ease);
}

.site-header.is-stuck .site-nav { color: var(--text); }
.site-nav a { position: relative; padding-block: 4px; }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.25s var(--ease);
}
.site-nav a:hover::after { right: 0; }

.site-header .btn--primary { flex: none; }

/* Chapitre 1 — Le départ ---------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-block: 140px 96px;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: -12% 0 -12%;
  background: url('assets/hero.jpg') center 38% / cover no-repeat;
  will-change: transform;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 40, 28, 0.58) 0%, rgba(30, 40, 28, 0) 30%),
    linear-gradient(0deg, rgba(26, 36, 25, 0.9) 10%, rgba(26, 36, 25, 0.44) 48%, rgba(26, 36, 25, 0) 74%);
}

.hero__inner { position: relative; }

.hero__title {
  font-weight: 900;
  /* Plafond calé sur la 2ᵉ ligne (« Trouvez toujours où vous arrêter. ») pour
     qu'elle tienne d'un bloc et ne laisse pas « arrêter. » orphelin. */
  font-size: clamp(38px, 5.4vw, 68px);
  text-shadow: 0 2px 24px rgba(24, 32, 22, 0.35);
}

.hero__lead {
  margin-top: 22px;
  max-width: 48ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.9);
}

.hero__cue {
  margin-top: 22px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 600;
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

/* Badges stores — inertes tant que l'app n'est pas publiée -------------------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--r-control);
  background: rgba(20, 26, 19, 0.55);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.92);
  cursor: default;
}

.store-badge__glyph {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
  opacity: 0.9;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 14px;
  font-weight: 700;
}

.store-badge__text small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero__meta {
  margin-top: 28px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}
.hero__meta strong { color: #fff; font-weight: 700; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.scroll-hint__line {
  width: 1.5px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  animation: hint 2.2s var(--ease) infinite;
}

@keyframes hint {
  0%, 100% { transform: translateY(-6px) scaleY(0.7); opacity: 0.35; }
  50% { transform: translateY(4px) scaleY(1); opacity: 1; }
}

/* Sections ------------------------------------------------------------------ */
.section { padding-block: var(--section-y); }
.section--cream { background: var(--bg); }
.section--white { background: var(--surface); }

.section__head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}

/* Mise en page en deux colonnes --------------------------------------------- */
.split {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split__media {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 0.85fr; }
  .split--reverse .split__text { order: 2; }
  .split--reverse .split__media { order: 1; }
}

/* Cadre de téléphone -------------------------------------------------------- */
.phone {
  position: relative;
  width: 264px;
  max-width: 74vw;
  padding: 9px;
  border-radius: 42px;
  background: #211e19;
  box-shadow: var(--shadow-lift);
}

.phone::after {
  content: '';
  position: absolute;
  top: 17px;
  left: 50%;
  translate: -50% 0;
  width: 62px;
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.22);
}

.phone img { border-radius: 34px; }
.phone--lg { width: 296px; }

.phone--behind {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: 168px;
  z-index: -1;
  opacity: 0.92;
  rotate: 6deg;
}

/* Tracé animé (chapitre 2) --------------------------------------------------- */
.track {
  position: absolute;
  top: -9%;
  left: 50%;
  translate: -50% 0;
  height: 118%;
  width: auto; /* ratio du viewBox — évite tout débordement sous la section */
  z-index: 0;
  pointer-events: none;
}

.track__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 1; /* pathLength="1" est posé sur le <path> */
  stroke-dashoffset: 1;
  opacity: 0.55;
}

.track__dot { fill: var(--accent); opacity: 0; transition: opacity 0.4s var(--ease); }
.track__dot--end { fill: var(--primary); }
.is-drawn .track__dot { opacity: 0.8; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.stat {
  flex: 1 1 120px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

.section--white .stat { background: var(--bg); }

.stat dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat dd {
  margin: 4px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 24px;
}

/* Chips --------------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  background: var(--chip-bg);
  border-radius: var(--r-control);
  font-size: 13px;
  font-weight: 600;
  color: var(--chip-text);
}

/* Duo de captures ------------------------------------------------------------ */
.duo {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  justify-items: center;
}

@media (min-width: 720px) {
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.duo__item { margin: 0; text-align: center; }

.duo__item figcaption {
  margin-top: 18px;
  max-width: 30ch;
  margin-inline: auto;
  font-size: 14px;
  color: var(--muted);
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 62ch;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  font-size: 15px;
  color: var(--muted);
}

.note .icon { margin-top: 3px; width: 20px; height: 20px; color: var(--accent); }
.d-near { color: var(--d-very-near); font-weight: 700; }
.d-far { color: var(--d-far); font-weight: 700; }

/* Confiance & citation (chapitre 4) ------------------------------------------ */
.trust {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.trust .icon { width: 20px; height: 20px; color: var(--primary); }

.quote {
  margin: 32px 0 0;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

.quote blockquote {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.quote figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Itinéraires (chapitre 5) --------------------------------------------------- */
.routes {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.route {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.route:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.route__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }

.route__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.route:hover .route__cover img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(43, 42, 38, 0.78);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}

.route__body { padding: 18px 20px 20px; }

.route__body h3 {
  font-size: 19px;
  font-weight: 700;
}

.route__region {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.route__stats {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.diff { font-weight: 700; }
.diff--easy { color: var(--d-very-near); }
.diff--mid { color: var(--accent); }
.diff--hard { color: var(--d-far); }

.explorer-shot {
  margin: clamp(48px, 6vw, 72px) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.explorer-shot figcaption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* Étapes (chapitre 6) --------------------------------------------------------- */
.steps { display: grid; gap: clamp(56px, 7vw, 96px); }

.step {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  justify-items: center;
}

@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 0.7fr; justify-items: start; }
  .step:nth-child(even) .step__text { order: 2; }
  .step:nth-child(even) .step__media { order: 1; justify-self: end; }
  .step:nth-child(even) .step__text { justify-self: end; }
}

.step__text { max-width: 46ch; }

.step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
}

.step__text h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.step__text p { margin-top: 12px; color: var(--muted); }

/* Bandeau de chiffres (chapitre 7) -------------------------------------------- */
.band {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--primary);
  border-radius: var(--r-card);
  color: var(--on-primary);
  text-align: center;
}

.band__title {
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.band__stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 28px;
}

.band__stats dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.band__stats dd {
  margin: 6px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 40px);
}

.band__note {
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

/* Chapitre 8 — L'appel au départ ----------------------------------------------- */
.final {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(88px, 11vw, 150px);
  overflow: hidden;
  color: #fff;
}

.final__media {
  position: absolute;
  inset: 0;
  background: url('assets/hero.jpg') 72% 34% / cover no-repeat;
}

.final__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 36, 25, 0.6) 0%, rgba(26, 36, 25, 0.78) 100%);
}

.final__inner {
  position: relative;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .final__inner { grid-template-columns: 1fr 0.9fr; }
}

.final__title {
  font-weight: 900;
  font-size: clamp(32px, 5vw, 60px);
}

/* Formulaire liste d'attente ---------------------------------------------------- */
.waitlist {
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lift);
  color: var(--text);
}

.waitlist__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--chip-text);
}

.waitlist__row { display: grid; gap: 10px; }

@media (min-width: 520px) {
  .waitlist__row { grid-template-columns: 1fr auto; }
}

.waitlist__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-control);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.waitlist__input::placeholder { color: #a9a294; }
.waitlist__input:focus { border-color: var(--primary); background: var(--surface); }
.waitlist__input[disabled] { opacity: 0.6; cursor: not-allowed; }

.waitlist__help {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.waitlist__status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.2em;
}

.waitlist__status:empty { margin-top: 0; min-height: 0; }
.waitlist__status[data-tone='ok'] { color: var(--primary); }
.waitlist__status[data-tone='error'] { color: var(--d-far); }
.waitlist__status[data-tone='info'] { color: var(--muted); font-weight: 500; }

/* Pied de page ------------------------------------------------------------------ */
.site-footer {
  padding-block: clamp(48px, 6vw, 76px) 28px;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-footer__inner {
  display: grid;
  gap: 40px;
}

@media (min-width: 780px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: start; }
}

.site-footer__brand p { margin-top: 14px; max-width: 40ch; }

.site-footer__nav {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(150px, auto));
}

.site-footer__nav h2 {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.site-footer__nav li + li { margin-top: 10px; }
.site-footer__nav a:hover { color: #fff; text-decoration: underline; }

.soon { color: rgba(255, 255, 255, 0.5); }
.soon em {
  font-style: normal;
  font-size: 11px;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
}

.site-footer__legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.credits { max-width: 78ch; }

/* Animations d'apparition --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in { opacity: 1; transform: none; }

/* Mobile ---------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .site-nav { display: none; }
  .site-header .btn--primary { margin-left: auto; }
  .split__text { text-align: left; }
  .phone--behind { display: none; }
  .track { display: none; }
}

@media (max-width: 520px) {
  .site-header .btn--primary { font-size: 12.5px; padding: 9px 13px; }
  .hero { padding-block: 128px 84px; }
}

/* Accessibilité : mouvement réduit ---------------------------------------------------- */
@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;
  }

  .reveal { opacity: 1; transform: none; }
  .track__line { stroke-dashoffset: 0; }
  .track__dot { opacity: 0.8; }
  .hero__media { transform: none !important; }
}
