/* ============================================================
   ZH Entertainment Studio — Complete Stylesheet v2
   Dark/Light mode · Responsive · Animated
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --red:       #E8350A;
  --orange:    #FF6A00;
  --grad:      linear-gradient(135deg, #E8350A 0%, #FF6A00 100%);
  --grad-glow: linear-gradient(135deg, rgba(232,53,10,0.3), rgba(255,106,0,0.15));

  /* Light theme */
  --bg:        #FFFFFF;
  --bg-2:      #F5F5F5;
  --bg-card:   #FFFFFF;
  --text:      #111111;
  --text-2:    #555555;
  --text-3:    #717171;
  --border:    #E4E4E4;
  --nav-bg:    rgba(255,255,255,0.92);
  --loader-bg: #FFFFFF;
  --shadow:    0 4px 28px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.12);
  --shadow-red:0 8px 32px rgba(232,53,10,0.3);

  --radius:    16px;
  --radius-sm: 8px;
  --transition:0.25s ease;
  --nav-h:     70px;
}

[data-theme="dark"] {
  --bg:        #0C0C0C;
  --bg-2:      #161616;
  --bg-card:   #1C1C1C;
  --text:      #F0F0F0;
  --text-2:    #BBBBBB;
  --text-3:    #8A8A8A;
  --border:    #2A2A2A;
  --nav-bg:    rgba(12,12,12,0.95);
  --loader-bg: #0C0C0C;
  --shadow:    0 4px 28px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.7);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
em  { font-style: italic; }
strong { font-weight: 700; }

/* ── Skip Link (accessibilité) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 99999;
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 6px; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(232,53,10,0.45); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ── Tags ── */
.tag {
  display: inline-block;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.74rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--loader-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: loaderFadeIn 0.5s ease both;
}

.loader-logo {
  height: 120px;
  width: auto;
  animation: loaderPulse 1.2s ease-in-out infinite;
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255,106,0,0.5));
}

.loader-bar-track {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--grad);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.loader-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover   { transform: translateY(-3px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background 0.35s ease;
}
.navbar.scrolled { border-color: var(--border); box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
}

.nav-logo img { height: 38px; width: auto; transition: transform var(--transition), filter 0.3s ease; }
.nav-logo:hover img { transform: scale(1.04); }
[data-theme="dark"] .nav-logo img { filter: brightness(0) invert(1); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--text-2);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active            { color: var(--red); }
.nav-links a:hover::after,
.nav-links a.active::after     { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover { transform: rotate(20deg); border-color: var(--red); }

.theme-icon-light,
.theme-icon-dark {
  position: absolute;
  transition: opacity var(--transition), transform var(--transition);
  font-style: normal;
}
[data-theme="light"] .theme-icon-light { opacity: 1; transform: scale(1); }
[data-theme="light"] .theme-icon-dark  { opacity: 0; transform: scale(0.5); }
[data-theme="dark"]  .theme-icon-light { opacity: 0; transform: scale(0.5); }
[data-theme="dark"]  .theme-icon-dark  { opacity: 1; transform: scale(1); }

/* Lang toggle */
.lang-toggle {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), border-color var(--transition);
}
.lang-toggle:hover { border-color: var(--red); }
.lang-toggle .divider { color: var(--border); }
.lang-toggle .lang-fr,
.lang-toggle .lang-en { transition: color var(--transition); }
body.lang-fr .lang-toggle .lang-fr { color: var(--red); }
body.lang-en .lang-toggle .lang-en { color: var(--red); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 8px 0 20px;
  animation: slideDown 0.2s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 13px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover { color: var(--red); background: var(--bg-2); }
.mobile-toggles {
  display: flex;
  gap: 10px;
  padding: 12px 32px 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 32px 0;
}

/* Canvas particles — sits behind everything */
.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Radial glow that follows mouse (parallax) */
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,53,10,0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 10%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: fadeUp 0.9s ease 0.1s both;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(232,53,10,0.08);
  border: 1px solid rgba(232,53,10,0.2);
  padding: 6px 18px;
  border-radius: 50px;
}

.hero-logo-wrap { display: flex; justify-content: center; }
.hero-logo {
  height: 170px;
  width: auto;
  filter: drop-shadow(0 8px 40px rgba(232,53,10,0.2));
  animation: floatLogo 4s ease-in-out infinite;
  will-change: transform;
  transition: filter 0.3s ease;
}
[data-theme="dark"] .hero-logo {
  filter: brightness(0) invert(1) drop-shadow(0 8px 40px rgba(255,106,0,0.35));
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.hero-tagline em {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Scroll hint — margin-top: auto push it to the very bottom of the flex column */
.hero-scroll-hint {
  margin-top: auto;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  position: relative;
}
.scroll-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-line {
  display: block;
  width: 2px; height: 44px;
  background: linear-gradient(to bottom, var(--red), transparent);
  border-radius: 2px;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 48px;
  flex: 1;
  text-align: center;
  gap: 6px;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 24px 0;
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-infinity { font-size: clamp(2.4rem, 4.5vw, 3.2rem); }
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: 100px 0; }

.section-header { margin-bottom: 56px; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.1;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text p { color: var(--text-2); font-size: 1.02rem; }
.about-text .btn { align-self: flex-start; margin-top: 8px; }

.about-cards { display: flex; flex-direction: column; gap: 16px; }
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.about-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(232,53,10,0.25);
}
.about-card.accent-card {
  background: linear-gradient(135deg, rgba(232,53,10,0.05) 0%, rgba(255,106,0,0.03) 100%);
  border-color: rgba(232,53,10,0.2);
}
.about-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.about-card-icon { font-size: 1.4rem; }
.about-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.about-card p { font-size: 0.88rem; color: var(--text-3); line-height: 1.65; }

/* ============================================================
   PRODUCTIONS
   ============================================================ */
.productions { background: var(--bg-2); }

/* Featured card */
.prod-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
  transition: box-shadow var(--transition);
}
.prod-featured:hover { box-shadow: 0 24px 72px rgba(0,0,0,0.18); }

/* Visual side */
.prod-featured-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

/* Murder Drones–inspired background */
.solver-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a0400 0%, #0d0000 40%, #050010 100%);
}
.solver-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 25% 60%, rgba(232,53,10,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 75% 20%, rgba(255,200,0,0.22) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 60% 80%, rgba(80,0,180,0.2) 0%, transparent 50%);
}
.solver-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.12) 3px,
    rgba(0,0,0,0.12) 4px
  );
  z-index: 1;
}
.solver-glitch-1 {
  position: absolute;
  top: 30%; left: 0; right: 0;
  height: 2px;
  background: rgba(232,53,10,0.6);
  z-index: 2;
  animation: glitch1 6s ease-in-out infinite;
}
.solver-glitch-2 {
  position: absolute;
  top: 65%; left: 0; right: 0;
  height: 1px;
  background: rgba(255,200,0,0.4);
  z-index: 2;
  animation: glitch2 8s ease-in-out infinite;
}
.prod-featured-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.prod-badge-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.prod-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.prod-badge-live {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 2px 12px rgba(232,53,10,0.5);
}
.prod-badge-fan {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.prod-featured-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Body side */
.prod-featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
}
.prod-meta { display: flex; flex-direction: column; gap: 8px; }
.prod-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-3);
}
.prod-meta-icon { font-size: 0.9rem; }

.prod-featured-desc {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.75;
}
.prod-featured-desc em { color: var(--red); font-style: normal; }

.prod-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* Progress */
.prod-progress { display: flex; flex-direction: column; gap: 10px; }
.prod-progress-header {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.04em;
}
.prod-progress-pct { color: var(--red); }
.prod-bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg-2);
  border-radius: 6px;
  overflow: hidden;
}
.prod-bar-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 6px;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}

.prod-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}
.prod-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-align: center;
}
.prod-step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.prod-step.active .prod-step-dot {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 8px rgba(232,53,10,0.5);
}
.prod-step.active { color: var(--red); }

.prod-note {
  font-size: 0.78rem;
  color: var(--text-3);
  font-style: italic;
}

/* Coming soon card */
.prod-coming-soon {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: border-color var(--transition);
}
.prod-coming-soon:hover { border-color: var(--red); }
.prod-coming-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-3);
  font-weight: 300;
  margin-bottom: 4px;
}
.prod-coming-soon h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.prod-coming-soon p { font-size: 0.86rem; color: var(--text-3); max-width: 360px; }

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap { background: var(--bg); }

.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(255,106,0,0.15));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  gap: 32px;
  padding-bottom: 40px;
  align-items: flex-start;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  display: flex;
  justify-content: center;
  padding-top: 14px;
}
.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 3px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.timeline-item.done   .timeline-dot { background: var(--red); border-color: var(--red); }
.timeline-item.active .timeline-dot {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 5px rgba(255,106,0,0.2);
  animation: activePulse 2s ease-in-out infinite;
}

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.timeline-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
  border-color: rgba(232,53,10,0.2);
}
.timeline-item.active .timeline-card { border-color: rgba(232,53,10,0.3); }

.timeline-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.timeline-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}
.timeline-card p { font-size: 0.88rem; color: var(--text-3); line-height: 1.65; margin-bottom: 14px; }

.timeline-status {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.done-badge   { background: rgba(34,197,94,0.12); color: #16a34a; }
.active-badge { background: rgba(255,106,0,0.12); color: var(--orange); }
.future-badge { background: var(--bg-2); color: var(--text-3); border: 1px solid var(--border); }

[data-theme="dark"] .done-badge { background: rgba(34,197,94,0.15); color: #4ade80; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--bg-2); }

.team-grid { display: flex; gap: 24px; flex-wrap: wrap; }

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(232,53,10,0.2); }

.team-card-open {
  border-style: dashed;
  background: transparent;
}
.team-card-open:hover { background: var(--bg-card); }

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
}
.gradient-avatar { background: var(--grad); box-shadow: var(--shadow-red); }
.open-avatar { background: var(--bg-2); color: var(--text-3); font-size: 1.8rem; font-weight: 300; }

.team-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.team-role { font-size: 0.8rem; color: var(--text-3); }
.team-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }

.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--bg-2); color: var(--red); }
.faq-question[aria-expanded="true"] { color: var(--red); background: var(--bg-2); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--bg-card);
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 28px 22px;
}
.faq-answer p { font-size: 0.9rem; color: var(--text-3); line-height: 1.75; }
.faq-answer em { color: var(--red); font-style: normal; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); }

.contact-intro {
  font-size: 1.02rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 40px;
}

.contact-cards { display: flex; gap: 20px; flex-wrap: wrap; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  flex: 1;
  min-width: 240px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
a.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--red);
}
.contact-yt:hover .contact-card-icon { color: #FF0000; }
.contact-soon { cursor: default; opacity: 0.7; border-style: dashed; }

.contact-card-icon { color: var(--text-3); flex-shrink: 0; transition: color var(--transition); }
.contact-card-text { flex: 1; }
.contact-card-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}
.contact-card-value { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.contact-card-arrow { color: var(--text-3); font-size: 1.1rem; transition: transform var(--transition); }
a.contact-card:hover .contact-card-arrow { transform: translateX(4px); color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #111111; color: rgba(255,255,255,0.45); }
[data-theme="dark"] .footer { background: #060606; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 32px;
  flex-wrap: wrap;
}

.footer-left { display: flex; flex-direction: column; gap: 8px; }

.footer-logo {
  height: 42px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom p { font-size: 0.78rem; }
.footer-disclaimer { font-size: 0.7rem !important; opacity: 0.6; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1) translateY(0); }
  50%       { opacity: 0.2; transform: scaleY(0.4) translateY(0); }
}
@keyframes loaderFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes loaderPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(232,53,10,0.3)); }
  50%       { filter: drop-shadow(0 0 36px rgba(232,53,10,0.65)); }
}
@keyframes activePulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255,106,0,0.2); }
  50%       { box-shadow: 0 0 0 10px rgba(255,106,0,0.05); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glitch1 {
  0%, 90%, 100% { opacity: 0; transform: scaleX(0); }
  91%            { opacity: 1; transform: scaleX(1); }
  93%            { opacity: 0.4; transform: scaleX(0.7) translateX(8px); }
  95%            { opacity: 0; }
}
@keyframes glitch2 {
  0%, 85%, 100% { opacity: 0; }
  86%            { opacity: 0.6; transform: scaleX(1); }
  88%            { opacity: 0.2; transform: scaleX(0.5) translateX(-12px); }
  90%            { opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about-grid       { grid-template-columns: 1fr; gap: 40px; }
  .prod-featured    { grid-template-columns: 1fr; }
  .prod-featured-visual { min-height: 280px; }
  .stat-item        { padding: 28px 24px; }
}

@media (max-width: 720px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .hero-logo  { height: 120px; }
  .section    { padding: 64px 0; }

  .stats-inner      { flex-wrap: wrap; }
  .stat-item        { flex: 0 0 50%; padding: 24px 16px; }
  .stat-divider     { display: none; }

  .timeline::before { left: 20px; }
  .timeline-marker  { width: 44px; }

  .team-card        { max-width: 100%; }
  .contact-cards    { flex-direction: column; }
  .footer-inner     { flex-direction: column; }
  .footer-nav       { gap: 16px; }

  .prod-progress-steps { gap: 4px; }
  .prod-step span   { font-size: 0.6rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .stat-item { flex: 0 0 100%; }
}

/* ============================================================
   NEWS / ACTUALITÉS
   ============================================================ */
.news { background: var(--bg); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(232,53,10,0.25);
}

.news-card-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
}
.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-cover img { transform: scale(1.04); }

.news-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.news-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.35;
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}

.news-card-tag {
  align-self: flex-start;
  background: rgba(232,53,10,0.08);
  border: 1px solid rgba(232,53,10,0.18);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 50px;
}

.news-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 32px;
  text-align: center;
  color: var(--text-3);
}
.news-empty-icon { font-size: 2.5rem; opacity: 0.4; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}

.form-group input,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,53,10,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.form-status.success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #16a34a;
}
.form-status.error {
  background: rgba(232,53,10,0.08);
  border: 1px solid rgba(232,53,10,0.2);
  color: var(--red);
}

/* prod page link */
.prod-page-link { margin-top: 16px; }

/* ============================================================
   GALLERY / LIGHTBOX (project page + main site)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  background: var(--bg-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: #fff; font-size: 1.6rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 24px;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 32px 96px rgba(0,0,0,0.8);
}
.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0; right: 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.4rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  z-index: 9001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 9001;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.gallery-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 0.9rem;
}

/* ============================================================
   COUNTDOWN (project page)
   ============================================================ */
.countdown-wrap {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 20px 16px 14px;
}
.countdown-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, #E8350A, #FF6A00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}
.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.countdown-sep {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
  padding-top: 20px;
}

/* ============================================================
   RESPONSIVE additions
   ============================================================ */
@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .news-grid { grid-template-columns: 1fr; }
  .countdown-wrap { gap: 12px; }
  .countdown-block { min-width: 64px; padding: 14px 12px 10px; }
}

@media (max-width: 480px) {
  .lightbox-nav { display: none; }
}

/* ============================================================
   ACCESSIBILITY — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .loader { display: none !important; }
  .particles-canvas { display: none; }
  .hero-glow { display: none; }
  .hero-logo { animation: none; }
  .scroll-line { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
