@font-face {
  font-family: "Barlow Logo";
  src: url("fonts/BarlowCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
}

:root {
  --ink: #0f0b09;
  --card: #1a130e;
  --bone: #fff4e6;
  --bone-dim: rgba(255, 244, 230, 0.62);
  --kif: #ff7a1a;
  --cool: #e056f7;
  --rock: #5b8cff;
  --hits: #ff2d4b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Barre fine */
.strip { border-bottom: 1px solid rgba(255, 244, 230, 0.1); font-size: 12px; color: var(--bone-dim); }
.strip .wrap { display: flex; justify-content: center; gap: 36px; padding-top: 8px; padding-bottom: 8px; }

/* Bandeau */
/* Bandeau fixe sur toute la largeur : dégradé du noir vers un orange léger, liseré orange en bas */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--ink) 0%, #44230d 100%);
  border-bottom: 2px solid var(--kif);
  box-shadow: 0 6px 22px rgba(255, 122, 26, 0.18);
}
.top .wrap { display: flex; align-items: center; justify-content: flex-start; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-family: "Barlow Logo", sans-serif; font-size: 46px; line-height: 1; letter-spacing: 0.01em; }
.wordmark a { display: block; cursor: pointer; }
.wordmark span { color: var(--kif); }
/* Menu : 4 boutons de radio, chacun déroule ses derniers titres au survol ou au clic */
/* Menu : 4 liens, texte clair avec un trait épais de la couleur de la radio dessous */
.nav { display: flex; align-items: center; gap: 26px; }
.nav-btn {
  display: block;
  padding: 6px 0 4px;
  border-bottom: 3px solid var(--c);
  color: var(--bone);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.nav-btn:hover, .nav-btn:focus-visible { color: var(--c); text-shadow: 0 0 14px rgba(255, 244, 230, 0.25); }

/* Un module de titres par radio, à la suite des autres : on y arrive en cliquant sur le bouton de la radio */
html { scroll-behavior: smooth; }
.list-mod { scroll-margin-top: calc(var(--hh, 80px) + 16px); }
.list-mod { margin-top: 8px; }
#lists { margin-top: 18px; }
.mod-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 6px 20px;
  border: 1px solid rgba(var(--rgb), 0.6);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(var(--rgb), 0.2), rgba(var(--rgb), 0.04) 70%), var(--card);
  box-shadow: 0 0 14px rgba(var(--rgb), 0.16);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.mod-head:hover { background: linear-gradient(90deg, rgba(var(--rgb), 0.3), rgba(var(--rgb), 0.08) 70%), var(--card); }
.mod-head h3 { font-family: "Barlow Logo", sans-serif; font-size: 24px; letter-spacing: 0.02em; color: var(--c); text-shadow: 0 0 22px rgba(var(--rgb), 0.4); }
.mod-head small { font-size: 12px; color: var(--kif); font-weight: 700; }
.mod-head .chev { margin: auto 0 auto auto; align-self: center; flex: none; width: 22px; height: 22px; color: var(--c); transition: transform 0.3s ease; }
.list-mod.open .chev { transform: rotate(180deg); }
/* Repli animé : la hauteur passe de 0 à son contenu */
.list-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.list-mod.open .list-body { grid-template-rows: 1fr; }
.list-inner { overflow: hidden; min-height: 0; }
.list-card { margin-top: 12px; }
.list-card {
  padding: 6px 24px;
  border-radius: 28px;
  border: 1px solid rgba(var(--rgb), 0.6);
  background:
    radial-gradient(110% 80% at 12% 0%, rgba(var(--rgb), 0.22), transparent 62%),
    radial-gradient(90% 70% at 100% 100%, rgba(var(--rgb), 0.14), transparent 60%),
    var(--card);
  box-shadow: 0 0 18px rgba(var(--rgb), 0.2), inset 0 0 26px rgba(var(--rgb), 0.1);
}
.list-card ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
.list-card li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 244, 230, 0.08); min-width: 0; }
.list-card .h-cover { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--card) center / cover no-repeat; }
.list-card .h-txt { flex: 1; min-width: 0; }
.list-card .h-txt b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-card .h-txt span { display: block; font-size: 13px; color: var(--bone-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-card time { flex: none; width: 46px; text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; color: var(--c); }
.list-card .live-tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--ink); background: var(--c); border-radius: 7px; padding: 3px 8px; }
.list-card .empty { grid-column: 1 / -1; padding: 18px 0; font-size: 14px; color: var(--bone-dim); }

/* Les 4 players */
.players { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.pl {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 28px;
  border: 1px solid rgba(var(--rgb), 0.6);
  /* Néon léger : halo de la couleur de la radio dans le fond, contour qui rougeoie */
  background:
    radial-gradient(110% 80% at 12% 0%, rgba(var(--rgb), 0.30), transparent 62%),
    radial-gradient(90% 70% at 100% 100%, rgba(var(--rgb), 0.2), transparent 60%),
    var(--card);
  box-shadow: 0 0 18px rgba(var(--rgb), 0.28), inset 0 0 26px rgba(var(--rgb), 0.14);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}
/* Une radio joue : les 3 autres s'assombrissent */
.pl { transition: box-shadow 0.3s ease, opacity 0.3s ease; }
.players.has-live .pl:not(.playing) { opacity: 0.42; }
.pl.playing { box-shadow: 0 0 0 2px var(--c), 0 0 40px rgba(var(--rgb), 0.4), inset 0 0 26px rgba(var(--rgb), 0.18); }

/* Fond vivant : halo qui dérive et deux vagues lentes (actifs par défaut sur les 4 players) */
.bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.9s ease; }
.pl.playing .bg { opacity: 1; }
.glow {
  position: absolute;
  left: -15%;
  top: -25%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb), 0.42), transparent 65%);
  animation: drift 13s ease-in-out infinite alternate;
}
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 52%; fill: rgba(var(--rgb), 0.2); animation: wave 15s linear infinite; }
.wave-b { height: 42%; fill: rgba(var(--rgb), 0.13); animation-duration: 23s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-50%); } }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(70%, 45%) scale(1.25); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar { 0%, 100% { height: 30%; } 50% { height: 100%; } }

.disc {
  position: absolute;
  z-index: 1;
  top: -46px;
  right: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 62%, rgba(255, 255, 255, 0.08) 62.5%, transparent 64%),
    repeating-radial-gradient(circle, #15100d 0 2px, #211a15 2px 4px);
}
.pl.playing .disc { animation: spin 8s linear infinite; }
.disc::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }

.pl-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 24px 22px 22px; }
.pl h2 { font-family: "Barlow Logo", sans-serif; font-size: 66px; line-height: 0.95; color: var(--c); text-shadow: 0 0 26px rgba(var(--rgb), 0.45); }
.pl .slogan { margin-top: 6px; font-size: 13px; color: var(--bone-dim); }
.pl .np { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 26px; min-height: 100px; }
.pl .cover { flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--c) center / cover no-repeat; }
.pl .txt { min-width: 0; }
.pl .txt b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .txt span { display: block; font-size: 14px; color: var(--bone-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 24px; }
.bars i { width: 5px; height: 30%; background: var(--c); border-radius: 1px; }
/* Chaque barre a sa durée et son décalage : elles oscillent chacune à son rythme */
.pl.playing .bars i { animation: bar 0.9s ease-in-out infinite; }
.pl.playing .bars i:nth-child(1) { animation-duration: 0.85s; animation-delay: -0.1s; }
.pl.playing .bars i:nth-child(2) { animation-duration: 1.15s; animation-delay: -0.7s; }
.pl.playing .bars i:nth-child(3) { animation-duration: 0.7s; animation-delay: -0.4s; }
.pl.playing .bars i:nth-child(4) { animation-duration: 1.3s; animation-delay: -0.2s; }
.pl.playing .bars i:nth-child(5) { animation-duration: 0.95s; animation-delay: -0.9s; }
.play { position: relative; display: block; width: 62px; height: 62px; border-radius: 50%; background: var(--c); color: var(--ink); cursor: pointer; border: 0; }
.play svg { position: absolute; top: 50%; left: 50%; width: 52%; height: 52%; transform: translate(-50%, -50%); }
.play:active { transform: scale(0.94); }
:focus-visible { outline: 3px solid var(--bone); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .disc, .bars i, .glow, .wave { animation: none; }
}


/* Sections */
section { margin-top: 44px; }
.sec-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.sec-title h3 { font-family: "Barlow Logo", sans-serif; font-size: 34px; letter-spacing: 0.02em; }
.sec-title small { font-size: 15px; color: var(--kif); font-weight: 700; }

/* Pochettes : un nombre entier de pochettes selon la largeur de l'écran, flèches de chaque côté, pas de barre de défilement */
.rail-wrap { --n: 7; --gap: 16px; display: flex; align-items: flex-start; gap: 12px; }
.rail { flex: 1; min-width: 0; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tr { flex: none; width: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); scroll-snap-align: start; }
.tr .art { width: 100%; aspect-ratio: 1; border-radius: 18px; background: var(--card) center / cover no-repeat; }
.tr b { display: block; margin-top: 8px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr span { display: block; font-size: 13px; color: var(--bone-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrow {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  margin-top: calc(var(--art, 140px) / 2 - 20px);
  border-radius: 50%;
  border: 1px solid rgba(255, 244, 230, 0.28);
  color: var(--bone);
  background: rgba(255, 244, 230, 0.06);
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.arrow svg { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.arrow:hover { background: rgba(255, 244, 230, 0.14); }
.arrow:disabled { opacity: 0.25; cursor: default; }

.progs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pg { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 22px; background: var(--card); border: 1px solid rgba(255, 244, 230, 0.1); transition: opacity 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; }
.pg time { font-family: "Barlow Logo", sans-serif; font-size: 30px; line-height: 1; color: var(--kif); min-width: 88px; }
.pg b { display: block; font-size: 16px; }
.pg span { font-size: 13px; color: var(--bone-dim); }


/* Fenêtres plus étroites : 2 players par ligne, puis 1 seul sur téléphone */
@media (max-width: 1000px) {
  .list-card ul { grid-template-columns: 1fr; }
  .players { grid-template-columns: repeat(2, 1fr); }
  .rail-wrap { --n: 5; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top .wrap { position: relative; flex-wrap: wrap; row-gap: 10px; }
  .top .nav { margin-left: 0; }
  .nav { width: 100%; gap: 6px; }
  .nav-btn { flex: 1; text-align: center; }
  .nav-btn { padding: 6px 0 4px; font-size: 12px; }
  .players { grid-template-columns: 1fr; gap: 14px; }
  .rail-wrap { --n: 3; gap: 8px; }
  .arrow { width: 34px; height: 34px; margin-top: calc(var(--art, 100px) / 2 - 17px); }
  .pl { min-height: 300px; }
  .progs { grid-template-columns: 1fr; }
  .sec-title { flex-wrap: wrap; gap: 4px 12px; }
  .sec-title h3 { font-size: 28px; }
  .mod-head { flex-wrap: wrap; gap: 2px 12px; padding: 12px 16px; position: relative; padding-right: 48px; }
  .mod-head h3 { font-size: 24px; }
  .mod-head .chev { position: absolute; right: 14px; top: 50%; margin: -13px 0 0 0; }
}

/* Mini-lecteur accroché sous le liseré orange du bandeau : une languette de la largeur des players COOL + ROCK (posée en JS),
   coins du bas arrondis ; elle apparaît quand la radio qui joue a quitté l'écran en haut */
.mini {
  position: fixed;
  top: calc(var(--hh, 76px) - 1px);
  left: 16px;
  width: calc(100% - 32px);
  z-index: 45;
  border-radius: 0 0 28px 28px;
  border: 1px solid rgba(var(--rgb, 255, 122, 26), 0.6);
  border-top: 0;
  background:
    linear-gradient(90deg, rgba(var(--rgb, 255, 122, 26), 0.24), rgba(var(--rgb, 255, 122, 26), 0.08) 70%),
    var(--card);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(var(--rgb, 255, 122, 26), 0.22);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
.mini.show { transform: none; visibility: visible; transition: transform 0.3s ease; }
.mini .wrap { display: flex; align-items: center; gap: 14px; max-width: none; padding: 7px 15px; }
.m-cover { flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--c, var(--kif)) center / cover no-repeat; }
.m-name { flex: none; font-family: "Barlow Logo", sans-serif; font-size: 26px; line-height: 1; color: var(--c, var(--kif)); text-shadow: 0 0 18px rgba(var(--rgb, 255, 122, 26), 0.4); }
.m-track { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-track span { color: var(--bone-dim); }
.m-play { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--c, var(--kif)); color: var(--ink); cursor: pointer; }
.m-play svg { position: absolute; top: 50%; left: 50%; width: 54%; height: 54%; transform: translate(-50%, -50%); }

/* Bouton « écouter un extrait » dans les playlists */
.xt { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(var(--rgb), 0.7); background: transparent; color: var(--c); cursor: pointer; }
.xt svg { position: absolute; top: 50%; left: 50%; width: 50%; height: 50%; transform: translate(-50%, -50%); }
.xt:hover { background: rgba(var(--rgb), 0.2); }
.xt.on { background: var(--c); color: var(--ink); }
.xt.loading { opacity: 0.5; animation: bar-pulse 0.8s ease-in-out infinite alternate; }
.xt.none { opacity: 0.25; cursor: default; }
@keyframes bar-pulse { to { opacity: 0.9; } }

/* Enveloppe Contact : dans l'espace vide juste après le logo, le menu des radios reste poussé à droite */
.contact-btn {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  margin-left: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 244, 230, 0.3);
  background: rgba(15, 11, 9, 0.35);
  color: var(--bone);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.contact-btn svg { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; }
.contact-btn:hover, .contact-btn:focus-visible { color: var(--kif); border-color: var(--kif); background: rgba(255, 122, 26, 0.14); }
.top .nav { margin-left: auto; }

/* Popup Contact : par-dessus le site, qui est flouté derrière */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 11, 9, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.modal[hidden] { display: none; }
.modal-card {
  width: 100%;
  max-width: 480px;
  max-height: 100%;
  overflow-y: auto;
  padding: 26px 26px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 122, 26, 0.6);
  background:
    radial-gradient(110% 80% at 12% 0%, rgba(255, 122, 26, 0.22), transparent 62%),
    var(--card);
  box-shadow: 0 0 30px rgba(255, 122, 26, 0.25), 0 20px 50px rgba(0, 0, 0, 0.6);
  outline: none;
}
.modal-card h2 { font-family: "Barlow Logo", sans-serif; font-size: 38px; line-height: 1; color: var(--kif); text-shadow: 0 0 22px rgba(255, 122, 26, 0.4); }
.modal-sub { margin: 6px 0 18px; font-size: 14px; color: var(--bone-dim); }
.modal-card label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--bone-dim); }
.modal-card input, .modal-card textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 244, 230, 0.2);
  border-radius: 12px;
  background: rgba(255, 244, 230, 0.06);
  color: var(--bone);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  resize: vertical;
}
.modal-card input:focus, .modal-card textarea:focus { outline: none; border-color: var(--kif); box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.2); }
.modal-card .bad { border-color: #ff4a5e; }
.modal-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { margin: 2px 0 12px; font-size: 14px; color: #ff6b7a; }
.form-err[hidden] { display: none; }
.modal-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.modal-btns button { padding: 11px 22px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.m-cancel { border: 1px solid rgba(255, 244, 230, 0.28); background: none; color: var(--bone); }
.m-send { border: 0; background: var(--kif); color: var(--ink); }
.m-send:disabled { opacity: 0.6; cursor: default; }

/* Petit popup de confirmation : dans le bandeau, centré entre l'enveloppe et le premier lien (position posée en JS) */
.toast {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 26, 0.6);
  background: #1d1611;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 122, 26, 0.25);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(calc(-50% - 10px), -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast[hidden] { display: none; }
.toast.show { opacity: 1; transform: translate(-50%, -50%); }
.toast svg { width: 19px; height: 19px; padding: 3px; border-radius: 50%; background: var(--kif); color: var(--ink); }

/* Sans pied de page : un peu d'air sous la dernière playlist */
main.wrap { padding-bottom: 8px; }

/* Bas de page : le miroir du bandeau du haut (orange léger qui s'éteint vers le noir, liseré orange sur le bord) */
.site-foot {
  margin-top: 48px;
  background: linear-gradient(180deg, #44230d 0%, var(--ink) 100%);
  border-top: 2px solid var(--kif);
  box-shadow: 0 -6px 22px rgba(255, 122, 26, 0.18);
}
.site-foot .wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 30px; padding-bottom: 26px; text-align: center; }
.foot-logo { font-family: "Barlow Logo", sans-serif; font-size: 34px; line-height: 1; letter-spacing: 0.01em; color: var(--bone); }
.foot-logo span { color: var(--kif); }
.foot-tag { font-size: 14px; color: var(--bone-dim); }
.foot-radios { font-family: "Barlow Logo", sans-serif; font-size: 22px; letter-spacing: 0.04em; color: var(--bone-dim); }
.foot-radios span { color: var(--c); }
.foot-copy { margin-top: 4px; font-size: 12px; color: var(--bone-dim); }

/* Icône Facebook : à droite de l'enveloppe, même style */
.social-btn { margin-left: 10px; display: block; }

/* Mentions légales : lien du bas de page + popup (même fond flouté que le contact) */
.foot-legal { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--bone-dim); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-legal:hover { color: var(--kif); }
.legal-card { display: flex; flex-direction: column; max-width: 720px; max-height: min(88vh, 100%); overflow: hidden; }
.legal-body { margin: 12px 0 16px; padding-right: 10px; overflow-y: auto; font-size: 14px; line-height: 1.65; color: var(--bone-dim); scrollbar-width: thin; scrollbar-color: rgba(255, 244, 230, 0.25) transparent; }
.legal-body p { margin-bottom: 12px; }
.legal-lead { color: var(--bone); }
.legal-body a { color: var(--kif); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy { margin: 4px 0 0; font-size: 13px; }

/* Programmes : ceux hors de leur plage horaire sont assombris, celui en cours a un léger halo orange */
.pg.off { opacity: 0.4; }
.pg.now { border-color: rgba(255, 122, 26, 0.65); box-shadow: 0 0 22px rgba(255, 122, 26, 0.3), inset 0 0 18px rgba(255, 122, 26, 0.08); }

/* « Live » écrit à la main, à droite du programme en cours */
.pg.now::after {
  content: "Live";
  margin-left: auto;
  padding-right: 6px;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--kif);
  text-shadow: 0 0 14px rgba(255, 122, 26, 0.5);
  text-decoration: underline wavy;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transform: rotate(-8deg);
}

/* Programmes : dans une case orange, pour les séparer des playlists */
.prog-box {
  padding: 22px 24px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 122, 26, 0.6);
  background:
    radial-gradient(110% 90% at 8% 0%, rgba(255, 122, 26, 0.26), transparent 62%),
    radial-gradient(90% 80% at 100% 100%, rgba(255, 122, 26, 0.14), transparent 60%),
    var(--card);
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.2), inset 0 0 26px rgba(255, 122, 26, 0.08);
}
.prog-box .sec-title { margin-bottom: 16px; }
@media (max-width: 640px) { .prog-box { padding: 16px 14px 16px; } }

/* Bandeau cookies : posé en bas de la page, par-dessus le site */
.cookies {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(920px, calc(100% - 32px));
  padding: 14px 16px 14px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 122, 26, 0.6);
  background:
    radial-gradient(110% 160% at 0% 0%, rgba(255, 122, 26, 0.22), transparent 62%),
    var(--card);
  box-shadow: 0 0 24px rgba(255, 122, 26, 0.25), 0 14px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookies[hidden] { display: none; }
.cookies.show { opacity: 1; transform: translate(-50%, 0); }
.cookies-ico { flex: none; width: 30px; height: 30px; color: var(--kif); }
.cookies p { flex: 1; font-size: 14px; color: var(--bone); }
.cookies-btns { display: flex; flex: none; gap: 10px; }
.cookies-btns button { padding: 10px 22px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.c-no { border: 1px solid rgba(255, 244, 230, 0.28); background: none; color: var(--bone); }
.c-no:hover { border-color: var(--kif); color: var(--kif); }
.c-ok { border: 0; background: var(--kif); color: var(--ink); }
@media (max-width: 640px) {
  .cookies { flex-wrap: wrap; gap: 10px 12px; padding: 14px 14px 14px 16px; bottom: 12px; }
  .cookies p { flex-basis: calc(100% - 50px); font-size: 13px; }
  .cookies-btns { width: 100%; }
  .cookies-btns button { flex: 1; }
}

/* Titre des programmes : KIF en orange comme dans le logo */
.sec-title h3 .k { color: var(--kif); }

/* Même espace (18 px) entre les cases Derniers titres, Programmes et les playlists */
.prog-box + .prog-box { margin-top: 18px; }

/* Music News : même carrousel que les pochettes, quatre articles visibles */
.news-box[hidden] { display: none; }
.news-wrap { --n: 4; }
.nw { flex: none; display: block; width: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); scroll-snap-align: start; color: inherit; }
.nw .im { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--c) center / cover no-repeat; overflow: hidden; }
.nw .im::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 244, 230, 0.12); }
.nw .src { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(15, 11, 9, 0.78); font-size: 11px; font-weight: 700; color: var(--bone); }
.nw .hd { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 9px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.nw .tm { display: block; margin-top: 4px; font-size: 12px; color: var(--bone-dim); }
.nw:hover .hd { color: var(--kif); }
.news-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; min-height: 7px; }
.news-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 244, 230, 0.25); transition: background 0.2s ease; }
.news-dots i.on { background: var(--kif); }
@media (max-width: 1000px) { .news-wrap { --n: 3; } }
@media (max-width: 640px) { .news-wrap { --n: 2; } }

/* Bouton Music News : à gauche des radios, un peu séparé ; la case des actualités s'arrête pile sous le bandeau */
.nav-gap { margin-right: 44px; }
.news-box, .dj-box, .concerts-box { scroll-margin-top: calc(var(--hh, 80px) + 16px); }
@media (max-width: 640px) { .nav-gap { margin-right: 3px; } .nav { gap: 3px; } .nav-btn { font-size: 10.5px; } }

/* Music News sur 2 lignes : une page = 2 lignes de colonnes, on défile page par page */
.news-rail { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); gap: 18px var(--gap); align-items: start; }
.news-rail .nw { width: auto; }

/* DJ News : Mixmag à gauche, DJ Mag à droite, 4 lignes chacun (vignette, titre, source et heure) */
.dj-box[hidden] { display: none; }
.dj-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 34px; }
.dj-col h4 { margin: 0 0 4px; font-family: "Barlow Logo", sans-serif; font-size: 22px; letter-spacing: 0.04em; color: var(--kif); }
.dj-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid rgba(255, 244, 230, 0.1); color: inherit; }
.dj-row .th { flex: none; width: 96px; height: 62px; border-radius: 12px; background: var(--card) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 244, 230, 0.12); }
.dj-row .tx { flex: 1; min-width: 0; }
.dj-row b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; }
.dj-row span { display: block; margin-top: 3px; font-size: 12px; color: var(--bone-dim); }
.dj-row:hover b { color: var(--kif); }
@media (max-width: 800px) { .dj-cols { grid-template-columns: 1fr; } }

/* Essai : titres « Derniers titres diffusés … Last tracks played » et « KIF Programmes … Tonight » soulignés ; Music News aussi */
.rail-box .sec-title h3,
.rail-box .sec-title small,
.prog-box .sec-title h3,
.prog-box .sec-title small { text-decoration: underline; text-decoration-color: var(--kif); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- KIF CONCERTS ---------- */
.concerts-box[hidden] { display: none; }
.concerts-box { scroll-margin-top: calc(var(--hh, 80px) + 16px); }
.cc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.cc-tools input, .cc-tools select {
  flex: 1 1 150px; min-width: 0; padding: 10px 14px; font: inherit; font-size: 14px; color: var(--bone);
  background: rgba(255, 244, 230, 0.06); border: 1px solid rgba(255, 244, 230, 0.16); border-radius: 12px;
}
.cc-tools select option { color: #111; }
.cc-tools input:focus, .cc-tools select:focus { outline: none; border-color: var(--kif); }
.cc-count { flex: none; font-size: 12px; color: var(--bone-dim); }
.cc-month { margin: 16px 0 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kif); }
.cc-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 244, 230, 0.1); }
.cc-date { flex: none; width: 64px; text-align: center; line-height: 1.1; }
.cc-date b { display: block; font-family: "Barlow Logo", sans-serif; font-size: 28px; }
.cc-date span { font-size: 11px; color: var(--bone-dim); text-transform: uppercase; }
.cc-tx { flex: 1; min-width: 0; }
.cc-tx b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-tx span { display: block; margin-top: 2px; font-size: 12px; color: var(--bone-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-btn { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--kif); color: #1a0f05; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cc-btn:hover { filter: brightness(1.1); }
.cc-empty { padding: 18px 0; text-align: center; color: var(--bone-dim); }
.cc-more { display: block; margin: 16px auto 0; padding: 10px 24px; font: inherit; font-weight: 700; cursor: pointer; color: var(--kif); background: transparent; border: 1px solid var(--kif); border-radius: 999px; }
.cc-more[hidden] { display: none; }
.cc-list { max-height: 470px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--kif) transparent; }
.cc-tools select:disabled { opacity: 0.45; }
@media (max-width: 640px) { .cc-list { max-height: 420px; } }

/* Concerts en cases : une case par concert */
.cc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; max-height: 540px; }
.cc-month { grid-column: 1 / -1; margin: 6px 0 -2px; }
.cc-row { flex-wrap: wrap; align-content: space-between; gap: 10px 12px; padding: 14px; border-top: 0; border-radius: 18px; background: rgba(255, 244, 230, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 244, 230, 0.12); }
.cc-row:hover { box-shadow: inset 0 0 0 1px var(--kif); }
.cc-date { width: 52px; }
.cc-tx { flex: 1 1 0; }
.cc-tx b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.cc-tx span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc-btn { flex: 1 1 100%; text-align: center; }
.cc-empty, .cc-list .cc-empty { grid-column: 1 / -1; }
@media (max-width: 1000px) { .cc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cc-list { grid-template-columns: 1fr; max-height: 460px; } }

/* Choix du jour dans KIF Programmes */
.prog-days { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd { position: relative; padding: 7px 16px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; color: var(--bone); background: rgba(255, 244, 230, 0.06); border: 1px solid rgba(255, 244, 230, 0.16); border-radius: 999px; }
.pd:hover { border-color: var(--kif); }
.pd.on { background: var(--kif); border-color: var(--kif); color: #1a0f05; }
.pd.today::after { content: ""; position: absolute; top: 4px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--kif); }
.pd.on.today::after { background: #1a0f05; }
.cc-list[hidden] { display: none; }

/* Texte lu par les moteurs de recherche et les lecteurs d'écran, invisible à l'écran */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.contact-btn[hidden] { display: none; }

/* Bouton de langue : les deux drapeaux, celui de la langue active est en pleine lumière */
.lang-btn {
  flex: none; display: inline-flex; align-items: center; gap: 4px; height: 40px; margin-left: 18px; padding: 0 7px;
  border-radius: 999px; border: 1px solid rgba(255, 244, 230, 0.3); background: rgba(15, 11, 9, 0.35); cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover, .lang-btn:focus-visible { border-color: var(--kif); background: rgba(255, 122, 26, 0.14); }
.lang-btn .lf { display: block; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; opacity: 0.4; box-shadow: 0 0 0 2px transparent; transition: opacity 0.2s ease; }
.lang-btn .lf.on { opacity: 1; box-shadow: 0 0 0 2px var(--kif); }
.lang-btn svg { display: block; width: 100%; height: 100%; }
.sec-title small:empty { display: none; }
.legal-body[hidden] { display: none; }
