/* ───────────── BRAINBEETS — site vitrine ───────────── */

:root {
  --ebony: #0D0B0A;
  --ebony-2: #161311;
  --ebony-3: #1F1B18;
  --ivory: #F3EFE2;
  --cobalt: #003FE0;
  --cobalt-hi: #2E63FF;
  --stone: #D6CEBC;
  --ochre: rgba(243, 239, 226, .62); /* sous-ton « verre » des détails et des éléments en développement */
  --glass-w: rgba(255, 255, 255, .07);
  --glass-line: rgba(255, 255, 255, .22);
  --line: rgba(214, 206, 188, .14);
  --line-2: rgba(214, 206, 188, .24);
  --muted: rgba(214, 206, 188, .72);

  /* la typo de linear.app : Inter Variable */
  --f-sans: "Inter Variable", "Inter", "SF Pro Display", -apple-system, system-ui, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--ebony); color: var(--ivory);
  font: 400 16px/1.55 var(--f-sans); font-optical-sizing: auto; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
code, .mono { font-family: var(--f-mono); letter-spacing: 0; }
::selection { background: var(--cobalt); color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cobalt-hi); outline-offset: 3px; border-radius: 6px; }

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* wordmark manuscrit : le PNG sert de masque, la couleur vient de currentColor */
.wordmark {
  aspect-ratio: 1319 / 291; background: currentColor;
  -webkit-mask: url("assets/brand/brainbeets-handwritten.png") center / contain no-repeat;
          mask: url("assets/brand/brainbeets-handwritten.png") center / contain no-repeat;
}

/* BRAINBEETS surligné */
.bb {
  display: inline-block; padding: .02em .3em .04em; margin: 0 .05em; border-radius: .22em;
  background: var(--cobalt); color: var(--ivory); font-weight: 750; letter-spacing: .045em;
  rotate: -1.5deg; line-height: 1.15; box-shadow: 0 .25em .8em -.3em rgba(0, 63, 224, .9);
}
.bb.sm { font-size: .92em; rotate: -1deg; }
.hl { background: linear-gradient(transparent 58%, rgba(0, 63, 224, .75) 58%, rgba(0, 63, 224, .75) 92%, transparent 92%); color: var(--ivory); padding: 0 .08em; }

/* badges */
.badge-dev, .badge-ok {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
  color: rgba(243, 239, 226, .86); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: 0 0 0 1px var(--glass-line) inset, inset 0 1px 0 rgba(255,255,255,.25); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
}
.badge-dev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.8); animation: pulse 1.6s infinite; }
.badge-ok { color: #9ee6b8; background: rgba(61, 220, 132, .1); box-shadow: 0 0 0 1px rgba(61, 220, 132, .35) inset; }
.badge-ok::before { content: "✓"; }

/* ───── boutons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 560 15px/1 var(--f-sans); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 17px 26px; font-size: 16px; }
.btn-xl { padding: 22px 34px; font-size: 18px; }
.btn-cobalt { background: var(--cobalt); color: var(--ivory); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 12px 34px -10px rgba(0, 63, 224, .85); }
.btn-cobalt:hover { background: var(--cobalt-hi); transform: translateY(-1px); }
.btn-ivory { background: var(--ivory); color: var(--ebony); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.btn-ivory:hover { transform: translateY(-2px) scale(1.02); }

.dl { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 38px; }
.dl-others { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dl-others a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--stone); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .25s, color .25s;
}
.dl-others a:hover { background: rgba(243,239,226,.08); color: var(--ivory); }
.dl-others svg { width: 15px; height: 15px; }
.dl-final .dl-others a { color: var(--ivory); box-shadow: 0 0 0 1px rgba(243,239,226,.45) inset; }
.dl-final .dl-others a:hover { background: rgba(243,239,226,.14); }

/* ───── bandeau + nav ───── */
.banner {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px var(--gutter);
  background: var(--cobalt); color: var(--ivory); font-size: 14px; font-weight: 500; text-decoration: none; text-align: center; position: relative; z-index: 60;
}
.banner:hover .banner-arrow { transform: translateX(4px); }
.banner-arrow { transition: transform .25s var(--ease); }
.banner-discord { width: 18px; height: 18px; flex: none; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background-color .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(13, 11, 10, .8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.nav-brand img { height: 50px; width: auto; transition: transform .4s var(--ease); }
.nav-brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-word { width: 132px; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-discord { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--stone); transition: color .2s; }
.nav-discord:hover { color: var(--ivory); }
.nav-discord img { width: 20px; height: 20px; border-radius: 5px; }

/* ───── têtes de section ───── */
section { position: relative; }
.section-head { max-width: var(--wrap); margin: 0 auto 64px; padding: 0 var(--gutter); }
.section-head.center { text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.kicker::before { content: ""; width: 6px; height: 6px; background: var(--ochre); border-radius: 1px; transform: rotate(45deg); }
h2 { margin: 0; font: 620 clamp(34px, 5.2vw, 62px)/1.04 var(--f-sans); letter-spacing: -.035em; color: var(--ivory); }
h2 .dim { color: rgba(214, 206, 188, .55); }
h3 { margin: 0; font: 600 22px/1.2 var(--f-sans); letter-spacing: -.022em; }

/* ───── hero ───── */
.hero { padding: clamp(28px, 6vh, 72px) 0 56px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: 46%; width: min(1500px, 150vw); height: 1000px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 63, 224, .42), rgba(0, 63, 224, .08) 60%, transparent); filter: blur(20px);
}
.hero-copy { position: relative; max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.lockup { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.4vw, 28px); margin: 0 auto 30px; }
.lockup-logo {
  height: clamp(96px, 15vw, 172px); width: auto; transform-origin: 50% 90%;
  animation: beet-in 1s .1s cubic-bezier(.2, 1.4, .4, 1) both, bob 4.5s 1.2s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(0, 63, 224, .45));
}
@keyframes beet-in { from { opacity: 0; transform: translateY(30px) rotate(-14deg) scale(.7); } }
@keyframes bob { 0%, 100% { transform: rotate(-3deg) } 50% { transform: rotate(3deg) translateY(-6px) } }
.lockup-word {
  width: min(640px, 64vw); color: var(--ivory); clip-path: inset(0 100% 0 0);
  animation: write 1.5s .35s cubic-bezier(.6, .1, .3, 1) forwards; filter: drop-shadow(0 0 28px rgba(0, 63, 224, .5));
}
@keyframes write { to { clip-path: inset(0 -2% 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-title {
  margin: 0 auto; max-width: 900px; font: 650 clamp(38px, 6vw, 76px)/1 var(--f-sans); letter-spacing: -.05em;
  opacity: 0; animation: rise .9s .9s var(--ease) forwards;
}
.hero-title .u { position: relative; white-space: nowrap; z-index: 0; }
.hero-title .u::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: .04em; height: .16em; z-index: -1;
  background: var(--cobalt); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: underline .7s 1.6s var(--ease) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-hook {
  margin: 30px auto 0; font: 560 clamp(15px, 1.95vw, 23px)/1.3 var(--f-sans); letter-spacing: -.02em; white-space: nowrap; color: var(--ivory);
  opacity: 0; animation: rise .9s 1.1s var(--ease) forwards;
}
.file-strike {
  font: 500 .88em var(--f-mono); color: var(--stone); background: rgba(214,206,188,.09); padding: 2px 8px; border-radius: 6px;
  text-decoration: line-through; text-decoration-color: #ff5a4f; text-decoration-thickness: 2.5px;
}
.hero-sub {
  max-width: 720px; margin: 14px auto 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6;
  opacity: 0; animation: rise .9s 1.25s var(--ease) forwards;
}
.hero-sub i { color: var(--ivory); font-weight: 560; }
.brain { display: inline-block; animation: think 2.6s 2s ease-in-out infinite; }
@keyframes think { 0%, 70%, 100% { transform: none } 80% { transform: rotate(-12deg) scale(1.15) } 90% { transform: rotate(10deg) scale(1.15) } }
.hero .dl { opacity: 0; animation: rise .9s 1.4s var(--ease) forwards; }
.reassure { margin: 22px 0 0; font: 500 14px/1 var(--f-mono); color: var(--stone); opacity: 0; animation: rise .9s 1.5s var(--ease) forwards; }
.reassure { line-height: 1.6; }
.reassure b { color: var(--ivory); font-weight: 500; white-space: nowrap; }
.reassure span { color: var(--ochre); margin: 0 4px; }


/* ───── échelle des maquettes ───── */
.scale-box { position: relative; width: 100%; text-align: left; }
.stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* fenêtres macOS */
.win {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #0b0a1f;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 120px -30px rgba(0, 63, 224, .55), 0 30px 60px -30px rgba(0,0,0,.9);
  transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s;
}
.win-bar {
  height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px; position: relative;
  background: rgba(22, 20, 36, .98); border-bottom: 1px solid rgba(255,255,255,.07); font: 500 12.5px/1 var(--f-sans); color: rgba(255,255,255,.55);
}
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; flex: none; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { position: absolute; left: 50%; translate: -50% 0; white-space: nowrap; }

.fly-file {
  position: absolute; left: 0; top: 0; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px;
  background: #fff; color: #111; font: 500 13px/1 var(--f-mono); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
  opacity: 0; transition: transform 1.1s cubic-bezier(.45, .05, .2, 1), opacity .3s; pointer-events: none;
}
.fly-file.show { opacity: 1; }
.ff-ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #2a37e9; color: #fff; }

/* ───────────────────────────────────────────────
   Skin de l'app BRAINBEETS
   ─────────────────────────────────────────────── */
.app {
  --bg: #0e0b2e; --a0: #2813cb; --a1: #2a37e9; --a2: #737cf8; --a3: #b4b7ff;
  --text: #f2f2ff; --sub: #a9acd9; --glass: rgba(255,255,255,.055); --glass-2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.12); --chip: rgba(255,255,255,.08);
  position: relative; overflow: hidden; height: calc(100% - 38px); letter-spacing: 0;
  font-family: var(--f-sans); color: var(--text);
  background:
    radial-gradient(70% 60% at 85% 10%, color-mix(in srgb, var(--a1) 75%, transparent), transparent 70%),
    radial-gradient(60% 55% at 10% 90%, color-mix(in srgb, var(--a0) 70%, transparent), transparent 70%),
    var(--bg);
  transition: background .8s var(--ease), color .6s;
}
.app::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.app-pane { height: 100%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -30px rgba(0,0,0,.8); }
.app svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.app-head {
  height: 78px; margin: 16px 22px 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset, inset 0 1px 0 rgba(255,255,255,.14);
}
.app-head img { height: 60px; width: auto; }
.app-head .wordmark { width: 280px; color: #fff; }
.app-tabs {
  display: flex; gap: 4px; width: max-content; margin: 12px auto 0; padding: 4px; border-radius: 999px;
  background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; font: 500 11px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sub);
}
.app-tabs span { display: flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; transition: background .35s, color .35s; }
.app-tabs .on { background: color-mix(in srgb, var(--a1) 75%, transparent); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.pane { position: absolute; left: 0; right: 0; top: 152px; bottom: 0; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pane.on { opacity: 1; transform: none; }

/* toolbar */
.app-toolbar { display: flex; gap: 10px; align-items: center; margin: 14px 22px 0; }
.view-btn {
  height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 6px; border-radius: 12px; flex: none;
  background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; font-size: 12.5px; font-weight: 550; transition: background .3s, box-shadow .3s;
}
.view-btn .vi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--a1) 70%, transparent); }
.view-btn small { display: block; font-size: 10px; color: var(--sub); font-weight: 400; }
.view-btn.on { background: color-mix(in srgb, var(--a1) 35%, transparent); box-shadow: 0 0 0 1px var(--a2) inset; }
.app-search {
  flex: 1; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; position: relative; min-width: 0;
  border-radius: 12px; background: rgba(0,0,0,.22); box-shadow: 0 0 0 1px var(--border) inset; font-size: 14px; color: var(--text);
}
.app-search.focus { box-shadow: 0 0 0 1px var(--a2) inset, 0 0 0 4px color-mix(in srgb, var(--a2) 25%, transparent); }
.search-ph { position: absolute; left: 40px; color: var(--sub); opacity: .7; pointer-events: none; white-space: nowrap; }
.search-text:not(:empty) ~ .search-ph { display: none; }
.caret { width: 1.5px; height: 17px; background: var(--a3); margin-left: -8px; opacity: 0; }
.focus .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.app-btn {
  height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 12px; flex: none;
  background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; font: 500 11px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sub);
  transition: background .3s, color .3s, box-shadow .3s;
}
.app-btn.on { background: color-mix(in srgb, var(--a1) 55%, transparent); color: #fff; box-shadow: 0 0 0 1px var(--a2) inset; }
.app-btn .fcount { min-width: 18px; height: 18px; border-radius: 9px; background: #fff; color: var(--a0); display: none; place-items: center; font-size: 10px; letter-spacing: 0; padding: 0 5px; }
.app-btn.has .fcount { display: grid; }
.app-count { font-size: 12px; color: var(--sub); white-space: nowrap; min-width: 70px; text-align: right; }
.app-count b { color: var(--text); font-variant-numeric: tabular-nums; }

/* panneau de filtres */
.filters {
  margin: 0 22px; border-radius: 16px; overflow: hidden; max-height: 0; opacity: 0;
  background: rgba(10, 8, 40, .55); box-shadow: 0 0 0 1px var(--border) inset; transition: max-height .55s var(--ease), opacity .4s, margin .55s var(--ease);
}
.filters.open { max-height: 260px; opacity: 1; margin-top: 10px; }
.f-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px 22px; padding: 16px 18px; }
.f-block small { display: flex; justify-content: space-between; font: 500 10px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sub); margin-bottom: 10px; }
.f-block small b { color: var(--a3); font-weight: 600; letter-spacing: .02em; }
.range { position: relative; height: 24px; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); }
.range-fill { position: absolute; top: 11px; height: 3px; border-radius: 3px; background: var(--a2); left: var(--l); right: calc(100% - var(--r)); transition: left .6s var(--ease), right .6s var(--ease); }
.range-h { position: absolute; top: 4px; width: 17px; height: 17px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--a2) 40%, transparent); transition: left .6s var(--ease); }
.range.dragging .range-fill { transition: left 40ms linear, right 40ms linear; }
.range.dragging .range-h { transition: left 40ms linear; }
.cursor.live { transition: transform 40ms linear !important; }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { padding: 6px 10px; border-radius: 999px; background: var(--chip); box-shadow: 0 0 0 1px var(--border) inset; font: 600 10px/1 var(--f-sans); letter-spacing: .08em; color: var(--sub); transition: .3s; }
.fchip.on { background: var(--a1); color: #fff; box-shadow: 0 0 0 1px var(--a3) inset; }
.f-people { display: flex; gap: 6px; flex-wrap: wrap; }
.f-people .fchip { display: flex; align-items: center; gap: 6px; letter-spacing: 0; font-weight: 500; font-size: 11px; padding: 4px 10px 4px 4px; }
.f-people .fchip i { width: 16px; height: 16px; border-radius: 50%; }

/* rangées */
.app-cols, .row { display: grid; grid-template-columns: 44px 160px 1fr 52px 54px 54px 150px 190px; align-items: center; gap: 0 12px; }
.app-cols { margin: 14px 22px 8px; padding: 0 14px; font: 500 10px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sub); opacity: .8; transition: opacity .4s; }
.app-cols span:first-child { grid-column: 1 / 3; }
.app-rows { margin: 0 22px; transition: opacity .45s, transform .45s var(--ease); }
.row {
  height: 54px; padding: 0 14px; margin-bottom: 7px; border-radius: 14px; overflow: hidden;
  background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset;
  transition: height .45s var(--ease), margin .45s var(--ease), opacity .3s, transform .45s var(--ease), background .3s, box-shadow .3s;
}
.row.gone { height: 0 !important; margin-bottom: 0 !important; opacity: 0; transform: scale(.98); }
.row.hl { background: var(--glass-2); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a2) 70%, transparent) inset, 0 0 30px -6px color-mix(in srgb, var(--a1) 80%, transparent); }
.row.enter { animation: row-in .8s var(--ease) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-16px) scale(.98); } }
.r-play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; color: var(--text); background: var(--glass-2); box-shadow: 0 0 0 1px var(--border) inset; transition: background .3s; }
.row.playing .r-play { background: var(--a1); }
.r-title { min-width: 0; }
.r-title b { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.r-title small { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--sub); margin-top: 3px; white-space: nowrap; overflow: hidden; }
.new-tag { font: 700 8.5px/1 var(--f-sans); letter-spacing: .1em; padding: 3px 6px; border-radius: 999px; background: var(--a3); color: var(--a0); }
.avs { display: inline-flex; }
.avs i { width: 15px; height: 15px; border-radius: 50%; margin-right: -5px; box-shadow: 0 0 0 1.5px var(--bg); font: 600 7px/15px var(--f-sans); font-style: normal; text-align: center; color: #fff; }
.r-time, .r-bpm, .r-key { font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; transition: color .3s; }
.r-bpm { color: var(--text); font-weight: 650; font-size: 13px; }
.r-key { color: var(--text); }
.r-bpm.match, .r-key.match { color: var(--a3); }
.r-styles { display: flex; gap: 5px; overflow: hidden; }
.chip { flex: none; padding: 4px 8px; border-radius: 999px; background: var(--chip); box-shadow: 0 0 0 1px var(--border) inset; font: 600 9px/1 var(--f-sans); letter-spacing: .1em; color: var(--sub); transition: .3s; }
.chip.match { background: color-mix(in srgb, var(--a2) 55%, transparent); color: #fff; }
.r-proj {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 7px; border-radius: 999px; overflow: hidden;
  background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; font-size: 11.5px; color: var(--text); white-space: nowrap;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.r-proj .arr { margin-left: auto; color: var(--sub); }
.r-proj.press { background: color-mix(in srgb, var(--a1) 60%, transparent); transform: scale(.96); box-shadow: 0 0 0 1px var(--a2) inset, 0 0 24px color-mix(in srgb, var(--a1) 60%, transparent); }
.r-proj .soon { font: 600 8.5px/1 var(--f-sans); letter-spacing: .06em; padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,.25); color: #e9c79c; }
.daw-ico { width: 19px; height: 19px; border-radius: 5px; display: grid; place-items: center; font: 800 8px/1 var(--f-sans); flex: none; color: #fff; letter-spacing: 0; }
.daw-ico.flp { background: linear-gradient(160deg, #ffb347, #e8661f); color: #2a1300; }
.daw-ico.als { background: #0e0e0e; box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; }
.daw-ico.logicx { background: linear-gradient(160deg, #6a6a74, #26262c); }
.mark { background: color-mix(in srgb, var(--a2) 55%, transparent); color: #fff; border-radius: 3px; padding: 0 1px; }

.wave {
  --p: 0%; height: 30px; width: 100%;
  background: linear-gradient(90deg, var(--a3) var(--p), color-mix(in srgb, var(--a3) 38%, transparent) var(--p));
  -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat;
}

/* lecteur, toast */
.app-player {
  position: absolute; left: 22px; bottom: 16px; width: 440px; height: 58px; z-index: 6;
  display: flex; align-items: center; gap: 14px; padding: 0 18px 0 12px; border-radius: 999px;
  background: rgba(20, 16, 60, .86); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--border) inset, 0 20px 40px -10px rgba(0,0,0,.6);
  transform: translateY(100px); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.app-player.show { transform: none; opacity: 1; }
.pl-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--a1); display: grid; place-items: center; font-size: 10px; letter-spacing: -2px; }
.pl-meta b { display: block; font-size: 13px; }
.pl-meta small { font-size: 11px; color: var(--sub); }
.pl-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 0; background: var(--a3); border-radius: 4px; }
.pl-time { font: 500 11px/1 var(--f-mono); color: var(--sub); width: 34px; }
.app-toast {
  position: absolute; right: 22px; top: 22px; z-index: 7; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px;
  border-radius: 14px; background: rgba(20, 16, 60, .92); box-shadow: 0 0 0 1px var(--border) inset, 0 20px 40px -10px rgba(0,0,0,.6);
  font-size: 13px; transform: translateY(-20px); opacity: 0; transition: .5s var(--ease);
}
.app-toast.show { transform: none; opacity: 1; }
.toast-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--a1); display: grid; place-items: center; }

/* curseur simulé */
.cursor {
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 20; pointer-events: none; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11.5-6.6.9 3.9 7-2.6 1.4-3.9-7.1L5 20z' fill='%23fff' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .85s cubic-bezier(.45, .05, .2, 1), opacity .3s; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45));
}
.cursor.show { opacity: 1; }
.cursor.click::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); animation: ripple .5s ease-out forwards; }
@keyframes ripple { from { transform: scale(.3); opacity: 1 } to { transform: scale(1.6); opacity: 0 } }

/* ───── Importer ───── */
.imp { display: grid; grid-template-columns: 330px 1fr; gap: 18px; padding: 16px 22px; height: 100%; }
.imp.stack { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
.imp-left { display: flex; flex-direction: column; gap: 12px; }
.drop {
  position: relative; flex: 1; min-height: 120px; max-height: 260px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--a3) 45%, transparent);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--sub); font-size: 14px; text-align: center;
  transition: background .3s, border-color .3s, color .3s;
}
.drop svg { width: 24px; height: 24px; margin-bottom: 4px; }
.drop small { font: 400 11px/1 var(--f-mono); opacity: .7; }
.drop.over { background: color-mix(in srgb, var(--a1) 28%, transparent); border-color: var(--a3); color: #fff; }
.imp.stack .drop { min-height: 92px; flex: none; }
.filecard { border-radius: 16px; padding: 14px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.filecard.on { opacity: 1; transform: none; }
.fc-top { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--f-mono); }
.fc-top .ff-ico { width: 24px; height: 24px; font-size: 12px; }
.fc-state { margin-left: auto; font: 500 10.5px/1 var(--f-sans); padding: 5px 9px; border-radius: 999px; background: var(--chip); color: var(--sub); }
.fc-state.done { background: rgba(61,220,132,.2); color: #a6f5c6; }
.fc-wave { position: relative; margin-top: 12px; }
.fc-wave .wave { height: 44px; }
.scan { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; background: var(--a3); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--a3) 70%, transparent); opacity: 0; }
.scan.run { opacity: 1; animation: scan 1.7s linear forwards; }
@keyframes scan { from { left: 0 } to { left: 100%; opacity: 0 } }
.imp-form { display: flex; flex-direction: column; gap: 10px; opacity: .3; transition: opacity .4s; }
.imp-form.on { opacity: 1; }
.fld { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
.fld > small { font: 500 10px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.inp {
  position: relative; height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 11px;
  background: rgba(0,0,0,.22); box-shadow: 0 0 0 1px var(--border) inset; font-size: 13.5px; font-weight: 550; transition: box-shadow .3s;
}
.inp.focus { box-shadow: 0 0 0 1px var(--a2) inset, 0 0 0 4px color-mix(in srgb, var(--a2) 22%, transparent); }
.inp .val { font-variant-numeric: tabular-nums; }
.inp .val.settled { color: var(--a3); }
.auto { margin-left: auto; font: 600 9.5px/1 var(--f-sans); letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--a2) 35%, transparent); color: #fff; opacity: 0; transform: scale(.8); transition: .35s var(--ease); white-space: nowrap; }
.auto.on { opacity: 1; transform: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two .fld + .fld { grid-template-columns: 40px 1fr; }
.inp .chip { font-size: 9.5px; padding: 5px 9px; background: color-mix(in srgb, var(--a2) 45%, transparent); color: #fff; animation: pop-in .35s var(--ease); }
.inp .person { display: flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px; background: var(--glass-2); font-size: 12px; animation: pop-in .35s var(--ease); white-space: nowrap; }
.inp .person i, .suggest i { width: 18px; height: 18px; border-radius: 50%; background: #23a6d5; font: 700 8px/18px var(--f-sans); text-align: center; font-style: normal; flex: none; }
@keyframes pop-in { from { transform: scale(.6); opacity: 0 } }
.typing { color: var(--text); font-weight: 500; }
.suggest {
  position: absolute; left: 0; right: 0; top: 46px; z-index: 4; padding: 6px; border-radius: 12px; background: #1b1660;
  box-shadow: 0 0 0 1px var(--border) inset, 0 20px 40px -10px rgba(0,0,0,.6); opacity: 0; transform: translateY(-6px); transition: .3s var(--ease); pointer-events: none;
}
.suggest.on { opacity: 1; transform: none; }
.suggest div { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; font-size: 12.5px; }
.suggest div.on { background: color-mix(in srgb, var(--a1) 60%, transparent); }
.suggest small { color: var(--sub); margin-left: auto; font-size: 11px; }
.inp.proj { font: 500 12px/1 var(--f-mono); color: var(--sub); }
.inp.proj.linked { color: var(--text); }
.add-btn { height: 46px; margin-top: 4px; border-radius: 12px; display: grid; place-items: center; font-size: 14px; font-weight: 600; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; color: var(--sub); transition: .3s; }
.add-btn.ready { background: var(--a1); color: #fff; box-shadow: 0 12px 30px -10px var(--a1); }
.add-btn.press { transform: scale(.97); }
.add-btn.done { background: rgba(61,220,132,.25); color: #c9fadb; box-shadow: none; }

/* ───── Beat versioning (en développement) ───── */
.feat-copy .badge-dev { margin-bottom: 18px; }
.vs { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px 22px; }
.vs-top { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset, inset 0 1px 0 rgba(255,255,255,.12); }
.vs-cover { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: #fff; background: linear-gradient(140deg, var(--a2), var(--a0)); }
.vs-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vs-t b { font: 700 15px/1 var(--f-sans); letter-spacing: .04em; }
.vs-t span { font: 500 11.5px/1 var(--f-mono); color: var(--sub); white-space: nowrap; }
.vs-t em { font-style: normal; color: var(--text); }
.vs-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 999px; font: 600 11.5px/1 var(--f-sans); white-space: nowrap; background: var(--chip); box-shadow: 0 0 0 1px var(--border) inset; transition: background .25s; }
.vs-btn.hit { background: color-mix(in srgb, var(--a1) 85%, transparent); }

.vs-graph { position: relative; width: 596px; height: 214px; flex: none; border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.22); box-shadow: 0 0 0 1px var(--border) inset; }
.app .vs-graph svg { position: absolute; inset: 0; width: 596px; height: 214px; stroke-width: 3; }
.vs-graph path { fill: none; stroke: var(--a3); stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .6s var(--ease), opacity .1s; }
.vs-graph path.dr { stroke: #7fe0a8; }
.vs-graph path.on { stroke-dashoffset: 0; opacity: 1; } /* masqué avant : le bout arrondi du trait laissait un point visible */
.vs-node { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.vs-dot { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 3px var(--a3); transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), background .3s; }
.vs-node.dr .vs-dot { box-shadow: 0 0 0 3px #7fe0a8; }
.vs-node.on .vs-dot { transform: scale(1); }
.vs-node.cur .vs-dot { background: #fff; }
.vs-node.cur .vs-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: vs-ring 1.5s ease-out infinite; }
@keyframes vs-ring { from { transform: scale(.65); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.vs-lab { position: absolute; left: 0; bottom: 18px; transform: translateX(-50%); text-align: center; white-space: nowrap; opacity: 0; transition: opacity .4s .15s; }
.vs-node.lo .vs-lab { bottom: auto; top: 18px; }
.vs-node.on .vs-lab { opacity: 1; }
.vs-lab b { display: block; font: 700 12px/1.3 var(--f-mono); }
.vs-lab small { font: 500 10.5px/1.2 var(--f-sans); color: var(--sub); }
.vs-node.cur .vs-lab small { color: var(--text); }
.vs-ref { position: absolute; left: 0; top: 0; padding: 5px 8px; border-radius: 6px; font: 600 10px/1 var(--f-mono); letter-spacing: .05em; color: #fff; background: color-mix(in srgb, var(--a1) 90%, transparent); opacity: 0; transition: transform .6s var(--ease), opacity .3s; }
.vs-ref[data-ref="drill"] { background: #1d7a49; }
.vs-ref.on { opacity: 1; }

.vs-log { height: 26px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 4px; font: 500 12px/1 var(--f-mono); color: var(--sub); }
.vs-log i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--a3); }
.vs-log span { transition: opacity .25s, transform .25s; }
.vs-log span.out { opacity: 0; transform: translateY(6px); }

.vs-cmp { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; }
.vs-row { display: grid; grid-template-columns: 26px 128px 1fr 38px; align-items: center; gap: 12px; transition: opacity .35s; }
.vs-row.off { opacity: .28; }
.vs-row .wave { height: 26px; }
.vs-row.b .wave { --a3: #7fe0a8; }
.vs-tag { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 11px/1 var(--f-mono); background: var(--chip); transition: background .25s; }
.vs-row.play .vs-tag { background: var(--a1); color: #fff; }
.vs-row.b.play .vs-tag { background: #1d7a49; }
.vs-name { font: 600 12px/1.2 var(--f-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-len { font: 500 11px/1 var(--f-mono); color: var(--sub); text-align: right; }
.vs-diff { display: flex; gap: 6px; flex-wrap: wrap; height: 24px; }
.vs-diff span { padding: 6px 9px; border-radius: 999px; background: var(--chip); font: 500 10.5px/1 var(--f-mono); color: var(--sub); opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.vs-diff.on span { opacity: 1; transform: none; }
.vs-diff.on span:nth-child(2) { transition-delay: .08s; }
.vs-diff.on span:nth-child(3) { transition-delay: .16s; }
.vs-diff.on span:nth-child(4) { transition-delay: .24s; }

/* ───── Vue graphe ───── */
.ex-body { position: relative; }
.ex-list { transition: opacity .4s var(--ease); }
.graph { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.graph.on { opacity: 1; }
.graph svg { width: 100%; height: 100%; overflow: visible; stroke: none; }
.g-link { stroke: color-mix(in srgb, var(--a3) 45%, transparent); stroke-width: 1.3; transition: stroke .4s, stroke-width .4s, opacity .4s; }
.g-hub circle { fill: color-mix(in srgb, var(--a1) 85%, transparent); stroke: var(--a3); stroke-width: 1.5; }
.g-hub text { fill: #fff; font: 700 8.5px var(--f-sans); letter-spacing: .1em; text-anchor: middle; dominant-baseline: central; }
.g-node circle { fill: var(--a3); transition: fill .3s; }
.g-node text { fill: var(--sub); font: 600 9.5px var(--f-sans); letter-spacing: .04em; opacity: 0; transition: opacity .3s; }
.g-node.lbl text { opacity: .85; }
.graph .g-node, .graph .g-hub { transition: opacity .4s; }
.graph.dim .g-link { opacity: .12; }
.graph.dim .g-node { opacity: .25; }
.graph.dim .g-hub { opacity: .35; }
.graph .act { opacity: 1 !important; }
.graph .g-link.act { stroke: var(--a3); stroke-width: 1.8; }
.g-node.act text { opacity: 1; fill: #fff; }
.g-node.pick circle { fill: #fff; }
.graph.grow .g-node circle, .graph.grow .g-hub circle { animation: g-pop .7s var(--ease) both; animation-delay: var(--d); }
.graph.grow .g-link { animation: g-fade .9s ease both; animation-delay: var(--d); }
@keyframes g-pop { from { r: 0; } }
@keyframes g-fade { from { opacity: 0; } }
.g-drift { animation: drift 7s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(4px, -5px); } }
.g-tip {
  position: absolute; z-index: 5; padding: 9px 12px; border-radius: 10px; background: rgba(20,16,60,.95); box-shadow: 0 0 0 1px var(--border) inset, 0 12px 30px -8px rgba(0,0,0,.6);
  font-size: 12px; white-space: nowrap; opacity: 0; transform: translate(-50%, -100%) translateY(-12px); transition: opacity .3s; pointer-events: none;
}
.g-tip.on { opacity: 1; }
.g-tip b { display: block; font-size: 13px; }
.g-tip small { color: var(--sub); }

/* ───── Partager ───── */
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 22px; }
.scard {
  position: relative; padding: 16px; border-radius: 18px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset;
  transition: background .35s, box-shadow .35s, transform .45s var(--ease), opacity .45s; opacity: 0; transform: translateY(14px);
}
.pane.on .scard { opacity: 1; transform: none; transition-delay: var(--d); }
.pane.on .scard.hover { background: var(--glass-2); box-shadow: 0 0 0 1px var(--a2) inset, 0 20px 40px -20px var(--a1); transform: translateY(-4px); transition-delay: 0s; }
.scard .si { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--a1) 70%, transparent); margin-bottom: 12px; }
.scard .si svg { width: 16px; height: 16px; }
.scard b { display: block; font-size: 14px; margin-bottom: 4px; }
.scard p { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--sub); }
.scard .st { position: absolute; right: 12px; top: 12px; font: 600 8.5px/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.22); color: #ecc89a; }
.scard .st.ok { background: rgba(61,220,132,.2); color: #a6f5c6; }

/* ───────────────── DAW (FL Studio, Ableton Live, Logic Pro) ───────────────── */
.daw { height: 100%; font-family: var(--f-sans); letter-spacing: 0; overflow: hidden; position: relative; user-select: none; }

/* FL Studio */
.daw-fl { background: #3c464d; color: #c6d0d5; display: grid; grid-template-rows: 30px 1fr; font-size: 10.5px; }
.fl-top { display: flex; align-items: center; gap: 10px; padding: 0 8px; background: linear-gradient(#56636b, #414c53); border-bottom: 1px solid #252c30; }
.fl-menu { display: flex; gap: 10px; font: 600 9.5px/1 var(--f-sans); letter-spacing: .04em; color: #dfe6ea; }
.fl-menu span { padding: 3px 5px; margin: -3px -5px; border-radius: 2px; transition: background .2s; }
.fl-menu span.on { color: #fff; background: #6f7c84; }
.fl-pat { display: flex; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px #20272b; margin-left: 8px; }
.fl-pat span { padding: 4px 6px; font: 700 8.5px/1 var(--f-sans); background: #2e373c; color: #8d9aa1; }
.fl-pat span.on { background: #f29e38; color: #2b1600; }
.fl-tr { display: flex; gap: 2px; }
.fl-tr span { width: 22px; height: 20px; display: grid; place-items: center; border-radius: 3px; background: #2e373c; font-size: 9px; color: #b9c5cb; }
.fl-tr span.play { color: #8de36b; }
.fl-tr span.rec { color: #ff5d5d; }
.fl-lcd { display: flex; align-items: baseline; gap: 4px; padding: 3px 8px; border-radius: 3px; background: #1b2023; font: 500 14px/1 var(--f-mono); color: #ffb45c; box-shadow: inset 0 1px 3px #000; }
.fl-lcd small { font-size: 8px; color: #8a7055; }
.fl-time { font: 500 13px/1 var(--f-mono); color: #9fdc7c; background: #1b2023; padding: 4px 8px; border-radius: 3px; box-shadow: inset 0 1px 3px #000; }
.fl-meter { margin-left: auto; display: flex; gap: 2px; align-items: flex-end; height: 18px; }
.fl-meter i { width: 3px; background: linear-gradient(#ff6a3d, #ffd23f 40%, #7ddc54); height: var(--h, 40%); transition: height .12s; }
.fl-body { display: grid; grid-template-columns: 150px 1fr; min-height: 0; }
.fl-browser { background: #2f383d; border-right: 1px solid #252c30; padding: 8px 6px; display: flex; flex-direction: column; gap: 3px; }
.fl-browser span { padding: 4px 6px; border-radius: 2px; color: #b8c3c9; white-space: nowrap; }
.fl-browser span::before { content: "▸ "; color: #f29e38; }
.fl-browser span.on { background: #45525a; color: #fff; }
.fl-pl { position: relative; background: #34424a; overflow: hidden; }
.fl-pl-head { height: 22px; display: flex; align-items: center; gap: 10px; padding: 0 8px; background: #46535b; font-weight: 600; color: #dfe6ea; border-bottom: 1px solid #252c30; }
.fl-pl-head b { color: #f29e38; font-weight: 700; }
.fl-ruler { position: absolute; left: 90px; right: 0; top: 22px; height: 16px; display: flex; font: 500 8.5px/16px var(--f-mono); color: #a7b4bb; background: #3d4a52; }
.fl-ruler span { flex: 1; padding-left: 3px; border-left: 1px solid #56646c; }
.fl-tracks { position: absolute; left: 0; right: 0; top: 38px; bottom: 0; display: flex; flex-direction: column; }
.fl-track { display: flex; flex: 1; max-height: 72px; min-height: 26px; border-bottom: 1px solid #2b363c; }
.fl-track > b { width: 90px; flex: none; display: flex; align-items: center; gap: 5px; padding: 0 6px; background: #46535b; color: #d7e0e5; font-weight: 600; border-right: 1px solid #252c30; }
.fl-track > b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8de36b; }
.fl-lane { position: relative; flex: 1; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #3b4a52 calc(25% - 1px) 25%); }
.fl-clip { position: absolute; top: 2px; bottom: 2px; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); overflow: hidden; }
.fl-clip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: rgba(0,0,0,.22); }
.fl-clip::after { content: ""; position: absolute; inset: 11px 3px 3px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 2px, transparent 2px 6px); opacity: .7; }
.fl-rack { position: absolute; left: 120px; top: 54px; width: 430px; z-index: 2; background: #46535b; border-radius: 3px; box-shadow: 0 0 0 1px #20272b, 0 18px 40px rgba(0,0,0,.55); }
.fl-rack-head { height: 20px; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: #59666e; font-weight: 600; color: #eef3f5; border-radius: 3px 3px 0 0; }
.fl-ch { display: flex; align-items: center; gap: 6px; padding: 3px 6px; }
.fl-ch .led { width: 7px; height: 7px; border-radius: 50%; background: #8de36b; box-shadow: 0 0 4px #8de36b; }
.fl-ch .knob { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8c99a0, #3a454b); }
.fl-ch .name { width: 72px; padding: 3px 6px; border-radius: 2px; background: #6a777f; color: #fff; font-weight: 600; font-size: 9.5px; white-space: nowrap; overflow: hidden; }
.fl-steps { display: flex; gap: 2px; }
.fl-steps i { width: 15px; height: 17px; border-radius: 2px; background: #59676f; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25); }
.fl-steps i.alt { background: #6f5c5c; }
.fl-steps i.on { background: #e7edf0; box-shadow: inset 0 -2px 0 #9fb0b8; }
.fl-steps i.alt.on { background: #ffd4c4; }
.fl-steps i.cur { outline: 1px solid #f29e38; }
.fl-head { position: absolute; top: 22px; bottom: 0; left: 90px; width: 1px; background: #8de36b; box-shadow: 0 0 6px #8de36b; z-index: 1; }
.fl-dropdown { position: absolute; z-index: 6; left: 8px; top: 30px; width: 190px; padding: 4px 0; background: #4f5b62; box-shadow: 0 0 0 1px #20272b, 0 12px 30px rgba(0,0,0,.5); opacity: 0; transform: translateY(-4px); transition: .2s; }
.fl-dropdown.show { opacity: 1; transform: none; }
.fl-dropdown span { display: flex; justify-content: space-between; padding: 5px 10px; color: #e6ecef; font-size: 10.5px; }
.fl-dropdown span.on { background: #f29e38; color: #2b1600; }
.fl-dropdown span small { opacity: .7; }

/* Ableton Live */
.daw-abl { background: #1e1e1e; color: #c9c9c9; display: grid; grid-template-rows: 32px 1fr 96px; font-size: 10px; }
.abl-top { display: flex; align-items: center; gap: 6px; padding: 0 8px; background: #3a3a3a; border-bottom: 1px solid #111; }
.abl-box { padding: 4px 6px; border-radius: 2px; background: #1e1e1e; color: #e8e8e8; font: 500 10.5px/1 var(--f-mono); }
.abl-box.lbl { background: #4a4a4a; color: #cfcfcf; font: 600 9px/1 var(--f-sans); }
.abl-tr { display: flex; gap: 2px; margin: 0 auto; }
.abl-tr span { width: 24px; height: 20px; display: grid; place-items: center; background: #4a4a4a; border-radius: 2px; font-size: 9px; color: #ddd; }
.abl-tr span.on { background: #b7e64b; color: #111; }
.abl-tr span.rec { color: #ff5a4a; }
.abl-cpu { font: 500 9px/1 var(--f-mono); color: #9a9a9a; }
.abl-main { display: grid; grid-template-columns: 120px 1fr 74px; min-height: 0; border-bottom: 1px solid #111; }
.abl-browser { background: #2b2b2b; border-right: 1px solid #111; padding: 8px 0; display: flex; flex-direction: column; }
.abl-browser small { padding: 0 10px 6px; font: 700 8.5px/1 var(--f-sans); letter-spacing: .08em; color: #8a8a8a; }
.abl-browser span { padding: 4px 10px; color: #bdbdbd; }
.abl-browser span.on { background: #ffa834; color: #111; }
.abl-session { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: #111; min-width: 0; }
.abl-col { background: #262626; display: flex; flex-direction: column; min-width: 0; }
.abl-col > b { height: 20px; display: flex; align-items: center; padding: 0 6px; background: var(--c); color: #111; font-weight: 700; font-size: 9.5px; white-space: nowrap; overflow: hidden; }
.abl-slot { height: 22px; margin: 2px 3px 0; border-radius: 1px; background: #303030; display: flex; align-items: center; gap: 4px; padding: 0 5px; color: #111; font-weight: 600; font-size: 9px; white-space: nowrap; overflow: hidden; }
.abl-slot.clip { background: var(--c); }
.abl-slot.clip::before { content: "▶"; font-size: 7px; }
.abl-slot.empty::before { content: ""; width: 7px; height: 7px; background: #4a4a4a; }
.abl-slot.playing { box-shadow: 0 0 0 1px #fff inset; animation: abl-blink .5s steps(1) infinite; }
@keyframes abl-blink { 50% { filter: brightness(1.35); } }
.abl-scenes { background: #2a2a2a; display: flex; flex-direction: column; }
.abl-scenes > b { height: 20px; display: flex; align-items: center; padding: 0 6px; background: #4a4a4a; color: #ddd; font-size: 9.5px; }
.abl-scenes span { height: 22px; margin: 2px 3px 0; display: flex; align-items: center; gap: 5px; padding: 0 6px; background: #3a3a3a; color: #ddd; font-size: 9px; }
.abl-scenes span::before { content: "▶"; font-size: 7px; color: #9a9a9a; }
.abl-mix { display: grid; grid-template-columns: 120px 1fr 74px; background: #2b2b2b; }
.abl-mix-l { border-right: 1px solid #111; padding: 8px 10px; color: #8a8a8a; font: 700 8.5px/1.6 var(--f-sans); letter-spacing: .06em; }
.abl-strips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: #111; }
.abl-strip { background: #2b2b2b; display: flex; align-items: flex-end; gap: 6px; padding: 8px 6px; }
.abl-strip .btns { display: flex; flex-direction: column; gap: 3px; }
.abl-strip .btns span { width: 20px; height: 14px; display: grid; place-items: center; border-radius: 1px; background: #4a4a4a; font: 700 8px/1 var(--f-sans); color: #ddd; }
.abl-strip .btns span.act { background: #ffc93a; color: #111; }
.abl-strip .meter { flex: 1; height: 60px; display: flex; gap: 2px; align-items: flex-end; }
.abl-strip .meter i { flex: 1; max-width: 5px; height: var(--h, 30%); background: linear-gradient(#ff4d3d, #ffc93a 25%, #6fdc4f 50%); transition: height .12s; }
.abl-master { border-left: 1px solid #111; }

/* Logic Pro */
.daw-lgc { background: #1e1e20; color: #d1d1d6; display: grid; grid-template-rows: 44px 1fr; font-size: 10.5px; }
.lgc-top { display: flex; align-items: center; gap: 10px; padding: 0 10px; background: linear-gradient(#3a3a3e, #2c2c2f); border-bottom: 1px solid #111; }
.lgc-icons { display: flex; gap: 5px; }
.lgc-icons span { width: 22px; height: 22px; border-radius: 5px; background: #48484d; display: grid; place-items: center; font-size: 9px; color: #c7c7cc; }
.lgc-tr { display: flex; gap: 4px; margin-left: auto; }
.lgc-tr span { width: 26px; height: 24px; border-radius: 5px; display: grid; place-items: center; background: #48484d; font-size: 9px; color: #e5e5ea; }
.lgc-tr span.on { background: #e5e5ea; color: #1e1e20; }
.lgc-tr span.rec { color: #ff453a; }
.lgc-lcd { display: flex; align-items: center; gap: 16px; padding: 4px 14px; border-radius: 6px; background: #1a1a1c; box-shadow: inset 0 1px 4px #000, 0 0 0 1px #48484d; font: 500 15px/1 var(--f-mono); color: #f2f2f7; margin-right: auto; }
.lgc-lcd div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.lgc-lcd small { font: 600 7.5px/1 var(--f-sans); letter-spacing: .1em; color: #8e8e93; text-transform: uppercase; }
.lgc-body { display: grid; grid-template-columns: 170px 1fr; min-height: 0; }
.lgc-heads { background: #2a2a2d; border-right: 1px solid #111; padding-top: 26px; }
.lgc-h { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border-bottom: 1px solid #1c1c1e; }
.lgc-h .ic { width: 24px; height: 24px; border-radius: 5px; display: grid; place-items: center; background: #3a3a3e; font-size: 11px; }
.lgc-h b { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; }
.lgc-h .ms { display: flex; gap: 2px; }
.lgc-h .ms span { width: 15px; height: 14px; border-radius: 3px; background: #48484d; display: grid; place-items: center; font: 700 7.5px/1 var(--f-sans); color: #c7c7cc; }
.lgc-h .ms span.s { background: #ffd60a; color: #1e1e20; }
.lgc-area { position: relative; background: #232326; overflow: hidden; }
.lgc-ruler { height: 26px; position: relative; display: flex; background: #2c2c2f; border-bottom: 1px solid #111; font: 500 8.5px/1 var(--f-mono); color: #a1a1a6; }
.lgc-ruler span { flex: 1; padding: 13px 0 0 3px; border-left: 1px solid #48484d; }
.lgc-cycle { position: absolute; left: 0; width: 50%; top: 0; height: 9px; background: #ffd60a; opacity: .85; border-radius: 1px; }
.lgc-lane { position: relative; height: 40px; border-bottom: 1px solid #1c1c1e; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #2c2c30 calc(12.5% - 1px) 12.5%); }
.lgc-reg { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: color-mix(in srgb, var(--c) 55%, #1e1e20); box-shadow: inset 0 0 0 1px var(--c); overflow: hidden; }
.lgc-reg > b { display: block; height: 11px; padding: 1px 4px; background: var(--c); color: #111; font: 600 8px/9px var(--f-sans); white-space: nowrap; }
.lgc-reg.midi::after { content: ""; position: absolute; inset: 14px 4px 4px; background: radial-gradient(circle, var(--c) 0 1.2px, transparent 1.6px) 0 0 / 9px 6px, radial-gradient(circle, var(--c) 0 1.2px, transparent 1.6px) 4px 3px / 13px 8px; opacity: .9; }
.lgc-reg.audio::after { content: ""; position: absolute; inset: 14px 2px 2px; background: repeating-linear-gradient(90deg, var(--c) 0 1px, transparent 1px 3px); -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); opacity: .85; }
.lgc-head { position: absolute; top: 0; bottom: 0; width: 1px; background: #fff; z-index: 2; left: 0; }

/* démo 03 : la fenêtre du DAW s'ouvre depuis le bouton */
[data-scene="daw"] { padding: 20px; }
[data-scene="daw"] .row { grid-template-columns: 36px 1fr 48px 46px 230px; height: 60px; margin-bottom: 9px; }
[data-scene="daw"] .r-proj { height: 36px; font-size: 12.5px; }
.daw-win {
  position: absolute; inset: 14px; z-index: 4; border-radius: 12px; overflow: hidden; background: #111;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -20px rgba(0,0,0,.85);
  transform: scale(.5); transform-origin: var(--ox, 80%) var(--oy, 20%); opacity: 0; transition: transform .7s cubic-bezier(.2,.9,.2,1), opacity .35s;
}
.daw-win.show { transform: none; opacity: 1; }
.daw-win .win-bar { height: 30px; background: #2a2a2c; }
.daw-win .win-bar i { width: 10px; height: 10px; }
.daw-win .dw-body { height: calc(100% - 30px); position: relative; }
.daw-win .daw { height: 100%; }
.daw-win .badge-dev { position: absolute; right: 12px; bottom: 12px; z-index: 6; background: rgba(13,11,10,.85); }

/* ───── démos des fonctionnalités ───── */
[data-scene="search"] { padding-top: 8px; }
[data-scene="search"] .row { grid-template-columns: 36px 1fr 110px 44px 44px 130px; height: 50px; margin-bottom: 6px; }
[data-scene="search"] .f-grid { grid-template-columns: 1fr 1fr; }
.search-hint { margin: 10px 22px 8px; height: 14px; font: 400 11px/14px var(--f-mono); color: var(--sub); display: flex; gap: 10px; }
.search-hint .q { color: var(--a3); }

/* ───── bandeau contributeurs ───── */
.crew-band { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(0,63,224,.12), rgba(0,63,224,.02) 60%, rgba(255,255,255,.03)); }
.crew-cta { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--muted); font-size: 15px; }
.crew-cta b { color: var(--ivory); font-weight: 600; margin-right: 4px; }
.crew-emoji { font-size: 24px; }
.crew-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #5865f2; color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s; }
.crew-btn img { width: 18px; height: 18px; border-radius: 4px; }
.crew-cta:hover .crew-btn { transform: translateY(-1px); box-shadow: 0 10px 30px -10px #5865f2; }
.marquee { overflow: hidden; padding: 4px 0 22px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 50s linear infinite; }
.crew-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--ebony-2); box-shadow: 0 0 0 1px var(--line) inset; font-size: 14px; font-weight: 520; white-space: nowrap; }
.crew-pill i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 var(--f-sans); font-style: normal; color: #fff; }
.crew-pill.core { box-shadow: 0 0 0 1px rgba(0,63,224,.7) inset; background: rgba(0,63,224,.14); }
.crew-pill.core::after { content: "dev"; font: 600 9.5px/1 var(--f-sans); letter-spacing: .06em; padding: 3px 6px; border-radius: 999px; color: #fff; background: var(--cobalt); }
.crew-pill.you { background: var(--ivory); color: var(--ebony); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───── mur de la honte ───── */
.shame { padding: 140px 0 120px; overflow-x: clip; }
.shame-wall { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: start; }
.msg { position: relative; transform-origin: 50% -6px; margin: 0; rotate: var(--rot); transition: rotate .5s var(--ease), translate .9s var(--ease), opacity .9s var(--ease); }
.msg:hover { rotate: 0deg; }
.msg:nth-child(1) { grid-column: 1 / span 5; margin-top: 40px; }
.msg:nth-child(2) { grid-column: 7 / span 6; }
.msg:nth-child(3) { grid-column: 2 / span 6; margin-top: -10px; }
.msg:nth-child(4) { grid-column: 8 / span 5; margin-top: -60px; }
.bubble { margin: 0; padding: 10px 15px; border-radius: 20px; font-size: 17px; line-height: 1.35; width: fit-content; max-width: 88%; }
.msg-imessage, .msg-sms { background: #f5f5f7; color: #111; border-radius: 26px; padding: 20px 20px 18px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--f-sans); letter-spacing: 0; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.im-head { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; color: #444; }
.im-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 17px; color: #fff; background: linear-gradient(#a6abb8, #858a96); }
.im-avatar-warm { background: linear-gradient(#d9a877, #b88b58); }
.im-time { text-align: center; font-size: 11px; color: #8a8a8e; margin: 14px 0 10px; }
.bubble-blue { margin-left: auto; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.im-status { text-align: right; font-size: 11px; color: #8a8a8e; margin-top: 5px; }
.im-reply { margin-top: 10px; font-size: 18px; }
.msg.inview .im-reply { animation: skull .9s .9s cubic-bezier(.2, 1.6, .4, 1) both; transform-origin: 0 100%; }
.big-emoji { margin: 6px 0 0 4px; font-size: 54px; line-height: 1; width: fit-content; transform-origin: 30% 80%; }
.msg.inview .big-emoji { animation: skull 1.2s .9s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes skull { 0% { transform: scale(0) rotate(-30deg); opacity: 0 } 60% { transform: scale(1.15) rotate(8deg); opacity: 1 } 100% { transform: none } }
.bubble-grey { background: #e5e5ea; color: #111; border-bottom-left-radius: 6px; margin-bottom: 4px; }
.sms-typing { display: inline-flex; gap: 4px; padding: 12px 14px; margin-top: 4px; border-radius: 20px; background: #e5e5ea; }
.sms-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9b9ba1; animation: typing 1.2s infinite; }
.sms-typing i:nth-child(2) { animation-delay: .15s } .sms-typing i:nth-child(3) { animation-delay: .3s }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5 } 30% { transform: translateY(-3px); opacity: 1 } }
.msg-dm { background: #000; border-radius: 22px; padding: 18px; color: #fff; letter-spacing: 0; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); }
.dm-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #262626; margin-bottom: 18px; }
.dm-head b { display: block; font-size: 15px; }
.dm-head small { font-size: 12px; color: #a8a8a8; }
.dm-avatar { width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.dm-avatar i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid #000; background: linear-gradient(135deg, #3a2a63, #1b1b1b); }
.bubble-dm { margin-left: auto; background: linear-gradient(135deg, #7b2ff7, #3797f0); color: #fff; border-radius: 22px; }
.redact { display: inline-block; background: #0b0b0b; color: transparent; border-radius: 3px; padding: 0 4px; user-select: none; box-shadow: 0 0 0 1px rgba(255,255,255,.15); font-size: .8em; }
.dm-react { text-align: right; font-size: 15px; margin: -6px 10px 14px 0; position: relative; }
.dm-input { border: 1px solid #363636; border-radius: 999px; padding: 11px 16px; font-size: 14px; color: #8e8e8e; }
.msg-tweet { background: #000; border-radius: 18px; padding: 18px 20px; color: #e7e9ea; letter-spacing: 0; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px #3a3f44; }
.tw-head { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.tw-avatar { width: 42px; height: 42px; border-radius: 50%; background: #1d1f23; display: grid; place-items: center; font-size: 20px; }
.tw-handle { color: #71767b; }
.tw-text { font-size: 24px; line-height: 1.3; margin: 14px 0 16px; }
.tw-actions { display: flex; gap: 40px; color: #71767b; font-size: 13px; }
.tw-actions span { display: flex; align-items: center; gap: 6px; }
.tw-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.tw-actions span:last-child { color: #f91880; }
.tw-actions span:last-child svg { fill: #f91880; stroke: #f91880; }
.shame-punch { max-width: 940px; margin: 120px auto 0; padding: 0 var(--gutter); text-align: center; font: 620 clamp(28px, 4vw, 50px)/1.18 var(--f-sans); letter-spacing: -.035em; color: var(--stone); }

/* ───── fonctionnalités ───── */
.features { padding: 120px 0 100px; }
.feat-row { max-width: var(--wrap); margin: 0 auto 130px; padding: 0 var(--gutter); display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.feat-row.reverse { grid-template-columns: 7fr 5fr; }
.feat-row.reverse .feat-copy { order: 2; }
.feat-copy h3 { font: 620 clamp(28px, 3.3vw, 40px)/1.08 var(--f-sans); letter-spacing: -.035em; }
.feat-copy p { color: var(--muted); font-size: 17px; margin: 18px 0 0; max-width: 460px; }
.feat-copy .aside { color: var(--stone); font-size: 19px; font-weight: 520; margin-top: 22px; }
.feat-copy .aside::before { content: "↳ "; color: var(--ochre); font-family: var(--f-mono); }
.aside .fname {
  font: 500 .74em/1.5 var(--f-mono); letter-spacing: 0; color: inherit;
  margin-left: 4px;
  display: inline-block; max-width: 100%; overflow-wrap: anywhere;
}
@media (max-width: 480px) { .aside .fname { font-size: .68em; } }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.pills li { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--f-mono); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--stone); }
.pills li img { width: 16px; height: 16px; object-fit: contain; border-radius: 3px; }
.pills li.dev { color: rgba(243,239,226,.8); border-color: var(--glass-line); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); backdrop-filter: blur(8px); }
.feat-visual { position: relative; }
.feat-visual::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(0,63,224,.35), transparent); filter: blur(30px); z-index: -1; }

/* ───── bento ───── */
.bento { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { position: relative; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--ebony-2), #110f0d); box-shadow: 0 0 0 1px var(--line) inset; }
.card:hover { box-shadow: 0 0 0 1px var(--line-2) inset; }
.card-copy { padding: 28px 30px 0; }
.card-copy h3 { font-size: 26px; margin-top: 16px; }
.card-copy p { color: var(--muted); margin: 10px 0 0; max-width: 470px; }
.card-copy .cool { color: var(--ivory); font-size: 20px; font-weight: 560; }
.card-visual { padding: 24px 30px 30px; margin-top: auto; }
.card-pack { grid-column: span 4; }
.card-snippet { grid-column: span 2; grid-row: span 2; }
.card-explore, .card-book { grid-column: span 2; }
.card-theme { grid-column: span 6; display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
.card-theme .card-copy { padding-bottom: 30px; }
.card-theme .card-visual { margin: 0; }
.card-snippet .card-visual { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 1; }
.card-snippet .scale-box { max-width: 320px; margin-bottom: 56px; }

/* pack */
[data-scene="pack"] { display: grid; grid-template-columns: 1fr 260px; gap: 20px; padding: 22px; }
.pack-list { display: flex; flex-direction: column; }
.prow {
  height: 50px; display: grid; grid-template-columns: 26px 1fr 50px 46px; align-items: center; gap: 12px; padding: 0 14px; border-radius: 12px; margin-bottom: 7px; overflow: hidden;
  background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; font-size: 13px;
  transition: transform .5s var(--ease), opacity .5s, background .3s, box-shadow .3s, height .5s .25s var(--ease), margin .5s .25s var(--ease);
}
.prow b { font-weight: 600; letter-spacing: .02em; }
.prow span { font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; }
.check { width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 0 0 1.5px var(--border) inset; display: grid; place-items: center; font-size: 12px; color: transparent !important; transition: .25s; }
.prow.sel { background: color-mix(in srgb, var(--a1) 30%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a2) 60%, transparent) inset; }
.prow.sel .check { background: var(--a1); box-shadow: none; color: #fff !important; }
.prow.suck { transform: translateX(160px) scale(.6); opacity: 0; height: 0; margin-bottom: 0; }
.pack-side { display: flex; flex-direction: column; gap: 14px; position: relative; }
.pack-make { height: 48px; border: 0; border-radius: 14px; font: 600 14px/1 var(--f-sans); color: #fff; cursor: default; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; transition: .3s; }
.pack-make.ready { background: var(--a1); box-shadow: 0 10px 30px -10px var(--a1); }
.pack-make.press { transform: scale(.96); }
.pack-card { border-radius: 18px; overflow: hidden; background: var(--glass-2); box-shadow: 0 0 0 1px var(--border) inset; opacity: 0; transform: translateY(20px) scale(.92); transition: .7s cubic-bezier(.2,.9,.2,1.1); }
.pack-card.show { opacity: 1; transform: none; }
.pack-cover { height: 140px; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--a2), var(--a0) 60%, #0a0820); }
.pack-cover .wordmark { width: 78%; color: #fff; }
.pack-tag { position: absolute; left: 10px; bottom: 10px; font: 700 9px/1 var(--f-sans); letter-spacing: .14em; padding: 5px 8px; border-radius: 999px; background: rgba(0,0,0,.4); }
.pack-meta { padding: 12px 14px 4px; }
.pack-meta b { display: block; font-size: 14px; }
.pack-meta small { font-size: 11px; color: var(--sub); }
.pack-link { display: block; margin: 10px 14px 14px; text-align: center; padding: 10px; border-radius: 10px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.1); transition: .3s; }
.pack-link.done { background: rgba(61,220,132,.3); color: #c9fadb; }

/* explorer (feed) */
[data-scene="explore"] { padding: 0; }
.feed { position: absolute; inset: 0; padding: 20px; overflow: hidden; }
.feed-track { display: flex; flex-direction: column; gap: 12px; transition: transform 1s cubic-bezier(.6, 0, .2, 1); }
.fcard { flex: none; height: 108px; border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: center; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.fcard.focus { background: var(--glass-2); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a2) 60%, transparent) inset; transform: scale(1.02); }
.fcover { width: 78px; height: 78px; border-radius: 12px; display: grid; place-items: center; background: var(--cv); font: 700 22px/1 var(--f-sans); color: rgba(255,255,255,.9); }
.fmeta b { font-size: 15px; letter-spacing: .02em; }
.fmeta small { display: block; font-size: 11.5px; color: var(--sub); margin: 3px 0 8px; }
.fmeta .wave { height: 22px; }
.gem { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 3px 7px; border-radius: 999px; font: 600 9.5px/1 var(--f-sans); letter-spacing: .06em; color: #1b1206; background: var(--ochre); vertical-align: 2px; }
.feed-fade { position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* carnet d'adresses */
[data-scene="book"] { padding: 18px; display: grid; grid-template-columns: 150px 1fr; gap: 14px; }
.bk-list { display: flex; flex-direction: column; gap: 6px; }
.bk-item { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; font-size: 12px; font-weight: 550; transition: background .3s, box-shadow .3s; }
.bk-item i, .bk-id i { border-radius: 50%; display: grid; place-items: center; font-style: normal; flex: none; color: #fff; }
.bk-item i { width: 26px; height: 26px; font: 700 9px/1 var(--f-sans); }
.bk-item small { display: block; font-size: 10px; color: var(--sub); font-weight: 400; }
.bk-item.on { background: var(--glass-2); box-shadow: 0 0 0 1px var(--a2) inset; }
.bk-card { border-radius: 16px; padding: 16px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; transition: opacity .3s; }
.bk-card.swap { opacity: 0; }
.bk-id { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bk-id i { width: 44px; height: 44px; font: 700 15px/1 var(--f-sans); }
.bk-id b { display: block; font-size: 15px; }
.bk-id small { font-size: 11px; color: var(--sub); }
.bk-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); font-size: 11px; color: var(--sub); }
.bk-row span:last-child { color: var(--text); text-align: right; }
.bk-beats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }

/* snippet */
.phone { width: 340px; height: 640px; position: relative; border-radius: 46px; padding: 12px; background: #050505; box-shadow: 0 0 0 2px #2a2724, 0 0 0 5px #121110, 0 40px 80px -30px rgba(0,63,224,.6); }
.ph-notch { position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.ph-screen { height: 100%; border-radius: 36px; overflow: hidden; position: relative; background: #07051a; }
.ph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 60px 22px 22px; text-align: center; color: #fff; letter-spacing: 0; }
.ph-top { display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 12px/1 var(--f-mono); color: rgba(255,255,255,.8); }
.ph-top img { height: 30px; width: auto; }
.ph-title { font: 800 38px/1 var(--f-sans); letter-spacing: -.01em; text-shadow: 0 4px 24px rgba(0,0,0,.5); transition: opacity .25s, transform .25s var(--ease); }
.ph-title.swap { opacity: 0; transform: translateY(8px); }
.ph-tags { display: flex; justify-content: center; gap: 6px; margin: 12px 0 16px; }
.ph-tags span { font: 700 10px/1 var(--f-sans); letter-spacing: .1em; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.ph-seq { display: flex; gap: 4px; }
.ph-seq div { flex: 1; text-align: left; }
.ph-seq small { display: block; font: 600 8.5px/1 var(--f-sans); letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 5px; }
.ph-seq div.on small { color: #fff; }
.ph-seq i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.ph-seq i b { display: block; height: 100%; width: var(--w, 0%); background: #fff; }
.ph-style { position: absolute; left: 50%; bottom: -50px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2) inset; white-space: nowrap; color: var(--ivory); }
.ph-style .mono { font-size: 10px; color: var(--ochre); }
.ph-style b { font-weight: 560; font-size: 14px; }

/* thèmes */
[data-scene="theme"] { padding: 18px; }
.th-head { height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; transition: .6s; }
.th-head img { height: 46px; width: auto; }
.th-head .wordmark { width: 210px; color: var(--text); transition: color .6s; }
.th-rows { margin: 14px 0 0 !important; }
.th-rows .row { grid-template-columns: 30px 1fr 150px 44px 44px; height: 46px; transition: background .6s, box-shadow .6s; }
.th-rows .r-play { width: 26px; height: 26px; }
.th-presets { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.th-presets button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 500 12px/1 var(--f-sans); color: var(--muted); transition: color .3s; }
.th-presets .sw { width: 70px; height: 44px; border-radius: 11px; background: var(--swatch); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset; transition: box-shadow .3s, transform .3s; position: relative; }
.th-presets .sw::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.th-presets button.on { color: var(--ivory); }
.th-presets button.on .sw { box-shadow: 0 0 0 2px var(--cobalt-hi), 0 0 0 5px rgba(0,63,224,.25); transform: translateY(-2px); }
.th-presets button:focus-visible .sw { outline: 2px solid var(--cobalt-hi); outline-offset: 3px; }
.app.paper .row, .app.paper .th-head { box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset; }

/* ───── équipe ───── */
.team { padding: 140px 0 120px; border-top: 1px solid var(--line); overflow: hidden; }
.team-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.team-copy h2 { font-size: clamp(32px, 4.4vw, 54px); }
.team-copy p { color: var(--muted); font-size: 19px; margin: 24px 0 0; max-width: 470px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { margin: 0; rotate: var(--rot); transition: rotate .5s var(--ease), translate .9s var(--ease), opacity .9s var(--ease); }
.member:nth-child(2) { margin-top: 48px; }
.member:hover { rotate: 0deg; }
.member img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 0 0 1px var(--line-2), 0 18px 30px -18px rgba(0,0,0,.85); }
.member figcaption { margin-top: 12px; font: 600 15px/1 var(--f-sans); display: flex; align-items: center; gap: 8px; }
.member figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt-hi); }

/* ───── roadmap ───── */
.roadmap { padding: 120px 0 140px; }
.road-sub { margin: 18px 0 0; font-size: clamp(18px, 2vw, 22px); color: var(--stone); font-weight: 520; }
.road-list { list-style: none; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.road-item { position: relative; padding: 18px 18px 24px; border-radius: 22px; background: var(--ebony-2); box-shadow: 0 0 0 1px var(--line) inset; transition: translate .35s var(--ease), box-shadow .35s, opacity .9s var(--ease); display: flex; flex-direction: column; gap: 12px; }
.road-item:hover { box-shadow: 0 0 0 1px rgba(0,63,224,.7) inset, 0 30px 60px -30px rgba(0,63,224,.6); }
.road-item h3 { font-size: 19px; margin-top: 4px; }
.road-item p { color: var(--muted); margin: 0; font-size: 15px; }
.road-vis { height: 140px; border-radius: 14px; margin-bottom: 6px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(80% 90% at 50% 100%, rgba(0,63,224,.35), transparent), var(--ebony-3); box-shadow: 0 0 0 1px var(--line) inset; }
.dev-laptop { width: 74px; height: 48px; border-radius: 6px 6px 2px 2px; border: 2px solid var(--stone); position: relative; }
.dev-laptop::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -8px; height: 5px; border-radius: 0 0 6px 6px; background: var(--stone); }
.dev-phone { width: 28px; height: 50px; border-radius: 6px; border: 2px solid var(--stone); position: relative; }
.dev-laptop i, .dev-phone i { position: absolute; inset: 5px; border-radius: 2px; background: linear-gradient(var(--cobalt-hi), var(--cobalt)); animation: pulse 2s infinite; }
.dev-phone i { inset: 4px; animation-delay: .9s; }
.sync-line { width: 54px; height: 2px; position: relative; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.sync-line b { position: absolute; top: -3px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 10px var(--cobalt-hi); animation: sync 1.8s linear infinite; }
.sync-line b:nth-child(2) { animation-delay: .6s; }
.sync-line b:nth-child(3) { animation-delay: 1.2s; }
@keyframes sync { from { transform: translateX(0); opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } to { transform: translateX(54px); opacity: 0 } }
.mini-phone { width: 56px; height: 104px; border-radius: 12px; border: 2px solid var(--stone); padding: 14px 6px 6px; display: flex; flex-direction: column; gap: 5px; background: #0e0b2e; rotate: -8deg; translate: 0 8px; animation: float 4s ease-in-out infinite; }
.mini-phone.alt { rotate: 7deg; translate: 0 -4px; animation-delay: -2s; background: #120c38; }
.mini-phone span { height: 14px; border-radius: 4px; background: rgba(180,183,255,.22); }
.mini-phone span:first-child { background: var(--cobalt-hi); }
@keyframes float { 50% { transform: translateY(-6px); } }
.mini-browser { width: 82%; border-radius: 8px; overflow: hidden; background: #0e0b2e; box-shadow: 0 0 0 1px var(--line-2); }
.mb-bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #1b1840; font: 600 8.5px/1 var(--f-sans); color: var(--stone); }
.mb-bar i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; }
.mb-bar i:nth-child(2) { background: #febc2e; } .mb-bar i:nth-child(3) { background: #28c840; }
.mb-bar span { margin-left: 6px; padding: 3px 8px; border-radius: 4px; background: rgba(255,255,255,.08); letter-spacing: .04em; }
.mb-rows { padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.mb-rows span { height: 14px; border-radius: 4px; background: rgba(180,183,255,.18); position: relative; overflow: hidden; }
.mb-rows span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); animation: shimmer 2.2s infinite; transform: translateX(-100%); }
.mb-rows span:nth-child(2)::after { animation-delay: .3s; } .mb-rows span:nth-child(3)::after { animation-delay: .6s; }
@keyframes shimmer { to { transform: translateX(100%); } }
.qr { position: relative; padding: 8px; border-radius: 10px; background: var(--ivory); }
.qr canvas { display: block; width: 84px; height: 84px; image-rendering: pixelated; }
.qr-scan { position: absolute; left: -6px; right: -6px; height: 2px; top: 8px; background: var(--cobalt-hi); box-shadow: 0 0 12px 3px rgba(46,99,255,.8); animation: qrscan 2s ease-in-out infinite alternate; }
@keyframes qrscan { to { transform: translateY(84px); } }
.road-cta { display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 48px auto 0; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 520; color: var(--ivory); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .25s; }
.road-cta img { width: 20px; height: 20px; border-radius: 5px; }
.road-cta span { transition: transform .25s var(--ease); }
.road-cta:hover { background: rgba(88,101,242,.18); }
.road-cta:hover span { transform: translateX(4px); }

/* ───── CTA final ───── */
.final { min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--cobalt); color: var(--ivory); padding: 100px var(--gutter); }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(255,255,255,.16), transparent 70%), radial-gradient(50% 40% at 50% 0%, rgba(0,0,0,.25), transparent); pointer-events: none; }
.final-inner { position: relative; max-width: 1000px; }
.final-lockup { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 26px); margin: 0 auto 44px; }
.final-lockup img { height: clamp(90px, 13vw, 160px); width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.final-lockup .wordmark { width: min(680px, 62vw); color: var(--ivory); }
.final-lockup.inview img { animation: bob 4.5s ease-in-out infinite; }
.final h2 { font-size: clamp(32px, 5vw, 60px); max-width: 900px; margin: 0 auto; color: var(--ivory); }
.final .dl { margin-top: 44px; }
.final-os { margin: 24px 0 0; font: 500 14px/1.6 var(--f-mono); color: rgba(243,239,226,.8); }

/* ───── footer ───── */
.footer { padding: 60px var(--gutter) 40px; background: var(--ebony); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.footer-brand img { height: 56px; width: auto; }
.footer-brand .wordmark { width: 150px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14px; }
.footer-links a:hover { color: var(--ivory); }
.footer-links img { width: 18px; height: 18px; border-radius: 4px; }
.footer-links svg { width: 17px; height: 17px; }
.signature { max-width: var(--wrap); margin: 40px auto 0; text-align: center; font: 560 clamp(20px, 2.6vw, 30px)/1.25 var(--f-sans); letter-spacing: -.025em; color: var(--stone); }
.colophon { text-align: center; color: rgba(214,206,188,.4); font-size: 11.5px; margin: 18px 0 0; }

/* ───── apparitions au scroll ───── */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease), rotate .5s var(--ease); }
.reveal.inview { opacity: 1; translate: 0 0; }
.feat-row .feat-copy, .feat-row .feat-visual, .card { opacity: 0; translate: 0 36px; transition: opacity 1s var(--ease), translate 1s var(--ease), box-shadow .3s; }
.inview .feat-copy, .inview .feat-visual, .card.inview { opacity: 1; translate: 0 0; }
.inview .feat-visual { transition-delay: .12s; }

/* ───── responsive ───── */
@media (max-width: 1000px) {
  .feat-row, .feat-row.reverse { grid-template-columns: 1fr; gap: 40px; margin-bottom: 100px; }
  .feat-row.reverse .feat-copy { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-pack, .card-theme { grid-column: span 2; }
  .card-snippet { grid-column: span 1; grid-row: span 2; }
  .card-explore, .card-book { grid-column: span 1; }
  .card-theme { grid-template-columns: 1fr; }
  .card-theme .card-copy { padding-bottom: 0; }
  .road-list { grid-template-columns: 1fr 1fr; }
  .team-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-hook { white-space: normal; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .nav-brand img { height: 40px; }
  .nav-word { width: 100px; }
  .nav-discord { font-size: 0; gap: 0; }
  .nav-discord img { width: 26px; height: 26px; }
  .banner { font-size: 12.5px; }
  .dl { align-items: stretch; }
  .crew-cta { flex-wrap: wrap; }
  .crew-btn { margin-left: 0; }
  .shame { padding: 100px 0 80px; }
  .shame-wall { grid-template-columns: 1fr; gap: 22px; max-width: 460px; }
  .msg:nth-child(n) { grid-column: 1; margin-top: 0; }
  .shame-punch { margin-top: 80px; }
  .bento { grid-template-columns: 1fr; }
  .card-pack, .card-snippet, .card-explore, .card-book, .card-theme { grid-column: 1; grid-row: auto; }
  .card-copy { padding: 24px 22px 0; }
  .card-visual { padding: 22px; }
  .road-list { grid-template-columns: 1fr; }
  .team, .roadmap { padding: 90px 0; }
  .team-grid { gap: 10px; }
  .footer-inner { flex-direction: column; }
  .section-head { margin-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .hero-title, .hero-hook, .hero-sub, .hero .dl, .reassure { opacity: 1; }
  .lockup-word { clip-path: none; }
}

/* ───── numéros : Inter, chiffres tabulaires ───── */
.num, .cap-n { font-family: var(--f-sans); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.reassure { font-family: var(--f-sans); font-weight: 560; letter-spacing: -.005em; }

/* ───── hero : fichiers en vrac en fond + gros wordmark ───── */
.hero-files { position: absolute; inset: 0; pointer-events: none; }
.hero-files span {
  position: absolute; left: var(--x); top: var(--y); rotate: var(--r);
  font: 400 12.5px/1 var(--f-mono); color: rgba(214, 206, 188, .38);
  padding: 7px 10px; border: 1px dashed rgba(214, 206, 188, .18); border-radius: 6px;
  white-space: nowrap; opacity: 0; will-change: transform;
  transition: opacity 1.4s var(--ease), color .35s, border-color .35s, background-color .35s;
}
.hero-files.ready span { opacity: 1; }
.hero-files span.near { color: rgba(243, 239, 226, .8); border-color: rgba(46, 99, 255, .7); background-color: rgba(0, 63, 224, .12); transition-delay: 0s !important; }
.hero-wordmark {
  width: min(820px, 90vw); margin: 0 auto 30px; color: var(--ivory);
  clip-path: inset(0 100% 0 0); animation: write 1.6s .2s cubic-bezier(.6, .1, .3, 1) forwards;
  filter: drop-shadow(0 0 30px rgba(0, 63, 224, .5));
}
.nav-brand img { height: 56px; }
.win-bar span img { display: inline-block; height: 16px; width: auto; vertical-align: -3px; margin-right: 7px; }


/* ───── vue graphe interactive ───── */
.graph-live { max-width: var(--wrap); margin: 0 auto 130px; padding: 0 var(--gutter); }
.gl-copy { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: end; margin-bottom: 32px; }
.gl-copy h3 { font: 620 clamp(28px, 3.3vw, 40px)/1.08 var(--f-sans); letter-spacing: -.035em; }
.gl-copy p { color: var(--muted); font-size: 17px; margin: 0; }
.gl-copy p b { color: var(--ivory); }
.gl-copy .aside { display: none; }
.gl-frame {
  position: relative; height: clamp(420px, 62vh, 640px); border-radius: 22px; overflow: hidden; background: #0e0b2e;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 120px -40px rgba(0, 63, 224, .7);
}
.gl-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.gl-hint { position: absolute; inset: 0; pointer-events: none; transition: opacity .5s; }
.gl-frame.touched .gl-hint { opacity: 0; }
.gl-pill {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px;
  border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(255,255,255,.28) inset, 0 20px 40px -12px rgba(0,0,0,.6); animation: nudge 2.4s ease-in-out infinite;
}
.gl-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.gl-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.7); animation: ping 1.6s infinite; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(3.6); opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }
.gl-ghost {
  position: absolute; left: 46%; top: 44%; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,.12) 60%, transparent 70%); box-shadow: 0 0 0 2px rgba(255,255,255,.5);
  animation: ghost 4.2s cubic-bezier(.45, .05, .2, 1) infinite;
}
@keyframes ghost {
  0% { transform: translate(0, 0) scale(1); opacity: 0 } 10% { opacity: 1; transform: translate(0, 0) scale(.8) }
  40% { transform: translate(120px, -60px) scale(.8) } 50% { transform: translate(120px, -60px) scale(1); }
  70% { transform: translate(-90px, 40px) scale(1) } 80% { transform: translate(-90px, 40px) scale(.75) } 90% { transform: translate(-90px, 40px) scale(1); opacity: 1 } 100% { opacity: 0 }
}
.gl-tips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.gl-tips li::before { content: "·"; margin-right: 8px; color: var(--cobalt-hi); font-weight: 800; }
.gl-tips b { color: var(--ivory); font-weight: 600; }
@media (max-width: 1000px) { .gl-copy { grid-template-columns: 1fr; gap: 16px; } }

/* ───── Pack Creator : filtres + swipe ───── */
[data-scene="pack"] { position: relative; display: block; padding: 0; }
.pk-top { position: absolute; left: 20px; right: 20px; top: 18px; height: 34px; display: flex; align-items: center; gap: 12px; }
.pk-mode { display: flex; padding: 3px; border-radius: 999px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; font-size: 12px; font-weight: 600; }
.pk-mode span { padding: 7px 12px; border-radius: 999px; color: var(--sub); }
.pk-mode span.on { background: var(--a1); color: #fff; }
.pk-filters { display: flex; gap: 6px; }
.pk-filters span { padding: 7px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: var(--sub); background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; transition: .3s; }
.pk-filters span.on { color: #fff; background: color-mix(in srgb, var(--a1) 45%, transparent); box-shadow: 0 0 0 1px var(--a2) inset; }
.pk-deck { position: absolute; left: 40px; top: 74px; width: 360px; height: 220px; }
.pk-card {
  position: absolute; inset: 0; border-radius: 22px; padding: 18px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-content: start;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)), #15124a; box-shadow: 0 0 0 1px var(--border) inset, 0 24px 50px -20px rgba(0,0,0,.8);
  transition: transform .6s cubic-bezier(.3, .1, .2, 1), opacity .6s; will-change: transform;
}
.pk-card.back { transform: translateY(14px) scale(.94); opacity: .55; }
.pk-card.back2 { transform: translateY(26px) scale(.88); opacity: .25; }
.pk-card.out-r { transform: translateX(260px) rotate(18deg); opacity: 0; }
.pk-card.out-l { transform: translateX(-260px) rotate(-18deg); opacity: 0; }
.pk-cover { width: 110px; height: 110px; border-radius: 16px; display: grid; place-items: center; font: 800 44px/1 var(--f-sans); color: rgba(255,255,255,.9); background: var(--cv); }
.pk-meta b { display: block; font-size: 22px; letter-spacing: .02em; margin-top: 6px; }
.pk-meta small { display: block; margin-top: 6px; font-size: 12px; color: var(--sub); }
.pk-meta .chips { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.pk-card .wave { grid-column: 1 / -1; height: 46px; margin-top: 4px; }
.pk-stamp { position: absolute; top: 18px; right: 18px; padding: 6px 10px; border-radius: 8px; font: 800 13px/1 var(--f-sans); letter-spacing: .1em; opacity: 0; transition: opacity .2s; }
.pk-stamp.yes { color: #7cf2a8; box-shadow: 0 0 0 2px #7cf2a8 inset; rotate: 10deg; }
.pk-stamp.no { color: #ff8a80; box-shadow: 0 0 0 2px #ff8a80 inset; rotate: -10deg; }
.pk-card.lean-r .pk-stamp.yes, .pk-card.lean-l .pk-stamp.no { opacity: 1; }
.pk-card.lean-r { transform: translateX(30px) rotate(5deg); }
.pk-card.lean-l { transform: translateX(-30px) rotate(-5deg); }
.pk-actions { position: absolute; left: 40px; width: 360px; top: 314px; display: flex; justify-content: center; gap: 22px; }
.pk-actions span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; transition: transform .2s, background .2s; }
.pk-no { color: #ff8a80; } .pk-yes { color: #7cf2a8; }
.pk-actions span.press { transform: scale(.86); background: var(--glass-2); }
.pk-pack { position: absolute; right: 20px; top: 70px; width: 250px; bottom: 20px; border-radius: 18px; padding: 14px; background: var(--glass); box-shadow: 0 0 0 1px var(--border) inset; display: flex; flex-direction: column; }
.pk-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.pk-n { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font: 700 12px/1 var(--f-sans); background: var(--a1); color: #fff; transition: transform .25s; }
.pk-n.bump { transform: scale(1.3); }
.pk-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; height: 196px; overflow: hidden; }
.pk-item { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 10px; background: var(--glass-2); font-size: 12.5px; font-weight: 600; animation: pk-in .45s cubic-bezier(.2, 1.3, .4, 1) both; }
.pk-item small { margin-left: auto; color: var(--sub); font-weight: 500; font-variant-numeric: tabular-nums; }
.pk-item i { width: 18px; height: 18px; border-radius: 5px; background: var(--cv); flex: none; }
@keyframes pk-in { from { opacity: 0; transform: translateX(-20px) scale(.9); } }
.pk-link { margin-top: auto; text-align: center; padding: 10px; border-radius: 10px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.1); transition: background .3s, color .3s; }
.pk-link.done { background: rgba(61,220,132,.3); color: #c9fadb; }

/* thème custom */
.th-presets .sw.custom { background: conic-gradient(from 0deg, #ff5f6d, #ffc371, #7cf2a8, #3ab0ff, #9b5de5, #ff5f6d); }
.th-presets .sw.custom::after { content: "+"; width: auto; height: auto; right: 50%; bottom: 50%; translate: 50% 50%; background: none; font: 700 18px/1 var(--f-sans); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.th-presets input[type=color] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.th-presets .custom-wrap { position: relative; }
.th-saved { text-align: center; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.th-saved b { color: var(--ivory); font-weight: 600; }
@media (max-width: 760px) {
  .gl-frame { height: 480px; border-radius: 16px; }
  .gl-pill { font-size: 13px; }
  .nav-brand img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wordmark { clip-path: none; animation: none; }
  .hero-files span { opacity: 1; }
  .gl-ghost, .gl-pill { animation: none; }
}
.daw-logo { width: 18px; height: 18px; object-fit: contain; flex: none; border-radius: 4px; }
.dw-title { display: inline-flex; align-items: center; gap: 7px; }
.dw-title .daw-logo { width: 15px; height: 15px; }
/* la légende de la vidéo vit dans la barre de titre de la fenêtre */

/* ───── « placements » : soulignement bleu + trophées ───── */
#feat-title { position: relative; z-index: 0; }
#feat-title .placements { position: relative; display: inline-block; color: var(--ivory); }
#feat-title .placements::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: .02em; height: .16em; z-index: -1;
  background: var(--cobalt); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform .8s .3s var(--ease);
}
#feat-title.in .placements::after, .reveal.in #feat-title .placements::after, #fonctionnalites .in .placements::after { transform: scaleX(1); }
.trophies { position: absolute; left: 100%; top: 0; z-index: -2; pointer-events: none; }
.trophies i {
  position: absolute; left: 0; top: 0; font-style: normal; font-size: .5em; line-height: 1; opacity: 0; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
  animation: trophy 5s var(--d) ease-in-out infinite;
}
@keyframes trophy {
  0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.4); }
  18% { opacity: .9; }
  55% { opacity: .85; transform: translate(var(--tx), var(--ty)) rotate(var(--rt)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--tx) * 1.25), calc(var(--ty) * 1.25 - 14px)) rotate(calc(var(--rt) * 1.6)) scale(.8); }
}

/* ───── les 3 étapes, bien séparées ───── */
.step-rail {
  list-style: none; max-width: var(--wrap); margin: 0 auto 90px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: none; position: relative;
}
.step-rail li { position: relative; }
.step-rail li + li::before {
  content: "→"; position: absolute; left: -14px; top: 50%; translate: -50% -50%; color: var(--stone); font-size: 18px; width: 14px; text-align: center;
}
.step-rail a {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center;
  padding: 20px 22px; border-radius: 18px; text-decoration: none; color: var(--ivory);
  background: rgba(243, 239, 226, .03); box-shadow: 0 0 0 1px var(--line) inset; transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}
.step-rail a:hover { background: rgba(0, 63, 224, .12); box-shadow: 0 0 0 1px rgba(0, 63, 224, .6) inset; transform: translateY(-2px); }
.step-rail .sr-n {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font: 700 22px/1 var(--f-sans); font-variant-numeric: tabular-nums; background: var(--cobalt); color: var(--ivory);
}
.step-rail b { font: 620 20px/1.1 var(--f-sans); letter-spacing: -.02em; }
.step-rail small { color: var(--muted); font-size: 14px; }

.step-block { position: relative; padding: 110px 0 40px; border-top: 1px solid var(--line-2); scroll-margin-top: 70px; }
.step-block.alt { background: linear-gradient(180deg, rgba(0, 63, 224, .07), rgba(243, 239, 226, .015) 30%, rgba(243, 239, 226, .015) 80%, transparent); }
.step-block:last-child { padding-bottom: 0; }
.step-head {
  max-width: var(--wrap); margin: 0 auto 70px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
}
.step-n {
  flex: none; font: 750 clamp(90px, 13vw, 170px)/.8 var(--f-sans); letter-spacing: -.06em; font-variant-numeric: tabular-nums;
  color: transparent; background: linear-gradient(180deg, var(--cobalt-hi) 10%, rgba(0, 63, 224, .15) 95%); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 10px 40px rgba(0, 63, 224, .45)); padding-right: .04em;
}
.step-k {
  display: inline-block; font: 600 12.5px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory);
  background: var(--cobalt); padding: 7px 11px; border-radius: 999px; margin-bottom: 14px;
}
.step-t { margin: 0; font: 650 clamp(38px, 5vw, 64px)/1 var(--f-sans); letter-spacing: -.045em; }
.step-head p { margin: 12px 0 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }

/* Snippet Maker : la phrase qui compte */
.card p.cool { font: 620 clamp(19px, 1.9vw, 23px)/1.2 var(--f-sans); letter-spacing: -.02em; color: var(--ivory); margin-bottom: 10px; }
.card p.cool::before { content: "✦ "; color: var(--cobalt-hi, #3b6bff); }

@media (max-width: 760px) {
  .step-rail { grid-template-columns: 1fr; gap: 10px; margin-bottom: 60px; }
  .step-rail li + li::before { content: "↓"; left: 50%; top: -5px; }
  .step-block { padding-top: 72px; }
  .step-head { margin-bottom: 44px; gap: 16px; }
  .trophies { scale: .55; transform-origin: 0 0; left: 80%; }
}
@media (prefers-reduced-motion: reduce) {
  .trophies i { animation: none; opacity: .8; transform: translate(var(--tx), var(--ty)) rotate(var(--rt)); }
  #feat-title .placements::after { transform: scaleX(1); transition: none; }
}

/* ───── mur de la honte : un vrai mur, en 3D, qui se déroule au scroll ───── */
.wall-scene { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); perspective: 1800px; perspective-origin: 50% 20%; }
.wall {
  --p: 0; position: relative;
  transform-origin: 50% 0; transform: rotateX(calc(4deg + (1 - var(--p)) * 22deg)) scale(calc(.95 + var(--p) * .05));
  transform-style: preserve-3d;
}
.wall-face {
  position: relative; padding: 56px 40px 110px; border-radius: 10px;
  clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0 round 10px);
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(243, 239, 226, .13), transparent 70%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='88'%3E%3Cg fill='%23fff'%3E%3Crect x='3' y='3' width='60' height='38' rx='3' opacity='.035'/%3E%3Crect x='69' y='3' width='60' height='38' rx='3' opacity='.02'/%3E%3Crect x='-30' y='47' width='60' height='38' rx='3' opacity='.025'/%3E%3Crect x='36' y='47' width='60' height='38' rx='3' opacity='.04'/%3E%3Crect x='102' y='47' width='60' height='38' rx='3' opacity='.025'/%3E%3C/g%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.05'%3E%3Cpath d='M4 4.5h58M70 4.5h58M37 48.5h58'/%3E%3C/g%3E%3C/svg%3E"),
    #211b18;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 -60px 90px -50px rgba(0, 0, 0, .9),
    0 2px 0 #120f0d, 0 4px 0 #0f0c0b, 0 6px 0 #0c0a09, 0 70px 120px -40px rgba(0, 0, 0, .95);
}
.wall-face::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: overlay; opacity: .5;
}
/* le rouleau, au bord de ce qui est déjà déroulé */
.wall-roll {
  position: absolute; left: -10px; right: -10px; height: 30px; top: calc(var(--p) * 100% - 15px); border-radius: 15px; pointer-events: none;
  background: linear-gradient(180deg, #4a3f38 0%, #2a2320 35%, #171311 70%, #0b0908 100%);
  box-shadow: 0 18px 30px -8px rgba(0, 0, 0, .8), inset 0 2px 0 rgba(255, 255, 255, .12);
  opacity: clamp(0, calc((1 - var(--p)) * 12), 1);
}
.wall-title {
  position: relative; text-align: center; margin: 0 auto 50px; line-height: .8; rotate: -2.5deg; user-select: none;
  color: rgba(243, 239, 226, .93); text-shadow: 0 0 1px rgba(243, 239, 226, .8), 0 0 24px rgba(243, 239, 226, .16), 0 4px 0 rgba(0, 0, 0, .35);
}
.wall-title span { display: block; font: 800 clamp(20px, 3vw, 38px)/1 var(--f-sans); letter-spacing: .32em; text-indent: .32em; color: var(--stone); }
.wall-title b {
  display: block; margin-top: 8px; font: 900 clamp(72px, 13vw, 176px)/.85 var(--f-sans); letter-spacing: -.02em;
  background: linear-gradient(180deg, #F3EFE2 30%, #d8cfbd); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(243, 239, 226, .18));
}
/* coulures de peinture sous HONTE */
.wall-title b::after {
  content: ""; position: absolute; left: 22%; right: 30%; top: 100%; height: 40px; pointer-events: none;
  background:
    linear-gradient(#e8e1d0, transparent) 6% 0 / 4px 26px no-repeat,
    linear-gradient(#e8e1d0, transparent) 38% 0 / 3px 38px no-repeat,
    linear-gradient(#e8e1d0, transparent) 71% 0 / 4px 18px no-repeat,
    linear-gradient(#e8e1d0, transparent) 96% 0 / 3px 30px no-repeat;
  opacity: .55; margin-top: -6px;
}
.wall .shame-wall { padding: 0; position: relative; z-index: 1; }
/* les punaises */
.wall .msg::before {
  content: ""; position: absolute; left: 50%; top: -11px; width: 20px; height: 20px; translate: -50% 0; border-radius: 50%; z-index: 5;
  background: radial-gradient(circle at 35% 30%, #ffffff 0 8%, var(--pin, #e23a3a) 22%, color-mix(in srgb, var(--pin, #e23a3a) 55%, #000) 78%);
  box-shadow: 0 3px 3px rgba(0, 0, 0, .45), 4px 12px 10px rgba(0, 0, 0, .35);
}
.wall .msg::after {
  content: ""; position: absolute; left: calc(50% + 3px); top: 6px; width: 2px; height: 9px; background: rgba(0, 0, 0, .35); rotate: 25deg; z-index: 4;
}
.wall .msg:nth-child(2) { --pin: #2E63FF; }
.wall .msg:nth-child(3) { --pin: #f2c14e; }
.wall .msg:nth-child(4) { --pin: #33c48d; }
.wall .msg { box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .85), 0 8px 14px -6px rgba(0, 0, 0, .6); }

/* ───── « De X jusqu'aux placements » ───── */
.daw-rot { display: inline-block; vertical-align: baseline; height: 1lh; max-width: 100%; transition: width .5s var(--ease); color: var(--ivory); }
.daw-word { display: inline-block; white-space: nowrap; line-height: inherit; transition: opacity .22s, transform .3s var(--ease), filter .22s; }
.daw-word img { display: inline-block; height: .8em; width: auto; border-radius: .14em; vertical-align: -.06em; margin-right: .18em; }
.daw-word.out { opacity: 0; transform: translateY(-.35em); filter: blur(6px); }
.daw-word.in { opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: none; }
.features { overflow-x: clip; }

/* ───── thème Custom : panneau complet ───── */
[data-scene="theme"]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: overlay; opacity: var(--grain, 0); transition: opacity .3s;
}
.th-head .wordmark { color: var(--logo, var(--text)); }
.th-head { border-radius: calc(var(--th-radius, 14px) * 2.3); }
.th-rows .row { border-radius: var(--th-radius, 14px); }
.th-custom {
  margin: 16px auto 0; max-width: 560px; padding: 16px; border-radius: 16px; text-align: left;
  background: rgba(243, 239, 226, .035); box-shadow: 0 0 0 1px var(--line) inset; animation: rise .4s var(--ease);
}
.th-custom[hidden] { display: none; }
.thc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.thc-head b { font: 600 14px/1 var(--f-sans); }
.thc-seg { display: flex; padding: 3px; border-radius: 999px; background: rgba(243, 239, 226, .06); }
.thc-seg button { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 999px; font: 500 12px/1 var(--f-sans); color: var(--muted); }
.thc-seg button.on { background: var(--cobalt); color: var(--ivory); }
.thc-colors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.thc-color { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.thc-color small { font-size: 11.5px; color: var(--muted); }
.thc-sw { position: relative; width: 100%; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 6px 14px -6px rgba(0, 0, 0, .6); overflow: hidden; transition: transform .2s; }
.thc-color:hover .thc-sw { transform: translateY(-2px); }
.thc-sw input { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); opacity: 0; cursor: pointer; }
.thc-ranges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.thc-range span { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.thc-range b { color: var(--ivory); font-weight: 600; font-variant-numeric: tabular-nums; }
.thc-range input { width: 100%; accent-color: var(--cobalt-hi); }
.thc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.thc-btn { all: unset; cursor: pointer; padding: 9px 13px; border-radius: 10px; font: 600 12.5px/1 var(--f-sans); background: var(--cobalt); color: var(--ivory); transition: filter .2s; }
.thc-btn:hover { filter: brightness(1.15); }
.thc-btn.ghost { background: rgba(243, 239, 226, .07); color: var(--ivory); }
.thc-btn:focus-visible, .thc-seg button:focus-visible { outline: 2px solid var(--cobalt-hi); outline-offset: 2px; }
.thc-name { flex: 1; min-width: 110px; padding: 8px 11px; border-radius: 10px; border: 0; background: rgba(243, 239, 226, .06); box-shadow: 0 0 0 1px var(--line) inset; color: var(--ivory); font: 500 13px/1 var(--f-sans); }
.thc-name:focus { outline: 2px solid var(--cobalt-hi); }

/* ───── l'équipe ───── */
.team-copy h2 { display: flex; align-items: center; gap: .3em; }

  100% { transform: translate(-1px, 3px) rotate(-.3deg); }
}

/* « tous les DAW… (et même LMMS) » */
/* emoji et petit texte : line-height 0, ils ne changent jamais la hauteur de la ligne */
.daw-emo { font-size: .78em; line-height: 0; margin-right: .2em; }
.daw-word small { font-size: .26em; line-height: 0; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: .5em; vertical-align: baseline; }

@media (max-width: 760px) {
  .wall-face { padding: 40px 16px 70px; }
  .wall { transform: rotateX(calc(2deg + (1 - var(--p)) * 16deg)); }
  .wall-title { margin-bottom: 36px; }
  .thc-colors { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .thc-ranges { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .wall { --p: 1; transform: rotateX(3deg); }
}

/* ───── FAQ : repliée sur une ligne, on l'ouvre si on veut ───── */
.faq { padding: 0 0 70px; }
.faq-wrap { max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); }
.faq-toggle {
  list-style: none; cursor: pointer; width: fit-content; margin: 0 auto; padding: 8px 14px; border-radius: 999px;
  font: 500 13px/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); transition: color .2s, background .2s;
}
.faq-toggle::-webkit-details-marker { display: none; }
.faq-toggle::after { content: " +"; }
.faq-wrap[open] > .faq-toggle::after { content: " −"; }
.faq-toggle:hover, .faq-wrap[open] > .faq-toggle { color: var(--ivory); background: rgba(243, 239, 226, .05); }
.faq-list { margin-top: 18px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 2px; font: 500 15px/1.4 var(--f-sans); color: var(--stone); transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--muted); transition: transform .3s var(--ease); }
.faq-item summary:hover, .faq-item[open] summary { color: var(--ivory); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 28px 14px 2px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.faq-item p a { color: var(--ivory); }

/* les animations décoratives des sections hors écran sont en pause (moins de travail pour le navigateur) */
.anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }

/* les images ne se glissent pas, ne se sélectionnent pas et n'ouvrent pas le menu « enregistrer » sur mobile */
img { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img::selection { background: transparent; }

/* ═════════════════════════════ VERSION MOBILE ═════════════════════════════
   Le site est surtout découvert sur téléphone, mais l'app s'installe sur ordi :
   tout pousse vers « envoie-toi le lien ». Démos une par une, boutons-icônes, éléments qui glissent à l'horizontale. */
/* éléments réservés au téléphone : jamais affichés au-delà de 760 px */
@media (min-width: 761px) { .m-only { display: none !important; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* boutons-icônes (nav, Discord, partage) */
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; padding: 0; border: 0; border-radius: 13px; cursor: pointer;
  color: var(--ivory); background: rgba(243, 239, 226, .07); box-shadow: 0 0 0 1px var(--line-2) inset, inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .2s var(--ease), background .2s;
}
.icon-btn:active { transform: scale(.92); }
.icon-btn svg, .icon-btn [data-mi] { width: 21px; height: 21px; }
.icon-btn-lg [data-mi] { width: 26px; height: 26px; }
.icon-btn img { width: 22px; height: 22px; border-radius: 6px; }
.icon-btn-cobalt { background: var(--cobalt); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 8px 22px -8px rgba(0,63,224,.9); }
.icon-btn-lg { width: 56px; height: 56px; border-radius: 17px; }
.icon-btn-lg img { width: 28px; height: 28px; }
.icon-btn-discord { background: #5865f2; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 10px 26px -10px #5865f2; }
[data-mi] { display: inline-flex; }
[data-mi] svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn [data-mi] { width: 20px; height: 20px; flex: none; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--f-sans); color: var(--ivory); text-decoration: none; background: rgba(243, 239, 226, .1); box-shadow: 0 0 0 1px rgba(243,239,226,.3) inset;
}
.chip-btn [data-mi] { width: 17px; height: 17px; }
.chip-btn img { width: 16px; height: 16px; border-radius: 4px; }
.chip-btn:active { transform: scale(.96); }

/* barre collante du bas, feuille de partage, toast */
.m-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
  align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 20px;
  background: rgba(22, 19, 17, .96); box-shadow: 0 0 0 1px var(--line-2) inset, 0 18px 40px -12px rgba(0,0,0,.9);
  transform: translateY(calc(100% + 30px)); opacity: 0; transition: transform .5s var(--ease), opacity .35s; pointer-events: none;
}
.m-bar.show { transform: none; opacity: 1; pointer-events: auto; }
.m-bar-ic { width: 38px; height: 38px; padding: 8px; flex: none; border-radius: 11px; background: rgba(0, 63, 224, .22); color: #9bb5ff; }
.m-bar-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.m-bar-t b { font: 620 14.5px/1.1 var(--f-sans); letter-spacing: -.01em; }
.m-bar-t small { font: 500 12px/1 var(--f-sans); color: var(--muted); white-space: nowrap; }
.m-bar-btn { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--cobalt); color: var(--ivory); font: 620 14px/1 var(--f-sans); cursor: pointer; }
.m-bar-btn:active { transform: scale(.96); }

.m-sheet { position: fixed; inset: 0; z-index: 120; }
.m-sheet[hidden] { display: none; }
.m-sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: fade-in .25s both; }
.m-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #1a1614;
  box-shadow: 0 0 0 1px var(--line-2) inset; animation: sheet-up .4s var(--ease) both;
}
.m-sheet-grip { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: rgba(243,239,226,.25); margin-bottom: 8px; }
.m-sheet-panel > b { font: 650 22px/1.15 var(--f-sans); letter-spacing: -.03em; }
.m-sheet-panel > p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.m-sheet-row {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 16px; border: 0; border-radius: 16px; cursor: pointer;
  background: rgba(243,239,226,.06); color: var(--ivory); font: 600 16px/1 var(--f-sans); text-decoration: none; text-align: left;
}
.m-sheet-row [data-mi] { width: 22px; height: 22px; color: #9bb5ff; }
.m-sheet-row img { width: 22px; height: 22px; border-radius: 6px; }
.m-sheet-row:active { background: rgba(243,239,226,.12); }
.m-sheet-close { margin-top: 6px; min-height: 48px; border: 0; background: none; color: var(--muted); font: 600 15px/1 var(--f-sans); cursor: pointer; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
.m-toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 130; translate: -50% 20px; opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: var(--ivory); color: var(--ebony); font: 620 14px/1 var(--f-sans); white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.7); transition: opacity .3s, translate .4s var(--ease);
}
.m-toast.show { opacity: 1; translate: -50% 0; }

/* vitrine des fonctionnalités : une démo à la fois, un dock d'icônes */
.mshow { position: relative; margin-top: -8px; }
.ms-steps { display: flex; gap: 6px; padding: 0 var(--gutter); margin-bottom: 16px; }
.ms-steps button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 8px; border: 0; border-radius: 12px; cursor: pointer;
  font: 600 13.5px/1 var(--f-sans); color: var(--muted); background: rgba(243,239,226,.05); transition: color .25s, background .25s, box-shadow .25s;
}
.ms-steps button span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; font: 700 11px/1 var(--f-mono); background: rgba(243,239,226,.1); transition: background .25s; }
.ms-steps button.on { color: var(--ivory); background: rgba(0,63,224,.16); box-shadow: 0 0 0 1px rgba(46,99,255,.55) inset; }
.ms-steps button.on span { background: var(--cobalt); }
.ms-track {
  position: relative; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ms-track::-webkit-scrollbar { display: none; }
.ms-slide {
  flex: 0 0 calc(100% - 2 * var(--gutter) - 22px); scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--ebony-2); box-shadow: 0 0 0 1px var(--line) inset;
}
.ms-slide:last-child { margin-right: 22px; }
.ms-vis { position: relative; min-height: 300px; display: grid; place-items: center; padding: 16px 12px; background: radial-gradient(80% 70% at 50% 40%, rgba(0,63,224,.28), transparent 75%); }
.ms-vis .feat-visual, .ms-vis .card-visual { width: 100%; padding: 0; opacity: 1; translate: none; }
.ms-vis .feat-visual::before { display: none; }
.ms-vis .scale-box { margin: 0 auto; }
.ms-vis .th-presets { margin-top: 12px; }
.ms-copy { padding: 18px 20px 22px; }
.ms-copy .badge-dev, .ms-copy .badge-ok { margin-bottom: 12px; }
.ms-copy h3 { font: 640 21px/1.15 var(--f-sans); letter-spacing: -.03em; }
.ms-copy p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.m-graph { position: relative; width: 100%; height: 300px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.1); background: #231f8a; }
.m-graph img { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; animation: graph-drift 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes graph-drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-3%, 2%); } }
.ms-dock {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 16px var(--gutter) 4px; scroll-padding-inline: var(--gutter);
}
.ms-dock::-webkit-scrollbar { display: none; }
.ms-btn {
  position: relative; flex: none; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--muted); font: 550 11px/1.1 var(--f-sans); text-align: center;
}
.ms-ic {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; overflow: hidden;
  background: rgba(243,239,226,.06); box-shadow: 0 0 0 1px var(--line) inset; transition: background .25s, box-shadow .25s, transform .25s var(--ease);
}
.ms-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ms-btn:active .ms-ic { transform: scale(.92); }
.ms-btn.on { color: var(--ivory); }
.ms-btn.on .ms-ic { background: linear-gradient(160deg, var(--cobalt-hi), var(--cobalt)); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 10px 24px -10px rgba(0,63,224,.95); }
.ms-prog { position: absolute; left: 12px; right: 12px; top: 49px; height: 2px; border-radius: 1px; background: rgba(255,255,255,.85); transform: scaleX(0); transform-origin: left; opacity: 0; }
.mshow.is-auto .ms-btn.on .ms-prog { opacity: 1; animation: ms-prog 7s linear forwards; }
.mshow.paused .ms-prog { animation-play-state: paused !important; }
@keyframes ms-prog { to { transform: scaleX(1); } }
.ms-nudge {
  display: flex; align-items: center; gap: 14px; margin: 28px var(--gutter) 0; padding: 16px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,63,224,.28), rgba(0,63,224,.08)); box-shadow: 0 0 0 1px rgba(46,99,255,.4) inset;
}
.ms-nudge p { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--stone); }
.ms-nudge b { color: var(--ivory); display: block; font-size: 15.5px; margin-bottom: 2px; }

@media (max-width: 760px) {
  .m-bar.m-only { display: flex; }
  .d-only { display: none !important; }
  :root { --gutter: 18px; }
  body { overflow-x: clip; }

  /* nav : logo + deux boutons-icônes */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13, 11, 10, .95); }
  .nav-right { gap: 8px; }
  .nav-discord { width: 42px; height: 42px; justify-content: center; border-radius: 13px; background: rgba(243,239,226,.07); box-shadow: 0 0 0 1px var(--line-2) inset; }
  .nav-discord img { width: 22px; height: 22px; }
  .banner { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

  /* hero : les noms de fichiers nuls tournent autour du logo */
  .hero { padding: 84px 0 64px; }
  .hero-wordmark { width: 88vw; margin-bottom: 96px; }
  .hero-title { font-size: clamp(34px, 10vw, 44px); }
  .hero-hook { display: none; }
  .hero-sub { font-size: 16.5px; margin-top: 16px; }
  .hero-files { display: block; }
  .hero-files span { left: var(--mx); top: var(--my); font-size: 10.5px; padding: 5px 8px; color: rgba(214, 206, 188, .34); }
  .hero-files span:nth-child(n + 11) { display: none; }
  .m-cta { display: flex; gap: 10px; margin-top: 30px; }
  .m-cta .m-share { flex: 1; min-height: 56px; padding: 0 16px; font-size: 16px; gap: 10px; border: 0; cursor: pointer; }
  .m-cta-note { margin: 14px auto 0; max-width: 330px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
  .reassure { font-size: 13px; margin-top: 16px; }

  /* mur de la honte : plus de mur, les messages arrivent un par un en glissant */
  .shame { padding: 84px 0 70px; }
  .shame .section-head { margin-bottom: 22px; }
  .wall-scene { perspective: none; padding: 0; }
  .wall { transform: none !important; }
  .wall-face { padding: 0 var(--gutter); background: none; box-shadow: none; clip-path: none !important; border-radius: 0; }
  .wall-face::before, .wall-roll, .wall-title b::after, .wall .msg::before, .wall .msg::after { display: none; }
  .wall-title { margin: 0 auto 34px; rotate: -2deg; }
  .wall-title b { font-size: 64px; }
  .shame-wall { gap: 22px; }
  .wall .msg { width: 90%; }
  .wall .msg:nth-child(even) { margin-left: auto; }
  .wall .msg.reveal {
    opacity: 0; translate: var(--fx, -48px) 46px; rotate: calc(var(--rot) * 3); scale: .9; transition-delay: 0s !important;
    transition: opacity .7s var(--ease), translate 1.1s cubic-bezier(.16, 1, .3, 1), rotate 1.1s cubic-bezier(.16, 1, .3, 1), scale 1.1s cubic-bezier(.16, 1, .3, 1);
  }
  .wall .msg:nth-child(even) { --fx: 48px; }
  .wall .msg.reveal.inview { opacity: 1; translate: 0 0; rotate: var(--rot); scale: 1; }
  .shame-punch { margin-top: 64px; font-size: 27px; }

  /* fonctionnalités : la vitrine remplace la longue liste */
  .features.has-mshow .step-rail, .features.has-mshow .step-block { display: none; }
  .features .section-head { margin-bottom: 26px; }
  #feat-title { font-size: 34px; }

  /* équipe et roadmap : des cartes qui glissent */
  .team-grid, .road-list {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
  }
  .team-grid::-webkit-scrollbar, .road-list::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 64%; scroll-snap-align: start; margin-top: 0 !important; }
  .member:last-child { margin-right: var(--gutter); }
  .team-inner { gap: 34px; }
  .road-list { max-width: none; margin: 0; }
  .road-item { flex: 0 0 80%; scroll-snap-align: start; }
  .road-item:last-child { margin-right: var(--gutter); }
  .road-cta { margin-top: 26px; }
  .thc-name { font-size: 16px; }

  /* fin de page : le tunnel vers l'ordi */
  .final { min-height: 0; padding: 84px var(--gutter) calc(84px + env(safe-area-inset-bottom)); }
  .final-lockup { margin-bottom: 30px; }
  .final h2 { font-size: 36px; }
  .m-final { margin-top: 30px; text-align: left; }
  .m-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .m-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(13, 11, 10, .22); box-shadow: 0 0 0 1px rgba(243,239,226,.18) inset; }
  .m-steps li > span { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--ivory); color: var(--cobalt); font: 750 15px/1 var(--f-mono); }
  .m-steps b { display: block; font: 640 16px/1.2 var(--f-sans); }
  .m-steps small { display: block; margin-top: 3px; font-size: 13px; color: rgba(243,239,226,.75); }
  .m-final .m-share { width: 100%; min-height: 60px; padding: 0 18px; gap: 10px; border: 0; cursor: pointer; font-size: 17px; }
  .m-final-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
  .final-os { font-size: 12.5px; }
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* au doigt : pas d'effets de survol qui restent collés après un tap */
@media (hover: none) {
  .msg:hover, .member:hover { rotate: var(--rot); }
  .road-item:hover { box-shadow: 0 0 0 1px var(--line) inset; }
  .btn-cobalt:hover { background: var(--cobalt); transform: none; }
  .btn-ivory:hover { transform: none; }
  .nav-brand:hover img { transform: none; }
  .step-rail a:hover { background: none; transform: none; }
  .btn:active, .road-cta:active, .crew-cta:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  .m-graph img { animation: none; }
  .wall .msg.reveal { opacity: 1; translate: none; scale: 1; rotate: var(--rot); }
}
