/* ============================================================
   E3 PERFORMANCE — ENGINE SOLUTIONS
   Tech · Dark · Cyan · Argancy, Moselle
   Inspired by screen.png reference design
   taste-skill DESIGN_VARIANCE:8 / MOTION_INTENSITY:6 / VISUAL_DENSITY:4
   soft-skill: Double-Bezel, Pills, Spring Physics, Asymmetric
   ============================================================ */

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

:root {
  --bg:      #080808;
  --bg-s:    #0d0d0d;
  --bg-e:    #111111;
  --bg-card: #0a0a0a;

  --cyan:    #00d4ff;
  --cyan-hi: #22e5ff;
  --cyan-dim: rgba(0, 212, 255, 0.08);
  --cyan-border: rgba(0, 212, 255, 0.2);

  --alpine:     #005FAD;
  --alpine-hi:  #1A7ACC;
  --alpine-dim: rgba(0, 95, 173, 0.12);
  --alpine-border: rgba(0, 95, 173, 0.35);

  --hot:     #e07518;
  --hot-dim: rgba(224, 117, 24, 0.1);

  --neon:        #ff2d78;
  --neon-dim:    rgba(255, 45, 120, 0.08);
  --neon-border: rgba(255, 45, 120, 0.28);

  --lime:        #00ff88;
  --lime-dim:    rgba(0, 255, 136, 0.07);
  --lime-border: rgba(0, 255, 136, 0.24);

  --t1: #ffffff;
  --t2: #8a9aaa;
  --t3: #3a4a58;

  --border:  rgba(255, 255, 255, 0.06);
  --border-hi: rgba(255, 255, 255, 0.1);

  --font-d: 'Barlow Condensed', sans-serif;
  --font-b: 'Space Grotesk', sans-serif;
  --font-m: 'JetBrains Mono', monospace;

  --ease:     cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { font-size: 18px; }
body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font-b);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ============================================================
   GRAIN — fixed, pointer-events-none (GPU safe per soft-skill)
   ============================================================ */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

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

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }

.loader-logo { display: flex; align-items: center; justify-content: center; }
.loader-logo-img { width: 260px; height: auto; display: block; mix-blend-mode: screen; }
.loader-track {
  width: 220px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}
#loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--cyan), var(--neon));
  transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--neon);
}
#loader-pct {
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--t2);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 5vw;
  background: transparent;
  transition: padding 0.5s var(--ease), background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}
.site-header.sticky {
  padding: 13px 5vw;
  background: rgba(8, 8, 8, 0.95);
  border-color: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---- nav-right : CTA + burger ---- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---- Burger button ---- */
.nav-burger {
  display: none;           /* masqué desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-burger:hover { background: rgba(255,255,255,0.07); }
.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), width 0.25s var(--ease);
  transform-origin: center;
}
/* Burger → croix quand open */
.nav-burger.open .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open .burger-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MENU MOBILE — overlay + panel slide depuis la droite
   ============================================================ */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;   /* ← empêche de bloquer les clics quand fermé */
  transition: opacity 0.35s ease;
}
.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;    /* ← réactivé quand le menu est ouvert */
}
.nav-mobile-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: #0a0a0a;
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  padding: 28px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile-overlay.open .nav-mobile-panel {
  transform: translateX(0);
}
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.nav-mobile-close {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-mobile-close:hover { background: rgba(255,255,255,0.12); }
.nav-mobile-close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav-mobile-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-mobile-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.nav-mobile-link {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}
.nav-mobile-link:hover {
  color: #fff;
  padding-left: 8px;
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-cta {
  display: block;
  margin-top: 32px;
  padding: 14px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--cyan), var(--neon));
  color: #fff;
  font-family: var(--font-d);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
  transition: box-shadow 0.3s, transform 0.2s;
}
.nav-mobile-cta:hover {
  box-shadow: 0 6px 30px rgba(255,45,120,0.4);
  transform: translateY(-1px);
}

/* Stagger animation des liens au scroll */
.nav-mobile-overlay.open .nav-mobile-link {
  animation: link-slide-in 0.4s var(--ease) both;
}
.nav-mobile-overlay.open .nav-mobile-link:nth-child(1) { animation-delay: 0.05s; }
.nav-mobile-overlay.open .nav-mobile-link:nth-child(2) { animation-delay: 0.10s; }
.nav-mobile-overlay.open .nav-mobile-link:nth-child(3) { animation-delay: 0.15s; }
.nav-mobile-overlay.open .nav-mobile-link:nth-child(4) { animation-delay: 0.20s; }
.nav-mobile-overlay.open .nav-mobile-link:nth-child(5) { animation-delay: 0.25s; }
.nav-mobile-overlay.open .nav-mobile-link:nth-child(6) { animation-delay: 0.30s; }
@keyframes link-slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}
.nav-logo-text {
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--t1);
  text-transform: uppercase;
}

.hero-brand {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-logo-img {
  height: clamp(60px, 10vw, 120px);
  width: auto;
  display: block;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--t2);
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--t1); }

.nav-cta {
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--neon) 50%, var(--cyan) 100%);
  background-size: 200% 100%;
  padding: 9px 22px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 0 18px rgba(255, 45, 120, 0.3);
  animation: gradient-shift 3s ease infinite;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(255, 45, 120, 0.65), 0 0 80px rgba(0, 212, 255, 0.25);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--neon) 50%, var(--cyan) 100%);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 45, 120, 0.3), 0 0 60px rgba(0, 212, 255, 0.15);
  animation: gradient-shift 3s ease infinite, neon-pulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255, 45, 120, 0.6), 0 0 100px rgba(0, 212, 255, 0.25);
  animation-duration: 1.5s, 1s;
}
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--t2); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--t1); border-color: var(--border-hi); }
.btn-outline { background: transparent; color: var(--t1); border: 1px solid var(--border-hi); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-email {
  background: var(--neon-dim);
  color: var(--neon);
  border: 1px solid var(--neon-border);
  box-shadow: 0 0 18px rgba(255, 45, 120, 0.2);
}
.btn-email:hover {
  background: rgba(255, 45, 120, 0.15);
  border-color: var(--neon);
  box-shadow: 0 0 30px rgba(255, 45, 120, 0.45);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

  50%       { opacity: 1;   transform: scaleY(0.5); transform-origin: top; }
}

/* ============================================================
   SHARED
   ============================================================ */
.section-wrap { max-width: 1400px; margin: 0 auto; }

.stats-section {
  padding: 120px 5vw;
}

/* Pill labels — soft-skill Eyebrow Tags */
.section-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--alpine-dim);
  border: 1px solid var(--alpine-border);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--alpine-hi);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.section-heading {
  font-family: var(--font-d);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.section-body {
  font-size: 0.92rem;
  line-height: 1.88;
  color: var(--t2);
  max-width: 480px;
  margin-bottom: 32px;
}

.section-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--t1);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.section-link:hover { color: var(--cyan); border-color: var(--cyan); }

.reveal { opacity: 0; }



.svc-meca-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
}
.svc-meca-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 22px;
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-m);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-meca-btn:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 16px rgba(0,212,255,0.4);
}

/* ============================================================
   STATS
   ============================================================ */
/* ============================================================
   SPLIT SECTION — photo gauche / contenu droite (style DMR)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.split-photo {
  position: relative;
  overflow: hidden;
}
.split-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s var(--ease);
}
.split-section:hover .split-photo-img { transform: scale(1.03); }
.split-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(10,10,10,0.5) 100%);
  pointer-events: none;
}
.split-content {
  background: #0d0d0d;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-label {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 20px;
}
.split-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: #fff;
}
.split-accent { color: var(--neon); }
.split-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--t2);
  max-width: 480px;
  margin-bottom: 32px;
}
.split-checklist {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.split-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}
.split-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--neon);
  border-radius: 50%;
  color: var(--neon);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.split-cta {
  display: inline-block;
  padding: 15px 32px;
  background: var(--neon);
  color: #000;
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(255,45,120,0.3);
  align-self: flex-start;
}
.split-cta:hover {
  background: #ff6090;
  box-shadow: 0 6px 30px rgba(255,45,120,0.5);
  transform: translateY(-2px);
}
.split-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.split-cta--secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: none;
}
.split-cta--secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,212,255,0.5);
  color: var(--neon);
  box-shadow: none;
  transform: translateY(-2px);
}
/* ---- Alternance droite/gauche ---- */
.split-section--reverse .split-photo { order: 2; }
.split-section--reverse .split-content { order: 1; }

/* ---- Badge sur la photo World Record ---- */
.split-section--record .split-photo { position: relative; }
.split-section--record .record-photo-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(0,0,0,0.75);
  border: 1px solid var(--neon);
  color: var(--neon);
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* ---- Steps dans la section Méthode ---- */
.split-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}
.split-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.split-step-n {
  font-family: var(--font-d);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.35);
  padding: 4px 10px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}
.split-step-title {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  color: #fff;
}
.split-step-desc {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--t2);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; min-height: auto; }
  /* Sur mobile, la photo passe toujours en premier (visuellement) */
  .split-section--reverse .split-photo { order: 0; }
  .split-section--reverse .split-content { order: 1; }
  .split-photo { height: 52vw; min-height: 220px; max-height: 280px; }
  .split-photo-overlay { background: linear-gradient(to bottom, transparent 60%, rgba(10,10,10,0.6) 100%); }
  .split-content { padding: 48px 6vw 80px; }
  .split-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .split-cta { align-self: stretch; text-align: center; }
  .split-section--record .record-photo-badge { font-size: 0.65rem; bottom: 16px; left: 16px; }
}

/* ============================================================
   MÉCANIQUE TEASER SECTION
   ============================================================ */
.meca-teaser {
  background: linear-gradient(135deg, var(--bg) 0%, #0a1a22 50%, var(--bg) 100%);
  padding: 90px 5vw;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,212,255,0.1);
  border-bottom: 1px solid rgba(0,212,255,0.1);
}
.meca-teaser::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.meca-teaser-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.meca-teaser-label {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.35);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.meca-teaser-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  line-height: 1.05;
}
.meca-teaser-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--t2);
  max-width: 560px;
  margin-bottom: 28px;
}
.meca-teaser-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.meca-teaser-tags span {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--t2);
  transition: border-color 0.3s, color 0.3s;
}
.meca-teaser-tags span:hover {
  border-color: var(--cyan);
  color: #fff;
}
.meca-teaser-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cyan);
  color: #000;
  font-family: var(--font-m);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}
.meca-teaser-cta:hover {
  background: #fff;
  box-shadow: 0 6px 30px rgba(0,212,255,0.4);
  transform: translateY(-2px);
}
.meca-teaser-visual { flex-shrink: 0; }
.meca-teaser-card {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(0,212,255,0.35);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 40px rgba(0,212,255,0.08), inset 0 0 30px rgba(0,212,255,0.04);
  animation: meca-card-pulse 3s ease-in-out infinite;
}
@keyframes meca-card-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(0,212,255,0.08), inset 0 0 30px rgba(0,212,255,0.04); }
  50%       { box-shadow: 0 0 60px rgba(0,212,255,0.18), inset 0 0 40px rgba(0,212,255,0.08); }
}
.meca-teaser-card-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.6));
}
.meca-teaser-card-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  line-height: 1.2;
  margin-bottom: 8px;
}
.meca-teaser-card-sub {
  font-size: 0.68rem;
  color: var(--t3);
  letter-spacing: 0.04em;
}

/* Responsive meca-teaser */
@media (max-width: 768px) {
  .meca-teaser-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .meca-teaser-tags { justify-content: center; }
  .meca-teaser-desc { max-width: 100%; }
  .meca-teaser-visual { display: flex; justify-content: center; }
  .meca-teaser-card { width: 160px; height: 160px; }
  .meca-teaser-card-icon { font-size: 2.4rem; }
}

.stats-section { background: var(--bg-s); padding: 100px 5vw; }
.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}
.stat {
  padding: 60px 36px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s var(--ease);
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(0, 212, 255, 0.02); }
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.stat:hover::before { opacity: 0.5; }

.stat-row { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin-bottom: 10px; }
.stat-num {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 900;
  color: var(--t1);
  line-height: 1;
}
.stat-suf {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 2.5vw, 2.8rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-lbl { font-family: var(--font-m); font-size: 0.65rem; letter-spacing: 0.12em; color: var(--t2); text-transform: uppercase; }

/* Flashy per-stat accent colors */
.stats-inner .stat:nth-child(1) .stat-num { text-shadow: 0 0 30px rgba(0, 212, 255, 0.4); }
.stats-inner .stat:nth-child(2) .stat-suf { color: var(--neon); text-shadow: 0 0 20px rgba(255, 45, 120, 0.7); }
.stats-inner .stat:nth-child(2) .stat-num { text-shadow: 0 0 30px rgba(255, 45, 120, 0.3); }
.stats-inner .stat:nth-child(3) .stat-suf { color: var(--lime); text-shadow: 0 0 20px rgba(0, 255, 136, 0.65); }
.stats-inner .stat:nth-child(3) .stat-num { text-shadow: 0 0 30px rgba(0, 255, 136, 0.25); }
.stats-inner .stat:nth-child(4) .stat-suf { color: var(--hot); text-shadow: 0 0 20px rgba(224, 117, 24, 0.65); }
.stats-inner .stat:nth-child(4) .stat-num { text-shadow: 0 0 30px rgba(224, 117, 24, 0.3); }

/* ============================================================
   PROCESS — clip-reveal steps
   ============================================================ */
.process-section { background: var(--bg); }
.process-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.process-steps { border-top: 1px solid var(--border); }
.step {
  display: flex;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.35s var(--ease-out);
}
.step:hover { padding-left: 14px; }
.step-n {
  font-family: var(--font-d);
  font-size: 3rem;
  font-weight: 900;
  color: var(--t3);
  line-height: 1;
  flex-shrink: 0;
  width: 54px;
  transition: color 0.3s var(--ease);
}
.step:hover .step-n { color: var(--cyan); }
.step:nth-child(2):hover .step-n { color: var(--neon); text-shadow: 0 0 16px rgba(255, 45, 120, 0.5); }
.step:nth-child(3):hover .step-n { color: var(--lime); text-shadow: 0 0 16px rgba(0, 255, 136, 0.5); }
.step-title {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.step-desc { font-size: 0.86rem; line-height: 1.82; color: var(--t2); }

/* ============================================================
   CTA — "WANT THE SAME RESULTS?" (screen.png)
   ============================================================ */
.cta-section {
  background: var(--bg-s);
  border-top: 1px solid var(--border);
  padding: 160px 5vw;
  display: flex;
  align-items: center;
  min-height: 100vh;
}
.cta-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.cta-heading {
  font-family: var(--font-d);
  font-size: clamp(4rem, 8vw, 10rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.cta-accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--neon) 60%, var(--lime) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.cta-sub {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--t2);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Double-Bezel CTA button — START YOUR BUILD */
.cta-actions .btn-primary {
  padding: 18px 40px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.2);
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}
.cinfo { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--t2); }
.cinfo svg { color: var(--cyan); flex-shrink: 0; }
.cinfo a { text-decoration: none; color: var(--t2); transition: color 0.25s var(--ease); }
.cinfo a:hover { color: var(--t1); }

.cta-offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(224, 117, 24, 0.3) 0%, rgba(255, 140, 40, 0.15) 100%);
  border: 2px solid #e07518;
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffb347;
  box-shadow: 0 0 32px rgba(224, 117, 24, 0.5), 0 0 80px rgba(224, 117, 24, 0.15);
  animation: offer-pulse 2.5s ease-in-out infinite;
}
@keyframes offer-pulse {
  0%, 100% { box-shadow: 0 0 32px rgba(224, 117, 24, 0.5), 0 0 80px rgba(224, 117, 24, 0.15); }
  50%       { box-shadow: 0 0 48px rgba(224, 117, 24, 0.8), 0 0 100px rgba(224, 117, 24, 0.3); }
}


/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
  padding: 120px 5vw;
  background: var(--bg-s);
  border-top: 1px solid var(--border);
}
.reviews-header {
  max-width: 1400px;
  margin: 0 auto 80px;
}
.reviews-header .section-heading {
  margin-bottom: 32px;
}
.reviews-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rbadge-stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
}
.rbadge-score {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--t1);
}
.rbadge-count {
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--t2);
  text-transform: uppercase;
}
.rbadge-link {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--cyan-border);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.rbadge-link:hover { color: var(--cyan-hi); border-color: var(--cyan); }

.reviews-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.review-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-border), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.review-card:hover { border-color: var(--cyan-border); transform: translateY(-3px); }
.review-card:hover::before { opacity: 1; }

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-stars { display: flex; gap: 3px; color: #f5a623; }
.review-tag {
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  padding: 4px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}
.review-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--t2);
  flex: 1;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: auto;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyan);
  flex-shrink: 0;
}
.review-name {
  display: block;
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t1);
}
.review-date {
  display: block;
  font-family: var(--font-m);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--t3);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 44px 5vw;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 5px; }
.footer-logo { font-family: var(--font-d); font-size: 0.95rem; font-weight: 900; letter-spacing: 0.28em; color: var(--t1); display: flex; align-items: center; gap: 10px; }
.footer-logo-img { width: 80px; height: auto; border-radius: 0; mix-blend-mode: screen; }
.footer-tagline { font-family: var(--font-m); font-size: 0.56rem; letter-spacing: 0.22em; color: var(--t2); text-transform: uppercase; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--t2);
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-size: 0.68rem; color: var(--t3); }

/* DAS Power partner block */
.footer-das {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer-das-label {
  font-family: var(--font-m);
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  color: var(--t3);
  text-transform: uppercase;
}
.footer-das-logo {
  height: 28px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-das-logo:hover { opacity: 1; }

/* ============================================================
   CONTACT SECTION + FORM
   ============================================================ */
/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  padding: 40px;
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--cyan), var(--neon), var(--lime));
  opacity: 0.7;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-label {
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--t2);
  text-transform: uppercase;
}
.cf-req { color: var(--neon); }

.cf-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-hi);
  color: #0a0a0a;
  font-family: var(--font-b);
  font-size: 0.88rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cf-input::placeholder { color: #888; }
.cf-input:focus {
  border-color: var(--cyan);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0,212,255,0.35), 0 0 24px rgba(0,212,255,0.1);
}
.cf-input.error {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px rgba(255,45,120,0.5);
}
.cf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #ffffff;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
}
.cf-select option { background: #fff; color: #0a0a0a; }
.cf-textarea { min-height: 130px; resize: vertical; line-height: 1.7; }

.cf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cf-note {
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--t3);
  text-transform: uppercase;
}
.cf-submit { min-width: 200px; }
.cf-success {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--lime);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0,255,136,0.5);
  min-height: 1em;
}

@media (max-width: 900px) {
  .contact-section-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .contact-section { padding: 80px 6vw; }
  .contact-form { padding: 28px 20px; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-footer { flex-direction: column; align-items: stretch; }
  .cf-submit { width: 100%; }
}

/* ============================================================
   GALLERY — Atelier scroll horizontal
   ============================================================ */
.gallery-section {
  background: var(--bg);
  padding-top: 100px;
  padding-bottom: 80px;
}
.gallery-header {
  padding-bottom: 48px;
  padding-left: 5vw;
  padding-right: 5vw;
}
.gallery-heading { max-width: 600px; }
.gallery-sub { max-width: 480px; margin-top: 16px; }

.gallery-scroll-wrap {
  position: relative;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(8,8,8,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--t1);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
}
.gallery-arrow:hover {
  background: var(--alpine);
  border-color: var(--alpine-hi);
  transform: translateY(-50%) scale(1.08);
}
.gallery-arrow-left  { left: 16px; }
.gallery-arrow-right { right: 16px; }

.gallery-scroll-track {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding-bottom: 4px;
}
.gallery-scroll-track::-webkit-scrollbar { display: none; }
.gallery-scroll-track.dragging { cursor: grabbing; }

.gallery-slide {
  flex: 0 0 320px;
  height: 420px;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  transition: filter 0.4s ease;
  filter: saturate(0.92);
}
.gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.18);
  transition: background 0.3s ease;
}
.gallery-slide:hover {
  filter: saturate(1.3) brightness(1.06);
}
.gallery-slide:hover::after { background: rgba(8,8,8,0); }

.gallery-hint {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--t3);
  text-transform: uppercase;
}
.chart-card-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  opacity: 0.5;
  text-transform: uppercase;
}
.chart-card-title {
  font-family: var(--font-condensed);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.chart-card img {
  width: 100%;
  display: block;
}

/* ============================================================
   THUMBNAIL STRIP
   ============================================================ */
.thumbstrip {
  display: flex;
  gap: 3px;
  margin-bottom: 3px;
}
.thumbstrip-offset {
  margin-left: 80px;
  margin-right: -80px;
}

.thumb {
  flex: 1 1 0;
  height: 140px;
  background-size: cover;
  background-position: center 65%;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  transition: flex 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  filter: saturate(0.9);
}
.thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.22);
  transition: background 0.35s ease;
}
.thumb:hover {
  flex: 2.5 1 0;
  filter: saturate(1.3) brightness(1.05);
}
.thumb:hover::after { background: rgba(8,8,8,0); }

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease-out);
}
.modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--cyan), var(--neon), var(--lime));
}
.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--t2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.modal-close:hover { border-color: var(--neon); color: var(--neon); background: var(--neon-dim); }

.modal-head { margin-bottom: 32px; }
.modal-tag {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.modal-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.modal-sub {
  font-size: 0.82rem;
  color: var(--t2);
  line-height: 1.7;
}

/* Reuse .contact-form styles but scoped inside modal */
.modal-box .contact-form {
  background: transparent;
  border: none;
  padding: 0;
}
.modal-box .contact-form::before { display: none; }

@media (max-width: 768px) {
  .modal-box { padding: 32px 20px; }
  .modal-box .cf-row { grid-template-columns: 1fr; }
  .modal-box .cf-footer { flex-direction: column; align-items: stretch; }
  .modal-box .cf-submit { width: 100%; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.95);
  cursor: zoom-out;
}
.lightbox-inner {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-caption {
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 3;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { border-color: var(--cyan); color: var(--cyan); }

.build-img[data-photo] { cursor: zoom-in; }

/* ============================================================
   MOBILE — mandatory single-column collapse
   ============================================================ */
@media (max-width: 768px) {
  .site-header { padding: 18px 6vw; }
  .site-header.sticky { padding: 12px 6vw; }
  .nav-links { display: none; }
  .nav-cta  { display: none; }         /* CTA desktop caché sur mobile */
  .nav-burger { display: flex; }       /* Burger visible sur mobile */
  .nav-mobile-overlay { display: block; } /* Overlay activé sur mobile */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border); }
  .process-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-section { padding: 100px 6vw; min-height: auto; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 360px; }
  .marquee-text { font-size: clamp(1.8rem, 11vw, 3.5rem); }
  .reviews-section { padding: 80px 6vw; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .review-card { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-direction: column; gap: 14px; }
  .gallery-charts { grid-template-columns: 1fr; }
  .chart-card { padding: 28px 24px 32px; }
  .gallery-header { padding-bottom: 40px; }
}

/* ============================================================
   FAB MOBILE — MÉCANIQUE
   Visible uniquement sur mobile (≤768px)
   ============================================================ */
.fab-meca {
  display: none; /* masqué sur desktop */
  position: fixed;
  bottom: 28px;
  right: 16px;
  z-index: 9999;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00d4ff, #0090b8);
  color: #000;
  text-decoration: none;
  padding: 11px 16px 11px 13px;
  border-radius: 30px;
  box-shadow: 0 6px 24px rgba(0,212,255,0.45), 0 2px 8px rgba(0,0,0,0.4);
  font-family: var(--font-m);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* scroll-aware : invisible par défaut, révélé par JS après les services */
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s ease;
}
.fab-meca.fab--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: fab-bounce 2.8s ease-in-out infinite;
}
.fab-meca:hover, .fab-meca:active {
  box-shadow: 0 8px 32px rgba(0,212,255,0.6);
}
.fab-meca-icon {
  font-size: 1.1rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.3));
}
.fab-meca-label { line-height: 1; }

@keyframes fab-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-4px) scale(1); }
}

@media (max-width: 768px) {
  .fab-meca { display: flex; }
}

/* ============================================================
   SHOWREEL — phone frame section
   ============================================================ */
.showreel-section {
  background: var(--bg);
  padding: 100px 5vw;
  position: relative;
  overflow: hidden;
}
.showreel-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,45,120,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.showreel-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.showreel-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.showreel-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--t2);
  max-width: 440px;
  margin-bottom: 36px;
}
.showreel-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.sr-stat { display: flex; flex-direction: column; gap: 4px; }
.sr-stat-val {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}
.sr-stat-lbl {
  font-size: 0.7rem;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---- Phone frame ---- */
.phone-frame {
  position: relative;
  flex-shrink: 0;
}
.phone-body {
  width: 260px;
  background: #111;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.phone-speaker {
  width: 56px;
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  flex-shrink: 0;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-home-bar {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Glow sous le téléphone */
.phone-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(255,45,120,0.35) 0%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .showreel-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    justify-items: center;
    text-align: center;
  }
  .showreel-desc { max-width: 100%; }
  .showreel-stats { justify-content: center; }
  .showreel-text .split-cta { align-self: stretch; text-align: center; display: block; }
  .phone-body { width: 220px; }
}

/* ── Bouton musique ─────────────────────────────────────── */
.music-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px 8px 12px;
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.30);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.72rem;
  font-family: var(--font-main, 'Space Grotesk', sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}
.music-ctrl:hover {
  border-color: rgba(0, 212, 255, 0.70);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.25);
}
.music-ctrl.is-playing {
  border-color: rgba(0, 212, 255, 0.60);
  color: var(--neon, #00d4ff);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.30);
}
.music-ctrl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.music-ctrl-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Animation note de musique qui rebondit */
@keyframes note-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-3px) scale(1.15); }
}
.music-ctrl:not(.is-playing) .icon-note {
  animation: note-pulse 1.4s ease-in-out infinite;
}

/* Barre de son animée quand lecture active */
@keyframes sound-bar {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1.0); }
}
.music-ctrl.is-playing .icon-pause {
  display: flex !important;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
}
/* On réutilise les barres SVG mais on les anime */
.music-ctrl.is-playing .icon-pause rect:nth-child(1) { animation: sound-bar 0.6s ease-in-out infinite; }
.music-ctrl.is-playing .icon-pause rect:nth-child(2) { animation: sound-bar 0.6s ease-in-out 0.2s infinite; }
