/* ============================================================
   MUSIQUES LIBRES ÉPS — Zone Total Sport
   DARK MODE CAMP DE JOUR
   Noir + Cyan/Jaune/Orange/Vert vifs
   Fredoka (display arrondie) + Nunito (body arrondie)
   ============================================================ */

/* ---- Variables ---- */
:root {
  --bg: #111111;
  --bg2: #1a1a1a;
  --bg3: #222222;
  --primary: #00E5FF;
  --secondary: #FFD700;
  --accent: #00E5FF;
  --warm: #FF9800;
  --green: #4CAF50;
  --text: #F0F0F0;
  --text-muted: rgba(240,240,240,0.55);
  --card-bg: rgba(20,20,20,0.85);
  --card-border: rgba(255,255,255,0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-hover: 0 12px 40px rgba(0,229,255,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #33ecff; }

/* ---- Utility ---- */
.hidden { display: none !important; }

/* === BACKGROUND — GYMNASE === */
#gymBg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('gym-bg.png') center/cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

/* ---- Canvas Background ---- */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

/* ---- Loading Screen ---- */
#loading {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
  gap: 24px;
}

.loading-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  text-shadow: 0 0 20px rgba(255,215,0,0.3);
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-bars {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 40px;
}

.loading-bar {
  width: 6px;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 3px;
  animation: loadingBar var(--dur) ease-in-out infinite;
}
.loading-bar:nth-child(1) { --dur: 0.7s; height: 50%; }
.loading-bar:nth-child(2) { --dur: 0.9s; height: 80%; animation-delay: 0.1s; }
.loading-bar:nth-child(3) { --dur: 0.6s; height: 100%; animation-delay: 0.2s; }
.loading-bar:nth-child(4) { --dur: 0.8s; height: 70%; animation-delay: 0.15s; }
.loading-bar:nth-child(5) { --dur: 1.0s; height: 60%; animation-delay: 0.05s; }
.loading-bar:nth-child(6) { --dur: 0.75s; height: 90%; animation-delay: 0.25s; }

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

.loading-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- App Wrapper ---- */
#app { transition: opacity 0.4s ease; }
#app.hidden { opacity: 0; pointer-events: none; }

/* ---- Header ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.header-stats {
  display: flex;
  gap: 20px;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.stat-value {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 700;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.1);
}

nav {
  display: flex;
  gap: 4px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  transition: var(--transition);
  white-space: nowrap;
}

nav a:hover {
  color: var(--primary);
  background: rgba(0,229,255,0.08);
  text-decoration: none;
}

nav a.cross-app-link {
  color: var(--secondary);
  font-weight: 700;
  border: 1px solid rgba(255,215,0,0.3);
  background: rgba(255,215,0,0.08);
}

nav a.cross-app-link:hover {
  background: rgba(255,215,0,0.15);
  border-color: var(--secondary);
  text-decoration: none;
}

.nav-separator {
  color: var(--text-muted);
  opacity: 0.3;
  display: flex;
  align-items: center;
  padding: 0 4px;
  user-select: none;
}

.footer-links .cross-app-link {
  color: var(--secondary) !important;
  border: 1px solid rgba(255,215,0,0.3);
}

.footer-links .nav-separator {
  display: inline;
  padding: 0 6px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #111111 0%, #0a0a0a 50%, #111111 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Bucheron mascots */
.hero-mascot {
  position: absolute;
  bottom: 40px;
  width: 180px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hero-mascot:hover {
  transform: scale(1.05);
  opacity: 1;
}
.hero-mascot-left {
  left: 5%;
}
.hero-mascot-right {
  right: 5%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  animation: pulse 3s ease-in-out infinite;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--secondary);
  text-shadow: 0 0 40px rgba(255,215,0,0.2);
  margin-bottom: 20px;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: var(--primary);
}

.hero-waveform {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 48px;
  margin-bottom: 48px;
}

.hero-wave-bar {
  width: 5px;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 3px;
  animation: heroWave var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.7;
}

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

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--secondary);
  color: #111;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,215,0,0.5);
  text-decoration: none;
  color: #111;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  border: 2px solid rgba(0,229,255,0.4);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(0,229,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,229,255,0.15);
  text-decoration: none;
}

/* ---- Equalizer CSS ---- */
@keyframes equalize {
  0%, 100% { transform: scaleY(1); }
  25% { transform: scaleY(1.8); }
  50% { transform: scaleY(0.5); }
  75% { transform: scaleY(1.4); }
}

.equalizer {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.eq-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: equalize var(--dur) ease-in-out infinite;
}
.eq-bar:nth-child(1) { --dur: 0.8s; height: 60%; }
.eq-bar:nth-child(2) { --dur: 1.1s; height: 100%; }
.eq-bar:nth-child(3) { --dur: 0.6s; height: 70%; }
.eq-bar:nth-child(4) { --dur: 0.9s; height: 50%; }
.eq-bar:nth-child(5) { --dur: 0.7s; height: 80%; }

/* ---- Sections ---- */
section {
  padding: 100px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  padding-left: 20px;
  border-left: 4px solid var(--primary);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin-top: 8px;
  padding-left: 24px;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 14px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 100px;
}

/* ---- BPM Guide ---- */
#bpm-guide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bpm-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.bpm-card:nth-child(4n+1) { border-top-color: var(--primary); }
.bpm-card:nth-child(4n+2) { border-top-color: var(--secondary); }
.bpm-card:nth-child(4n+3) { border-top-color: var(--green); }
.bpm-card:nth-child(4n+4) { border-top-color: var(--warm); }

.bpm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,255,255,0.12);
}

.bpm-activite {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.bpm-range {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 12px;
}

.bpm-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.bpm-feel {
  font-size: 0.82rem;
  color: var(--warm);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---- Source Cards ---- */
#sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.source-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.source-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.source-card:nth-child(4n+1)::before { background: var(--primary); }
.source-card:nth-child(4n+2)::before { background: var(--secondary); }
.source-card:nth-child(4n+3)::before { background: var(--green); }
.source-card:nth-child(4n+4)::before { background: var(--warm); }

.source-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,255,255,0.12);
}

.source-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.source-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.licence-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(0,229,255,0.1);
  color: var(--primary);
  border: 1px solid rgba(0,229,255,0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.source-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.source-url {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(0,229,255,0.05);
  border-radius: 10px;
  border: 1px solid rgba(0,229,255,0.12);
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.genre-tag {
  padding: 3px 10px;
  background: rgba(255,215,0,0.08);
  color: var(--secondary);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition);
}

.genre-tag:hover {
  background: rgba(255,215,0,0.15);
  color: var(--text);
}

.source-avantages {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
  line-height: 1.6;
}

.ideal-badge {
  font-size: 0.83rem;
  color: var(--warm);
  margin-top: 12px;
  font-weight: 600;
}

/* ---- Activité Reco Cards ---- */
#activite-recos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.reco-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.reco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,255,255,0.12);
}

.reco-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}

.reco-activite {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.reco-bpm {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.reco-bpm.slow    { background: rgba(0,150,255,0.12); color: #64b5f6; border: 1px solid rgba(0,150,255,0.25); }
.reco-bpm.medium  { background: rgba(76,175,80,0.12); color: var(--green); border: 1px solid rgba(76,175,80,0.25); }
.reco-bpm.fast    { background: rgba(255,152,0,0.12); color: var(--warm); border: 1px solid rgba(255,152,0,0.25); }
.reco-bpm.vfast   { background: rgba(255,82,82,0.12); color: #ff8a80; border: 1px solid rgba(255,82,82,0.25); }

.reco-conseils {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.reco-sources {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

/* ---- Season Playlist Cards ---- */
#seasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.season-card {
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.season-card.automne {
  background: rgba(255,152,0,0.06);
  border: 1px solid rgba(255,152,0,0.2);
  border-top: 3px solid var(--warm);
}
.season-card.hiver {
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-top: 3px solid var(--primary);
}
.season-card.printemps {
  background: rgba(76,175,80,0.06);
  border: 1px solid rgba(76,175,80,0.2);
  border-top: 3px solid var(--green);
}
.season-card.ete {
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-top: 3px solid var(--secondary);
}

.season-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.season-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.season-theme {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--warm);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.season-ambiance {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.season-bpm {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 10px;
}

/* ---- Legal Guide ---- */
#legal-guide {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.legal-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.legal-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-card p:last-child { margin-bottom: 0; }

.legal-card strong { color: var(--text); font-weight: 700; }

.citation-example {
  margin-top: 14px;
  padding: 16px 20px;
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 12px;
}

.citation {
  font-style: italic;
  color: var(--primary) !important;
  font-size: 0.88rem !important;
}

/* ---- CC Licences Grid ---- */
.cc-licences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.cc-card {
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}

.cc-card:hover {
  transform: translateY(-3px);
}

.cc-card.cc-green  { background: rgba(76,175,80,0.06); border: 1px solid rgba(76,175,80,0.2); }
.cc-card.cc-cyan   { background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.2); }
.cc-card.cc-blue   { background: rgba(63,81,181,0.1);  border: 1px solid rgba(63,81,181,0.3); }
.cc-card.cc-yellow { background: rgba(255,215,0,0.06); border: 1px solid rgba(255,215,0,0.2); }
.cc-card.cc-orange { background: rgba(255,152,0,0.06); border: 1px solid rgba(255,152,0,0.2); }

.cc-code {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cc-card.cc-green  .cc-code { color: var(--green); }
.cc-card.cc-cyan   .cc-code { color: var(--primary); }
.cc-card.cc-blue   .cc-code { color: #7986cb; }
.cc-card.cc-yellow .cc-code { color: var(--secondary); }
.cc-card.cc-orange .cc-code { color: var(--warm); }

.cc-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cc-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- YouTube Legal Section ---- */
.youtube-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.youtube-ok {
  background: rgba(76,175,80,0.05);
  border: 1px solid rgba(76,175,80,0.2);
  border-radius: 14px;
  padding: 20px;
}

.youtube-no {
  background: rgba(255,82,82,0.05);
  border: 1px solid rgba(255,82,82,0.2);
  border-radius: 14px;
  padding: 20px;
}

.youtube-ok h4 { color: var(--green); font-size: 0.9rem; margin-bottom: 10px; font-weight: 700; }
.youtube-no h4 { color: #ff8a80; font-size: 0.9rem; margin-bottom: 10px; font-weight: 700; }

.youtube-ok li, .youtube-no li {
  font-size: 0.82rem;
  color: var(--text-muted);
  list-style: none;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.youtube-ok li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.youtube-no li::before { content: '✗'; position: absolute; left: 0; color: #ff8a80; font-weight: 700; }

/* ---- Divider ---- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  max-width: 1400px;
  margin: 0 auto;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 60px 24px 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,10,10,0.5);
}

.footer-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary); }

/* ---- Scroll Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

.animate-in {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .header-stats { display: none; }
  nav a { font-size: 0.75rem; padding: 5px 8px; }
  #sources-grid { grid-template-columns: 1fr; }
  .youtube-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero-mascot { width: 120px; bottom: 20px; }
}

@media (max-width: 600px) {
  header { padding: 0 16px; }
  .header-inner { height: 60px; }
  section { padding: 60px 16px; }
  nav { display: none; }
  .logo-title { font-size: 0.92rem; }
  .cc-licences-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-mascot { width: 80px; bottom: 10px; }
  .hero-mascot-left { left: 2%; }
  .hero-mascot-right { right: 2%; }
}

/* ---- Info Banner ---- */
.info-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.info-banner .info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ---- Glow Dots deco ---- */
.glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION YOUTUBE PLAYER
   ============================================ */

/* Badge live */
.yt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,0,0,0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255,0,0,0.3);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  animation: pulse 2s ease-in-out infinite;
}

/* Genre buttons */
.yt-genre-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.yt-genre-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  min-width: 110px;
}
.yt-genre-btn:hover,
.yt-genre-btn.active {
  background: rgba(0,229,255,0.1);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0,229,255,0.15);
  transform: translateY(-3px);
}
.yt-genre-btn.future-house-active {
  background: rgba(0,229,255,0.12);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0,229,255,0.2);
}
.genre-icon { font-size: 1.6rem; line-height: 1; }
.genre-name { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.genre-bpm  { font-size: 0.68rem; color: var(--primary); font-weight: 700; }

/* Future House feature box */
.fh-feature-box {
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.fh-feature-box::before {
  content: '🏠';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6rem;
  opacity: 0.05;
  pointer-events: none;
}
.fh-badge {
  display: inline-block;
  background: var(--secondary);
  color: #111;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.fh-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.fh-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 14px;
}
.fh-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fh-tag {
  padding: 4px 12px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

/* Player layout */
.yt-player-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .yt-player-layout { grid-template-columns: 1fr; }
}

/* Player wrap */
.yt-player-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-player-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(0,229,255,0.2);
  box-shadow: 0 0 30px rgba(0,229,255,0.1);
}
.yt-iframe-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.yt-player-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}

/* Sidebar */
.yt-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* URL box */
.yt-url-box,
.yt-find-box,
.yt-quick-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
}
.yt-url-label,
.yt-find-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.yt-url-input-wrap { display: flex; gap: 8px; }
.yt-url-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.82rem;
  font-family: 'Nunito', sans-serif;
  width: 100%;
  transition: var(--transition);
}
.yt-url-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
.yt-url-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 8px; }
.yt-url-btn {
  background: var(--secondary);
  color: #111;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
}
.yt-url-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255,215,0,0.3);
}

/* Find steps */
.yt-find-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.find-step { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.step-num {
  min-width: 22px; height: 22px;
  background: var(--secondary);
  color: #111;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 900;
  flex-shrink: 0;
}
.find-step strong { color: var(--text); }
.yt-channels { margin-top: 12px; }
.yt-channel-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 700; }
.yt-channel-tag {
  display: inline-block;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.15);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 3px 4px 3px 0;
}

/* Quick links */
.yt-quick-links { display: flex; flex-direction: column; gap: 8px; }
.yt-quick-link {
  display: block;
  padding: 9px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}
.yt-quick-link:hover {
  background: rgba(0,229,255,0.06);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(4px);
  text-decoration: none;
}

/* Playlist section */
.yt-playlist-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
}
.yt-playlist-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.playlist-count { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.yt-clear-btn {
  background: rgba(255,82,82,0.08);
  border: 1px solid rgba(255,82,82,0.2);
  color: #ff8a80;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.yt-clear-btn:hover { background: rgba(255,82,82,0.15); }
.yt-playlist-hint { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.yt-add-wrap { margin-bottom: 20px; }
.yt-playlist-tracks { display: flex; flex-direction: column; gap: 10px; }
.playlist-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: var(--transition);
}
.playlist-track:hover { border-color: var(--primary); background: rgba(0,229,255,0.04); }
.track-play-btn {
  width: 36px; height: 36px;
  background: var(--secondary);
  border: none; border-radius: 50%;
  color: #111; font-size: 0.9rem;
  cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-weight: 900;
}
.track-play-btn:hover { transform: scale(1.1); box-shadow: 0 0 16px rgba(255,215,0,0.4); }
.track-info { flex: 1; min-width: 0; }
.track-title { font-size: 0.85rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-url { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-remove-btn {
  background: none; border: none;
  color: var(--text-muted); font-size: 1rem;
  cursor: pointer; padding: 4px;
  border-radius: 6px;
  transition: var(--transition);
  flex-shrink: 0;
}
.track-remove-btn:hover { color: #ff8a80; background: rgba(255,82,82,0.08); }

/* ============================================
   BANQUE DE PISTES — 1000+ catalogue
   ============================================ */

.banque-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.banque-search {
  flex: 1 1 280px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: var(--transition);
  font-weight: 600;
}
.banque-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
.banque-search::placeholder { color: var(--text-muted); }

.banque-filters .filter-select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 0.82rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  outline: none;
  min-width: 160px;
  font-weight: 600;
}
.banque-filters .filter-select:focus { border-color: var(--primary); }

.banque-filters .filter-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.banque-filters .filter-count strong {
  color: var(--primary);
  font-weight: 800;
}

/* Category pills */
.banque-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cat-pill {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-weight: 700;
}
.cat-pill:hover {
  border-color: var(--primary);
  color: var(--text);
}
.cat-pill.active {
  background: rgba(0,229,255,0.1);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 800;
}

/* Track grid */
.banque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.track-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.track-card:nth-child(4n+1) { border-top: 3px solid var(--primary); }
.track-card:nth-child(4n+2) { border-top: 3px solid var(--secondary); }
.track-card:nth-child(4n+3) { border-top: 3px solid var(--green); }
.track-card:nth-child(4n+4) { border-top: 3px solid var(--warm); }

.track-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.track-card-header { }
.track-titre {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.3;
}
.track-artiste {
  font-size: 0.8rem;
  color: var(--primary);
  margin-top: 2px;
  font-weight: 700;
}

.track-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.track-bpm {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--warm);
  background: rgba(255,152,0,0.08);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,152,0,0.15);
}
.track-genre {
  font-size: 0.72rem;
  color: var(--secondary);
  background: rgba(255,215,0,0.08);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,215,0,0.15);
  font-weight: 700;
}

.track-cat {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 700;
}

.track-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.track-source { }
.track-licence {
  background: rgba(76,175,80,0.08);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
}

.track-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.track-usage {
  font-size: 0.75rem;
  color: var(--primary);
  opacity: 0.8;
  font-weight: 700;
}

/* Pagination */
.banque-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.page-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
}
.page-btn:hover {
  border-color: var(--primary);
  color: var(--text);
}
.page-btn.active {
  background: var(--secondary);
  color: #111;
  border-color: var(--secondary);
  font-weight: 900;
}

@media (max-width: 640px) {
  .banque-grid {
    grid-template-columns: 1fr;
  }
  .banque-filters {
    flex-direction: column;
  }
  .banque-filters .filter-select {
    min-width: 100%;
  }
}

/* ============================================
   FAVORIS — Bouton etoile sur chaque carte
   ============================================ */
.track-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  z-index: 2;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
}
.track-fav-btn:hover {
  color: var(--warm);
  transform: scale(1.2);
  background: rgba(255,152,0,0.08);
}
.track-fav-btn.is-fav {
  color: var(--warm);
  text-shadow: 0 0 10px rgba(255,152,0,0.4);
}

.cat-pill-fav {
  border-color: rgba(255,152,0,0.2) !important;
  color: var(--warm) !important;
}
.cat-pill-fav.active {
  background: rgba(255,152,0,0.1) !important;
  border-color: var(--warm) !important;
}

/* ============================================
   PARTAGE — Bouton et actions sur chaque carte
   ============================================ */
.track-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  padding-top: 6px;
}
.track-share-btn {
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.15);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}
.track-share-btn:hover {
  background: rgba(0,229,255,0.12);
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-1px);
}

/* Deep link highlight */
.track-highlight {
  animation: highlightPulse 3s ease-out forwards;
}
@keyframes highlightPulse {
  0%   { box-shadow: 0 0 0 4px var(--primary), 0 0 30px rgba(0,229,255,0.5); border-color: var(--primary); }
  50%  { box-shadow: 0 0 0 4px var(--primary), 0 0 20px rgba(0,229,255,0.2); border-color: var(--primary); }
  100% { box-shadow: none; border-color: var(--card-border); }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
#toast-notification {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(26, 26, 26, 0.95);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  border: 1px solid rgba(0,229,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 20px rgba(0,229,255,0.1);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#toast-notification.toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
#toast-notification.toast-hide {
  opacity: 0;
  transform: translateX(-50%) translateY(80px);
}

/* ============================================
   BOUTON IMPRIMER
   ============================================ */
.btn-imprimer {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,229,255,0.2);
  background: rgba(0,229,255,0.06);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  white-space: nowrap;
}
.btn-imprimer:hover {
  background: rgba(0,229,255,0.12);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,229,255,0.15);
}

/* ============================================
   IMPRESSION — @media print
   ============================================ */
@media print {
  /* Masquer tout sauf la banque */
  #bgCanvas,
  #loading,
  header,
  .hero,
  #youtube-section,
  #bpm-section,
  #sources-section,
  #legal-section,
  #activites-section,
  #saisons-section,
  footer,
  .section-divider,
  .banque-pagination,
  .banque-cat-pills,
  .btn-imprimer,
  .track-fav-btn,
  .track-share-btn,
  .track-actions,
  #toast-notification {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.4;
  }

  #app {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #app.hidden {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #banque-section {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .section-header {
    margin-bottom: 16px !important;
  }

  .section-title {
    background: none !important;
    -webkit-text-fill-color: #111 !important;
    color: #111 !important;
    font-size: 16pt !important;
    border-left-color: #333 !important;
  }

  .section-desc {
    color: #555 !important;
    font-size: 9pt !important;
  }

  .section-label {
    background: none !important;
    border: 1px solid #999 !important;
    color: #555 !important;
  }

  .banque-filters {
    margin-bottom: 12px !important;
  }

  .banque-search,
  .filter-select {
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 9pt !important;
    padding: 4px 8px !important;
  }

  .filter-count {
    color: #333 !important;
  }
  .filter-count strong {
    color: #111 !important;
  }

  .banque-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .track-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-top: 1px solid #ddd !important;
    padding: 10px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transform: none !important;
    page-break-inside: avoid;
  }

  .track-titre {
    color: #111 !important;
    font-size: 10pt !important;
  }
  .track-artiste {
    color: #444 !important;
    font-size: 8pt !important;
  }
  .track-bpm {
    background: none !important;
    border: 1px solid #999 !important;
    color: #333 !important;
    font-size: 8pt !important;
  }
  .track-genre {
    background: none !important;
    border: 1px solid #999 !important;
    color: #333 !important;
    font-size: 8pt !important;
  }
  .track-cat {
    color: #444 !important;
    font-size: 8pt !important;
  }
  .track-footer {
    border-top-color: #eee !important;
  }
  .track-source {
    color: #555 !important;
    font-size: 8pt !important;
  }
  .track-licence {
    background: none !important;
    color: #333 !important;
    border: 1px solid #aaa !important;
    font-size: 7pt !important;
  }
  .track-desc,
  .track-usage {
    color: #555 !important;
    font-size: 8pt !important;
  }

  /* En-tete d'impression */
  #banque-section::before {
    content: "Musiques Libres EPS - Zone Total Sport - musique.zonetotalsport.ca";
    display: block;
    text-align: center;
    font-size: 8pt;
    color: #999;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
  }
}
