/* =========================================================
   BLAST FM — feuille de style (V2 « moderne »)
   ========================================================= */

/* ---------- Polices auto-hébergées (OFL) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url('../fonts/bricolage-grotesque-latin-var.woff2') format('woff2-variations'),
       url('../fonts/bricolage-grotesque-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/geist-latin-var.woff2') format('woff2-variations'),
       url('../fonts/geist-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/geist-mono-latin-var.woff2') format('woff2-variations'),
       url('../fonts/geist-mono-latin-var.woff2') format('woff2');
}

/* ---------- Jetons ---------- */
:root {
  --bg: #0B0B0C;
  --surface: #151517;
  --surface-2: #1C1C1F;
  --surface-3: #1E1E21;
  --line: #26262A;
  --line-2: #3A3A40;
  --text: #F5F5F4;
  --muted: #A1A1AA;
  --muted-2: #8B8B94;
  --red: #E5251B;
  --red-hover: #CC1F16;
  --red-text: #FF5A4F;
  --red-text-hover: #FF7D74;
  --red-deep: #B81B12;
  --red-tint: #2A1210;
  --cream: #F4F1EC;

  --font-display: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --font-body: 'Geist Variable', 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono Variable', 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-text); text-decoration: none; }
a:hover { color: var(--red-text-hover); }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--bg); }

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

/* ---------- Typo ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.text-red { color: var(--red-text); }
.text-brand { color: var(--red); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 { font-size: clamp(44px, 5vw, 64px); line-height: 0.95; }
.h3 { font-size: clamp(34px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.025em; }
.h4 { font-size: 32px; line-height: 1; letter-spacing: -0.02em; }
.lead { max-width: 52ch; font-size: 19px; color: var(--muted); text-wrap: pretty; }
.small { font-size: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; color: var(--bg); }
.btn--dark { background: var(--bg); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 17px; }
.btn--lg.btn--icon-lead { padding-left: 8px; }
.btn__icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--red);
}
.btn__icon svg { width: 18px; height: 18px; }

.play-btn {
  flex: none; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff; cursor: pointer;
  transition: background-color .2s, transform .15s;
}
.play-btn:hover { background: var(--red-hover); }
.play-btn:active { transform: scale(.95); }
.play-btn svg { width: 18px; height: 18px; }
.play-btn--lg { width: 64px; height: 64px; box-shadow: 0 10px 30px rgba(229, 37, 27, .45); }
.play-btn--lg svg { width: 24px; height: 24px; }

/* Icônes lecture / pause / chargement selon l'état global <html data-state> */
.i-pause, .i-load { display: none; }
[data-state="playing"] .i-play,
[data-state="loading"] .i-play { display: none; }
[data-state="playing"] .i-pause { display: block; }
[data-state="loading"] .i-load { display: block; animation: spin .9s linear infinite; }

/* ---------- Pastilles ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.chip--live { padding: 7px 14px; font-size: 14px; background: var(--red-tint); color: var(--red-text); }
.chip--glass {
  background: rgba(11, 11, 12, .72); border: 1px solid rgba(255, 255, 255, .12); color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip--tint { padding: 4px 10px; font-size: 12px; background: var(--red-tint); color: var(--red-text); }
.chip--muted { padding: 4px 10px; font-size: 12px; background: var(--surface-3); color: var(--muted); }
.chip--white { padding: 4px 10px; font-size: 12px; font-weight: 700; background: #fff; color: var(--red-deep); }
.chip--mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; }

.live-dot {
  display: block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s infinite;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px clamp(12px, 3vw, 32px) 0;
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px;
  padding: 8px 8px 8px 24px;
  border: 1px solid var(--line); border-radius: 28px;
  background: rgba(11, 11, 12, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: flex; flex: none; padding: 10px 0; }
.brand img { width: auto; height: 22px; }
.site-nav {
  flex: 1 1 auto;
  display: flex; flex-wrap: wrap; gap: 4px 26px;
  font-size: 15px; font-weight: 500;
}
.site-nav a { position: relative; padding: 11px 0; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red-text);
}
.site-header .btn { margin-left: auto; }

@media (max-width: 760px) {
  .site-header__bar { gap: 0 16px; padding: 6px 6px 4px 18px; border-radius: 24px; }
  .site-nav {
    order: 3; flex: 1 1 100%;
    flex-wrap: nowrap; gap: 0 22px;
    overflow-x: auto; scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
}

/* ---------- Halo ---------- */
.glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(229, 37, 27, .28) 0%, rgba(229, 37, 27, 0) 62%);
}

/* ---------- Accueil : hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .glow { right: -260px; top: -280px; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(540px, 100%), 1fr));
  gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 104px;
}
.hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hero__clock { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hero__title {
  font-size: clamp(60px, 8.2vw, 124px);
  line-height: .86; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__lead { max-width: 40ch; font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .hero__grid { padding-top: 36px; padding-bottom: 72px; gap: 40px; }
  .hero__lead { font-size: 17px; }
}

/* ---------- Carte « En ce moment » ---------- */
.np-card {
  justify-self: end; width: 100%; max-width: 520px; min-width: 0;
  display: flex; flex-direction: column; gap: 18px;
  padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
}
@media (max-width: 1231px) { .np-card { justify-self: center; max-width: 560px; } }

.np-art {
  position: relative; isolation: isolate; overflow: hidden;
  height: 360px; border-radius: 22px; background: #0E0E10;
}
.np-art__bg {
  position: absolute; inset: -40px; z-index: 0;
  background-position: center; background-size: cover;
  filter: blur(40px) saturate(140%);
  opacity: 0; transition: opacity .6s;
}
.np-art__bg.is-loaded { opacity: .35; }
.np-ring {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 190px; height: 190px; border-radius: 50%;
  border: 1.5px solid var(--red-text);
  transform: translate(-50%, -50%) scale(.55); opacity: 0;
}
[data-state="playing"] .np-ring { animation: ring 3s ease-out infinite; }
[data-state="playing"] .np-ring--2 { animation-delay: -1s; }
[data-state="playing"] .np-ring--3 { animation-delay: -2s; }
.np-disc {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 190px; height: 190px; margin: -95px 0 0 -95px;
  border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: var(--red);
  box-shadow: 0 0 90px rgba(229, 37, 27, .6);
}
.np-disc__logo { width: 118px; }
.np-disc__cover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .4s;
}
.np-disc.has-cover .np-disc__cover { opacity: 1; }
.np-disc::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #0E0E10; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
  opacity: 0; transition: opacity .4s;
}
.np-disc.has-cover::after { opacity: 1; }
[data-state="playing"] .np-disc.has-cover { animation: spin 18s linear infinite; }
.np-art__show {
  position: absolute; left: 14px; top: 14px; z-index: 3;
  max-width: calc(100% - 170px); overflow: hidden; text-overflow: ellipsis;
}
.np-art__show .live-dot { color: var(--red-text); }
.np-art__time {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
}
.np-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 10px; }
.np-title {
  font-stretch: 85%; font-size: 40px; line-height: 1.05; letter-spacing: -.025em;
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.np-artist { min-height: 24px; font-size: 16px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-progress { display: flex; flex-direction: column; gap: 8px; padding: 0 10px; }
.np-progress__times { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.np-controls { display: flex; align-items: center; gap: 14px; padding: 0 6px 6px 4px; }
.np-controls__quality { display: none; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 480px) {
  .np-art { height: 300px; }
  .np-title { font-size: 34px; }
}

.bar { height: 4px; border-radius: 999px; background: #2A2A2F; overflow: hidden; }
.bar > span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--red); transition: width 1s linear; }

/* Volume */
.vol { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.vol__icon { display: flex; flex: none; cursor: pointer; }
.vol__icon svg { width: 20px; height: 20px; }
.vol input[type="range"] {
  flex: 1 1 auto; min-width: 60px; height: 44px; margin: 0;
  background: transparent; accent-color: var(--red); cursor: pointer;
}
.vol__value { width: 44px; flex: none; text-align: right; font-family: var(--font-mono); font-size: 13px; }
/* Sur téléphone, le volume se règle avec les boutons de l'appareil (iOS ignore le réglage web). */
@media (hover: none) and (pointer: coarse) {
  .vol { display: none; }
  .np-controls__quality { display: block; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-bottom: 104px; }
.section__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 12px 24px; margin-bottom: 28px;
}
.section__head--stack { flex-direction: column; align-items: flex-start; gap: 8px; }
.section__titles { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.section__date { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .section { padding-bottom: 72px; } }

/* ---------- Aujourd'hui ---------- */
.today { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 20px 0; }
.today__note { margin-top: 20px; max-width: 70ch; color: var(--muted); }
.today__item { display: flex; flex-direction: column; gap: 14px; padding-right: 12px; min-width: 0; }
.today__rail { display: flex; align-items: center; }
.today__dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--line-2); }
.today__line { flex: 1 1 auto; height: 1px; margin-right: -12px; background: var(--line); }
.today__item:last-child .today__line { background: transparent; }
.today__card {
  flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px;
  padding: 20px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
}
.today__time { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.today__name {
  font-family: var(--font-display); font-stretch: 75%; font-weight: 800;
  font-size: 32px; line-height: 1.05; letter-spacing: -.02em;
}
.today__type { font-size: 15px; color: var(--muted); }
.today__status { margin-top: 12px; align-self: flex-start; }
.today__progress { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.today__progress .bar { flex: 1 1 auto; background: rgba(255, 255, 255, .3); }
.today__progress .bar > span { background: #fff; }
.today__item.is-past .today__name { color: var(--muted); }
.today__item.is-past .today__time,
.today__item.is-past .today__type { color: var(--muted-2); }
.today__item.is-live .today__dot { background: var(--red-text); color: var(--red-text); animation: pulse 1.8s infinite; }
.today__item.is-live .today__card { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 20px 60px rgba(229, 37, 27, .35); }
.today__item.is-live .today__time,
.today__item.is-live .today__type { color: #fff; }
.today__item.is-future .today__dot { background: transparent; border: 2px solid var(--muted); }
@media (max-width: 520px) {
  .today__rail { display: none; }
  .today__item { padding-right: 0; }
}

/* ---------- Émissions ---------- */
.shows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.show {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
}
.show__art { position: relative; height: 230px; overflow: hidden; }
.show__art-time { position: absolute; left: 20px; top: 18px; z-index: 2; font-family: var(--font-mono); font-size: 13px; }
.show__art--sun { background: var(--cream); color: var(--bg); }
.show__art--sun::before {
  content: ""; position: absolute; left: 50%; bottom: -130px;
  width: 250px; height: 250px; margin-left: -125px; border-radius: 50%; background: var(--red);
}
.show__art--sun::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bg); }
.show__art--rings { background: var(--red); color: var(--bg); }
.show__art--rings i {
  position: absolute; left: 50%; top: 58%; border-radius: 50%;
  border: 2px solid var(--bg); transform: translate(-50%, -50%);
}
.show__art--rings i:nth-of-type(1) { width: 340px; height: 340px; }
.show__art--rings i:nth-of-type(2) { width: 250px; height: 250px; }
.show__art--rings i:nth-of-type(3) { width: 160px; height: 160px; }
.show__art--rings i:nth-of-type(4) { width: 70px; height: 70px; background: var(--bg); }
.show__art--vinyl { background: #0E0E10; color: var(--muted); border-bottom: 1px solid var(--line); }
.show__art--vinyl::before {
  content: ""; position: absolute; right: -50px; top: 50%;
  width: 270px; height: 270px; margin-top: -135px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #1C1C1F 0 2px, #111113 2px 5px);
  box-shadow: 0 0 0 1px var(--line);
}
.show__art--vinyl::after {
  content: ""; position: absolute; right: 85px; top: 50%;
  width: 88px; height: 88px; margin-top: -44px; border-radius: 50%;
  background: radial-gradient(circle at center, #0E0E10 0 5px, var(--red) 6px);
}
.show__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 20px; }
.show__name { font-size: 36px; line-height: 1; letter-spacing: -.025em; }
.show__desc { color: var(--muted); text-wrap: pretty; }
.show__link {
  margin-top: auto; padding-top: 8px; min-height: 44px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
}
.show__link svg { width: 16px; height: 16px; }
.show .chip--tint { align-self: flex-start; }
.show--cta {
  justify-content: flex-end; gap: 12px; padding: 28px 24px 24px;
  background: transparent; border: 1.5px dashed var(--line-2);
}
.show__plus {
  width: 56px; height: 56px; margin-bottom: auto; border-radius: 50%;
  border: 1.5px solid var(--line-2); color: var(--text);
  display: grid; place-items: center;
}
.show__plus svg { width: 22px; height: 22px; }
.show--cta .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Tuiles (titres, à suivre) ---------- */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 16px; }
.tile {
  min-width: 0; display: flex; flex-direction: column; gap: 16px;
  padding: 28px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
}
.tile--dashed { background: transparent; border: 1.5px dashed var(--line-2); }
@media (max-width: 480px) { .tile { padding: 22px; border-radius: 24px; } }

.tracks li {
  display: grid; grid-template-columns: 52px 44px minmax(0, 1fr) auto;
  gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.tracks .tracks__empty { display: block; color: var(--muted); }
.track__time { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.track.is-current .track__time { color: var(--red-text); }
.track__thumb {
  position: relative; width: 44px; height: 44px; overflow: hidden;
  border-radius: 12px; background: var(--surface-3); color: var(--muted-2);
  display: grid; place-items: center;
}
.track__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.track__thumb svg { width: 18px; height: 18px; }
.track__text { display: flex; flex-direction: column; min-width: 0; }
.track__title, .track__artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__title { font-weight: 600; }
.track__artist { font-size: 14px; color: var(--muted); }
@media (max-width: 480px) {
  .tracks li { grid-template-columns: 44px 44px minmax(0, 1fr); gap: 12px; }
  .tracks .chip { display: none; }
}

.next {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 16px; border-radius: 20px; background: var(--surface-2);
}
.next__thumb {
  position: relative; width: 88px; height: 88px; overflow: hidden;
  border-radius: 16px; background: var(--surface-3); color: var(--muted-2);
  display: grid; place-items: center;
}
.next__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next__thumb svg { width: 24px; height: 24px; }
.next__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.next__title {
  font-family: var(--font-display); font-stretch: 85%; font-weight: 800;
  font-size: 26px; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere;
}
.next__artist { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-show { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line); }
.next-show__name { font-size: 19px; font-weight: 600; }
.next-show__when { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

/* ---------- Bloc rouge « Branche-toi » ---------- */
.panel-red {
  display: flex; flex-direction: column; gap: 40px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px; background: var(--red); color: var(--bg);
}
.panel-red a:not(.btn) { color: var(--bg); text-decoration: underline; }
.panel-red__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px 56px; align-items: start; }
.panel-red__title { font-size: clamp(52px, 6vw, 96px); line-height: .88; letter-spacing: -.035em; }
.panel-red__text { max-width: 36ch; margin-top: 16px; font-size: 19px; font-weight: 500; }
.ways li {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 16px 0; border-top: 1px solid rgba(11, 11, 12, .25);
}
.ways li:last-child { border-bottom: 1px solid rgba(11, 11, 12, .25); }
.ways__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--bg); color: #fff; display: grid; place-items: center; }
.ways__icon svg { width: 22px; height: 22px; }
.ways__body { display: flex; flex-direction: column; padding-top: 3px; }
.ways__title { font-size: 19px; font-weight: 700; }
.ways__text { font-size: 16px; }
.ways__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.panel-red__social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.panel-red__social .eyebrow { color: var(--bg); font-weight: 600; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) { .panel-red { border-radius: 28px; } }

/* ---------- Pied de page ---------- */
.site-footer { padding-bottom: 24px; }
.site-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.site-footer__slogan { max-width: 14ch; font-size: 36px; line-height: 1; letter-spacing: -.025em; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; }
.site-footer__col .eyebrow { margin-bottom: 4px; color: var(--muted-2); }
.site-footer__col a { color: var(--text); }
.site-footer__col a:hover { color: var(--red-text); }
.site-footer__wordmark { width: 100%; margin: 48px 0; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase;
}

/* ---------- Mini-lecteur flottant ---------- */
.miniplayer {
  position: sticky; bottom: 16px; z-index: 40;
  margin: 24px 0 16px; padding: 0 clamp(12px, 3vw, 32px);
  transition: transform .35s ease, opacity .35s ease;
}
.miniplayer.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.miniplayer__bar {
  max-width: 880px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  background: rgba(21, 21, 23, .86); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}
.miniplayer__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.miniplayer__title, .miniplayer__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.miniplayer__title { font-size: 15px; font-weight: 600; }
.miniplayer__sub { font-size: 13px; color: var(--muted); }
.vol--mini { flex: 0 1 140px; }
@media (max-width: 640px) {
  .miniplayer { bottom: 12px; }
  .miniplayer__bar { padding-right: 16px; gap: 12px; }
  .miniplayer .chip { display: none; }
}

.eq { display: flex; flex: none; align-items: flex-end; gap: 3px; height: 20px; color: var(--red-text); }
.eq i { display: block; width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; transform: scaleY(.3); }
[data-state="playing"] .eq i { animation: eq .9s ease-in-out infinite; }
[data-state="playing"] .eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
[data-state="playing"] .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; }
[data-state="playing"] .eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.15s; }

/* ---------- Page « La grille » ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero .glow { left: -320px; top: -360px; width: 900px; height: 900px; opacity: .8; }
.page-hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding-top: 56px; padding-bottom: 40px;
}
.page-hero__title { font-size: clamp(72px, 9vw, 136px); line-height: .86; letter-spacing: -.04em; }
.day-picker {
  display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 16px;
  padding: 6px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
}
.day-btn {
  min-width: 84px; min-height: 52px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.day-btn:hover { color: var(--text); background: var(--surface-3); }
.day-btn[aria-pressed="true"] { background: var(--red); color: #fff; }
.day-btn__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-text); }
.day-btn[aria-pressed="true"] .day-btn__dot { background: #fff; }
@media (max-width: 640px) {
  .day-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .day-btn { min-width: 0; padding: 0 6px; font-size: 14px; }
}

.grille { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.grille__main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.grille__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.grille__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }

.timeline li { display: grid; grid-template-columns: 64px 14px minmax(0, 1fr); gap: 0 16px; }
.slot__time { display: flex; flex-direction: column; align-items: flex-end; padding-top: 22px; font-family: var(--font-mono); line-height: 1.3; }
.slot__start { font-size: 16px; font-weight: 600; }
.slot__end { font-size: 12px; color: var(--muted-2); }
.slot__rail { display: flex; flex-direction: column; align-items: center; }
.slot__rail::before { content: ""; width: 1px; height: 26px; background: var(--line); }
.slot__rail::after { content: ""; width: 1px; flex: 1 1 auto; background: var(--line); }
.timeline li:first-child .slot__rail::before,
.timeline li:last-child .slot__rail::after { background: transparent; }
.slot__dot { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--muted); background: var(--bg); }
.slot__card {
  margin-bottom: 12px; padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
}
.slot--filler .slot__card { background: #111113; }
.slot__info { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.slot__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.slot__name {
  font-family: var(--font-display); font-stretch: 75%; font-weight: 800;
  font-size: 30px; line-height: 1.05; letter-spacing: -.02em;
}
.slot__desc { font-size: 15px; color: var(--muted); }
.slot.is-past .slot__start { color: var(--muted-2); }
.slot.is-past .slot__name { color: var(--muted); }
.slot.is-past .slot__dot { background: var(--line-2); border-color: var(--line-2); }
.slot.is-live .slot__start { color: var(--red-text); }
.slot.is-live .slot__dot { background: var(--red-text); border-color: var(--red-text); color: var(--red-text); animation: pulse 1.8s infinite; }
.slot.is-live .slot__card { background: var(--red); border-color: var(--red); color: #fff; }
.slot.is-live .slot__desc { color: #fff; }
.slot__live-btn { min-height: 48px; padding: 0 20px 0 6px; background: #fff; color: var(--red-deep); font-weight: 700; }
.slot__live-btn:hover { background: #fff; color: var(--red-deep); }
.slot__live-btn .btn__icon { width: 36px; height: 36px; background: var(--red); color: #fff; }
.slot__live-btn .btn__icon svg { width: 14px; height: 14px; }
@media (max-width: 540px) {
  .timeline li { grid-template-columns: 46px 12px minmax(0, 1fr); gap: 0 10px; }
  .slot__card { padding: 16px; }
  .slot__name { font-size: 26px; }
}

.rdv li {
  display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.rdv__dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--line-2); }
.rdv__dot--sun { background: var(--cream); }
.rdv__dot--rings { background: var(--red); }
.rdv__dot--vinyl { background: var(--bg); border: 3px solid var(--red); }
.rdv__name { font-size: 17px; font-weight: 600; }
.rdv__when { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }

/* ---------- Pages de texte ---------- */
.prose { max-width: 780px; padding-bottom: 104px; }
.prose h2 { margin: 44px 0 12px; font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.02em; }
.prose p, .prose li { margin: 0 0 12px; color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { text-decoration: underline; }
.todo { padding: 0 6px; border-radius: 6px; background: var(--red-tint); color: var(--red-text); }

/* ---------- Divers ---------- */
.noscript { margin: 16px auto; max-width: 720px; padding: 14px 18px; border-radius: 16px; background: var(--red-tint); color: var(--red-text); text-align: center; }
.toast {
  position: fixed; left: 50%; bottom: 104px; z-index: 60;
  max-width: min(92vw, 480px); padding: 12px 18px;
  transform: translateX(-50%);
  border-radius: 16px; background: var(--text); color: var(--bg);
  font-size: 15px; font-weight: 600; text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
#app:focus { outline: none; }
.is-navigating #app { opacity: .55; transition: opacity .2s; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring {
  0% { transform: translate(-50%, -50%) scale(.55); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
