/* Aura — landing locale. Règles : ./DESIGN.md (transposition du style Glance). */

@font-face {
  font-family: "Vavin";
  src: url("fonts/Vavin-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* une teinte : 355°, celle du triangle de l'icône */
  --bg: #0e0b0b;
  --surface: #1c1717;
  --surface-2: #2a2323;
  --ink: #f8f2f2;
  --ink-2: rgb(248 242 242 / .64);
  --ink-dim: rgb(248 242 242 / .24);
  --accent: #ff3f4f;
  --on-accent: #1a0709;
  --black: #000;

  /* la seule section claire : le blanc de l'icône */
  --l-bg: #fbf8f9;
  --l-surface: #f2e9e9;
  --l-ink: #1c0d0e;
  --l-ink-2: rgb(28 13 14 / .68);
  --l-accent-text: #c8142a;
  --confess-muted: #5c1018;

  /* les maquettes d'interface reprennent le fond sombre de l'app */
  --app-bg: #121212;
  --glass: rgb(255 255 255 / .1);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Segoe UI", Roboto, sans-serif;
  --font-emph: "Vavin", "New York", "Iowan Old Style", Georgia, serif;
  --track: -0.02em;

  --page-gutter: 60px;
  --site-max: 1050px;
  --site-width: min(var(--site-max), calc(100% - 2 * var(--page-gutter)));

  --r-card: clamp(24px, 3.66vw, 44px);
  --r-lg: clamp(28px, 4.33vw, 52px);
  --pad-card: clamp(24px, 3.2vw, 40px);

  --dur-ui: 200ms;
  --dur-reveal: 700ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 1400px) { :root { --site-max: 1140px; } }
@media (min-width: 1600px) { :root { --site-max: 1340px; } }
@media (min-width: 1920px) { :root { --site-max: 1440px; } }
@media (max-width: 700px)  { :root { --page-gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: var(--site-width); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Vavin : l'emphase, et seulement elle */
.emph { font-family: var(--font-emph); font-style: italic; font-weight: 400; letter-spacing: 0; padding-right: .04em; }

/* ---------- nav ---------- */
/* dans le flux de la page : en haut, le héros commence sous la barre. Avec viewport-fit=cover,
   la barre ajoute la zone sûre du haut, si Safari pose la page sous la barre d'état. */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transition: background .25s, color .25s;
}
.nav.on-black { background: rgb(0 0 0 / .72); }
.nav.on-light { background: color-mix(in srgb, var(--l-bg) 80%, transparent); color: var(--l-ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: var(--track); line-height: 1.025; }
.brand img { width: 26px; height: 26px; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.icon-link { display: grid; place-items: center; width: 26px; height: 26px; transition: color var(--dur-ui); }
.icon-link:hover { color: var(--accent); }
.icon-link svg { width: 22px; height: 22px; }
.nav.on-light .btn-primary { background: var(--l-ink); color: var(--l-bg); }
.nav.on-light .btn-primary:hover { background: var(--accent); color: var(--on-accent); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; min-width: 206px; padding: 0 30px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 500 21px/1.025 var(--font-sans); letter-spacing: var(--track);
  transition: background var(--dur-ui), color var(--dur-ui);
}
.btn svg { width: 19px; height: 19px; flex: none; margin-top: -2px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-secondary { background: var(--surface-2); color: var(--ink); }
.btn-secondary:hover { background: #3a3030; }
.btn-sm { height: 38px; min-width: 0; padding: 0 18px; font-size: 15px; gap: 7px; }
.btn-sm svg { width: 13px; height: 13px; }
.is-soon { pointer-events: none; } /* pas encore de lien : l’app attend sa sortie sur l’App Store */
@media (max-width: 700px) {
  .btn:not(.btn-sm) { height: 46px; min-width: 0; padding: 0 20px; font-size: 16px; gap: 8px; }
  .btn:not(.btn-sm) svg { width: 15px; height: 15px; }
}

/* ---------- hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 72px 0 110px; }
.hero-icon { width: clamp(76px, 7vw, 112px); height: auto; }
.lyric-h1 {
  margin: 30px 0 0;
  font-size: clamp(40px, 5vw, 84px); font-weight: 700; line-height: 1.025; letter-spacing: var(--track);
  text-wrap: balance;
}
.lyric-h1 .line { display: block; text-wrap: balance; transform-origin: 50% 60%; transition: transform .6s var(--ease-out), filter .6s var(--ease-out), opacity .6s var(--ease-out); }
.lyric-h1 .w { transition: color .22s ease-out; }
.js .lyric-h1.is-waiting .w:not(.lit) { color: var(--ink-dim); }
.js .lyric-h1.is-waiting .line.is-next { transform: scale(.94); filter: blur(3px); opacity: .55; }
.lead { max-width: 33em; margin: 26px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.45vw, 20px); font-weight: 500; line-height: 1.4; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 36px; }
.fineprint { margin: 18px 0 0; color: var(--ink-2); font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }

.stage { --pw: clamp(190px, 21vw, 300px); display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3vw, 44px); margin-top: 88px; width: 100%; }
.stage .phone { --pw-self: var(--pw); }
.stage .phone.side { --pw-self: calc(var(--pw) * .86); opacity: .8; }
@media (max-width: 700px) {
  .hero { padding: 56px 0 80px; }
  .actions { gap: 10px; margin-top: 26px; }
  .stage { --pw: min(72vw, 300px); margin-top: 56px; }
  .stage .phone.side { display: none; }
}

/* cadre téléphone : rayon intérieur = rayon extérieur − padding.
   L'écran prend les proportions exactes des captures (660 × 1435) : elles s'affichent entières. */
.phone {
  flex: none; width: var(--pw-self, 260px); margin: 0;
  padding: 8px; background: var(--surface);
  border-radius: calc(var(--pw-self, 260px) * .128 + 8px);
}
.phone .screen { aspect-ratio: 660 / 1435; border-radius: calc(var(--pw-self, 260px) * .128); overflow: hidden; background: var(--surface-2); position: relative; }

/* emplacements de captures : l'image apparaît dès que le fichier existe */
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shot.is-empty img { display: none; }
.shot.is-empty::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 18px;
  color: var(--ink-2); font-size: 13px; font-weight: 500; line-height: 1.35; text-align: center; letter-spacing: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgb(248 242 242 / .03) 14px 15px);
  white-space: pre-line;
}

/* ---------- sections ---------- */
.section { padding: 120px 0 0; }
.h2 { margin: 0; font-size: clamp(36px, 4.16vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: var(--track); text-wrap: balance; }
.h2 .line { display: block; }
.section-lead { max-width: 34em; margin: 22px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; line-height: 1.4; }
@media (max-width: 700px) { .section { padding-top: 88px; } }

/* ---------- bento : colonne centrale étroite, les rangées s'inversent ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 492fr) minmax(0, 141fr) minmax(0, 492fr); gap: 38px; margin-top: 44px; }
.bento-left { grid-area: 1 / 1 / 2 / 3; display: flex; flex-direction: column; gap: 38px; }
.card-eq { grid-area: 1 / 3 / 2 / 4; }
.card-radar { grid-area: 2 / 1 / 3 / 2; }
.card-mfy { grid-area: 2 / 2 / 3 / 4; }
.card { background: var(--surface); border-radius: var(--r-card); position: relative; overflow: hidden; }
.card-title { margin: 0; font-size: clamp(26px, 2.91vw, 35px); font-weight: 700; line-height: 1.025; letter-spacing: var(--track); }
.card-body { margin: 14px 0 0; max-width: 26em; color: var(--ink-2); font-size: 16px; font-weight: 500; line-height: 1.4; }
.card-copy { padding: var(--pad-card); display: flex; flex-direction: column; justify-content: center; }

.card-trio { flex: none; display: flex; justify-content: space-evenly; align-items: center; gap: 12px; padding: 36px 20px; text-align: center; }
.trio-item { width: min(190px, 31%); }
.trio-item b { display: block; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.025; letter-spacing: var(--track); }
.trio-item span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.3; }

/* Instant Mix : le texte, et une pochette de radio dessinée comme dans l'app */
.card-radio { flex: 1 1 auto; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 32px); padding: var(--pad-card); }
.card-radio .card-copy { flex: 1 1 0; padding: 0; }
.card-radio .cover { flex: none; width: clamp(190px, 21vw, 260px); }

/* égaliseur : la feuille de l'app, en carte */
.card-eq { padding: var(--pad-card); display: flex; flex-direction: column; gap: 22px; }
.eq-svg { display: block; width: 100%; height: auto; overflow: visible; -webkit-user-select: none; user-select: none; }
.eq.is-live .eq-svg { cursor: ns-resize; touch-action: none; }
.eq-rule, .eq-zero { stroke-width: 1; vector-effect: non-scaling-stroke; }
.eq-rule { stroke: rgb(248 242 242 / .07); }
.eq-zero { stroke: rgb(248 242 242 / .2); stroke-dasharray: 4 4; }
.eq-grid text { fill: rgb(248 242 242 / .45); font: 500 13px var(--font-sans); letter-spacing: 0; text-anchor: end; dominant-baseline: central; font-variant-numeric: tabular-nums; }
.eq-fill-top { stop-color: var(--accent); stop-opacity: .32; }
.eq-fill-bottom { stop-color: var(--accent); stop-opacity: 0; }
.eq-area { fill: url(#eq-fill); }
.eq-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.eq-node { outline: none; }
.eq-halo { fill: none; stroke: transparent; stroke-width: 2; vector-effect: non-scaling-stroke; }
.eq-node:focus-visible .eq-halo { stroke: var(--ink); }
.eq-dot {
  fill: #fff; stroke: var(--accent); stroke-width: 3;
  transform-box: fill-box; transform-origin: center;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), filter .25s;
}
.eq-node.is-active .eq-dot { transform: scale(1.375); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 70%, transparent)); }
.eq-readout { position: relative; height: 40px; margin: 4px 0 0; padding: 0; list-style: none; }
.eq-readout li { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; white-space: nowrap; line-height: 1.25; }
.eq-readout b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.eq-readout .is-zero b { font-weight: 500; color: rgb(248 242 242 / .45); }
.eq-readout span { color: var(--ink-2); font-size: 12px; }
.eq-presets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chip {
  height: 32px; padding: 0 13px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgb(248 242 242 / .07); color: rgb(248 242 242 / .88);
  font: 500 14px/1 var(--font-sans); letter-spacing: -0.01em;
  transition: background var(--dur-ui), color var(--dur-ui);
}
.eq.is-live .chip:hover { background: rgb(248 242 242 / .13); }
.eq:not(.is-live) .chip { cursor: default; }
.chip[aria-pressed="true"], .eq.is-live .chip[aria-pressed="true"]:hover { background: var(--accent); color: var(--on-accent); font-weight: 600; }

/* Radar : des sorties inventées, rangées comme dans l'app */
.card-radar { padding: var(--pad-card); }
.rrows { list-style: none; margin: 22px 0 0; padding: 0; }
.rrow { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.rrow-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rrow-text b, .rrow-meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rrow-text b { font-size: 15px; font-weight: 500; line-height: 1.25; }
.rrow-meta { color: var(--ink-2); font-size: 12px; line-height: 1.3; }
.rrow.is-current b { color: var(--accent); }
.rrow-mark { flex: none; width: 23px; height: 23px; margin-inline: 4px; }
.is-held { color: var(--accent); }
.rrow-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.rrow-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rrow-legend svg { width: 15px; height: 15px; flex: none; }
.rrow-legend .bars { margin: 0 2.5px; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.bars i { width: 2px; height: 100%; border-radius: 1px; background: var(--accent); transform-origin: 50% 100%; animation: bar .75s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -.35s; }
.bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes bar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }

.thumb { flex: none; display: block; width: 50px; height: 50px; border-radius: 6px; background: var(--surface-2); object-fit: cover; }

/* Made For You : les pochettes typographiques, en défilement continu */
.card-mfy { display: flex; flex-direction: column; }
.card-mfy .card-copy { flex: none; padding-bottom: 0; }
.marquee {
  flex: 1; display: flex; align-items: center; padding: 26px 0 var(--pad-card); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 5%, #000 95%, #0000);
  mask-image: linear-gradient(90deg, #0000, #000 5%, #000 95%, #0000);
}
.marquee-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mfy-item { flex: none; width: clamp(150px, 16vw, 220px); margin-right: 16px; }
.mfy-item b { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: var(--track); }
.mfy-item > span { display: block; margin-top: 3px; color: var(--ink-2); font-size: 13px; line-height: 1.3; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* boucles CSS en pause hors de l'écran (site.js) */
[data-loop].is-paused, [data-loop].is-paused * { animation-play-state: paused !important; }

@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bento-left, .card-eq, .card-radar, .card-mfy { grid-area: auto; }
  .bento-left { gap: 20px; }
}
@media (max-width: 560px) {
  .card-trio { flex-direction: column; gap: 26px; }
  .trio-item { width: auto; }
  .card-radio { flex-direction: column; align-items: stretch; }
  .card-radio .cover { width: min(100%, 300px); margin-inline: auto; }
}

/* ---------- pochettes : celles que l'app dessine, telles quelles ---------- */
.cover { aspect-ratio: 1; border-radius: 7%; overflow: hidden; }
.cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- le reste, en texte seul ---------- */
.also-title { font-size: clamp(30px, 3.2vw, 44px); }
.also { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.also b { display: block; font-size: 19px; font-weight: 700; letter-spacing: var(--track); line-height: 1.15; }
.also span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.45; max-width: 26em; }
@media (max-width: 900px) { .also { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .also { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- paroles : la section noire ---------- */
.lyrics { background: var(--black); margin-top: 160px; padding: 150px 0 40px; }
.lyrics-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; }
.lyrics-head .section-lead { margin: 0; }
.lyrics-track { position: relative; }
.lyrics-lines { list-style: none; margin: 0 auto; padding: 70px 0 150px; }
.lyric-line {
  display: block; width: 100%; padding: 6px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: clamp(30px, 4.4vw, 64px); font-weight: 700; line-height: 1.08; letter-spacing: var(--track);
  color: var(--ink);
}
.lyric-line .w { transition: color .25s ease-out; }
.lyric-line .sung { display: block; }
.js .lyrics-track { height: calc(var(--lines, 8) * 42vh + 100vh); }
/* dvh, not svh: svh is the height with Safari's bars out, so with them tucked away the
   stage stopped short of the screen — the line being sung sat above the middle, over a
   band of empty black. dvh follows the bars; the script re-centres when it changes. */
.js .lyrics-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; align-items: flex-start; }
.js .lyrics-lines { padding: 0; transform: translateY(var(--shift, 0px)); transition: transform .6s var(--ease-out); }
.js .lyric-line {
  --d: 3;
  transform-origin: 0 50%;
  transform: scale(calc(1 - var(--d) * .07));
  filter: blur(calc(var(--d) * 1.3px));
  opacity: calc(1 - var(--d) * .27);
  transition: transform .6s var(--ease-out), filter .6s var(--ease-out), opacity .6s var(--ease-out);
}
.js .lyric-line .w:not(.lit) { color: rgb(248 242 242 / .32); }
.js .lyric-line.is-current .w.lit { color: var(--ink); }
.lyric-line:hover .w { color: var(--ink); }
.lyrics-hint { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; font-weight: 500; }
@media (max-width: 900px) { .lyrics-head { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .lyrics { margin-top: 110px; padding-top: 96px; } .js .lyrics-track { height: calc(var(--lines, 8) * 34vh + 100vh); } }

/* ---------- serveur : la seule section claire ---------- */
.light { background: var(--l-bg); color: var(--l-ink); padding: 150px 0; }
.light .section-lead { color: var(--l-ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 72px; margin-top: 64px; }
.fact p { margin: 0; }
.fact .claim { text-wrap: balance; font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.05; letter-spacing: var(--track); }
.fact .claim .k { color: var(--l-accent-text); }
.fact .detail { margin-top: 14px; max-width: 27em; color: var(--l-ink-2); font-size: 17px; line-height: 1.45; }
.fact .detail a { color: var(--l-ink); text-underline-offset: 3px; }
.confess {
  display: flex; align-items: center; gap: 22px 48px; flex-wrap: wrap;
  margin-top: 96px; padding: clamp(32px, 4.4vw, 56px) clamp(28px, 5vw, 64px);
  background: var(--accent); color: var(--l-ink); border-radius: var(--r-lg);
}
.confess svg { width: clamp(64px, 7vw, 96px); height: auto; flex: none; }
.confess p { margin: 0; font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; line-height: 1.05; letter-spacing: var(--track); text-wrap: balance; }
.confess .lead-line { flex: 1 1 260px; max-width: 11em; }
.confess .muted-line { flex: 1 1 340px; color: var(--confess-muted); max-width: 18em; margin-left: auto; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 44px; } .light { padding: 96px 0; } .confess { margin-top: 64px; } .confess .muted-line { margin-left: 0; } }

/* ---------- CTA final + signature ---------- */
.outro { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 190px 0 0; }
.outro .actions { margin-top: 30px; }

.footer { margin-top: 120px; }
.wordmark-box { width: min(var(--site-max), 100%); margin-inline: auto; container-type: inline-size; overflow-x: clip; }
.wordmark-wrap { position: relative; height: calc(100cqw * .3); overflow: hidden; }
.wordmark {
  margin: 0; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  font-size: 44cqw; font-weight: 700; line-height: .9; letter-spacing: -0.04em; white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 30%, var(--bg));
}
.js .wordmark {
  color: transparent;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 30%, var(--bg)) 0 50%,
    var(--surface) 50% 100%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1.8s var(--ease-out);
}
.js .wordmark.revealed { background-position: 0 0; }
.wordmark-fade { position: absolute; inset: 35% 0 0; background: linear-gradient(#0e0b0b00, var(--bg) 92%); pointer-events: none; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; width: var(--site-width); margin: 0 auto; padding: 28px 0 48px; color: var(--ink-2); font-size: 14px; }
.footer-meta nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-meta a { text-decoration: none; transition: color var(--dur-ui); }
.footer-meta a:hover { color: var(--ink); }

/* ---------- feuille d'installation ---------- */
.sheet { width: min(560px, 100% - 32px); max-height: min(88vh, 760px); padding: 0; border: 0; border-radius: 32px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgb(0 0 0 / .5); }
.sheet::backdrop { background: rgb(14 11 11 / .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-inner { padding: 34px 32px 28px; }
.sheet h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: var(--track); }
.sheet-sub { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.routes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.route { background: var(--surface-2); border-radius: 22px; padding: 18px 20px; }
.route b { display: block; font-size: 18px; font-weight: 700; letter-spacing: var(--track); }
.route p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.route a { color: var(--ink); text-underline-offset: 3px; }
.route .soon { color: var(--accent); font-weight: 600; }
.sheet .btn { width: 100%; margin-top: 18px; height: 52px; font-size: 17px; }
@media (max-width: 700px) {
  .sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; max-height: 92svh; }
  .sheet-inner { padding: 28px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
}
.sheet[open] { animation: sheet-in .45s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }

/* ---------- apparitions (cachées seulement si le script tourne) ---------- */
.js .reveal:not(.revealed) { opacity: 0; transform: translateY(40px); filter: blur(14px); }
.reveal { transition: opacity var(--dur-reveal), transform var(--dur-reveal), filter .45s; }
.reveal.d1 { transition-delay: 70ms; }
.reveal.d2 { transition-delay: 120ms; }
.reveal.d3 { transition-delay: 380ms; }

/* ---------- mouvement réduit : ni flou, ni échelle, ni défilement ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.revealed) { opacity: 1; transform: none; filter: none; }
  .js .lyric-h1.is-waiting .line.is-next { transform: none; filter: none; opacity: 1; }
  .js .lyric-h1.is-waiting .w:not(.lit) { color: inherit; }
  .reveal, .lyric-h1 .line, .lyric-h1 .w, .js .lyrics-lines, .js .lyric-line { transition: none; }
  .js .lyric-line { filter: none; transform: none; }
  .js .wordmark { transition: none; background-position: 0 0; }
  .sheet[open] { animation: none; }
  .bars i, .marquee-track { animation: none; }
  .bars i:nth-child(1) { transform: scaleY(.55); }
  .bars i:nth-child(3) { transform: scaleY(.75); }
  .eq-dot { transition: none; }
  .eq-node.is-active .eq-dot { transform: none; }
  .marquee { overflow-x: auto; padding-inline: var(--pad-card); -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; }
  .mfy-item.is-copy { display: none; }
}
