/* =============================================
   RESET & VARIABLES
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan: #00f5d4;
  --cyan-dim: rgba(0,245,212,0.15);
  --cyan-glow: rgba(0,245,212,0.06);
  --bg: #050505;
  --bg-2: #080808;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-cyan: rgba(0,245,212,0.25);
  --text: #f0f0f0;
  --text-muted: rgba(240,240,240,0.45);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 80px;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.5;
}

/* =============================================
   NAVBAR — SYSTÈME UNIQUE
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex; align-items: center;
  padding: 0 3rem;
  background: transparent;
  transition: background 0.4s ease, height 0.4s ease, transform 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.navbar.hidden { transform: translateY(-100%); }

.nav-inner {
  width: 100%; max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center;
  flex: 0 0 auto;
}

.nav-logo img {
  margin-top: 100px;
  height: 120px; width: auto;
  transition: height 0.4s ease;
}
.navbar.scrolled .nav-logo img { height: 40px; margin-top: 0;}

/* Menu links centré */
.nav-menu {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none; flex: 1; justify-content: center;
}

.mobile-menu-btn {
  display: none;
  background: none; border: none;
  color: var(--text); cursor: pointer;
  padding: 0.5rem; z-index: 600;
}
.mobile-menu-btn svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,5,5,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto; z-index: 490;
  animation: slideDown 0.3s var(--ease-out);
}
.mobile-menu.active { display: flex; }
.mobile-menu { flex-direction: column; padding: 2rem 1.5rem; gap: 1rem; }

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu a:last-child { border-bottom: none; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.nav-menu a {
  color: rgba(240,240,240,0.6);
  text-decoration: none;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.25s;
  position: relative; padding-bottom: 4px;
}

.nav-menu a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0%; height: 1px;
  background: var(--cyan); transition: width 0.3s ease;
}

.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover::after { width: 100%; }

/* Dropdown */
.nav-menu li { position: relative; }

.dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #111; border: 1px solid var(--border);
  border-top: 1px solid var(--border-cyan);
  min-width: 280px; padding: 0.5rem 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 200;
}

.dropdown-panel::before {
  content: ''; position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 6px solid var(--border-cyan);
}

.nav-menu li:hover .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dp-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: background 0.2s;
}
.dp-item:last-child { border-bottom: none; }
.dp-item:hover { background: var(--surface-hover); }

.dp-cover {
  width: 44px; height: 44px; border-radius: 3px;
  object-fit: cover; border: 1px solid var(--border);
  flex-shrink: 0; transition: transform 0.2s;
}
.dp-item:hover .dp-cover { transform: scale(1.05); }

.dp-title { font-size: 0.9rem; font-weight: 400; display: block; }
.dp-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.1em; display: block; margin-top: 1px; }

.dp-logo-wrap {
  width: 70px; display: flex; align-items: center; justify-content: flex-start;
}
.dp-logo { max-width: 100%; max-height: 28px; object-fit: contain; transition: transform 0.2s; }
.dp-item:hover .dp-logo { transform: scale(1.05); }

/* Arrow on links with dropdown */
.has-dropdown > a::after { content: none; }
.has-dropdown > a span.arrow {
  display: inline-block;
  font-size: 0.5rem; margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.3s;
}
.has-dropdown:hover > a span.arrow { transform: rotate(180deg); }

/* Nav right — producer badge */
.nav-right {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.nav-right-label {
  font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.7;
}
.nav-right-logo {
  height: 90px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.5;
  transition: opacity 0.3s;
}
.nav-right:hover .nav-right-logo { opacity: 0.85; }

/* Nav vis (waveform) — inside nav-logo zone */
.nav-vis {
  display: flex; align-items: flex-end; gap: 2px; height: 14px;
  margin-left: 0.75rem; opacity: 0; transition: opacity 0.4s;
}
.nav-vis.active { opacity: 1; }
.nav-vis span {
  width: 3px; background: var(--cyan); border-radius: 2px;
  animation: navWave 1.2s infinite ease-in-out;
}
.nav-vis span:nth-child(1) { animation-delay: 0s; }
.nav-vis span:nth-child(2) { animation-delay: 0.2s; }
.nav-vis span:nth-child(3) { animation-delay: 0.4s; }
@keyframes navWave { 0%,100% { height: 30%; } 50% { height: 100%; } }

/* =============================================
   SIDEBAR RÉSEAUX
   ============================================= */
.social-sidebar {
  position: fixed; right: 2rem; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem;
  z-index: 90;
  animation: fadeUp 1.5s var(--ease-out) 0.8s both;
}
.sb-line { width: 1px; height: 40px; }
.sb-line-top { background: linear-gradient(to bottom, transparent, var(--cyan)); opacity: 0.4; }
.sb-line-bot { background: linear-gradient(to top, transparent, var(--cyan)); opacity: 0.4; }
.sb-icon {
  color: var(--text-muted); transition: all 0.3s var(--ease-out);
  display: flex; align-items: center; justify-content: center;
}
.sb-icon svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease-out); }
.sb-icon:hover { color: var(--cyan); }
.sb-icon:hover svg { transform: scale(1.2) translateX(-3px); }
.sb-text {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-display); font-size: 0.75rem;
  letter-spacing: 0.3em; color: var(--text-muted); opacity: 0.5;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; perspective: 1500px;
}

.hero-bg-wrap {
  position: absolute; inset: -30px; z-index: 0;
  will-change: transform; transition: transform 0.1s linear;
}

.hero-bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.28) contrast(1.2) grayscale(40%);
  transition: filter 1.5s ease, transform 3s ease-out, opacity 0.5s ease;
}

.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 20%, #050505 90%);
  z-index: 1; pointer-events: none;
}

/* Additional bottom vignette for smooth transition into next section */
.hero-vignette-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2; pointer-events: none;
}

#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 3; mix-blend-mode: screen; opacity: 0.7; pointer-events: none;
}

.hero-frame {
  position: absolute; inset: 2rem; pointer-events: none;
  border: 1px solid rgba(255,255,255,0.04); z-index: 4;
}
.hero-frame::before, .hero-frame::after {
  content: ''; position: absolute;
  width: 14px; height: 14px; border: 1px solid var(--cyan);
}
.hero-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero-frame::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-layout {
  position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; max-width: 1400px;
  padding: calc(var(--nav-h) + 2rem) 4rem 4rem;
  gap: 4rem;
}

/* LEFT */
.hero-left {
  flex: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  animation: fadeUp 1.2s var(--ease-out) both;
}

.hero-status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 1.2rem; margin-bottom: 2.5rem;
  background: rgba(0,245,212,0.05); border: 1px solid rgba(0,245,212,0.18);
  border-radius: 100px; backdrop-filter: blur(5px);
}
.status-dot {
  width: 6px; height: 6px; background: var(--cyan);
  border-radius: 50%; box-shadow: 0 0 8px var(--cyan);
  animation: pulseDot 2s ease-in-out infinite;
}
.status-text { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); }


/* ANIMATION DU TITRE */
.hero-title-wrap { position: relative; margin-bottom: 1.25rem; }

/* LE ECHO OBLIGATOIRE POUR LE FOND NOIR DERRIÈRE */
.hero-title-echo {
  position: absolute; top: -4%; left: -1%;
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.85; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  z-index: -1; pointer-events: none; user-select: none;
  opacity: 0; transition: opacity 2s ease 1s;
}
.hero-title-echo.visible { opacity: 1; }


/* On retire le background-clip du parent */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.85; 
  letter-spacing: 0.02em; 
  text-transform: uppercase; 
  white-space: nowrap;
  cursor: default; /* Pour indiquer qu'on peut interagir au survol */
}

/* Le dégradé et l'animation sont appliqués sur CHAQUE lettre */
.hero-title .letter {
  display: inline-block;
  opacity: 0; 
  filter: blur(12px);
  transform: translateY(40px) scale(1.1) rotateX(-20deg);
  
  /* Dégradé blanc/gris directement sur la lettre */
  background: linear-gradient(180deg, #ffffff 20%, rgba(255,255,255,0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  /* Transition longue pour l'entrée */
  transition: opacity 1.2s var(--ease-out), 
              filter 1.2s var(--ease-out), 
              transform 1.2s var(--ease-out);
}

/* ANIMATION D'ENTRÉE */
.hero-title.animated .letter { 
  opacity: 1; 
  filter: blur(0); 
  transform: none; 
  /* Une fois affiché, on raccourcit la transition pour un hover réactif */
  transition: transform 0.4s var(--ease-out), filter 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

/* ANIMATION DE SURVOL (Hover) */
.hero-title.animated .letter:hover {
  transform: translateY(-15px) scale(1.15) rotate(4deg);
  background: var(--cyan); /* La lettre devient cyan */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* L'ombre portée 3D compatible avec le texte transparent */
  filter: drop-shadow(0 15px 25px rgba(0, 245, 212, 0.6));
  
  /* Transition ultra-rapide au moment de passer la souris */
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.15s ease, background 0.15s ease;
  z-index: 10;
  position: relative;
}

.hero-title .space { width: 0.2em; }


.hero-sub {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 3.5rem;
  font-size: clamp(0.7rem, 1.4vw, 0.85rem); letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 300;
}
.hero-sub-sep { width: 40px; height: 1px; background: var(--border-cyan); flex-shrink: 0; }

.hero-actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }

/* CTA Primary */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.5rem; background: var(--cyan); color: #050505;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: none; cursor: pointer; overflow: hidden;
  clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  left: -100%; transition: left 0.5s ease;
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(0,245,212,0.35); }
.btn-primary:hover::before { left: 100%; }
.btn-primary svg { width: 16px; height: 16px; position: relative; z-index: 1; }
.btn-primary span { position: relative; z-index: 1; }

/* CTA Secondary */
.btn-secondary {
  display: inline-flex; align-items: center; padding: 0.95rem 2rem;
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,245,212,0.04); }

/* Residencies */
.hero-residencies {
  margin-top: 3.5rem; display: flex; align-items: center; gap: 1.5rem;
  animation: fadeUp 1.2s var(--ease-out) 0.4s both;
}
.res-label {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted);
  position: relative; flex-shrink: 0;
}
.res-label::after {
  content: ''; position: absolute; right: -0.75rem; top: 50%;
  transform: translateY(-50%); height: 12px; width: 1px; background: var(--border-cyan);
}
.res-logos { display: flex; align-items: center; gap: 1.5rem; }
.res-logo { height: 42px; width: auto; transition: all 0.4s var(--ease-out); cursor: pointer; }
.res-logo:hover { transform: translateY(-3px) scale(1.06); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); }

/* RIGHT - Player */
.hero-right {
  flex: 0 0 360px; position: relative; perspective: 1000px;
  animation: fadeUp 1.4s var(--ease-out) 0.2s both;
}

/* Vinyl */
.vinyl {
  position: absolute; top: 1.5rem; right: 10%;
  width: calc(100% - 3rem); aspect-ratio: 1;
  background: #080808; border-radius: 50%; z-index: 1;
  box-shadow: 0 0 0 4px #111, inset 0 0 0 8px #0f0f0f,
    inset 0 0 0 10px rgba(255,255,255,0.04),
    inset 0 0 0 28px #0a0a0a, inset 0 0 0 30px rgba(255,255,255,0.04),
    inset 0 0 0 45px #0a0a0a, 5px 10px 20px rgba(0,0,0,0.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; right: -80%;
  transition: right 0.6s var(--ease-out), opacity 0.3s ease 0.25s;
}
.vinyl-label {
  width: 35%; height: 35%; border-radius: 50%;
  border: 2px solid #111; background-size: cover; background-position: center;
  animation: spinVinyl 4s linear infinite; animation-play-state: paused; z-index: 2;
  position: relative;
}
.vinyl-label::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 12px; height: 12px;
  background: #050505; border-radius: 50%; border: 1px solid #222;
}
.vinyl-ripple {
  position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
  transform: translate(-50%,-50%); border-radius: 50%;
  border: 1px solid var(--cyan); opacity: 0; pointer-events: none;
}

/* Player card */
.player-card {
  position: relative; z-index: 2;
  background: rgba(10,10,10,0.5); backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.08); padding: 1.5rem;
  box-shadow: -12px 18px 40px rgba(0,0,0,0.5);
  transform: perspective(1000px) rotateX(4deg) rotateY(-12deg);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.player-card:hover {
  border-color: var(--border-cyan);
  transform: perspective(1000px) rotateX(4deg) rotateY(-12deg) translateY(-5px);
  box-shadow: -12px 25px 55px rgba(0,245,212,0.1);
}

.player-cover {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.1);
  transition: opacity 0.3s, transform 0.5s ease;
}

.player-meta { margin-bottom: 1rem; }
.player-tag { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 0.3rem; }
.player-title { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; display: block; }
.player-artist { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; margin-top: 0.2rem; display: block; }

/* Modification : on force le conteneur à prendre toute la largeur disponible */
.waveform {
  width: 100%;
  flex-grow: 1; /* Force l'expansion dans le flexbox parent */
  min-width: 200px; /* Largeur minimale garantie */
  height: 60px;
  cursor: pointer;
  position: relative; /* Sécurise le dessin du canevas enfant */
}

/* On s'assure que le wrapper enfant de WaveSurfer prend aussi tout l'espace */
.waveform > div {
  width: 100% !important;
}.wave-bar { width: 3px; background: var(--cyan); opacity: 0.65; border-radius: 2px; animation: wave 1.2s ease-in-out infinite; }

/* Progress bar */
.player-progress {
  position: relative; height: 3px;
  background: rgba(255,255,255,0.1); margin-bottom: 1rem;
  cursor: pointer;
}
.progress-fill { height: 100%; width: 0%; background: var(--cyan); transition: width 0.1s; }
.progress-dot {
  position: absolute; top: 50%; left: 0%;
  transform: translate(-50%,-50%); width: 10px; height: 10px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.player-controls { display: flex; align-items: center; justify-content: space-between; }
.player-btn-group { display: flex; align-items: center; gap: 1rem; }
.player-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; transition: color 0.2s; }
.player-btn:hover { color: var(--cyan); }

.play-btn {
  width: 48px; height: 48px;
  background: var(--cyan); color: #050505;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 16px rgba(0,245,212,0.3);
}
.play-btn:hover { transform: scale(1.12); box-shadow: 0 0 24px rgba(0,245,212,0.5); }

.player-time { font-size: 0.68rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* =============================================
   IS-PLAYING STATE
   ============================================= */
.hero.playing .hero-bg-video { filter: brightness(0.45) contrast(1.3) grayscale(20%); transform: scale(1.06); }
.hero.playing .vinyl { right: -45%; opacity: 1; }
.hero.playing .vinyl-label { animation-play-state: running; }
.hero.playing .vinyl-ripple:nth-child(2) { animation: rippleOut 2s infinite linear 0s; }
.hero.playing .vinyl-ripple:nth-child(3) { animation: rippleOut 2s infinite linear 0.65s; }
.hero.playing .vinyl-ripple:nth-child(4) { animation: rippleOut 2s infinite linear 1.3s; }
.hero.playing .player-card { border-color: rgba(0,245,212,0.35); }
.hero.playing .player-cover { transform: scale(0.96); }
.hero.playing .play-btn { transform: scale(1.12); box-shadow: 0 0 24px rgba(0,245,212,0.5); }

@keyframes rippleOut { 0% { width: 100%; height: 100%; opacity: 0.6; border-width: 2px; } 100% { width: 175%; height: 175%; opacity: 0; border-width: 0; } }
@keyframes spinVinyl { 100% { transform: rotate(360deg); } }

/* =============================================
   THUMBS SLIDER
   ============================================= */
.thumbs-wrap {
  position: relative; z-index: 50;
  display: flex; justify-content: center; gap: 1.25rem;
  padding: 0 1rem 4rem;
  margin-top: -80px;
}

.thumb {
  width: 130px; height: 130px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
  cursor: pointer; overflow: hidden; position: relative;
  filter: grayscale(85%) brightness(0.55);
  transition: all 0.4s var(--ease-out);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.thumb:hover { filter: grayscale(30%) brightness(0.8); transform: translateY(-8px); }
.thumb:hover img { transform: scale(1.08); }
.thumb.active {
  filter: grayscale(0%) brightness(1); border-color: var(--cyan);
  box-shadow: 0 12px 28px rgba(0,245,212,0.25); transform: translateY(-14px);
}
.thumb-prog {
  position: absolute; bottom: 0; left: 0; height: 3px;
  background: var(--cyan); width: 0%;
  box-shadow: 0 -2px 4px rgba(0,245,212,0.5); z-index: 2;
}

/* =============================================
   DIVIDER
   ============================================= */
.section-divider { width: 100%; height: 1px; background: var(--border); }

/* =============================================
   SECTION SHARED
   ============================================= */
.section { padding: 7rem 4rem; max-width: 1400px; margin: 0 auto; }
.section-label { font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; opacity: 0.75; }
.section-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: 0.04em; margin-bottom: 3rem; }

/* =============================================
   DISCOGRAPHIE (Nouveau Style Grille)
   ============================================= */
.disco-grid {
  display: grid;
  /* On force l'affichage sur 5 colonnes sur les grands écrans */
  grid-template-columns: repeat(5, 1fr); 
  gap: 1.5rem;
  margin-top: 2rem;
}

/* On ajuste pour que ça reste lisible sur tablette et mobile */
@media (max-width: 1200px) {
  .disco-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .disco-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile pour la visibilité */
  }
}
.disco-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.disco-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-cyan);
  box-shadow: 0 15px 35px rgba(0, 245, 212, 0.08);
}

.disco-cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.disco-cover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
  transition: transform 0.6s var(--ease-out), filter 0.6s ease;
}

.disco-card:hover .disco-cover-wrapper img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.1);
}

/* Badge Année Flottant */
.disco-year-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  z-index: 2;
  transition: all 0.3s ease;
}

.disco-card:hover .disco-year-badge {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(5, 5, 5, 0.9);
}

/* Overlay "Play" au survol */
.disco-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: 1;
}

.disco-card:hover .disco-overlay {
  opacity: 1;
}

.play-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
  transform: translateY(20px) scale(0.8);
  transition: transform 0.4s var(--ease-out);
}

.play-icon-wrap svg {
  width: 24px;
  height: 24px;
  margin-left: 3px; 
}

.disco-card:hover .play-icon-wrap {
  transform: translateY(0) scale(1);
}

.disco-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.disco-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.disco-card:hover .disco-title {
  color: var(--cyan);
}

.disco-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.disco-sep { color: var(--cyan); opacity: 0.5; }

.disco-actions-grid {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.disco-btn {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.6rem 0;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.disco-btn:hover {
  background: var(--cyan);
  color: #050505;
  border-color: var(--cyan);
}

/* =============================================
   BIO
   ============================================= */
#bio {
  position: relative; padding: 10rem 4rem;
  overflow: hidden; background: linear-gradient(to bottom, var(--bg), var(--bg-2));
}
#bio::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,245,212,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,212,0.025) 1px, transparent 1px);
  background-size: 50px 50px; z-index: 0;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.bio-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: 26vw;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.018);
  z-index: 0; pointer-events: none; white-space: nowrap;
}

.bio-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 6rem; max-width: 1400px; margin: 0 auto; align-items: center;
}

.bio-visual { position: relative; }
.bio-frame {
  position: relative; padding: 1.5rem;
  border: 1px solid var(--border-cyan); background: rgba(0,245,212,0.02);
}
.bio-frame::before, .bio-frame::after {
  content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid var(--cyan);
}
.bio-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.bio-frame::after  { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.bio-img-wrap { overflow: hidden; }
.bio-img-wrap img {
  width: 100%; display: block;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.5s ease, transform 0.8s var(--ease-out);
}
.bio-visual:hover .bio-img-wrap img { filter: grayscale(25%) contrast(1.1); transform: scale(1.04); }

.bio-coords {
  position: absolute; right: -2.5rem; bottom: 2rem;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 0.6rem; letter-spacing: 0.35em; color: var(--cyan); opacity: 0.55;
}

.bio-content { padding-left: 2rem; }
.bio-content .section-title span { color: var(--cyan); }

.bio-quote {
  position: relative; padding: 2.5rem 2rem 2rem 2.5rem;
  background: rgba(255,255,255,0.015); border-left: 2px solid var(--cyan);
  margin-bottom: 2.5rem; backdrop-filter: blur(10px);
}
.bio-quote-icon {
  position: absolute; top: -30px; left: 1rem;
  font-family: var(--font-display); font-size: 5.5rem; line-height: 1;
  color: var(--cyan); opacity: 0.12;
}
.bio-quote p {
  font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 300; font-style: italic;
  color: rgba(240,240,240,0.9); line-height: 1.6; margin: 0;
}

.bio-body { color: var(--text-muted); font-size: 0.92rem; line-height: 1.9; margin-bottom: 1.5rem; }

.bio-stats { display: flex; gap: 4rem; margin: 3rem 0; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: 3.2rem; color: var(--text); line-height: 1; display: block; }
.stat-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); opacity: 0.8; }

.bio-tags { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.bio-tag {
  padding: 0.45rem 1.1rem; background: transparent; border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); cursor: default;
  transition: all 0.3s;
}
.bio-tag:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 12px rgba(0,245,212,0.08); transform: translateY(-2px); }

/* =============================================
   RADIO MARQUEE
   ============================================= */
.radio-section { padding: 4rem 0; overflow: hidden; background: var(--bg); }
.radio-title { text-align: center; font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--cyan); opacity: 0.65; margin-bottom: 2.5rem; }

.radio-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.radio-track {
  display: flex; align-items: center;
  width: max-content; animation: scrollMarquee 35s linear infinite;
}
.radio-track:hover { animation-play-state: paused; }
.radio-logo {
  height: 100px; margin: 0 3.5rem;
  filter: grayscale(100%) opacity(0.8);
  transition: all 0.4s var(--ease-out); cursor: pointer;
}
.radio-logo:hover { filter: grayscale(0%) opacity(); transform: scale(1.1) translateY(-2px); }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =============================================
   NEWS MARQUEE
   ============================================= */
.news-section {
  padding: 7rem 0; border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(0,245,212,0.01), transparent 20%);
}
.news-head { text-align: center; margin-bottom: 4rem; padding: 0 2rem; }

.news-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 1rem 0;
}/* Remplacez votre .news-track actuelle par celle-ci */
.news-track {
  display: flex;
  gap: 2rem;
  width: 100%; /* On ne veut plus une largeur infinie */
  justify-content: center; /* Centre les cartes si elles sont peu nombreuses */
  padding: 2rem 0;
  transition: transform 0.5s var(--ease-out);
  /* L'animation scrollMarquee a été supprimée ici */
}.news-track-wrap {
  overflow: hidden;
  /* On garde le masque dégradé si vous l'aimez, sinon vous pouvez l'enlever */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 1rem 0;
}

/* Supprimez également le sélecteur :hover qui mettait l'animation en pause */
.news-track:hover { 
  animation-play-state: running; /* Inutile maintenant */
}
.news-card {
  width: 380px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  padding: 1.5rem; display: flex; flex-direction: column;
  backdrop-filter: blur(10px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.news-card:hover { border-color: rgba(0,245,212,0.28); box-shadow: 0 12px 30px rgba(0,0,0,0.45); transform: translateY(-5px); }

.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.card-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-cyan); padding: 2px; }
.card-author { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; }
.card-time { font-size: 0.62rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }

.card-body { flex: 1; font-size: 0.9rem; color: rgba(240,240,240,0.8); line-height: 1.75; margin-bottom: 1.2rem; }
.card-hashtag { color: var(--cyan); cursor: pointer; }
.card-hashtag:hover { opacity: 0.7; }

.card-media { margin: 0 -1.5rem 1.2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.card-media img { width: 100%; height: 200px; object-fit: cover; display: block; filter: grayscale(40%); transition: filter 0.5s, transform 0.8s var(--ease-out); }
.news-card:hover .card-media img { filter: grayscale(0%); transform: scale(1.05); }

.card-actions { display: flex; align-items: center; gap: 1.5rem; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: auto; }
.card-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: transparent; border: none; color: var(--text-muted);
  font-family: var(--font-body); font-size: 0.78rem; cursor: pointer;
  transition: color 0.3s; padding: 0;
}
.card-btn svg { width: 17px; height: 17px; fill: transparent; transition: transform 0.3s, fill 0.3s; }
.card-btn:hover { color: var(--cyan); }
.card-btn:hover svg { stroke: var(--cyan); transform: scale(1.12); }
.card-btn.liked { color: var(--cyan); }
.card-btn.liked svg { fill: var(--cyan); stroke: var(--cyan); }
.news-slider-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 50px;
}

.news-viewport {
  width: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
}

.news-track {
  display: flex;
  gap: 2rem;
  justify-content: center; /* Centre les cartes si < 3 */
  padding: 2rem 0;
  transition: transform 0.5s var(--ease-out);
}

.news-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.news-nav-btn:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 15px var(--cyan);
}

.news-nav-btn.prev { left: 0; }
.news-nav-btn.next { right: 0; }

/* Masquer les flèches si on a 3 cartes ou moins sur grand écran */
@media (min-width: 1200px) {
  .news-slider-container:not(.has-overflow) .news-nav-btn {
    display: none;
  }
}
/* =============================================
   MIXES (WaveSurfer Custom)
   ============================================= */
.mix-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.custom-mix-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.custom-mix-card:hover {
  border-color: rgba(0, 245, 212, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateX(10px);
}

.mix-play-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  border: none;
  color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 16px rgba(0,245,212,0.3);
}

.mix-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  transition: all 0.3s;
}

.custom-mix-card.is-playing .mix-play-btn {
  transform: scale(1.12);
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.5);
}

.custom-mix-card.is-playing .mix-play-btn svg {
  margin-left: 0;
}

.mix-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0; 
}

.mix-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.8rem;
}

.mix-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.02em;
}

.mix-meta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.waveform {
  width: 100%;
  height: 60px;
  cursor: pointer;
}

.mix-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.mix-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* =============================================
   TOUR
   ============================================= */
.tour-table { width: 100%; border-collapse: collapse; }
.tour-table th {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.75rem 0; text-align: left;
  border-bottom: 1px solid var(--border-cyan);
}
.tour-table tr { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.tour-table tr:hover { background: var(--surface); }
.tour-table td { padding: 1.25rem 0; vertical-align: middle; }
.tour-date { font-family: var(--font-display); font-size: 1.15rem; color: var(--cyan); }
.tour-city { font-weight: 400; font-size: 0.92rem; }
.tour-venue { color: var(--text-muted); font-size: 0.82rem; }
.ticket-btn {
  display: inline-block; padding: 0.45rem 1.1rem;
  border: 1px solid var(--border-cyan); color: var(--cyan); background: none;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; font-family: var(--font-body); transition: all 0.2s;
}
.ticket-btn:hover { background: var(--cyan); color: #050505; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #030303; border-top: 1px solid var(--border);
  padding: 8rem 4rem 2rem;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; bottom: -50%; left: 50%;
  transform: translateX(-50%); width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,245,212,0.035) 0%, transparent 60%);
  pointer-events: none;
}

.footer-headline {
  text-align: center; margin-bottom: 6rem; position: relative; z-index: 1;
}
.footer-name {
  font-family: var(--font-display); font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9; color: transparent; letter-spacing: 0.02em;
  -webkit-text-stroke: 1px rgba(255,255,255,0.12);
  margin-bottom: 1.5rem; cursor: default;
  transition: color 0.5s, -webkit-text-stroke 0.5s, text-shadow 0.5s;
}
.footer-name:hover { color: var(--cyan); -webkit-text-stroke: 1px var(--cyan); text-shadow: 0 0 40px rgba(0,245,212,0.25); }

.footer-email {
  display: inline-block; font-size: 1.1rem; color: var(--text); text-decoration: none;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-bottom: 1px solid var(--cyan); padding-bottom: 0.4rem;
  transition: all 0.3s;
}
.footer-email:hover { color: var(--cyan); transform: translateY(-2px); }

.footer-mid {
  width: 100%; max-width: 1400px; display: flex;
  justify-content: space-between; gap: 3rem;
  border-bottom: 1px solid var(--border); padding-bottom: 3rem; margin-bottom: 2rem;
  position: relative; z-index: 1;
}
.footer-nav, .footer-socials { display: flex; gap: 2.5rem; }
.footer-nav a, .footer-socials a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.3s, transform 0.3s; display: inline-block;
}
.footer-nav a:hover, .footer-socials a:hover { color: var(--cyan); transform: translateY(-3px); }

.footer-bot {
  width: 100%; max-width: 1400px; display: flex;
  justify-content: space-between; align-items: center;
  position: relative; z-index: 1;
}
.footer-bot p { color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.1em; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; font-size: 0.68rem; letter-spacing: 0.08em; transition: color 0.3s; }
.footer-legal a:hover { color: var(--text); }

.back-to-top {
  display: flex; align-items: center; gap: 0.5rem;
  background: transparent; border: none; color: var(--cyan);
  font-family: var(--font-body); font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: transform 0.3s;
}
.back-to-top:hover { transform: translateY(-5px); }

/* =============================================
   CURSOR
   ============================================= */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 320px; height: 320px;
  border-radius: 50%; pointer-events: none; z-index: 9998; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(0,245,212,0.07) 0%, transparent 65%);
  filter: blur(5px); will-change: transform;
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.3); } }
@keyframes wave { 0%,100% { height: 4px; } 50% { height: 18px; } }
/* =============================================
   RESPONSIVE (Tablette & Mobile)
   ============================================= */

/* --- TABLETTE (max 1024px) --- */
@media (max-width: 1024px) {
  .social-sidebar, .bio-coords { display: none; }

  /* Hero */
  .hero-layout {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2.5rem;
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  }
  .hero-left { align-items: center; }
  .hero-sub { justify-content: center; flex-wrap: wrap; text-align: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-right { flex: auto; width: 100%; max-width: 360px; margin: 0 auto; }
  .hero-title { font-size: clamp(3.5rem, 9vw, 7rem); }
  .hero-title-echo { font-size: clamp(3.5rem, 9vw, 7rem); }
  .vinyl { right: -50%; }
  
  /* Bio */
  .bio-inner { grid-template-columns: 1fr; gap: 4rem; }
  .bio-content { padding-left: 0; text-align: center; }
  .bio-bg-text { font-size: 35vw; }
  .bio-quote { text-align: left; } /* Garder la citation lisible */
  .bio-stats { justify-content: center; }
  .bio-tags { justify-content: center; }
  
  /* Autres sections */
  .footer-mid { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav, .footer-socials { flex-wrap: wrap; justify-content: center; }
  .disco-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
  .disco-card-info { padding: 1.2rem; }
  .disco-title { font-size: 1.4rem; }
}

/* --- MOBILE (max 768px) --- */
@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 0 1.5rem; height: 70px; }
  .navbar.scrolled { height: 60px; }
  .nav-menu { display: none; }
  .nav-right { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-logo img { height: 70px; margin-top: 55px; }
  .navbar.scrolled .nav-logo img { height: 32px; margin-top: 0; }
  .nav-vis { display: none; }
  
  /* Global */
  .section { padding: 4rem 1.5rem; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); text-align: center; margin-bottom: 2rem; }
  .section-label { text-align: center; }
  body { font-size: 15px; }
  
  /* Hero */
  .hero-layout { padding: calc(var(--nav-h) + 1rem) 1.5rem 1rem; }
  .hero-frame { inset: 1rem; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-title-echo { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-sub { gap: 0.5rem; font-size: 0.6rem; }
  .hero-sub-sep { width: 20px; }
  .hero-right { flex: 0 0 280px; }
  .vinyl { right: -60%; }
  
  /* Thumbs */
  .thumbs-wrap { gap: 0.5rem; margin-top: -35px; padding-bottom: 2rem; flex-wrap: wrap; justify-content: center; }
  .thumb { width: 60px; height: 60px; }
  
  /* Discographie (Grille) */
  .disco-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .disco-card-info { padding: 1rem; }
  .disco-title { font-size: 1.3rem; }
  
  /* Bio */
  #bio { padding: 5rem 1.5rem; }
  .bio-stats { flex-direction: column; gap: 2rem; align-items: center; }
  .bio-frame { padding: 0.8rem; }
  .bio-quote p { font-size: 1rem; }
  
  /* Tournées */
  .tour-table th { display: none; } /* Cacher les entêtes sur mobile */
  .tour-table td { display: block; padding: 0.5rem 0; text-align: center; }
  .tour-table tr { display: block; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
  .tour-table td:last-child { padding-top: 1rem; }
  
  /* News */
  .news-head { margin-bottom: 2.5rem; }
  .news-card { width: 100%; min-width: auto; max-width: 380px; padding: 1.2rem; }
  .news-slider-container { padding: 0 30px; }
  .card-media img { height: 160px; }
  .news-nav-btn { width: 40px; height: 40px; font-size: 0.8rem; }
  
  /* Mixes / WaveSurfer */
  .custom-mix-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
  }
  .mix-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .mix-title { font-size: 1.4rem; }
  .waveform { height: 40px; }
  
  /* Footer */
  .site-footer { padding: 5rem 1.5rem 2rem; }
  .footer-name { font-size: clamp(3rem, 15vw, 5rem); margin-bottom: 1rem; }
  .footer-bot { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

/* --- PETIT MOBILE (max 480px) --- */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 0.85rem 1.5rem; font-size: 0.65rem; }
  .res-logos { flex-wrap: wrap; justify-content: center; }
  .hero-residencies { flex-direction: column; gap: 1rem; }
  .res-label::after { display: none; }
  .player-controls { flex-wrap: wrap; gap: 0.5rem; }
  .player-btn-group { gap: 0.5rem; }
  .play-btn { width: 36px; height: 36px; }
  .player-time { font-size: 0.6rem; }
  .disco-grid { grid-template-columns: 1fr; }
  .news-nav-btn { width: 35px; height: 35px; }
}

.contact-form-container {
  max-width: 600px;
  margin: 40px 0;
}

.contact-form .form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  border-color: #fff;
}

.submit-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 40px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.submit-btn:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form .form-group {
    flex-direction: column;
  }
}

.disco-card {
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.disco-wave-container {
  height: 0;
  overflow: hidden;
  background: rgba(0, 245, 212, 0.05);
  transition: height 0.4s var(--ease-out), padding 0.4s;
  padding: 0 15px;
}

.disco-card.is-playing .disco-wave-container {
  height: 80px; /* L'onde apparaît */
  padding: 15px;
  border-top: 1px solid var(--border-cyan);
}

.waveform-disco {
  width: 100%;
  height: 50px;
}

.disco-timer {
  font-size: 0.65rem;
  color: var(--cyan);
  text-align: right;
  margin-top: 5px;
  font-family: monospace;
}

.disco-play-btn {
  background: var(--cyan);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 16px rgba(0,245,212,0.3);
  color: #050505;
}

.disco-card:hover .disco-play-btn { transform: scale(1.12); box-shadow: 0 0 24px rgba(0,245,212,0.5); }


/* =============================================
   LAZY LOADING
   ============================================= */
img[loading="lazy"] {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"]:not([src]) {
  opacity: 0.5;
  filter: blur(2px);
  background: rgba(255,255,255,0.05);
}

img {
  will-change: contents;
}

/* =============================================
   LAZY LOADING - Simple & Safe
   ============================================= */
img[loading="lazy"] {
  background-color: rgba(255,255,255,0.02);
}

/* =============================================
   ACCESSIBILITY - Focus States & Keyboard Nav
   ============================================= */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

button:active,
a:active {
  opacity: 0.8;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--cyan);
  color: #050505;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  body {
    --text: #ffffff;
    --text-muted: #e0e0e0;
  }
  
  button, a {
    text-decoration: underline;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast for text */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
}

p, li, span:not([class]) {
  color: var(--text);
}

/* =============================================
   ELECTROBALL SECTION
   ============================================= */
.electroball-section {
  padding: 7rem 4rem;
  background: linear-gradient(135deg, rgba(0,245,212,0.05) 0%, rgba(0,245,212,0.02) 100%);
  position: relative;
  overflow: hidden;
}

.electroball-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,245,212,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.electroball-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.electroball-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.electroball-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
}

.electroball-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-item {
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  text-align: center;
}

.feature-item:hover {
  border-color: var(--cyan);
  background: rgba(0,245,212,0.05);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.electroball-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--cyan);
  color: #050505;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-out);
  width: fit-content;
  box-shadow: 0 8px 24px rgba(0,245,212,0.25);
}

.electroball-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,245,212,0.4);
}

.electroball-cta svg {
  width: 20px;
  height: 20px;
}

.electroball-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.electroball-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
  background: rgba(0,245,212,0.02);
  transition: all 0.4s var(--ease-out);
}

.electroball-image:hover {
  border-color: var(--cyan);
  box-shadow: 0 12px 32px rgba(0,245,212,0.2);
  transform: translateY(-8px);
}

.electroball-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.1);
  transition: all 0.6s var(--ease-out);
}

.electroball-image:hover img {
  filter: grayscale(0%) contrast(1.15);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .electroball-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .electroball-features {
    grid-template-columns: 1fr 1fr;
  }

  .electroball-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .electroball-section {
    padding: 5rem 2rem;
  }

  .electroball-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .electroball-description {
    font-size: 1rem;
  }

  .electroball-cta {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   MODALES LÉGALES
   ============================================= */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5,5,5,0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: fadeInModal 0.3s var(--ease-out);
}

.modal.active {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,245,212,0.1);
  animation: slideUpModal 0.3s var(--ease-out);
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10001;
  padding: 0;
}

.modal-close:hover {
  color: var(--cyan);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-scroll {
  overflow-y: auto;
  padding: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.modal-scroll::-webkit-scrollbar {
  width: 8px;
}

.modal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.modal-scroll::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 4px;
}

.modal-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0,245,212,0.8);
}

.modal-scroll h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 1rem;
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.legal-section a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

.legal-section a:hover {
  border-bottom-color: var(--cyan);
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.legal-section li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-section li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 90vh;
    border-radius: 4px;
  }

  .modal-scroll {
    padding: 1.5rem;
  }

  .modal-scroll h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }

  .legal-section p {
    font-size: 0.9rem;
  }
}
