/* Site public dole-money.ga — refonte 2026-10 (maquette validée, campagne
 * « Votre argent. Votre contrôle. »). Feuille autonome : sans Tailwind, sans
 * librairie d'animation. Le back-office du site garde style.css.
 * Thème sombre assumé (identité Dolé) : nuit #1A0033, violets #2A1A5E /
 * #4A148C, or #FFD700.
 * Motion (2026-10, maquette validée) : un seul moment orchestré, le téléphone
 * du hero qui joue un envoi confirmé par l'empreinte (static/js/site.js).
 * Le reste est discret. Uniquement transform / opacity / clip-path. */

:root {
  --night: #1A0033;
  --violet: #2A1A5E;
  --violet-deep: #4A148C;
  --surface: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.10);
  --gold: #FFD700;
  --gold-hover: #FFE24D;
  --gold-soft: rgba(255, 215, 0, 0.12);
  --gold-line: rgba(255, 215, 0, 0.40);
  --on-gold: #1A0033;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.74);
  --ok: #69F0AE;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --app-yellow: #FFFF00;
  --phone-edge: #0B0016;
  --paid-bg: #10131A;
  --toast-bg: rgba(20, 4, 55, 0.92);
  --qr-bg: #FFFFFF;
  /* Courbes fortes : les easings CSS natifs sont trop mous */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.125em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ===== En-tête ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(26, 0, 51, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; }
.logo { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 19px; flex: none; }
.nav { position: relative; margin-left: auto; }
.nav-list { display: flex; gap: 2px; font-size: 15px; }
.nav-list a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav-active { position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 100% 0 0); opacity: 0; }
.nav-active.on { opacity: 1; }
.nav-active .nav-list a { color: var(--on-gold); background: var(--gold); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 44px; height: 44px; font-size: 20px; cursor: pointer; }
.menu-btn .mi { grid-area: 1 / 1; display: grid; place-items: center; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { opacity: 0; }
.menu-btn[aria-expanded="true"] .i-close { opacity: 1; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 20px 20px; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; color: var(--text); font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; width: 100%; border-bottom: 0; display: flex; }
.mobile-nav.open { display: block; }
@media (min-width: 721px) { .mobile-nav.open { display: none; } }
main:focus { outline: none; }

/* ===== Boutons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; font-weight: 700; text-decoration: none; min-height: 48px; padding: 0 22px; transition: transform 160ms var(--ease-out), background-color .2s ease, border-color .2s ease; cursor: pointer; border: 1px solid transparent; font-size: 16px; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.swap { display: inline-grid; }
.swap > span { grid-area: 1 / 1; }
.swap .swap-alt { opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dl-ic { display: inline-grid; }

/* ===== Messages ===== */
.flash { margin: 16px auto 0; max-width: 1180px; padding-inline: 20px; display: grid; gap: 8px; }
.flash p { margin: 0; border-radius: 12px; padding: 12px 16px; border: 1px solid var(--gold-line); background: var(--gold-soft); }
.flash p.error { border-color: rgba(239, 68, 68, 0.5); background: rgba(153, 27, 27, 0.35); color: #FCA5A5; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding-block: 64px 56px; background:
  radial-gradient(600px 400px at 85% 20%, rgba(74, 20, 140, 0.55), transparent 70%),
  radial-gradient(500px 300px at 10% 90%, rgba(42, 26, 94, 0.8), transparent 70%); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.flag { width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(#009E60 0 33.3%, #FCD116 33.3% 66.6%, #3A75C4 66.6%); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; margin: 18px 0; font-weight: 800; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
h1 .w > span { display: inline-block; }
h1 em.swashed { position: relative; display: inline-block; }
.swash { position: absolute; left: 0; bottom: -.06em; width: 100%; height: .22em; overflow: visible; }
.swash path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.meta { font-size: 13px; color: var(--muted); margin-top: 10px; font-variant-numeric: tabular-nums; }
.script { font-family: var(--script); color: var(--gold); font-size: 30px; line-height: 1.1; transform: rotate(-3deg); display: inline-block; margin-top: 30px; padding: 2px 6px; }
.proofs { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.proofs li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.badge-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; font-size: 16px; }
.proofs b { color: var(--text); font-weight: 600; }

/* Téléphone (recréation de l'accueil de l'app, vraies icônes) */
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1000px; }
.phone-stage.has-replay { margin-bottom: 44px; }
.tilt { transform-style: preserve-3d; }
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 19; border-radius: 42px; border: 10px solid var(--phone-edge); background: linear-gradient(180deg, #7E57C2, #263238); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; isolation: isolate; }
.screen { position: absolute; inset: 0; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.s-send, .s-done { background: linear-gradient(180deg, #7E57C2, #263238); }
.s-send { transform: translateX(100%); }
.s-done { opacity: 0; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.app-top { display: flex; justify-content: space-between; }
.app-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--app-yellow); }
.app-balance { border: 1.5px solid var(--app-yellow); border-radius: 16px; padding: 12px; background: rgba(255, 255, 255, .08); }
.app-balance small { color: var(--app-yellow); font-weight: 700; font-size: 11px; }
.app-balance strong { display: block; color: var(--app-yellow); font-weight: 800; font-size: 24px; text-align: center; margin: 6px 0; font-variant-numeric: tabular-nums; }
.app-balance span { display: flex; justify-content: space-between; font-size: 9px; color: rgba(255, 255, 255, .75); }
.app-balance .up { color: var(--ok); font-variant-numeric: tabular-nums; }
.app-balance .up.sent { color: rgba(255, 255, 255, .85); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-tile { border: 1px solid rgba(255, 255, 0, .55); border-radius: 12px; padding: 8px 4px; display: grid; justify-items: center; gap: 4px; background: rgba(255, 255, 255, .06); }
.app-tile img { width: 28px; height: 28px; }
.app-tile span { color: var(--app-yellow); font-size: 9px; font-weight: 700; text-align: center; line-height: 1.2; }
.send-top { display: flex; align-items: center; gap: 10px; color: var(--app-yellow); font-weight: 800; font-size: 15px; }
.send-top .back { font-size: 20px; line-height: 1; }
.who { display: flex; gap: 10px; align-items: center; border: 1px solid rgba(255, 255, 0, .55); border-radius: 14px; padding: 10px; background: rgba(255, 255, 255, .06); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--app-yellow); color: var(--on-gold); font-weight: 800; display: grid; place-items: center; }
.who b { display: block; font-size: 13px; }
.who small { font-size: 10px; color: rgba(255, 255, 255, .75); }
.amount-box { text-align: center; padding-block: 14px 6px; }
.amount-box small { font-size: 10px; color: rgba(255, 255, 255, .75); text-transform: uppercase; letter-spacing: .06em; }
.amount-box strong { display: block; color: var(--app-yellow); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; min-height: 1.3em; }
.after { font-size: 10px; color: rgba(255, 255, 255, .75); text-align: center; }
.confirm { margin-top: auto; background: var(--app-yellow); color: var(--on-gold); border-radius: 12px; text-align: center; font-weight: 800; font-size: 14px; padding: 11px; }
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--night); border-radius: 22px 22px 0 0; padding: 14px 16px 26px; display: grid; justify-items: center; gap: 8px; text-align: center; transform: translateY(100%); box-shadow: 0 -10px 30px rgba(0, 0, 0, .4); }
.grabber { width: 36px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); }
.fp { position: relative; width: 64px; height: 64px; font-size: 64px; margin-block: 6px; }
.fp .base, .fp .fill { position: absolute; inset: 0; }
.fp .ic { width: 100%; height: 100%; }
.fp .base { color: rgba(255, 255, 255, .28); }
.fp .fill { color: var(--gold); clip-path: inset(100% 0 0 0); }
.sheet b { font-size: 13px; }
.sheet small { font-size: 10px; color: rgba(255, 255, 255, .7); }
.done-ok { width: 70px; height: 70px; border-radius: 50%; background: var(--ok); color: var(--paid-bg); display: grid; place-items: center; font-size: 36px; }
.s-done .word { color: var(--ok); font-weight: 800; font-size: 20px; }
.s-done small { color: rgba(255, 255, 255, .8); font-size: 12px; }
.touch { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(255, 255, 255, .32); border: 2px solid rgba(255, 255, 255, .75); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; z-index: 5; }
.timer { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.again { position: absolute; left: 0; right: 0; bottom: -48px; margin-inline: auto; width: max-content; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 13px var(--font); cursor: pointer; transition: transform 160ms var(--ease-out), border-color .2s ease, color .2s ease; }
.again[hidden] { display: none; }
.toast { position: absolute; z-index: 2; right: -6px; bottom: 70px; background: var(--toast-bg); border: 1px solid var(--gold-line); border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.toast .ok { width: 32px; height: 32px; border-radius: 50%; background: var(--ok); color: var(--paid-bg); display: grid; place-items: center; flex: none; }
.toast b { display: block; font-size: 14px; }
.toast small { font-size: 12px; color: var(--muted); }

/* ===== Sections ===== */
section.block { padding-block: 84px; }
.alt { background: linear-gradient(180deg, rgba(42, 26, 94, .55), rgba(26, 0, 51, 0)); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.01em; margin: 10px 0 14px; font-weight: 800; text-wrap: balance; max-width: 20ch; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 40px; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; transition: border-color .2s ease; }
.fic { width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--gold-line); color: var(--gold); display: grid; place-items: center; font-size: 21px; }
.feature h3 { margin: 6px 0 0; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature img { border-radius: 12px; margin-top: 8px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.empty { color: var(--muted); grid-column: 1 / -1; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; }
.steps-wrap { position: relative; }
.track { display: none; position: absolute; z-index: 0; top: 42px; left: 43px; right: calc((100% - 32px) / 3 - 43px); height: 2px; border-radius: 2px; background: var(--line); }
.track i { position: absolute; inset: 0; border-radius: 2px; background: var(--gold); transform-origin: left center; transform: scaleX(var(--p, 1)); }
.steps li::before { counter-increment: step; content: counter(step); z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--on-gold); border: 1.5px solid var(--gold); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin: 6px 0 0; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.merchant { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks .ic { color: var(--gold); margin-top: 5px; }
.checks b { color: var(--text); font-weight: 600; }
.mcard { display: grid; max-width: 340px; width: 100%; margin-inline: auto; }
.face { grid-area: 1 / 1; }
.face-qr { visibility: hidden; opacity: 0; background: var(--paid-bg); border: 1px solid rgba(255, 255, 255, .08); border-radius: 26px; padding: 28px; display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center; }
.face-qr small { color: var(--muted); font-size: 13px; }
.face-qr strong { font-size: 28px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.qr { position: relative; background: var(--qr-bg); border-radius: 16px; padding: 12px; overflow: hidden; }
.qr canvas { display: block; width: 150px; height: 150px; image-rendering: pixelated; }
.scan { position: absolute; left: 6px; right: 6px; top: 12px; height: 3px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 14px 3px rgba(255, 215, 0, .7); opacity: 0; }
.paid-card { background: var(--paid-bg); border: 1px solid rgba(255, 255, 255, .08); border-radius: 26px; padding: 28px; display: grid; justify-items: center; gap: 10px; max-width: 340px; width: 100%; margin-inline: auto; text-align: center; }
.paid-card .ok { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: var(--paid-bg); display: grid; place-items: center; font-size: 38px; }
.paid-card .ok::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 3px var(--ok); opacity: 0; pointer-events: none; }
.paid-card .word { color: var(--ok); font-weight: 800; font-size: 22px; }
.paid-card .amt { color: var(--ok); font-weight: 800; font-size: 32px; font-variant-numeric: tabular-nums; }
.paid-card .sub { color: var(--muted); font-size: 13px; }

.security { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sec { display: grid; gap: 8px; align-content: start; }
.sec .big-ic { color: var(--gold); font-size: 30px; }
.sec h3 { margin: 0; font-size: 19px; }
.sec p { margin: 0; color: var(--muted); font-size: 15px; }

.download { background: linear-gradient(135deg, rgba(74, 20, 140, .6), rgba(42, 26, 94, .6)); border: 1px solid var(--gold-line); border-radius: 26px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.download h2 { max-width: none; }
.apk-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.pill { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-variant-numeric: tabular-nums; }
.install { list-style: none; counter-reset: inst; padding: 0; margin: 0; display: grid; gap: 14px; }
.install li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.install li::before { counter-increment: inst; content: counter(inst); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.install b { color: var(--text); font-weight: 600; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; align-items: center; }
.stores img { height: 48px; width: auto; }

.contact { text-align: center; }
.contact h2 { margin-inline: auto; }
.contact p { color: var(--muted); }
.mail { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--gold); text-decoration: none; margin-top: 8px; word-break: break-all; }

/* ===== Pied de page ===== */
.footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.footer .tagline { color: var(--text); font-weight: 600; }
.footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer .legal { width: 100%; }

/* ===== Petits écrans ===== */
@media (max-width: 960px) {
  .hero .grid, .merchant, .download { grid-template-columns: 1fr; }
  .features, .steps, .security { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav, .header .header-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .features, .steps, .security { grid-template-columns: 1fr; }
  .hero { padding-block: 36px 48px; }
  .phone { width: 250px; }
  .toast { right: 0; bottom: 30px; }
  .download { padding: 26px 20px; }
  section.block { padding-block: 60px; }
  .footer nav { margin-left: 0; }
}
@media (min-width: 961px) { .js .track { display: block; } }

/* ===== Survols : souris uniquement (pas d'état collé après un tap) ===== */
@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover { color: var(--text); }
  .btn-gold:hover { background: var(--gold-hover); }
  .btn-ghost:hover { border-color: var(--gold-line); }
  .feature:hover { border-color: var(--gold-line); }
  .footer a:hover { color: var(--text); }
  .again:hover { border-color: var(--gold-line); color: var(--text); }
}

/* ===== Animations ===== */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes word { from { transform: translateY(105%); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* Arrivée : une seule séquence (~1,5 s), rien ne bloque le clic */
  .hero .r { animation: rise 600ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
  h1 .w > span { animation: word 700ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
  .swash path { stroke-dasharray: 1; animation: draw 650ms var(--ease-in-out) 700ms both; }
  .hero .phone { animation: phone-in 900ms var(--ease-out) 150ms both; }
  .script { animation: write 900ms var(--ease-in-out) 1100ms both; }

  /* Appui : le bouton s'enfonce un peu */
  .btn:active, .menu-btn:active, .again:active { transform: scale(.97); }

  /* Menu : pastille or qui glisse vers la section lue */
  .nav-active { transition: clip-path 320ms var(--ease-in-out), opacity 200ms ease; }

  /* Étapes : pastille éteinte tant que la ligne ne l'a pas atteinte */
  .steps li::before { transition: background-color 250ms ease, color 250ms ease, transform 350ms var(--ease-out); }
  .js .steps li:not(.lit)::before { background: var(--night); color: var(--gold); transform: scale(.9); }

  /* Menu mobile : liens en cascade de 30 ms, icône ☰ ↔ ✕ en fondu flouté */
  .mobile-nav.open a { transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); transition-delay: calc(var(--i, 0) * 30ms); }
  .mobile-nav.open a:active { transition-delay: 0s; }
  @starting-style { .mobile-nav.open a { opacity: 0; transform: translateY(-6px); } }
  .menu-btn .mi { transition: opacity 160ms ease, transform 200ms var(--ease-out), filter 160ms ease; }
  .menu-btn[aria-expanded="true"] .i-open, .menu-btn[aria-expanded="false"] .i-close { transform: scale(.6) rotate(-45deg); filter: blur(2px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .r, .hero .phone { animation: fade 200ms ease both; }
}
