/* ==========================================================================
   FONDS-DES-NÈGRES FM — Système de design
   --------------------------------------------------------------------------
   Palette dérivée du blason de la station : bordure or, champ bleu royal,
   champ terre-cuite, écu argent. Typographie : Fraunces (titres) + Outfit
   (interface et texte courant).

   Conçu pour une audience large, dont beaucoup de lecteurs de 60 ans et plus :
   corps de texte à 18px minimum, interlignage généreux, cibles tactiles de
   48px, contrastes vérifiés AA, animations discrètes et désactivables.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. JETONS
   -------------------------------------------------------------------------- */
:root {
  /* ---------------------------------------------------------------------
     PALETTE DE MARQUE — les deux couleurs fournies par le client :
       bleu    #00428C
       orange  #F48524
     Elles sont posées ici, et nulle part ailleurs. Les noms des jetons
     n'ont pas changé (« gold », « clay ») pour ne pas réécrire les
     29 sections de cette feuille : seules leurs VALEURS changent.
       --royal-*  le bleu de la marque
       --gold-*   l'orange de la marque (l'accent, les boutons)
       --clay-*   un rouge brique, gardé distinct de l'orange pour que
                  la pastille « en direct » ne se confonde pas avec lui
       --ink-*    la nuit, dérivée du bleu et non plus de l'indigo
     Les quinze paires texte/fond du site ont été vérifiées : toutes
     au-dessus de 4,5:1 (3:1 pour les grands titres).
     --------------------------------------------------------------------- */

  /* Bleus — la nuit, l'institution. Dérivés du bleu de marque. */
  --ink-950: #031425;
  --ink-900: #051c33;
  --ink-800: #082846;
  --ink-700: #0b3358;
  --ink-600: #114878;
  --royal-500: #00428C;   /* BLEU DE MARQUE */
  --royal-400: #0d5aad;

  /* Orange — l'accent de la marque */
  --gold-700: #8f3d00;
  --gold-600: #b34d00;
  --gold-500: #F48524;    /* ORANGE DE MARQUE */
  --gold-400: #f89442;
  --gold-300: #f9a862;
  --gold-200: #fbc99e;
  --gold-100: #fdeada;

  /* Orange profond — « en direct ». Une nuance de l'orange de marque, pas
     une troisième couleur : assez sombre pour rester lisible, assez proche
     pour ne pas trahir la charte. */
  --clay-700: #7c2d12;
  --clay-600: #c2410c;
  --clay-500: #ea580c;
  --clay-100: #ffe8d5;

  /* Bleu clair — confirmations et validations. Remplace l'ancien vert, qui
     n'appartenait à aucune des deux couleurs de la marque. */
  --leaf-700: #0a4a7a;
  --leaf-600: #0d5a94;
  --leaf-100: #dceafa;

  /* Neutres — le blanc du blason, pas l'ivoire. Très légèrement bleutés
     pour rester dans la famille de la marque. */
  --cream-50: #ffffff;
  --cream-100: #f6f9fc;
  --cream-200: #e9f0f8;
  --cream-300: #d3e0ee;
  --slate-700: #10243a;
  --slate-500: #4a6076;
  --slate-400: #5d7489;
  --white: #ffffff;

  /* Sémantique */
  --bg-page: var(--cream-100);
  --bg-card: var(--cream-50);
  --bg-night: var(--ink-900);
  --text: var(--slate-700);
  --text-soft: var(--slate-500);
  --text-on-night: #eaf1f9;
  --text-on-night-soft: #b3c8de;
  --line: var(--cream-300);
  --line-gold: var(--gold-300);
  --accent: var(--gold-500);
  --accent-ink: var(--gold-700);
  --live: var(--clay-600);

  /* Typographie */
  --font-display: "Fraunces", "Georgia", serif;
  --font-ui: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs: 0.9375rem;  /* 15px — étiquettes en capitales uniquement */
  --fs-sm: 1rem;       /* 16px — plancher absolu */
  --fs-base: 1.125rem; /* 18px — corps de texte */
  --fs-lg: 1.25rem;    /* 20px */
  --fs-xl: 1.5rem;     /* 24px */
  --fs-h4: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.9vw, 3.1rem);
  --fs-h1: clamp(2.6rem, 1.9rem + 3.2vw, 4.6rem);

  --lh-tight: 1.14;
  --lh-snug: 1.3;
  --lh-body: 1.68;

  /* Espacement */
  --sp-1: 0.5rem;
  --sp-2: 0.875rem;
  --sp-3: 1.25rem;
  --sp-4: 1.75rem;
  --sp-5: 2.5rem;
  --sp-6: 3.5rem;
  --sp-7: 5rem;
  --sp-8: 7rem;

  --wrap: 1240px;
  --wrap-narrow: 780px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --touch: 48px;

  --shadow-sm: 0 1px 2px rgba(5, 28, 51, 0.06), 0 2px 8px rgba(5, 28, 51, 0.05);
  --shadow-md: 0 4px 12px rgba(5, 28, 51, 0.08), 0 12px 32px rgba(5, 28, 51, 0.07);
  --shadow-lg: 0 12px 28px rgba(5, 28, 51, 0.12), 0 28px 64px rgba(5, 28, 51, 0.12);
  --shadow-gold: 0 6px 20px rgba(244, 133, 36, 0.32);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 92px;
  --player-h: 84px;
}

/* --------------------------------------------------------------------------
   02. RÉINITIALISATION
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--ink-800);
  margin: 0 0 var(--sp-3);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
p  { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--clay-600); }

:focus-visible {
  outline: 3px solid var(--royal-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-night :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.player-bar :focus-visible { outline-color: var(--gold-300); }

::selection { background: var(--gold-200); color: var(--ink-900); }

/* --------------------------------------------------------------------------
   03. UTILITAIRES
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--sp-7); }
.section-tight { padding-block: var(--sp-6); }
.visually-hidden {
  position: absolute; 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: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--gold-500); color: var(--ink-900);
  padding: 14px 26px; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }

.on-night { background: var(--bg-night); color: var(--text-on-night); }
.on-night h1, .on-night h2, .on-night h3, .on-night h4 { color: var(--white); }
.on-night a, .site-footer a, .player-bar a { color: var(--gold-300); }
.on-night p { color: var(--text-on-night-soft); }

/* Texture drapo — clin d'œil discret à l'art haïtien, jamais criard */
.texture-drapo { position: relative; isolation: isolate; }
.texture-drapo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.07;
  background-image:
    radial-gradient(circle at 20% 25%, var(--gold-300) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 65%, var(--clay-500) 0 2px, transparent 2px),
    radial-gradient(circle at 45% 85%, var(--royal-400) 0 2px, transparent 2px);
  background-size: 68px 68px, 92px 92px, 54px 54px;
}

/* Filet doré — reprend la corde du blason */
.rule-gold {
  height: 3px; border: 0; width: 76px; margin: var(--sp-3) 0 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300) 55%, transparent);
  border-radius: 2px;
}
.rule-gold.is-centred { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold-500) 22%, var(--gold-300) 78%, transparent); width: 150px; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--sp-1);
  display: block;
}
.on-night .eyebrow { color: var(--gold-300); }

.section-head { margin-bottom: var(--sp-5); max-width: 62ch; }
.section-head.is-centred { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lg); color: var(--text-soft); margin-top: var(--sp-2); }
.on-night .section-head p { color: var(--text-on-night-soft); }

.lede { font-size: var(--fs-xl); line-height: 1.5; color: var(--text-soft); }

/* Kreyòl — la voix de la maison */
.kreyol { font-style: italic; color: var(--accent-ink); }
.on-night .kreyol { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   04. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: var(--touch); padding: 0.75rem 1.75rem;
  font-family: var(--font-ui); font-size: var(--fs-base); font-weight: 600;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--ink-900); box-shadow: var(--shadow-gold);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-400), var(--gold-300)); color: var(--ink-900); }

.btn-live {
  background: var(--clay-600); color: var(--white);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.32);
}
.btn-live:hover { background: var(--clay-500); color: var(--white); }

/* Pastille de lecture du bouton d'en-tête. Une pastille « en direct » y était
   invisible : rouge sur rouge. Un triangle sombre dans un disque clair se lit
   instantanément, et dit exactement ce que fait le bouton.                  */
.btn-onair__play {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); color: var(--clay-700);
  transition: transform 0.18s var(--ease);
}
.btn-onair__play svg { margin-left: 1px; }
.btn-onair:hover .btn-onair__play { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
  .btn-onair:hover .btn-onair__play { transform: none; }
}

.btn-ghost { background: transparent; color: var(--ink-800); border-color: var(--gold-400); }
.btn-ghost:hover { background: var(--gold-100); color: var(--ink-900); }
.on-night .btn-ghost, .hero .btn-ghost, .site-footer .btn-ghost, .page-hero .btn-ghost { color: var(--white); border-color: rgba(245, 232, 200, 0.55); }
.on-night .btn-ghost:hover, .hero .btn-ghost:hover, .site-footer .btn-ghost:hover, .page-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn-sm { min-height: 42px; padding: 0.45rem 1.15rem; font-size: var(--fs-sm); }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: var(--touch);
  font-weight: 600; text-decoration: none; color: var(--accent-ink);
}
.link-arrow::after { content: "→"; transition: transform 0.18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   05. PASTILLE "EN DIRECT"
   -------------------------------------------------------------------------- */
.live-pill {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.4rem 1rem; border-radius: var(--radius-pill);
  background: rgba(194, 65, 12, 0.16); border: 1px solid rgba(234, 88, 12, 0.5);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #ffdcc7;
}
.live-pill.on-light { background: var(--clay-100); border-color: rgba(194, 65, 12, 0.35); color: var(--clay-700); }
.live-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--clay-500);
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.65); }
  70%  { box-shadow: 0 0 0 12px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

/* --------------------------------------------------------------------------
   06. EN-TÊTE
   -------------------------------------------------------------------------- */
.topbar { background: var(--ink-950); color: var(--text-on-night-soft); font-size: var(--fs-sm); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: 44px; }
.topbar__tagline { display: flex; align-items: center; gap: 0.5em; margin: 0; }
.topbar__tagline em { color: var(--gold-300); font-style: italic; }
/* Le proverbe qui occupait la gauche a été retiré : les liens gardent
   leur alignement à droite grâce à la marge automatique. */
.topbar__links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.topbar__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
  color: var(--text-on-night-soft); text-decoration: none; font-weight: 500;
}
.topbar__links a:hover { color: var(--gold-300); }
.topbar__social { display: flex; gap: 0.15rem; margin-left: 0.4rem; }
.topbar__social a {
  width: 40px; height: 44px; display: grid; place-items: center;
  color: var(--text-on-night-soft);
}
.topbar__social a:hover { color: var(--gold-300); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink-900);
  border-bottom: 1px solid rgba(249, 168, 98, 0.28);
  box-shadow: 0 2px 24px rgba(3, 20, 37, 0.35);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; flex-shrink: 0; }
/* Le blason porte déjà son propre liseré blanc : pas d'anneau doré ajouté.
   Une ombre portée suffit à le détacher du fond de nuit. */
.brand__crest {
  width: 62px; height: 62px; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem;
  color: var(--white); letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 600;
}

.main-nav > ul { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: var(--touch);
  padding: 0 0.78rem; font-size: 0.98rem; font-weight: 600; letter-spacing: 0.02em;
  color: #dce8f5; text-decoration: none; border-radius: 8px; white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.main-nav a[aria-current="page"] { color: var(--gold-300); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.78rem; right: 0.78rem; bottom: -1px;
  height: 3px; background: var(--gold-400); border-radius: 2px 2px 0 0;
}
.main-nav li { position: relative; }

.has-sub > a::after { content: "▾"; margin-left: 0.35em; font-size: 0.7em; opacity: 0.75; }
.sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-8px);
  min-width: 250px; z-index: 60;
  background: var(--ink-800); border: 1px solid rgba(249, 168, 98, 0.28);
  border-radius: var(--radius); padding: 0.45rem; margin: 0; list-style: none;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: stretch;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.sub-menu a { display: flex; width: 100%; padding: 0 0.85rem; font-weight: 500; white-space: normal; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.icon-btn {
  width: var(--touch); height: var(--touch); display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%; color: #dce8f5; cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   07. HÉROS
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-900); color: var(--white);
  padding-block: var(--sp-6) var(--sp-6); text-align: center;
}
/* Diaporama du héros — fondu enchaîné lent, jamais de glissement.
   Les vues sont empilées ; une seule porte « is-on ». Le très lent zoom
   donne de la vie sans jamais attirer l'œil : le texte reste le sujet. */
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ink-900); }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.4s var(--ease), transform 12s linear;
  will-change: opacity;
}
.hero__media img.is-on { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 66, 140, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(3, 20, 37, 0.82) 0%, rgba(5, 28, 51, 0.72) 45%, rgba(3, 20, 37, 0.95) 100%);
}
.hero__crest {
  width: clamp(92px, 9vw, 122px); height: auto; margin: 0 auto var(--sp-3);
  border-radius: 50%;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}
.hero h1 { color: var(--white); margin-bottom: var(--sp-3); text-wrap: balance; }
.hero h1 .accent { color: var(--gold-300); display: block; }
.hero__lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.55;
  color: #d3e2f2; max-width: 58ch; margin: 0 auto var(--sp-4); text-wrap: balance;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; }

/* Bandeau de page intérieure */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-800); color: var(--white); text-align: center;
  padding-block: var(--sp-7);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 28, 51, 0.86), rgba(18, 23, 58, 0.9));
}
.page-hero h1 { color: var(--white); margin-bottom: var(--sp-2); }
.page-hero p { color: #c6daee; font-size: var(--fs-lg); max-width: 62ch; margin-inline: auto; }
.breadcrumb { font-size: var(--fs-sm); color: var(--gold-300); margin-bottom: var(--sp-2); }
.breadcrumb a { color: var(--gold-300); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   08. BANDEAU ANTENNE
   -------------------------------------------------------------------------- */
.onair {
  background: linear-gradient(135deg, var(--ink-800), var(--ink-600) 60%, var(--royal-500));
  color: var(--white); border-block: 1px solid rgba(249, 168, 98, 0.3);
}
.onair__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: var(--sp-4); padding-block: var(--sp-4);
}
.onair__art {
  width: 92px; height: 92px; border-radius: var(--radius); object-fit: cover;
  box-shadow: 0 0 0 1px rgba(249, 168, 98, 0.4), var(--shadow-md);
}
.onair__label { font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.onair__show { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; margin: 0.15rem 0; color: var(--white); }
.onair__meta { color: #bcd3ea; font-size: var(--fs-sm); margin: 0; }
.onair__next { text-align: right; font-size: var(--fs-sm); color: #bcd3ea; }
.onair__next strong { display: block; color: var(--white); font-size: var(--fs-base); font-weight: 600; }

/* --------------------------------------------------------------------------
   09. CARTES
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}
/* Une carte ne dépasse jamais une longueur de ligne confortable */
.card__body p, .value-card p { max-width: 62ch; }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-800); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 20, 37, 0.6));
}
.card__body { padding: var(--sp-3) var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__body h3, .card__body h4 { margin: 0; }
.card__body p { color: var(--text-soft); }
.card__foot { margin-top: auto; padding-top: var(--sp-2); }

.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
  background: rgba(5, 28, 51, 0.82); color: var(--gold-300);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.tag--clay { background: var(--clay-600); color: var(--white); }

.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
  font-size: var(--fs-sm); color: var(--text-soft);
}
.meta-row .sep { color: var(--gold-700); opacity: 0.7; }

/* Horaire en pastille */
.slot {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-variant-numeric: tabular-nums; font-weight: 600;
  color: var(--accent-ink); font-size: var(--fs-sm);
  background: var(--gold-100); border: 1px solid var(--gold-200);
  padding: 0.25rem 0.7rem; border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   10. AVATARS — monogramme doré si aucune photo n'est fournie
   -------------------------------------------------------------------------- */
.avatar {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(150deg, var(--ink-700), var(--royal-500));
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--cream-50), 0 0 0 5px var(--gold-300), var(--shadow-sm);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar__initials {
  font-family: var(--font-display); font-weight: 600; color: var(--gold-300);
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.4rem); letter-spacing: 0.02em;
  line-height: 1; user-select: none;
}
.avatar--lg { width: clamp(150px, 20vw, 210px); }
.avatar--md { width: 132px; }
.avatar--sm { width: 62px; }
.avatar--xs { width: 44px; box-shadow: 0 0 0 2px var(--cream-50), 0 0 0 3px var(--gold-300); }
.avatar--xs .avatar__initials { font-size: 1rem; }

.person { text-align: center; }
.person .avatar { margin: 0 auto var(--sp-3); }
.person h3 { margin: 0 0 0.15rem; font-size: var(--fs-h4); }
.person__role { color: var(--accent-ink); font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.5rem; }
.person__show { color: var(--text-soft); font-size: var(--fs-sm); margin: 0; }

/* --------------------------------------------------------------------------
   11. UNE — mise en page éditoriale
   -------------------------------------------------------------------------- */
.editorial { display: grid; gap: var(--sp-4); grid-template-columns: 1.55fr 1fr; align-items: start; }
.lead-story { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-900); min-height: 430px; display: flex; }
.lead-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.lead-story:hover img { transform: scale(1.04); }
.lead-story::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 20, 37, 0.15) 20%, rgba(3, 20, 37, 0.88) 78%);
}
.lead-story__body { position: relative; z-index: 2; margin-top: auto; padding: var(--sp-5) var(--sp-4) var(--sp-4); color: var(--white); }
.lead-story__body h3 { color: var(--white); font-size: var(--fs-h3); margin: 0.4rem 0 0.6rem; text-wrap: balance; }
.lead-story__body p { color: #d0e0f0; margin: 0 0 var(--sp-2); }
.lead-story__body .link-arrow { color: var(--gold-300); }

.story-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.story {
  display: grid; grid-template-columns: 108px 1fr; gap: var(--sp-3);
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.7rem; text-decoration: none; color: inherit;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.story:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); transform: translateX(3px); color: inherit; }
.story img { width: 108px; height: 84px; object-fit: cover; border-radius: 10px; }
.story h4 { margin: 0.2rem 0 0.3rem; font-size: 1.12rem; }
.story time { font-size: var(--fs-sm); color: var(--text-soft); }
.story__cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-600); }

/* --------------------------------------------------------------------------
   12. BANDE HORAIRE
   -------------------------------------------------------------------------- */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: var(--sp-2); overflow-x: auto; padding-bottom: var(--sp-2); scroll-snap-type: x mandatory; }
.strip::-webkit-scrollbar { height: 8px; }
.strip::-webkit-scrollbar-thumb { background: var(--gold-400); border-radius: 4px; }
.strip__item {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(249, 168, 98, 0.24);
  border-radius: var(--radius); padding: var(--sp-3); text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.strip__item:hover { background: rgba(255, 255, 255, 0.11); border-color: var(--gold-300); }
.strip__item.is-now { background: rgba(244, 133, 36, 0.16); border-color: var(--gold-400); }
.strip__time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold-300); font-size: var(--fs-sm); letter-spacing: 0.06em; }
.strip__name { font-family: var(--font-display); font-size: 1.16rem; color: var(--white); margin: 0.3rem 0 0.2rem; font-weight: 600; }
.strip__host { font-size: var(--fs-sm); color: #b3c8de; margin: 0; }

/* --------------------------------------------------------------------------
   13. STATISTIQUES / VALEURS
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-4); text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); font-weight: 700; color: var(--gold-400); line-height: 1; }
.stat__label { font-size: var(--fs-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-night-soft); margin-top: 0.5rem; }

.value-card { background: var(--bg-card); border: 1px solid var(--line); border-left: 4px solid var(--gold-400); border-radius: var(--radius); padding: var(--sp-4); }
.value-card h3 { font-size: var(--fs-h4); }

/* --------------------------------------------------------------------------
   14. FORMULAIRES
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-3); }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 600; font-size: var(--fs-base); color: var(--ink-800); }
.field .hint { font-size: var(--fs-sm); color: var(--text-soft); }
.field .req { color: var(--clay-700); font-weight: 700; }
.field input, .field select, .field textarea {
  min-height: 54px; padding: 0.85rem 1rem; font-size: var(--fs-base);
  background: var(--white); border: 2px solid var(--line);
  border-radius: 10px; transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal-500); box-shadow: 0 0 0 4px rgba(0, 66, 140, 0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.checkbox { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); }
.checkbox input { width: 24px; height: 24px; min-height: 24px; flex-shrink: 0; margin-top: 2px; accent-color: var(--royal-500); }

.form-note {
  background: var(--gold-100); border: 1px solid var(--gold-200);
  border-radius: var(--radius); padding: var(--sp-3); font-size: var(--fs-sm);
}
.form-success {
  background: var(--leaf-100); border: 1px solid var(--leaf-600); color: var(--leaf-700);
  border-radius: var(--radius); padding: var(--sp-3); font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. LECTEUR FIXE
   Bandeau plein écran, calme et toujours disponible : pochette carrée,
   mention « an dirèk » avec l'égaliseur, grosse commande de lecture, puis
   volume et titres récents. Rien ne bouge jamais de place.
   -------------------------------------------------------------------------- */
.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--ink-950);
  border-top: 3px solid var(--gold-400);
  min-height: 88px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.4);
}
body.is-playing .player-bar { border-top-color: var(--gold-500); }

.player-bar__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: var(--sp-4);
  padding-block: 12px;
}

/* Pochette — carré arrondi, sans filet doré autour du blason. */
.player-bar__crest {
  width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0;
  object-fit: cover;
  background: var(--ink-800);
  transition: box-shadow 0.4s var(--ease);
}
body.is-playing .player-bar__crest {
  box-shadow: 0 0 0 3px rgba(249, 168, 98, 0.18);
}

/* Ligne « an dirèk » + égaliseur, puis titre, puis émission et artiste */
.player-bar__info { min-width: 0; line-height: 1.3; }
.player-bar__now {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--gold-300); line-height: 1.2;
}
.player-bar__title {
  font-family: var(--font-ui); font-weight: 700; font-size: 1.1rem;
  color: var(--cream-50); margin: 0.12rem 0 0.02rem; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-bar__sub {
  font-size: var(--fs-sm); color: #95b0cc; margin: 0; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-bar__sub .show-now { color: var(--gold-300); font-weight: 600; }
.player-bar__sub .sep { color: rgba(249, 168, 98, 0.45); margin: 0 0.45em; }

/* Commande de lecture — la cible la plus importante du site */
.player-bar .play-toggle, .listen-panel__btn {
  position: relative;
  width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%; border: 0;
  padding: 0; cursor: pointer;
  background: linear-gradient(145deg, var(--gold-400) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  color: var(--ink-900); display: grid; place-items: center;
  box-shadow: 0 3px 14px rgba(244, 133, 36, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.player-bar .play-toggle::after, .listen-panel__btn::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(249, 168, 98, 0.45);
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.player-bar .play-toggle:hover, .listen-panel__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(244, 133, 36, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.player-bar .play-toggle:hover::after, .listen-panel__btn:hover::after,
body.is-playing .player-bar .play-toggle::after { opacity: 1; }
.player-bar .play-toggle svg, .listen-panel__btn svg { width: 25px; height: 25px; }
.listen-panel__btn { width: 84px; height: 84px; }
.listen-panel__btn svg { width: 32px; height: 32px; }

.play-toggle .icon-pause, .play-toggle .label-pause { display: none; }
body.is-playing .play-toggle .label-play { display: none; }
body.is-playing .play-toggle .label-pause { display: inline; }
body.is-playing .play-toggle .icon-play { display: none; }
body.is-playing .play-toggle .icon-pause { display: block; }

/* Rangée de droite : volume et titres récents, sur une seule ligne calme */
.player-bar__controls { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.player-bar__vol { display: flex; align-items: center; gap: 0.6rem; color: #95b0cc; }
.player-bar__vol input[type="range"], .pp__vol input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 108px; height: 44px; background: transparent; cursor: pointer;
}
.player-bar__vol input[type="range"], .pp__vol input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-400) 0 var(--vol, 85%), rgba(255, 255, 255, 0.18) var(--vol, 85%) 100%);
}
.player-bar__vol input[type="range"], .pp__vol input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18);
}
.player-bar__vol input[type="range"], .pp__vol input[type="range"]::-moz-range-progress {
  height: 6px; border-radius: 3px; background: var(--gold-400);
}
.player-bar__vol input[type="range"], .pp__vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; margin-top: -5px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold-500);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.player-bar__vol input[type="range"], .pp__vol input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold-500);
}

.recent-btn {
  min-height: var(--touch); padding: 8px 18px;
  background: transparent; border: 1.5px solid rgba(253, 251, 245, 0.28);
  color: var(--cream-50); border-radius: 10px;
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.recent-btn:hover, .recent-btn[aria-expanded="true"] {
  border-color: var(--gold-300); color: var(--gold-300); background: rgba(249, 168, 98, 0.08);
}

/* Onde sonore — au repos, une forme d'onde figée mais vivante ; en lecture,
   chaque barre respire à son propre rythme. Jamais un bloc uniforme. */
.eq {
  display: inline-flex; align-items: center; gap: 2px;
  height: 18px; flex-shrink: 0;
}
.eq span {
  display: block; width: 2px; border-radius: 1px;
  background: var(--gold-300);
  opacity: 0.5;
  transform-origin: center;
  transition: opacity 0.4s var(--ease);
}
/* Hauteurs au repos : une silhouette d'onde, pas une barre pleine */
.eq span:nth-child(1) { height: 34%; }
.eq span:nth-child(2) { height: 62%; }
.eq span:nth-child(3) { height: 100%; }
.eq span:nth-child(4) { height: 48%; }
.eq span:nth-child(5) { height: 78%; }
.eq span:nth-child(6) { height: 38%; }
.eq span:nth-child(7) { height: 56%; }

body.is-playing .eq span {
  opacity: 1;
  animation: wave 1.4s ease-in-out infinite;
}
body.is-playing .eq span:nth-child(1) { animation-duration: 1.1s; animation-delay: 0s; }
body.is-playing .eq span:nth-child(2) { animation-duration: 1.5s; animation-delay: 0.18s; }
body.is-playing .eq span:nth-child(3) { animation-duration: 0.95s; animation-delay: 0.06s; }
body.is-playing .eq span:nth-child(4) { animation-duration: 1.35s; animation-delay: 0.3s; }
body.is-playing .eq span:nth-child(5) { animation-duration: 1.15s; animation-delay: 0.12s; }
body.is-playing .eq span:nth-child(6) { animation-duration: 1.55s; animation-delay: 0.24s; }
body.is-playing .eq span:nth-child(7) { animation-duration: 1.05s; animation-delay: 0.36s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.35); }
  50%      { transform: scaleY(1); }
}

/* Tiroir « titres récents » — glisse au-dessus du lecteur */
.recent-drawer {
  position: fixed; left: 0; right: 0; bottom: var(--player-h); z-index: 119;
  background: var(--ink-900);
  border-top: 1px solid rgba(249, 168, 98, 0.28);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.28s var(--ease), visibility 0.28s var(--ease);
  max-height: 46vh; overflow-y: auto;
}
.recent-drawer.is-open { transform: none; visibility: visible; }
.recent-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); padding-block: var(--sp-3) var(--sp-2);
}
.recent-drawer__head h2 {
  font-size: var(--fs-lg); color: var(--white); margin: 0;
}
.recent-list { list-style: none; margin: 0; padding: 0 0 var(--sp-4); display: grid; gap: 2px; }
.recent-list li {
  display: grid; grid-template-columns: 46px 1fr auto; gap: var(--sp-3);
  align-items: center; padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
/* Deux vignettes possibles, et elles ne doivent pas se ressembler :
     .is-art   la VRAIE pochette transmise par RadioBOSS — elle remplit la
               case, comme une jaquette ;
     .is-mark  le blason, quand ce morceau n'a pas de pochette — affiché en
               entier, en retrait, sur une pastille neutre.
   Faire passer l'un pour l'autre serait mentir sur ce que l'on montre. */
.recent-list img {
  width: 46px; height: 46px; flex: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.recent-list img.is-art { object-fit: cover; }
.recent-list img.is-mark {
  object-fit: contain;
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0.85;
}
.recent-list .rt { color: var(--cream-50); font-weight: 600; margin: 0; }
.recent-list .ra { color: #95b0cc; font-size: var(--fs-sm); margin: 0; }
.recent-list time { color: var(--gold-300); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.recent-empty { color: #95b0cc; padding: var(--sp-3) 0 var(--sp-4); margin: 0; }

/* --------------------------------------------------------------------------
   16. PIED DE PAGE
   -------------------------------------------------------------------------- */
/* Barre de lecture masquée : plus rien à réserver en bas de page.
   Un seul jeton à remettre à zéro, tout le reste suit. */
body.no-player { --player-h: 0px; }

.site-footer {
  background: var(--ink-950); color: var(--text-on-night-soft);
  padding-top: var(--sp-6);
  padding-bottom: var(--player-h);
}
.site-footer h2, .site-footer h3 { color: var(--white); font-size: var(--fs-h4); }
.footer-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: var(--sp-3); }
.footer-brand img { width: 66px; height: 66px; border-radius: 50%; }
/* Signature kreyòl du pied de page — en capitales comme sur le blason. */
.footer-brand__name {
  margin: 0;
  font-size: 1.24rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-brand__line {
  margin: 0.15rem 0 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text-on-night-soft); text-decoration: none;
}
.footer-links a:hover { color: var(--gold-300); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: var(--fs-sm); }
.footer-contact a { display: inline-block; padding-block: 0.5rem; color: var(--gold-300); }
.footer-contact strong { color: var(--white); display: block; font-weight: 600; }
.social-row { display: flex; gap: 0.5rem; margin-top: var(--sp-3); }
.social-row a {
  width: var(--touch); height: var(--touch); display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(249, 168, 98, 0.3); color: var(--gold-300);
  transition: background-color 0.16s var(--ease);
}
.social-row a:hover { background: rgba(249, 168, 98, 0.2); }
/* Même rangée, posée sur un fond clair (page contact). */
.social-row--light a {
  background: var(--gold-100); border-color: var(--gold-300); color: var(--gold-700);
}
.social-row--light a:hover { background: var(--gold-200); color: var(--clay-700); }
.social-row svg { width: 22px; height: 22px; }
.footer-bottom {
  margin-top: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-3); display: flex; flex-wrap: wrap; gap: var(--sp-2);
  align-items: center; justify-content: space-between; font-size: var(--fs-sm);
}
.footer-bottom p { margin: 0; }
.footer-sign { color: var(--gold-300); font-style: italic; }

/* --------------------------------------------------------------------------
   17. DIVERS
   -------------------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px); transform: translateX(-50%) translateY(20px);
  z-index: 150; background: var(--ink-800); color: var(--white);
  border: 1px solid var(--gold-400); border-radius: var(--radius);
  padding: 0.9rem 1.5rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  max-width: min(92vw, 460px); font-size: var(--fs-sm);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-2); }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(3, 20, 37, 0.88));
  color: var(--white); font-size: var(--fs-sm); font-weight: 500;
}

.quote {
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.42; color: var(--white); text-wrap: balance; margin: 0 0 var(--sp-3);
}
.quote-cite { font-size: var(--fs-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-300); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 var(--sp-4); border-left: 2px solid var(--gold-300); display: grid; gap: var(--sp-4); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1 * var(--sp-4) - 7px); top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500);
  box-shadow: 0 0 0 4px var(--cream-100);
}
.timeline .year { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; color: var(--accent-ink); }

/* Grille hebdomadaire */
.schedule-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-base); }
.schedule-table caption { text-align: left; padding-bottom: var(--sp-2); color: var(--text-soft); font-size: var(--fs-sm); }
.schedule-table th, .schedule-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule-table thead th { background: var(--ink-800); color: var(--white); font-weight: 600; }
.schedule-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.schedule-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.schedule-table tbody tr:nth-child(odd) { background: var(--cream-50); }
.schedule-table tbody tr:hover { background: var(--gold-100); }
.schedule-table .time-cell { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.schedule-table .show-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink-800); display: block; padding-block: 0.35rem; }
.schedule-table .show-host { font-size: var(--fs-sm); color: var(--text-soft); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

.day-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-4); }
.day-tab {
  min-height: var(--touch); padding: 0 1.15rem; border-radius: var(--radius-pill);
  border: 2px solid var(--line); background: var(--white); cursor: pointer;
  font-weight: 600; color: var(--text); transition: all 0.16s var(--ease);
}
.day-tab:hover { border-color: var(--gold-400); }
.day-tab[aria-selected="true"] { background: var(--ink-800); border-color: var(--ink-800); color: var(--white); }

/* --------------------------------------------------------------------------
   18. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 0 0.55rem; font-size: 0.92rem; }
  .brand__crest { width: 54px; height: 54px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .editorial { grid-template-columns: 1fr; }
  .onair__inner { grid-template-columns: auto 1fr; }
  .onair__next { grid-column: 1 / -1; text-align: left; padding-top: var(--sp-2); border-top: 1px solid rgba(255,255,255,0.14); }

  .nav-toggle {
    display: grid; place-items: center; width: var(--touch); height: var(--touch);
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px; color: var(--white); cursor: pointer;
  }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 90;
    background: var(--ink-950); overflow-y: auto;
    padding: var(--sp-4) 0 calc(var(--player-h) + var(--sp-5));
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .main-nav a { min-height: 60px; font-size: 1.16rem; padding: 0 0.5rem; border-radius: 0; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { background: rgba(249, 168, 98, 0.14); padding-left: 1rem; }
  /* Les sous-menus restent ouverts : pas d'accordéon à tâtonner */
  .has-sub > a::after { display: none; }
  .sub-menu {
    display: block; position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; border: 0; box-shadow: none;
    padding: 0 0 0.5rem 1.25rem; margin: 0; min-width: 0;
  }
  .sub-menu li { border: 0; }
  .sub-menu a { min-height: 50px; font-size: 1rem; color: #b3c8de; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 860px) {
  :root { --sp-7: 3.5rem; --sp-8: 4.5rem; }
  .topbar { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

@media (max-width: 640px) {
  :root { --player-h: 76px; }
  .brand__name { font-size: 1.05rem; }
  .brand__crest { width: 46px; height: 46px; }
  .header-actions { gap: 0.35rem; }
  .btn-live.btn-sm { padding: 0.4rem 0.85rem; }
  .hero { padding-block: var(--sp-6) var(--sp-5); }
  .hero__actions .btn { width: 100%; }
  .onair__inner { grid-template-columns: 1fr; text-align: left; }
  .onair__art { width: 74px; height: 74px; }
  .player-bar__controls { display: none; }
  .player-bar__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-2); }
  .player-bar__crest { width: 52px; height: 52px; border-radius: 10px; }
  .player-bar .play-toggle { width: 54px; height: 54px; }
  .player-bar__title { font-size: 1.02rem; }
  .player-bar__now { font-size: 0.74rem; letter-spacing: 0.1em; }
  .story { grid-template-columns: 84px 1fr; }
  .story img { width: 84px; height: 68px; }
  .schedule-table thead th { position: static; }
}

/* --------------------------------------------------------------------------
   19. MOUVEMENT RÉDUIT & IMPRESSION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .player-bar, .topbar, .site-footer, .hero__media, .toast { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   20. ÉCRANS PEU HAUTS — garder le bouton d'écoute visible sans faire défiler
   -------------------------------------------------------------------------- */
@media (max-height: 800px) and (min-width: 861px) {
  .hero { padding-block: var(--sp-4) var(--sp-5); }
  .hero__crest { width: clamp(78px, 7vw, 96px); margin-bottom: var(--sp-2); }
  .hero__lede { margin-bottom: var(--sp-3); }
  .hero .live-pill { margin-bottom: var(--sp-2); }
}


/* --------------------------------------------------------------------------
   21. ZONES CLIQUABLES DES LIENS EN LIGNE
   Les liens dans les cartes, les fils d'Ariane et les listes d'articles
   restent visuellement discrets mais deviennent confortables à toucher.
   -------------------------------------------------------------------------- */
.card__foot a, .meta-row a, .breadcrumb a,
.card__body h3 > a, .card__body h4 > a,
.presenter-card h2 > a, .person h3 > a {
  display: inline-block; padding-block: 0.42rem;
}
.meta-row { row-gap: 0.15rem; }

/* Groupe de liens secondaires, visible uniquement dans le menu mobile */
.nav-secondary { display: none; }
@media (max-width: 1024px) {
  .nav-secondary {
    display: block; margin-top: var(--sp-4); padding-top: var(--sp-3);
    border-top: 1px solid rgba(249, 168, 98, 0.28);
  }
  .nav-secondary > span {
    display: block; padding: 0 0.5rem 0.5rem; font-size: var(--fs-sm);
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); font-weight: 700;
  }
  .nav-secondary ul { list-style: none; margin: 0; padding: 0; }
  .nav-secondary li { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .nav-secondary a {
    display: flex; align-items: center; min-height: 56px; padding: 0 0.5rem;
    color: #dce8f5; text-decoration: none; font-size: 1.08rem; font-weight: 500;
  }
  .nav-secondary a:hover { color: var(--gold-300); }
}

/* --------------------------------------------------------------------------
   22. SÉLECTEUR DE LANGUE
   -------------------------------------------------------------------------- */
/* Sélecteur de langue — menu déroulant.
   Ouvert au survol et au clavier par le CSS seul ; le JS n'ajoute que le
   toucher (main.js §07). Sans JS, le survol et la tabulation suffisent. */
.lang-switch { position: relative; display: inline-flex; }

.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 0.4em;
  min-height: 44px; padding: 0 0.7rem;
  border: 0; background: none; cursor: pointer;
  font: inherit;
  color: var(--text-on-night-soft);
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.06em;
  transition: color 0.16s var(--ease);
}
.lang-switch__btn:hover { color: var(--gold-300); }
.lang-switch .flag {
  width: 21px; height: 15px; flex-shrink: 0;
  border-radius: 2px; display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.4);
}
.lang-switch__btn:hover .flag { box-shadow: 0 0 0 1px rgba(249, 168, 98, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5); }
.lang-switch__chev { transition: transform 0.2s var(--ease); opacity: 0.75; }
.lang-switch:focus-within .lang-switch__chev,
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); opacity: 1; }

.lang-menu {
  position: absolute; top: 100%; right: 0;
  z-index: 140;
  min-width: 208px;
  margin: 0; padding: 0.4rem;
  list-style: none;
  background: var(--ink-900);
  border: 1px solid rgba(249, 168, 98, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
/* Passerelle invisible : la souris peut descendre du bouton vers le menu
   sans traverser un vide qui refermerait le menu. */
.lang-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.lang-switch:focus-within .lang-menu,
.lang-switch.is-open .lang-menu {
  opacity: 1; visibility: visible; transform: none;
}

/* L'ouverture au survol ne vaut que pour un vrai pointeur. Sur écran
   tactile, le « survol » reste collé après le doigt : le menu ne se
   refermerait plus. Là, c'est le clic qui ouvre et ferme (main.js §07). */
@media (hover: hover) and (pointer: fine) {
  .lang-switch:hover .lang-menu { opacity: 1; visibility: visible; transform: none; }
  .lang-switch:hover .lang-switch__chev { transform: rotate(180deg); opacity: 1; }
}

.lang-menu__item {
  display: flex; align-items: center; gap: 0.65rem;
  min-height: 48px; padding: 0 0.8rem;
  border-radius: 9px;
  color: var(--text-on-night);
  text-decoration: none;
  font-size: var(--fs-sm); font-weight: 600;
  transition: background-color 0.14s var(--ease), color 0.14s var(--ease);
}
.lang-menu__item:hover { background: rgba(249, 168, 98, 0.16); color: var(--white); }
.lang-menu__item span { flex: 1; }
.lang-menu__item.is-current { color: var(--gold-300); }
.lang-menu__check { flex: none; color: var(--gold-300); }

/* Variante compacte : le sélecteur de l'en-tête, encadré. */
.lang-switch.is-compact { display: none; }
.lang-switch.is-compact .lang-switch__btn {
  min-height: var(--touch); padding: 0 0.9rem;
  border: 1px solid rgba(249, 168, 98, 0.45); border-radius: var(--radius-pill);
  color: var(--gold-300); background: rgba(249, 168, 98, 0.08);
}
.lang-switch.is-compact .lang-switch__btn:hover { background: rgba(249, 168, 98, 0.18); color: var(--white); }

/* Variante du menu mobile : pas de déroulant, les deux langues à plat.
   Un menu qui s'ouvre au survol n'a aucun sens dans un tiroir tactile. */
.lang-switch.is-inline { display: block; width: 100%; }
.lang-switch.is-inline .lang-switch__btn { display: none; }
.lang-switch.is-inline .lang-menu {
  position: static;
  opacity: 1; visibility: visible; transform: none;
  min-width: 0; padding: 0;
  background: none; border: 0; box-shadow: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.lang-switch.is-inline .lang-menu::before { content: none; }
.lang-switch.is-inline .lang-menu__item {
  min-height: 56px; font-size: 1.08rem;
  border: 1px solid rgba(249, 168, 98, 0.3);
  padding-inline: 1rem;
}
.lang-switch.is-inline .flag { width: 26px; height: 19px; }

/* Sous 1024 px la barre du haut disparaît : le sélecteur passe dans l'en-tête */
@media (max-width: 1024px) { .lang-switch.is-compact { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) {
  .lang-menu { transition: none; }
  .lang-switch__chev { transition: none; }
}


/* --------------------------------------------------------------------------
   23. EN-TÊTE SUR TRÈS PETIT ÉCRAN
   Quatre éléments ne tiennent pas côte à côte à 390 px. Le sélecteur de langue
   garde son code (FR/EN) mais perd le globe ; le bouton d'écoute garde son
   libellé court. Rien n'est retiré, tout reste atteignable.
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  .site-header__inner { gap: 0.5rem; }
  .brand__crest { width: 42px; height: 42px; }
  .brand__name { font-size: 0.98rem; }
  .brand__text { max-width: 42vw; }

  .lang-switch.is-compact .lang-switch__btn { padding: 0 0.55rem; gap: 0.35em; }

  .header-actions .btn-live.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.94rem; gap: 0.4em; }
  .header-actions .btn-onair__play { width: 19px; height: 19px; }
  .nav-toggle { width: 44px; height: 44px; }
}

/* Sur téléphone, le bouton d'écoute de l'en-tête fait doublon avec la barre
   de lecture, toujours visible en bas. On garde une seule commande évidente. */
/* Doublon « Écouter en direct » : le menu ne le montre que là où le bouton
   rouge de l'en-tête n'est plus affiché. */
.nav-phone-only { display: none; }

@media (max-width: 500px) {
  /* À 390 px, quatre éléments ne tiennent pas dans l'en-tête : le bouton
     d'écoute sort et « Écouter en direct » reprend sa place dans le menu.
     Vrai avec ou sans barre de lecture — le débordement, lui, ne dépend
     pas du lecteur. */
  .nav-phone-only { display: block; }
  .header-actions .btn-live.btn-sm { display: none; }
  .brand__name { font-size: 1rem; }
  .brand__text { max-width: 52vw; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 0.92rem; letter-spacing: -0.02em; }
}

/* --------------------------------------------------------------------------
   24. HOMOGÉNÉITÉ DES PORTRAITS
   Les photos viennent de sources différentes (téléphone, studio). Un léger
   accord de tonalité et un cadrage sur le haut du visage suffisent à faire
   lire l'ensemble comme une seule série.
   -------------------------------------------------------------------------- */
.avatar img {
  filter: saturate(1.04) contrast(1.03) brightness(1.01);
}

/* --------------------------------------------------------------------------
   25. ÉCOUTER EN DIRECT — bouton d'en-tête
   Un libellé qui ne change jamais, une lueur discrète pour signaler que
   c'est l'action principale. La lecture reste pilotée par la barre du bas.
   -------------------------------------------------------------------------- */
.btn-onair {
  position: relative;
  background: linear-gradient(135deg, var(--clay-600), var(--clay-500));
  box-shadow: 0 4px 16px rgba(194, 65, 12, 0.38);
  font-weight: 600; letter-spacing: 0.01em;
}
.btn-onair::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit;
  border: 2px solid rgba(234, 88, 12, 0.55);
  opacity: 0; pointer-events: none;
  animation: onairHalo 3.2s ease-out infinite;
}
.btn-onair:hover {
  background: linear-gradient(135deg, var(--clay-500), #f2762e);
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.5);
}
.btn-onair:hover::after { animation: none; opacity: 1; }
@keyframes onairHalo {
  0%   { opacity: 0.75; transform: scale(1); }
  70%  { opacity: 0;    transform: scale(1.14); }
  100% { opacity: 0;    transform: scale(1.14); }
}

/* --------------------------------------------------------------------------
   26. BLASON DU HÉROS — ondes de diffusion
   Deux anneaux dorés qui s'éloignent lentement du blason : la station émet.
   Volontairement lent et discret — le repère reste le blason, pas l'animation.
   -------------------------------------------------------------------------- */
.hero .wrap { position: relative; }
.hero__crest { position: relative; z-index: 2; }
.hero__crest-wrap {
  position: absolute; left: 50%; top: 0;
  width: clamp(92px, 9vw, 122px); aspect-ratio: 1;
  transform: translateX(-50%); pointer-events: none; z-index: 1;
}
.hero__crest-wrap::before,
.hero__crest-wrap::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(249, 168, 98, 0.5);
  animation: crestWave 4.6s cubic-bezier(0.16, 0.8, 0.4, 1) infinite;
}
.hero__crest-wrap::after { animation-delay: 2.3s; }
/* L'onde naît invisible et grandit. Elle démarrait à scale(1), donc chaque
   cycle repassait par un anneau net posé sur le bord du blason — ce qui se
   lisait comme une bordure dorée, pas comme une pulsation. */
@keyframes crestWave {
  0%   { opacity: 0;    transform: scale(1); }
  18%  { opacity: 0.42; transform: scale(1.16); }
  75%  { opacity: 0;    transform: scale(1.75); }
  100% { opacity: 0;    transform: scale(1.75); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-onair::after, .hero__crest-wrap::before, .hero__crest-wrap::after { animation: none; opacity: 0; }
  /* Diaporama : la première vue reste, sans fondu ni zoom. */
  .hero__media img { transition: none; transform: none; }
}

/* --------------------------------------------------------------------------
   27. TITRE EN COURS — carte d'accueil
   Reprend le principe du template : la pochette, le titre, et la liste des
   derniers titres passés, visibles sans ouvrir le tiroir du lecteur.
   -------------------------------------------------------------------------- */
.np-card {
  display: grid; grid-template-columns: 320px minmax(0, 1fr);
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; padding: 0;
  box-shadow: var(--shadow-sm); align-items: stretch;
}

/* La pochette touche le bord de la carte : aucun cadre, aucune marge.
   Deux calques superposés permettent un fondu enchaîné à chaque titre. */
.np-card__media { position: relative; overflow: hidden; min-height: 360px; background: var(--ink-800); }
.np-card__art {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  border: 0; border-radius: 0;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 6s linear;
}
.np-card__art.is-on { opacity: 1; transform: scale(1); }
/* Le blason à la place d'une pochette manquante : affiché EN ENTIER sur fond
   sombre, jamais recadré comme le serait une jaquette. La différence de
   traitement est le signal — « voici la pochette » d'un côté, « nous n'en
   avons pas » de l'autre. Sans elle, un blason plein cadre passerait pour
   l'illustration du morceau. */
.np-card__art.is-mark {
  object-fit: contain;
  padding: 16%;
  background: var(--ink-800);
  transform: none;
}
.np-card__art.is-mark.is-on { transform: none; }

.np-card__body { padding: var(--sp-5); min-width: 0; }
.np-card__track {
  font-family: var(--font-display); font-size: var(--fs-h3);
  color: var(--ink-800); margin: 0.7rem 0 0.2rem; line-height: 1.2;
}
.np-card__artist { color: var(--text-soft); font-size: var(--fs-lg); margin: 0; }
.np-card h3 { font-size: var(--fs-h4); margin: var(--sp-4) 0 var(--sp-2); }
.np-recent { list-style: none; margin: 0; padding: 0; }
.np-recent li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-3); padding: 0.75rem 0; border-bottom: 1px solid var(--cream-200);
}
.np-recent li:last-child { border-bottom: 0; }
.np-recent .t { font-weight: 600; color: var(--ink-800); }
.np-recent .a { color: var(--text-soft); }
.np-recent time { color: var(--accent-ink); font-variant-numeric: tabular-nums; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.np-empty { color: var(--text-soft); margin: 0; }

@media (max-width: 820px) {
  .np-card { grid-template-columns: minmax(0, 1fr); }
  .np-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .np-card__body { padding: var(--sp-4); }
}

@media (prefers-reduced-motion: reduce) {
  .np-card__art { transition: none; transform: none; }
  .np-card__art.is-on { transform: none; }
}

/* --------------------------------------------------------------------------
   28. À L'ANTENNE / ENSUITE — deux créneaux mis en avant
   -------------------------------------------------------------------------- */
.slot-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); margin-bottom: var(--sp-4); }
.slot-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3);
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(249, 168, 98, 0.24);
  border-radius: var(--radius-lg); padding: var(--sp-3);
}
.slot-card.is-live { background: rgba(244, 133, 36, 0.14); border-color: var(--gold-400); }
.slot-card .avatar { width: 78px; }
.slot-card h3 { color: var(--white); font-size: var(--fs-h4); margin: 0.45rem 0 0.3rem; }
.slot-card__time { color: #bcd3ea; font-size: var(--fs-sm); margin: 0; }
.badge-slot {
  display: inline-flex; align-items: center; gap: 0.45em;
  padding: 0.2rem 0.7rem; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.badge-slot.is-now { background: var(--clay-600); color: var(--white); }
.badge-slot.is-next { background: rgba(249, 168, 98, 0.18); color: var(--gold-300); border: 1px solid rgba(249, 168, 98, 0.4); }
@media (max-width: 860px) { .slot-cards { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   29. INFOLETTRE
   -------------------------------------------------------------------------- */
.newsletter-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-6); align-items: center; }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: var(--sp-3); }
.newsletter-form input[type="email"] {
  flex: 1 1 260px; min-height: 54px; padding: 0.85rem 1rem; font-size: var(--fs-base);
  background: rgba(255, 255, 255, 0.07); color: var(--white);
  border: 2px solid rgba(249, 168, 98, 0.35); border-radius: 10px;
}
.newsletter-form input[type="email"]::placeholder { color: #8aa6c2; }
.newsletter-form input[type="email"]:focus {
  outline: none; border-color: var(--gold-400); background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(249, 168, 98, 0.15);
}
.newsletter-note { font-size: var(--fs-sm); color: var(--text-on-night-soft); margin-top: var(--sp-2); }
.newsletter-side { border-left: 2px solid rgba(249, 168, 98, 0.3); padding-left: var(--sp-5); }
@media (max-width: 900px) {
  .newsletter-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .newsletter-side { border-left: 0; border-top: 2px solid rgba(249, 168, 98, 0.3); padding-left: 0; padding-top: var(--sp-4); }
}

/* --------------------------------------------------------------------------
   30. BARRE SOCIALE FLOTTANTE
   Collée au bord droit, comme sur l'ancien site, mais à notre charte.
   Elle reste visible dès 640 px : le client y tient, c'est un repère de
   l'ancien site. Elle rétrécit par paliers pour ne pas manger le contenu
   sur les écrans étroits. Sous 640 px (téléphone) elle disparaît — une
   colonne fixe y recouvrirait le texte — et le pied de page porte
   exactement les mêmes liens.
   -------------------------------------------------------------------------- */
.social-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 95;
}
/* Pas d'overflow:hidden ici : il rognerait l'étiquette de survol, qui sort
   par la gauche. Les coins sont donc arrondis sur les tuiles elles-mêmes. */
.social-rail ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
  filter: drop-shadow(0 10px 24px rgba(3, 20, 37, 0.28));
}
.social-rail li:first-child a { border-radius: var(--radius) 0 0 0; }
.social-rail li:last-child a { border-radius: 0 0 0 var(--radius); }
/* Tuiles au bleu de marque plein, icône blanche : franc et lisible sur une
   photo comme sur un fond clair. Au survol, l'orange de marque prend le
   relais — les deux couleurs de la charte, rien d'autre. */
.social-rail a {
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--royal-500);
  color: var(--white);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.social-rail a:hover,
.social-rail a:focus-visible {
  background: var(--gold-500);
  color: var(--white);
}
/* Étiquette au survol : elle glisse depuis le bord, jamais affichée au repos. */
.social-rail__tip {
  position: absolute; right: 100%; top: 50%;
  transform: translate(8px, -50%);
  margin-right: 2px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--gold-500);
  color: var(--ink-900);
  font-size: var(--fs-sm); font-weight: 700;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.social-rail a:hover .social-rail__tip,
.social-rail a:focus-visible .social-rail__tip { opacity: 1; transform: translate(0, -50%); }

/* Paliers de taille : la barre reste, elle maigrit. */
@media (max-width: 1200px) {
  .social-rail a { width: 42px; height: 42px; }
  .social-rail a svg { width: 17px; height: 17px; }
}
@media (max-width: 900px) {
  .social-rail a { width: 36px; height: 36px; }
  .social-rail a svg { width: 15px; height: 15px; }
}
/* Téléphone : on retire la colonne, elle recouvrirait le texte. */
@media (max-width: 639px) { .social-rail { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .social-rail__tip { transition: opacity 0.18s var(--ease); transform: translate(0, -50%); }
}

