/* Navigation + hero */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; }
.nav::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
    background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.nav.is-scrolled::before { opacity: 1; }
.nav-in { display: flex; align-items: center; gap: 1.5rem; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.logo { display: block; width: 1.9rem; height: 1.9rem; flex: none; fill: currentColor; color: var(--primary); }
.logo-full { display: block; height: 2.4rem; width: auto; flex: none; fill: var(--text); transition: fill .2s; }
.brand:hover .logo-full { fill: var(--primary); }
.links { display: flex; gap: .25rem; margin: 0 auto; }
.links a { display: block; padding: .55rem .95rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s, background-color .2s; }
.links a:hover { color: var(--text); background: var(--surface2); }
.links a[aria-current="true"] { color: var(--text); background: var(--surface); }
.links-portal { display: none; }
.nav-actions { display: flex; align-items: center; gap: .35rem; position: relative; z-index: 2; margin-left: auto; }
.portal { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--primary); text-decoration: none; font: 600 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: background-color .2s; }
.portal:hover { background: var(--surface2); }
.burger { display: none; position: relative; }
.burger span { position: absolute; left: .8rem; right: .8rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 1.1rem; }
.burger span:last-child { top: 1.55rem; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(.225rem) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-.225rem) rotate(-45deg); }

@media (max-width: 900px) {
    .burger { display: inline-grid; }
    .portal { display: none; }
    .links-portal { display: block; }
    .links {
        position: fixed; inset: 0; z-index: 1; margin: 0; flex-direction: column; justify-content: center; align-items: center; gap: .6rem;
        background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
    }
    .links a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; color: var(--text); padding: .4rem 1.2rem; }
    body.menu-open .links { visibility: visible; opacity: 1; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 2rem) 0 4rem; overflow: clip; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(60% 60% at 26% 52%, color-mix(in srgb, var(--bg) 92%, transparent), transparent 74%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin: 1.2rem 0 1.6rem; font-size: clamp(3.4rem, 11.5vw, 9.5rem); line-height: .88; letter-spacing: -.05em; font-weight: 700; }
.hero h1 > span { display: block; }
.ch { display: inline-block; animation: chIn .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 42ms + 120ms); }
@keyframes chIn { from { opacity: 0; transform: translateY(80%) rotate(6deg); } }
.hero h1 em { font-size: 1.04em; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 42%), var(--surface2), transparent 70%);
}
.lede { max-width: 34rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.orb-wrap { display: grid; justify-items: center; gap: 1.2rem; }
.orb-stage { position: relative; display: grid; place-items: center; width: clamp(250px, 34vw, 430px); aspect-ratio: 1; }
.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--muted); font: 500 8.6px var(--mono); letter-spacing: .3em; text-transform: uppercase; animation: spin 34s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb {
    position: relative; display: grid; place-items: center; width: 62%; aspect-ratio: 1; padding: 0; text-decoration: none;
    border-radius: 50%; border: 1.5px solid var(--primary); background: var(--surface); color: var(--primary);
    transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.orb::before, .orb::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; border: 1.5px solid var(--primary); }
.orb::before { inset: -14px; opacity: calc(.25 + var(--pulse, 0) * .75); transform: scale(calc(1 + var(--pulse, 0) * .12)); }
.orb::after { inset: -26px; border-color: var(--accent); opacity: calc(.15 + var(--pulse, 0) * .6); transform: scale(calc(1 + var(--pulse, 0) * .2)); }
.orb .logo { color: inherit; }
/* Les trois pictogrammes sont superposés au centre du rond ; un seul est visible à la fois, fondu + léger zoom */
.orb-ico { position: absolute; left: 50%; top: 50%; width: 54%; height: 54%; translate: -50% -50%; opacity: 0; scale: .8; transition: opacity .7s var(--ease), scale .7s var(--ease); }
.orb-ico.is-on { opacity: 1; scale: 1; }
.orb:hover { transform: scale(1.03); background: var(--surface2); }
.orb-cap { font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
    .hero-in { grid-template-columns: 1fr; }
    .orb-wrap { order: -1; justify-items: start; gap: .6rem; }
    .orb-stage { width: clamp(210px, 58vw, 280px); }
    .orb::after { inset: -18px; }
    .hero h1 { margin-top: .4rem; }
}

/* Bandeau de genres */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: clamp(1rem, 3vw, 1.8rem) 0; }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); padding-right: clamp(1.5rem, 4vw, 3rem); font-size: clamp(2.6rem, 8.5vw, 7.5rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--text); white-space: nowrap; }
.marquee span:nth-child(even) { -webkit-text-stroke: 0; color: var(--primary); font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
.marquee i { width: .45em; height: .45em; flex: none; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

.orb { cursor: pointer; }
.orb[aria-pressed="true"] { color: var(--accent); }

/* Pastille « en lecture » dans la barre */
.np { display: inline-flex; align-items: center; gap: .7rem; height: 2.75rem; padding: 0 1.05rem; border-radius: 999px; border: 1.5px solid var(--primary); background: transparent; color: var(--text); font: 600 .78rem/1 var(--mono); letter-spacing: .1em; transition: background-color .2s; }
.np:hover { background: var(--surface2); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 4px; border-radius: 1px; background: var(--primary); }
.np[aria-pressed="true"] .eq i { animation: eq .9s ease-in-out infinite alternate; }
.np[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.np[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
.np[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { to { height: 14px; } }

/* Volume : curseur rempli en --primary (≥ 3:1 sur le fond), pouce en --text */
.vol { display: flex; align-items: center; gap: .15rem; }
.ico-mute, #mute[aria-pressed="true"] .ico-vol { display: none; }
#mute[aria-pressed="true"] .ico-mute { display: block; }
.vol-range {
    -webkit-appearance: none; appearance: none; width: 96px; height: 6px; margin: 0 .5rem 0 .1rem; border-radius: 999px; cursor: pointer;
    background: linear-gradient(to right, var(--primary) var(--v, 100%), var(--surface2) var(--v, 100%));
}
.vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--primary); }
.vol-range::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--primary); }
@media (max-width: 900px) { .vol-range { display: none; } }
