:root {
  --bg-color: #08090b;
  --panel-bg: rgba(18, 20, 24, 0.85);
  --panel-border: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00ffcc;
  --accent-amber: #ffaa00;
  --accent-pink: #ff0055;
  --text-main: #e6e8eb;
  --text-muted: #8b929a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* Texture et canvas ambient */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  background: rgba(8, 9, 11, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-border);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
}

.version-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--accent-cyan);
}

.led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.led.red { background: var(--accent-pink); box-shadow: 0 0 8px var(--accent-pink); }
.led.yellow { background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber); }
.led.green { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }

/* Buttons & Patches */
.btn-patch, .btn-primary, .btn-secondary, .btn-sc {
  font-family: var(--font-mono);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-patch {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-patch:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

.btn-primary {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 600;
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section Video */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-container iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: grayscale(80%) contrast(120%) brightness(40%);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(8,9,11,0.4) 0%, rgba(8,9,11,0.95) 90%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-sub {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.glitch-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Sections & Layout */
.section {
  position: relative;
  z-index: 1;
  padding: 7rem 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* Formulaire Modulaire */
.modular-form {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 2.5rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group.full-width {
  margin-bottom: 2rem;
}

label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

input, select, textarea {
  background: #0d0f12;
  border: 1px solid var(--panel-border);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-cyan);
}

.jack-dot {
  width: 8px;
  height: 8px;
  background: #000;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
}

/* Media Categories */
.media-category {
  margin-bottom: 4rem;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.category-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}

.tech-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.media-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 1rem;
  border-radius: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.track-title {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hub SoundCloud */
.soundcloud-hub {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--panel-border);
}

.hub-box {
  background: linear-gradient(90deg, rgba(255, 119, 0, 0.08) 0%, rgba(18, 20, 24, 0.8) 100%);
  border: 1px solid rgba(255, 119, 0, 0.3);
  padding: 1.8rem;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hub-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hub-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

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

.btn-sc {
  background: #ff5500;
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-sc:hover {
  box-shadow: 0 0 15px rgba(255, 85, 0, 0.5);
}

/* Footer */
footer {
  border-top: 1px solid var(--panel-border);
  padding: 2.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  display: flex;
  gap: 1.5rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .main-header { padding: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .hub-box { flex-direction: column; align-items: flex-start; }
}

/* Navigation groupée */
.nav-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Style de la section Bio */
.bio-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 2.5rem;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  backdrop-filter: blur(8px);
}

.bio-lead {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.bio-text p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.venues-panel {
  border-left: 1px solid var(--panel-border);
  padding-left: 2rem;
}

.venues-panel h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.venues-intro {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.venues-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.venues-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.venue-city {
  color: var(--accent-amber);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  background: rgba(255, 170, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

.venue-name {
  color: var(--text-main);
}

.venue-tag {
  font-size: 0.7rem;
  color: var(--accent-pink);
  opacity: 0.8;
  font-style: italic;
}

@media (max-width: 768px) {
  .bio-card {
    grid-template-columns: 1fr;
  }
  .venues-panel {
    border-left: none;
    border-top: 1px solid var(--panel-border);
    padding-left: 0;
    padding-top: 1.5rem;
  }
}