/* ============================================================
   EV ELECTRIQUE — V2 DESIGN SYSTEM
   Motif: Space Grotesk + Inter · Amber #FBBF24 on warm neutrals
   ============================================================ */

:root {
  /* Brand */
  --amber:        #FBBF24;
  --amber-mid:    #F59E0B;
  --amber-deep:   #D97706;
  --amber-dark:   #B45309;

  /* Neutrals */
  --ink:          #0B0F19;
  --dark:         #111827;
  --slate:        #1F2937;
  --gray:         #6B7280;
  --gray-light:   #9CA3AF;
  --light:        #F9FAFB;
  --white:        #FFFFFF;
  --border:       #E5E7EB;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container:    1200px;
  --nav-h:        5.5rem;
  --radius:       1.25rem;
  --radius-lg:    1.5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
html.ev-intro-enabled body.is-loading { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--dark); line-height: 1.15; letter-spacing: -0.03em; }
::selection { background: rgba(251, 191, 36, 0.35); }

:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   FIRST-VISIT LOADER — EV power-on
   ============================================================ */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease-smooth), visibility 0s linear 0.5s;
}
html.ev-intro-enabled .site-loader { display: grid; }
html.ev-intro-seen .site-loader { display: none; }
.site-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.loader-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(251,191,36,0.13), transparent 33%);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.55s ease, transform 0.8s var(--ease-out);
}
.loader-lockup {
  position: relative;
  z-index: 2;
  width: min(72vw, 390px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-1vh);
}
.loader-kicker {
  width: min(100%, 310px);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
  color: rgba(255,255,255,0.42);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.loader-kicker i { height: 1px; flex: 1; background: rgba(255,255,255,0.14); }
.loader-mark { width: 100%; height: clamp(190px, 32vh, 330px); overflow: visible; }
.loader-mark path, .loader-mark use { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.loader-mark-halo {
  stroke: var(--amber);
  stroke-width: 18;
  opacity: 0;
  filter: blur(14px);
}
.loader-mark-line { stroke: #707987; stroke-width: 5; opacity: 0.42; }
.loader-wordmark {
  margin-top: 0.1rem;
  color: rgba(255,255,255,0.88);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  transform: translateX(0.14em);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.loader-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.38);
  font-family: var(--font-display);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.loader-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4B5563;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.loader-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 46%, #fff 0%, rgba(251,191,36,0.92) 11%, rgba(251,191,36,0.22) 34%, transparent 68%);
  mix-blend-mode: screen;
}
.site-loader.is-tracing .loader-kicker { opacity: 1; transform: none; }
.site-loader.is-tracing .loader-wordmark { opacity: 1; }
.site-loader.is-charged .loader-ambient { opacity: 1; transform: scale(1); }
.site-loader.is-charged .loader-mark-line { stroke: var(--amber); filter: drop-shadow(0 0 8px rgba(251,191,36,0.8)); }
.site-loader.is-charged .loader-mark-halo { opacity: 0.55; }
.site-loader.is-charged .loader-status { color: rgba(251,191,36,0.78); }
.site-loader.is-charged .loader-status-dot { background: var(--amber); box-shadow: 0 0 7px var(--amber), 0 0 16px rgba(251,191,36,0.7); }
.site-loader.is-flashing .loader-flash { animation: loader-flash 0.48s var(--ease-smooth) both; }
.site-loader.is-exiting { opacity: 0; pointer-events: none; }
.site-loader.is-exiting .loader-lockup { transform: translateY(-1vh) scale(1.035); transition: transform 0.6s var(--ease-out); }
@keyframes loader-flash {
  0% { opacity: 0; transform: scale(0.68); }
  28% { opacity: 0.92; }
  100% { opacity: 0; transform: scale(1.3); }
}
@media (max-width: 480px) {
  .loader-lockup { width: min(80vw, 330px); }
  .loader-kicker { width: 88%; }
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { position: relative; padding: 4.5rem 0; overflow: hidden; }
@media (min-width: 768px)  { .section { padding: 6.25rem 0; } }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }

/* Section rails: a fine conductor line with two amber contact points.
   This gives long light pages a clearer rhythm without adding heavy boxes. */
.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: min(calc(100% - 3rem), var(--container));
  height: 7px;
  transform: translate(-50%, -3px);
  background:
    radial-gradient(circle at 0 50%, var(--amber) 0 3px, transparent 3.5px),
    radial-gradient(circle at 100% 50%, var(--amber) 0 3px, transparent 3.5px),
    linear-gradient(90deg,
      rgba(17,24,39,0.04) 0%,
      rgba(17,24,39,0.18) 16%,
      rgba(251,191,36,0.6) 50%,
      rgba(17,24,39,0.18) 84%,
      rgba(17,24,39,0.04) 100%) center / 100% 1px no-repeat;
  pointer-events: none;
}

/* Faint vertical guides frame the content on wide screens. */
@media (min-width: 900px) {
  .section > .container {
    background:
      linear-gradient(rgba(17,24,39,0.055), rgba(17,24,39,0.055)) left 2rem top / 1px 100% no-repeat,
      linear-gradient(rgba(17,24,39,0.055), rgba(17,24,39,0.055)) right 2rem top / 1px 100% no-repeat;
  }
  .section#urgence > .container {
    background:
      linear-gradient(rgba(255,255,255,0.09), rgba(255,255,255,0.09)) left 2rem top / 1px 100% no-repeat,
      linear-gradient(rgba(255,255,255,0.09), rgba(255,255,255,0.09)) right 2rem top / 1px 100% no-repeat;
  }
}

/* Dot-grid texture (signature v1 background) */
.dotted { background-color: var(--light); }
.dotted::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(17,24,39,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 55%, transparent 100%);
}
.section > .container { position: relative; z-index: 1; }

/* A short grounded rule finishes centered section introductions. */
.section .center > .section-title::after {
  content: '';
  display: block;
  width: 4rem;
  height: 2px;
  margin: 1.35rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

/* Keep the same divider language where the layout switches to full-bleed dark bands. */
.video-cta::before,
.quote-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: min(calc(100% - 3rem), var(--container));
  height: 7px;
  transform: translate(-50%, -3px);
  background:
    radial-gradient(circle at 0 50%, var(--amber) 0 3px, transparent 3.5px),
    radial-gradient(circle at 100% 50%, var(--amber) 0 3px, transparent 3.5px),
    linear-gradient(90deg, transparent, rgba(251,191,36,0.8), transparent) center / 100% 1px no-repeat;
  pointer-events: none;
}

/* Eyebrow — dash grows in on reveal */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transition: width 0.7s var(--ease-out) 0.25s;
}
.revealed .eyebrow::before, .eyebrow.on::before { width: 2.25rem; }

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.section-title .accent { color: var(--amber-deep); }

.section-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray);
  max-width: 580px;
}
@media (min-width: 768px) { .section-lead { font-size: 1.125rem; } }

.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
/* Centered eyebrows grow a dash on both sides */
.center .eyebrow::after {
  content: '';
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transition: width 0.7s var(--ease-out) 0.25s;
}
.center.revealed .eyebrow::after,
.center .revealed .eyebrow::after { width: 2.25rem; }

/* Two-column split that collapses on mobile */
.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .split-2 { grid-template-columns: 1fr 1fr; gap: 6rem; } }

/* ---------- Scroll reveal — "power on" flicker ----------
   Elements don't fade in; they stutter alive like a light
   catching current, then settle. */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}
.revealed.reveal, .revealed .reveal {
  opacity: 1;
  transform: none;
  /* backwards fill: hidden during the delay, and once the animation
     ends it stops applying so hover transforms work again */
  animation: power-on 0.85s var(--ease-out) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes power-on {
  0%   { opacity: 0;    transform: translateY(32px); }
  38%  { opacity: 1;    transform: translateY(5px); }
  46%  { opacity: 0.35; transform: translateY(4px); }
  54%  { opacity: 1;    transform: translateY(2px); }
  61%  { opacity: 0.6;  transform: translateY(2px); }
  68%  { opacity: 1;    transform: translateY(0); }
  100% { opacity: 1;    transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

/* Primary: liquid amber (signature) */
.btn-primary {
  color: #1A0F00;
  background: linear-gradient(110deg, var(--amber), var(--amber-mid), var(--amber-deep), var(--amber-mid), var(--amber));
  background-size: 280% 100%;
  animation: liquid-flow 5s ease infinite;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    0 6px 24px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    0 10px 32px rgba(245, 158, 11, 0.5);
}
@keyframes liquid-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sheen sweep on primary */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.65), transparent);
  transform: skewX(-22deg);
  animation: sheen 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%, 78% { left: -80%; opacity: 0; }
  85%     { opacity: 0.6; }
  100%    { left: 160%; opacity: 0; }
}

/* Ghost (on light) */
.btn-ghost {
  color: var(--dark);
  border-color: var(--dark);
  background: transparent;
}
.btn-ghost::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--dark);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost:hover::after { transform: scaleX(1); }

/* Glass (on dark) */
.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.2);
}

/* ---------- Glass card ---------- */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 14px 40px rgba(0,0,0,0.1);
    border-color: rgba(251, 191, 36, 0.3);
  }
}
/* Amber accent bar that draws in on reveal */
.card-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 38%; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  border-radius: 0 0 3px 3px;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.6s var(--ease-out) 0.25s;
}
.revealed .card-accent::before { transform: translateX(-50%) scaleX(1); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) { .nav-inner { padding: 0 2rem; } }

/* Scrolled / light state */
.nav.is-solid {
  background: rgba(249, 250, 251, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: rgba(17, 24, 39, 0.06);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.05);
}

.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 68px;
  width: auto;
  transition: filter 0.45s ease, opacity 0.3s ease;
}
@media (min-width: 1150px) {
  .nav-logo img { height: 82px; }
}
.nav-logo:hover img { opacity: 0.8; }

/* Over the dark (un-powered) hero, invert the black logo + links to white */
.nav.on-dark:not(.is-solid) .nav-logo img { filter: invert(1) brightness(1.6); }
.nav.on-dark:not(.is-solid) .nav-link { color: rgba(255,255,255,0.85); }
.nav.on-dark:not(.is-solid) .nav-link:hover { color: var(--amber); }
.nav.on-dark:not(.is-solid) .nav-burger span { background: var(--white); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
@media (min-width: 1150px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--slate);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber-mid), var(--amber));
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.55);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover { color: var(--amber-deep); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: none; }
@media (min-width: 1150px) {
  .nav-cta {
    display: inline-flex;
    padding: 0.78rem 1.6rem;
    font-size: 0.95rem;
  }
}

.nav-lang {
  flex: 0 0 auto;
  position: relative;
  width: 112px;
  height: 44px;
  padding: 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.055);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-lang::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  box-shadow: 0 0 16px rgba(255, 183, 3, 0.38);
  transition: transform 0.4s var(--ease-out), box-shadow 0.3s ease;
}
.nav-lang[data-current="en"]::before { transform: translateX(100%); }
.nav-lang-option {
  position: relative;
  z-index: 2;
  line-height: 1;
  color: var(--slate);
  transition: color 0.3s ease;
}
.nav-lang-option.is-active { color: var(--dark); }
.nav-lang-bolt {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark);
  color: var(--amber);
  font-size: 0.62rem;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(249, 250, 251, 0.9), 0 0 12px rgba(255, 183, 3, 0.45);
}
.nav-lang:hover {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.1);
}
.nav-lang:hover::before {
  box-shadow: 0 0 22px rgba(255, 183, 3, 0.55);
}
.nav.on-dark:not(.is-solid) .nav-lang {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}
.nav.on-dark:not(.is-solid) .nav-lang-option:not(.is-active) { color: rgba(255, 255, 255, 0.8); }
.nav.menu-open .nav-lang { background: rgba(17, 24, 39, 0.055); }
.nav.menu-open .nav-lang-option:not(.is-active) { color: var(--slate); }
.nav-lang-desktop { display: none; }
@media (min-width: 1150px) { .nav-lang-desktop { display: grid; } }

/* Burger */
.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 50px; height: 50px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}
@media (min-width: 1150px) { .nav-burger { display: none; } }
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transform-origin: center;
  transition: transform 0.4s var(--ease-out), opacity 0.25s ease, width 0.3s var(--ease-out), background 0.3s ease;
}
.nav-burger span:nth-child(2) { width: 68%; margin-left: auto; }
.nav-burger:active { transform: scale(0.94); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { width: 0; opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 999;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, #0d121a 0%, #101620 100%);
  transform: translateY(-18px) scale(0.985);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.58s var(--ease-out), opacity 0.32s ease, visibility 0s linear 0.58s;
}
.nav-mobile.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.nav-mobile-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  height: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.25rem) clamp(1.25rem, 6vw, 3rem) calc(1.25rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.nav-mobile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: clamp(0.85rem, 2vh, 1.35rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-mobile-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.68);
}
.nav-mobile-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1), 0 0 14px rgba(251, 191, 36, 0.75);
}
.nav-mobile-links {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(0.7rem, 3vh, 2rem);
}
.nav-mobile-links a {
  --item-delay: 0ms;
  position: relative;
  min-height: clamp(3.35rem, 10vh, 5.5rem);
  display: grid;
  grid-template-columns: 2.1rem 1fr auto;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.25s ease, opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: 0s;
}
.nav-mobile-links a::before {
  content: '0' counter(nav-item);
  counter-increment: nav-item;
  align-self: center;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.nav-mobile-links { counter-reset: nav-item; }
.nav-mobile-links a::after {
  content: '↗';
  color: rgba(255, 255, 255, 0.28);
  font-size: 1rem;
  font-weight: 400;
  transform: translate(-0.35rem, 0.2rem);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), color 0.25s ease;
}
.nav-mobile-links a:nth-child(1) { --item-delay: 90ms; }
.nav-mobile-links a:nth-child(2) { --item-delay: 145ms; }
.nav-mobile-links a:nth-child(3) { --item-delay: 200ms; }
.nav-mobile-links a:nth-child(4) { --item-delay: 255ms; }
.nav-mobile.is-open .nav-mobile-links a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--item-delay);
}
.nav-mobile-links a:hover,
.nav-mobile-links a:focus-visible,
.nav-mobile-links a.is-active { color: var(--amber); }
.nav-mobile-links a:hover::after,
.nav-mobile-links a:focus-visible::after,
.nav-mobile-links a.is-active::after {
  color: var(--amber);
  opacity: 1;
  transform: translate(0, 0.2rem);
}
.nav-mobile-links a.is-active::before { color: var(--amber); }
.nav-mobile-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  padding-top: clamp(1rem, 2.5vh, 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease, transform 0.48s var(--ease-out);
}
.nav-mobile.is-open .nav-mobile-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 280ms;
}
.nav-mobile-phone {
  display: flex;
  flex-direction: column;
  color: var(--white);
  text-decoration: none;
}
.nav-mobile-phone span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-mobile-phone strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  letter-spacing: -0.02em;
}
.nav-mobile .btn {
  min-height: 48px;
  margin: 0;
  padding-inline: 1.15rem;
  justify-content: center;
  white-space: nowrap;
}
.nav-mobile .nav-lang-mobile {
  width: 104px;
  height: 42px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}
.nav-mobile .nav-lang-option:not(.is-active) { color: rgba(255, 255, 255, 0.68); }
.nav-mobile .nav-lang-bolt { box-shadow: 0 0 0 2px #0d1119, 0 0 12px rgba(255, 183, 3, 0.45); }
@media (max-width: 600px) {
  .nav-mobile-footer { grid-template-columns: 1fr auto; }
  .nav-mobile-footer .btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-height: 620px) and (max-width: 1149px) {
  .nav-mobile-inner { padding-top: 0.8rem; }
  .nav-mobile-meta { padding-bottom: 0.6rem; }
  .nav-mobile-links { padding-block: 0.35rem; }
  .nav-mobile-links a { min-height: 2.85rem; font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .nav-mobile-footer { padding-top: 0.65rem; }
}
@media (min-width: 1150px) { .nav-mobile { display: none; } }

/* When the mobile menu is open the bar must be solid regardless of hero state */
.nav.menu-open {
  background: rgba(249, 250, 251, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(17, 24, 39, 0.08);
}
.nav.menu-open.on-dark .nav-logo img { filter: none; }
.nav.menu-open .nav-burger span { background: var(--dark) !important; }
.nav.menu-open .nav-burger { background: rgba(17, 24, 39, 0.055); border-color: rgba(17, 24, 39, 0.16); }
body.menu-open .urgence-bar { transform: translateY(140%) !important; }

/* ============================================================
   HERO — "power on" (optimized rebuild of the v1 concept)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 4.5rem;
  background: var(--ink);
  overflow: hidden;
  transition: background 0.9s var(--ease-smooth);
}
@media (min-width: 768px) { .hero { gap: 2rem; padding-bottom: 5rem; } }

.hero.powered { background: linear-gradient(160deg, #F3F4F6 0%, #FFFFFF 60%, #FEF8EC 100%); }

/* Noise grain */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* Ambient glow behind the bolt */
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(251,191,36,0.16) 0%, rgba(251,191,36,0.04) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 1s var(--ease-smooth);
  pointer-events: none;
}
.hero.powered .hero-glow { opacity: 1; }

/* Vignette on the dark stage */
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.45) 100%);
  opacity: 0.65;
  transition: opacity 0.9s ease;
  pointer-events: none;
  z-index: 2;
}
.hero.powered .hero-vignette { opacity: 0; }

/* Bolt SVG stage */
.hero-stage {
  position: relative;
  z-index: 3;
  width: min(90vw, 640px);
  height: clamp(200px, 38vh, 440px);
  flex-shrink: 0;
  pointer-events: none;
}
.hero-stage svg { width: 100%; height: 100%; }

.bolt-halo, .bolt-main, .bolt-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bolt-halo {
  stroke: #4B5563;
  stroke-width: 4;
  opacity: 0;
  filter: blur(8px);
  transition: stroke 0.9s ease, stroke-width 0.9s ease, opacity 0.7s ease, filter 0.9s ease;
}
.bolt-main {
  stroke: #6B7280;
  stroke-width: 4;
  opacity: 0;
  transition: stroke 0.9s ease, stroke-width 0.9s ease, opacity 0.7s ease, filter 0.9s ease;
}
.hero.tracing .bolt-halo { opacity: 0.4; }
.hero.tracing .bolt-main { opacity: 1; }
.hero.powered .bolt-halo {
  stroke: var(--amber);
  stroke-width: 14;
  opacity: 0.5;
  filter: blur(12px);
  /* opacity-only breathe: never animate filters on this huge path */
  animation: halo-breathe 4.5s ease-in-out 1.2s infinite;
}
.hero.powered .bolt-main {
  stroke: var(--amber-mid);
  stroke-width: 7;
  opacity: 1;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.68; }
}

/* Draw-in (dash values set by JS from getTotalLength) */
.bolt-draw {
  transition: stroke-dashoffset 1.3s var(--ease-smooth);
}

/* Energy pulse that laps the path, accelerating via CSS steps */
.bolt-pulse {
  stroke: var(--amber);
  stroke-width: 5;
  opacity: 0;
  filter: drop-shadow(0 0 10px var(--amber)) drop-shadow(0 0 24px rgba(251,191,36,0.5));
}
@keyframes pulse-lap {
  from { stroke-dashoffset: var(--lap-from); }
  to   { stroke-dashoffset: var(--lap-to); }
}
.hero.charging .bolt-pulse {
  opacity: 1;
  animation: pulse-lap var(--lap-dur, 1s) linear infinite;
}
.hero.powered .bolt-pulse { display: none; }

/* Lightning flash */
.hero-flash {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(251,191,36,0.85), rgba(255,215,0,0.5) 30%, transparent 70%);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 4;
}
.hero-flash.go { animation: flash 0.7s var(--ease-smooth); }
@keyframes flash {
  0%, 100% { opacity: 0; }
  20% { opacity: 0.35; }
  35% { opacity: 0; }
  55% { opacity: 0.75; }
  70% { opacity: 0; }
  85% { opacity: 0.95; }
}

/* Spark particles */
.hero-spark {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber), 0 0 16px var(--amber);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.hero-spark.fly { animation: spark-fly 1.6s ease-out forwards; }
@keyframes spark-fly {
  0%   { opacity: 0; transform: translate(0,0) scale(0); }
  12%  { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.4); }
}

/* Hero copy */
.hero-copy {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 820px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.hero-copy.in { opacity: 1; transform: translateY(0); }

.hero-title {
  font-size: clamp(2.25rem, 6.8vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  transition: color 0.9s ease;
  margin-bottom: 0.9rem;
}
/* Each line powers up on its own beat */
.hero-title .hero-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.hero-copy.in .hero-line { opacity: 1; transform: translateY(0); }
.hero-copy.in .hero-line:nth-of-type(2) { transition-delay: 0.16s; }
.hero.powered .hero-title { color: var(--dark); text-shadow: 0 4px 30px rgba(251, 191, 36, 0.15); }

.hero-sub {
  font-size: clamp(0.975rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 2rem;
  transition: color 0.9s ease;
}
.hero.powered .hero-sub { color: var(--gray); }

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.9rem;
  max-width: 300px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-smooth) 0.12s, transform 0.8s var(--ease-smooth) 0.12s;
}
.hero-ctas.in { opacity: 1; transform: translateY(0); }
@media (min-width: 520px) {
  .hero-ctas { flex-direction: row; align-items: center; max-width: none; }
}

/* Phone button adapts to power state */
.hero .btn-phone {
  color: var(--amber);
  background: rgba(255,255,255,0.07);
  border-color: rgba(251,191,36,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero .btn-phone:hover { border-color: var(--amber); background: rgba(251,191,36,0.15); transform: translateY(-2px); }
.hero.powered .btn-phone {
  color: var(--dark);
  background: rgba(255,255,255,0.5);
  border-color: rgba(217,119,6,0.5);
}
.hero.powered .btn-phone:hover { background: rgba(255,255,255,0.75); }

/* Skip control */
.hero-skip {
  position: absolute;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 6;
  padding: 0.65rem 1.3rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.4s ease, background 0.3s ease, transform 0.3s ease;
}
.hero-skip:hover { background: rgba(251,191,36,0.18); transform: translateY(-2px); }
.hero-skip.gone { opacity: 0; pointer-events: none; }

/* Scroll cue */
.hero-cue {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
  pointer-events: none;
}
.hero.powered .hero-cue { opacity: 1; }
.hero-cue span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-light);
}
.hero-cue i {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: cue-pulse 2s ease-in-out infinite;
}
@keyframes cue-pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.55); opacity: 0.5; }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 1.5rem 5rem;
  background: linear-gradient(160deg, #F3F4F6 0%, #FFFFFF 60%, #FEF8EC 100%);
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) { .page-hero { padding: calc(var(--nav-h) + 7rem) 2rem 6.5rem; } }

.page-hero .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}
.orb-1 { width: 480px; height: 480px; top: -18%; right: -8%;  background: radial-gradient(circle, rgba(251,191,36,0.22) 0%, transparent 70%); animation: orb-float 20s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; bottom: -14%; left: -8%; background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);  animation: orb-float 24s ease-in-out infinite reverse; }
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(28px, -36px) scale(1.05); }
  66%      { transform: translate(-20px, 26px) scale(0.96); }
}

.page-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(2.3rem, 7vw, 4.25rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.page-hero h1 .accent { color: var(--amber-deep); }
.page-hero p {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto;
}
/* load-in stagger */
.page-hero .eyebrow, .page-hero h1, .page-hero p, .page-hero .page-hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.9s var(--ease-out) forwards;
}
.page-hero .eyebrow { animation-delay: 0.1s; }
.page-hero h1       { animation-delay: 0.22s; }
.page-hero p        { animation-delay: 0.36s; }
.page-hero .page-hero-actions { animation-delay: 0.5s; }
.page-hero .eyebrow::before { width: 2.25rem; transition-delay: 0.7s; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) { .stats-grid { gap: 1.5rem; } }
@media (min-width: 900px) { .stats-grid.four-up { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  padding: 1.9rem 1.25rem;
  text-align: center;
}
@media (min-width: 640px) { .stat-card { padding: 2.25rem 1.5rem; } }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.55rem;
  font-variant-numeric: tabular-nums;
}
.stat-number .suffix { color: var(--amber); }
.stat-number span:not([data-count]):only-child { font-size: 0.68em; }
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Decorative rings */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 191, 36, 0.18);
  pointer-events: none;
}
.deco-ring.r1 { width: 280px; height: 280px; top: -44px; right: -56px; animation: ring-float 8s ease-in-out infinite; }
.deco-ring.r2 { width: 170px; height: 170px; bottom: -32px; left: -36px; animation: ring-float 6s ease-in-out infinite reverse; }
@keyframes ring-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
}
.service-icon {
  width: 3.25rem; height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, background 0.4s ease;
}
.service-icon svg { width: 1.5rem; height: 1.5rem; color: var(--amber-deep); transition: color 0.4s ease, transform 0.4s var(--ease-out); }
@media (hover: hover) {
  .service-card:hover .service-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-mid) 100%);
    box-shadow: 0 0 0 5px rgba(251,191,36,0.14);
  }
  .service-card:hover .service-icon svg { color: var(--dark); }
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray);
  flex-grow: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}
.service-tags li {
  font-size: 0.675rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  color: var(--amber-dark);
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber-deep);
  margin-top: 0.35rem;
}
.service-more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.service-card:hover .service-more svg { transform: translateX(4px); }

/* Dark emergency card */
.service-card.is-dark {
  background: rgba(17, 24, 39, 0.96);
  border-color: rgba(51, 65, 85, 0.6);
}
.service-card.is-dark h3 { color: var(--white); }
.service-card.is-dark p { color: #94A3B8; }
.service-card.is-dark .service-icon { background: linear-gradient(135deg, #451A03 0%, #78350F 100%); }
.service-card.is-dark .service-icon svg { color: var(--amber); }
.service-card.is-dark .service-tags li {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
  color: var(--amber);
}
.badge-247 {
  position: absolute;
  top: 1.6rem; right: 1.6rem;
  background: var(--amber);
  color: var(--dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.775rem;
  padding: 0.22rem 0.65rem;
  border-radius: 0.45rem;
  box-shadow: 0 0 14px rgba(251,191,36,0.4);
}
.service-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  background: var(--amber);
  color: var(--dark);
  border-radius: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.925rem;
  text-decoration: none;
  margin-top: 0.35rem;
  box-shadow: 0 4px 14px rgba(251,191,36,0.3);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.service-call:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(251,191,36,0.4); }
.service-call svg { width: 16px; height: 16px; }

/* ============================================================
   MAP / SERVICE AREA
   ============================================================ */
.map-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .map-wrap { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; }
}

.map-canvas { position: relative; width: 100%; }
.map-canvas svg { width: 100%; height: auto; overflow: visible; }

.isle-halo, .isle-main, .isle-pulse {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.isle-halo {
  stroke: rgba(0,0,0,0.06);
  stroke-width: 12;
  transition: stroke 1s ease, filter 1s ease;
}
.isle-main {
  stroke: #D1D5DB;
  stroke-width: 3.5;
  transition: stroke 0.9s ease, stroke-width 0.9s ease, filter 0.9s ease;
}
.isle-pulse {
  stroke: var(--amber);
  stroke-width: 4.5;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(251,191,36,0.45));
}
.map-on .isle-halo { stroke: rgba(251,191,36,0.16); filter: blur(6px); }
.map-on .isle-main { stroke: var(--amber); stroke-width: 5; filter: drop-shadow(0 0 6px rgba(251,191,36,0.35)); }
.map-on .isle-pulse { opacity: 0.5; animation: pulse-lap 7s linear infinite; }

.isle-draw { transition: stroke-dashoffset 1.8s var(--ease-smooth); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .areas-grid { gap: 1.25rem; } }

.area-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem 1.3rem;
  border-radius: 1rem;
}
.area-dot {
  width: 10px; height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(251,191,36,0.12), 0 0 12px rgba(251,191,36,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (hover: hover) {
  .area-card:hover .area-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(251,191,36,0.14), 0 0 16px rgba(251,191,36,0.45);
  }
}
.area-name {
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  margin-top: 1.75rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}
.badge-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.35); }
}

/* ============================================================
   VIDEO CTA
   ============================================================ */
.video-cta {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0A0908;
  overflow: hidden;
  padding: 6rem 1.5rem;
}
@media (min-width: 768px) { .video-cta { min-height: 82vh; padding: 7rem 2rem; } }

.video-cta video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.video-cta video.in { opacity: 1; }

.video-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,9,8,0.85) 0%,
    rgba(10,9,8,0.45) 40%,
    rgba(10,9,8,0.55) 60%,
    rgba(10,9,8,0.92) 100%);
}

.video-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.video-inner .eyebrow { color: var(--amber); text-shadow: 0 0 20px rgba(251,191,36,0.4); justify-content: center; }
.video-inner h2 {
  font-size: clamp(1.9rem, 6.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 1.15rem;
}
.video-inner p {
  font-size: clamp(0.925rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: #E5E7EB;
  max-width: 600px;
  margin: 0 auto;
}
.video-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .video-actions { flex-direction: row; margin-top: 3.75rem; } }

/* ============================================================
   DARK QUOTE BAND
   ============================================================ */
.quote-band {
  position: relative;
  background: var(--ink);
  padding: 6.5rem 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .quote-band { padding: 8.5rem 2rem; } }
.quote-band .bg-word {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 34vw, 26rem);
  font-weight: 800;
  color: rgba(255,255,255,0.045);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.quote-band .glow {
  position: absolute;
  width: 620px; height: 620px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(251,191,36,0.14) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 2rem;
}
.quote-inner blockquote .accent { color: var(--amber); }
.quote-sig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.quote-sig i { width: 40px; height: 2px; background: var(--amber); }
.quote-sig span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--white);
  padding: 4.25rem 1.5rem 2.5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .footer { padding: 5rem 3rem 3rem; } }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, #FCD34D 40%, var(--amber) 100%);
}
.footer::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(251,191,36,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,191,36,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}
@media (min-width: 820px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand img { width: 110px; height: auto; }
.footer-tagline {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
}
.rbq {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: var(--light);
  border: 1px solid #F3F4F6;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  align-self: flex-start;
}
.rbq svg { width: 14px; height: 14px; color: var(--amber-deep); flex-shrink: 0; }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--amber-deep);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }
.footer-col a, .footer-col .footer-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  color: var(--slate);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--amber-deep); }
.footer-icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.08);
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-icon svg { width: 15px; height: 15px; color: var(--amber-deep); transition: color 0.25s ease; }
.footer-col a:hover .footer-icon { background: var(--amber); border-color: var(--amber); }
.footer-col a:hover .footer-icon svg { color: var(--white); }

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* ============================================================
   FORMS (contact)
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 0.8rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(251,191,36,0.15);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  text-decoration: none;
}
.contact-card .footer-icon { width: 44px; height: 44px; border-radius: 12px; }
.contact-card .footer-icon svg { width: 19px; height: 19px; }
.contact-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.025rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.contact-card small { font-size: 0.825rem; color: var(--gray); }
.contact-card:hover .footer-icon { background: var(--amber); border-color: var(--amber); }
.contact-card:hover .footer-icon svg { color: var(--white); }

/* ============================================================
   V3 — THE CIRCUIT
   One conductor spine runs down the page; sections power on
   as the current reaches them.
   ============================================================ */
.circuit { position: relative; }

/* The spine rides the left gutter on small screens, and moves onto
   the rail-dot column on wide ones — same centering math as the
   section rails, so junctions land exactly on their left dots. */
.spine {
  position: absolute;
  top: 0; bottom: 0;
  left: 0.75rem;
  width: 0;
  z-index: 6;
  pointer-events: none;
}
@media (min-width: 900px) {
  .spine { left: calc((100% - min(100% - 3rem, var(--container))) / 2); }
}

.spine-track, .spine-fill {
  position: absolute;
  top: 0; left: -1px;
  width: 2px;
  height: 100%;
}
.spine-track {
  background: linear-gradient(180deg, rgba(17,24,39,0.16), rgba(17,24,39,0.07));
}
.spine-fill {
  background: linear-gradient(180deg, var(--amber-mid), var(--amber));
  box-shadow: 0 0 10px rgba(251,191,36,0.45);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}
.spine-head {
  position: absolute;
  top: 0; left: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF7E0 0%, var(--amber) 50%, rgba(251,191,36,0) 72%);
  filter: drop-shadow(0 0 8px var(--amber));
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
.spine.live .spine-head { opacity: 1; }

/* Junction nodes — placed by JS at each section boundary */
.spine-node {
  position: absolute;
  left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
  transform: translate(-50%, -50%) scale(0.55);
  transition: background 0.3s ease, transform 0.45s var(--ease-out);
}
.spine-node.lit {
  background: var(--amber);
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 0 4px rgba(251,191,36,0.14), 0 0 14px rgba(251,191,36,0.6);
}
.spine-node.lit::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  animation: node-ping 0.8s var(--ease-out) both;
}
@keyframes node-ping {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* The hero flash sends the current down into the page */
.hero-drop {
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  width: 2px;
  margin-left: -1px;
  height: 130px;
  background: linear-gradient(180deg, rgba(251,191,36,0), var(--amber));
  box-shadow: 0 0 10px rgba(251,191,36,0.4);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--ease-smooth) 0.35s;
  z-index: 3;
}
@media (min-width: 900px) {
  .hero-drop { left: calc((100% - min(100% - 3rem, var(--container))) / 2); }
}
.hero.powered .hero-drop { transform: scaleY(1); }

/* The circuit completes at the final CTA: its rail glows */
.video-cta.energized::before {
  filter: drop-shadow(0 0 6px rgba(251,191,36,0.7));
}

/* Interior pages: the current drops out of the page-hero into the
   circuit as part of the load-in sequence. */
.page-drop {
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  width: 2px;
  margin-left: -1px;
  height: 90px;
  background: linear-gradient(180deg, rgba(251,191,36,0), var(--amber));
  box-shadow: 0 0 10px rgba(251,191,36,0.4);
  transform: scaleY(0);
  transform-origin: top;
  animation: drop-in 0.7s var(--ease-smooth) 0.85s forwards;
  z-index: 3;
}
@media (min-width: 900px) {
  .page-drop { left: calc((100% - min(100% - 3rem, var(--container))) / 2); }
}
@keyframes drop-in { to { transform: scaleY(1); } }

/* ============================================================
   V3 — BREAKER PANEL (les garanties)
   ============================================================ */
.breaker-panel { padding: 1.4rem 1.5rem 0.9rem; }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.4rem 0.85rem;
  border-bottom: 1px solid rgba(17,24,39,0.07);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gray);
}
.panel-amp { color: var(--amber-deep); }

.breaker {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px dashed rgba(17,24,39,0.07);
}
.breaker:last-child { border-bottom: none; }

.breaker-switch {
  position: relative;
  flex-shrink: 0;
  width: 30px; height: 52px;
  border-radius: 999px;
  background: rgba(17,24,39,0.08);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
  transition: background 0.35s ease calc(var(--b, 0s) + 0.45s),
              box-shadow 0.35s ease calc(var(--b, 0s) + 0.45s);
}
.breaker-switch i {
  position: absolute;
  left: 3px; top: 25px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFFFFF, #E5E7EB);
  box-shadow: 0 2px 5px rgba(0,0,0,0.22);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--b, 0s) + 0.45s),
              background 0.3s ease calc(var(--b, 0s) + 0.45s);
}
.energized .breaker-switch {
  background: rgba(251,191,36,0.28);
  box-shadow: inset 0 1px 3px rgba(180,83,9,0.25), 0 0 12px rgba(251,191,36,0.28);
}
.energized .breaker-switch i {
  transform: translateY(-22px);
  background: linear-gradient(180deg, #FFE9A8, var(--amber));
}

.breaker-info { flex: 1; min-width: 0; }
.breaker-info b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.breaker-info small { font-size: 0.78rem; color: var(--gray); }

.breaker-state {
  position: relative;
  width: 2.3rem;
  height: 1em;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.breaker-state em {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  transition: opacity 0.25s ease calc(var(--b, 0s) + 0.55s);
}
.breaker-state em:first-child { color: var(--gray-light); }
.breaker-state em:last-child {
  color: var(--amber-deep);
  text-shadow: 0 0 10px rgba(251,191,36,0.5);
  opacity: 0;
}
.energized .breaker-state em:first-child { opacity: 0; }
.energized .breaker-state em:last-child { opacity: 1; }

/* ============================================================
   V3 — PROCESS CIRCUIT (comment ça marche)
   ============================================================ */
.process {
  position: relative;
  list-style: none;
  display: grid;
  gap: 2.4rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* Track + energized fill */
.process::before, .process::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.process::before { background: rgba(17,24,39,0.1); }
.process::after {
  background: linear-gradient(90deg, var(--amber-mid), var(--amber));
  box-shadow: 0 0 10px rgba(251,191,36,0.45);
  transition: transform 1.5s var(--ease-smooth) 0.25s;
}
@media (min-width: 900px) {
  .process::before, .process::after { top: 27px; left: 14px; right: 14px; height: 2px; }
  .process::after { transform: scaleX(0); transform-origin: left; }
}
@media (max-width: 899px) {
  .process::before, .process::after { left: 13px; top: 6px; bottom: 6px; width: 2px; }
  .process::after { transform: scaleY(0); transform-origin: top; }
}
.energized .process::after { transform: none; }

.process-step { position: relative; padding-left: 3rem; }
@media (min-width: 900px) { .process-step { padding-left: 0; padding-top: 4.2rem; } }

.process-node {
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(17,24,39,0.15);
  transition: border-color 0.3s ease var(--pd, 0s),
              box-shadow 0.3s ease var(--pd, 0s),
              background 0.3s ease var(--pd, 0s);
}
@media (min-width: 900px) { .process-node { top: 14px; } }
.process-node::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(17,24,39,0.15);
  transition: background 0.3s ease var(--pd, 0s), box-shadow 0.3s ease var(--pd, 0s);
}
.energized .process-node {
  border-color: var(--amber);
  background: #FFFBEB;
  box-shadow: 0 0 0 5px rgba(251,191,36,0.12), 0 0 16px rgba(251,191,36,0.4);
}
.energized .process-node::before {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251,191,36,0.7);
}

.process-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.3rem 0 0.45rem;
}
.process-step p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--gray);
  max-width: 30ch;
}

/* ============================================================
   V3 — ENERGIZED HOVER (current traces the card border)
   ============================================================ */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@media (hover: hover) {
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--angle),
      transparent 0turn 0.7turn,
      rgba(251,191,36,0.4) 0.82turn,
      #FFD34D 0.9turn,
      #FFF3C4 0.94turn,
      transparent 0.98turn);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .service-card:hover::after {
    opacity: 1;
    animation: border-current 1.3s linear infinite;
  }
}
@keyframes border-current { to { --angle: 360deg; } }

/* The 24/7 card is always live — its badge hums with a rare flicker */
.service-card.is-dark .badge-247 { animation: badge-flicker 5s steps(1, end) infinite; }
@keyframes badge-flicker {
  0%, 91%, 94.5%, 97%, 100% { opacity: 1; }
  92%   { opacity: 0.5; }
  95.5% { opacity: 0.7; }
}

/* ============================================================
   V3 — GRID COMES ONLINE (map area dots ping in sequence)
   ============================================================ */
.energized .area-dot {
  animation: area-ping 0.85s var(--ease-out) both;
  animation-delay: calc(var(--d, 0s) + 0.3s);
}
@keyframes area-ping {
  0%   { box-shadow: 0 0 0 0 rgba(251,191,36,0.55), 0 0 12px rgba(251,191,36,0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(251,191,36,0), 0 0 16px rgba(251,191,36,0.45); }
  100% { box-shadow: 0 0 0 4px rgba(251,191,36,0.12), 0 0 12px rgba(251,191,36,0.35); }
}

/* ============================================================
   V3 — STICKY URGENCE BAR (mobile)
   ============================================================ */
.urgence-bar {
  position: fixed;
  left: 0.9rem; right: 0.9rem;
  bottom: calc(0.9rem + env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1.15rem;
  background: rgba(17,24,39,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251,191,36,0.32);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateY(150%);
  transition: transform 0.5s var(--ease-out);
}
.urgence-bar.show { transform: translateY(0); }
@media (min-width: 768px) { .urgence-bar { display: none; } }

.urgence-txt {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}
.urgence-txt i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: badge-pulse 2s ease-in-out infinite;
}
.urgence-call {
  padding: 0.55rem 1.25rem;
  background: var(--amber);
  color: var(--dark);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(251,191,36,0.35);
}

/* ============================================================
   V3 — MAGNETIC CTAs
   ============================================================ */
.btn.magnetic, .btn.magnetic:hover {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .site-loader { display: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-delay: 0ms !important;
  }
  .reveal, .hero-copy, .hero-ctas, .hero-line { opacity: 1 !important; transform: none !important; }
  .spine, .hero-drop, .page-drop { display: none !important; }
}

/* ============================================================
   MOBILE FIT & TOUCH POLISH
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --nav-h: 4.5rem;
    --radius: 1rem;
    --radius-lg: 1.15rem;
  }

  .container { padding-inline: 1.1rem; }
  .section { padding-block: 3.75rem; }
  .section::after { width: calc(100% - 2.2rem); }

  .section-title {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    overflow-wrap: break-word;
  }
  .section-lead { font-size: 1rem; line-height: 1.65; }
  .center .section-lead { margin-inline: auto; }

  .nav-inner { padding-inline: 1rem; gap: 0.75rem; }
  .nav-logo img { height: 56px; }
  .nav-burger { width: 48px; height: 48px; padding: 10px; }
  .nav-mobile {
    max-height: calc(100dvh - var(--nav-h));
    overscroll-behavior: contain;
  }
  .nav-mobile-inner { overflow-y: auto; overscroll-behavior: contain; }
  .nav-mobile .btn { min-height: 48px; }

  .hero {
    justify-content: flex-start;
    gap: 0.75rem;
    padding: calc(var(--nav-h) + 0.75rem) 1.1rem 4.25rem;
  }
  .hero-stage {
    width: min(82vw, 430px);
    height: clamp(150px, 29svh, 280px);
  }
  .hero-copy { width: 100%; }
  .hero-title {
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1.06;
    margin-bottom: 0.75rem;
  }
  .hero-sub { margin-bottom: 1.35rem; line-height: 1.55; }
  .hero-ctas { width: 100%; max-width: 340px; }
  .hero-ctas .btn { width: 100%; min-height: 50px; justify-content: center; }
  .hero-skip { right: 1rem; bottom: 1rem; min-height: 44px; }
  .hero-cue { display: none; }

  .page-hero { padding: calc(var(--nav-h) + 3.25rem) 1.1rem 3.75rem; }
  .page-hero h1 { font-size: clamp(2.1rem, 11vw, 3rem); margin-bottom: 1rem; }
  .page-hero p { line-height: 1.6; }
  .page-hero-actions { flex-direction: column; align-items: stretch; margin-top: 1.75rem; }
  .page-hero-actions .btn { width: 100%; min-height: 50px; justify-content: center; }
  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 240px; height: 240px; }

  .split-2 { gap: 2.5rem; }
  .card { border-radius: var(--radius); }
  .service-card, body .value-card { padding: 1.5rem; }
  body .truck-card { min-height: 240px; padding: 1.5rem; }
  body .svc-visual { min-height: 240px; }
  body .form-card { padding: 1.5rem 1.1rem; }
  body .urgent-strip { padding: 1.15rem; }
  body .urgent-strip .btn { width: 100%; justify-content: center; }
  .breaker-panel { padding: 1.1rem 1rem 0.65rem; }
  .breaker { gap: 0.75rem; padding: 0.85rem 0.15rem; }
  .breaker-state { display: none; }
  .breaker-info b { font-size: 0.925rem; }

  .stats-grid { gap: 0.85rem; }
  .stat-card { padding: 1.5rem 0.75rem; }
  .stat-label { font-size: 0.72rem; letter-spacing: 0.045em; }

  .map-wrap { gap: 2rem; }
  .areas-grid { gap: 0.75rem; }
  .area-card { padding: 1rem; gap: 0.65rem; }
  .area-name { font-size: 0.9rem; }

  .video-cta { min-height: auto; padding: 5rem 1.1rem; }
  .video-actions { align-items: stretch; margin-top: 2rem; }
  .video-actions .btn { width: 100%; min-height: 50px; justify-content: center; }
  .quote-band { padding: 5rem 1.1rem; }

  .footer { padding: 3.5rem 1.1rem calc(7rem + env(safe-area-inset-bottom)); }
  .footer-inner { gap: 2.25rem; }
  .footer-bottom { flex-direction: column; margin-top: 2.25rem; }
  .footer-col a, .footer-col .footer-item { min-height: 44px; }

  .field input, .field select, .field textarea {
    min-height: 50px;
    font-size: 1rem;
  }
  .field textarea { min-height: 130px; }
  .contact-card { padding: 1.15rem; gap: 0.85rem; }
  .contact-card b, .contact-card small { overflow-wrap: anywhere; }

  .urgence-bar { gap: 0.6rem; left: 0.65rem; right: 0.65rem; }
  .urgence-call { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 420px) {
  .stats-grid, .areas-grid { grid-template-columns: 1fr; }
  .hero { padding-inline: 0.9rem; }
  .hero-stage { width: min(72vw, 290px); height: clamp(135px, 24svh, 205px); }
  .hero-title { font-size: clamp(1.85rem, 10vw, 2.45rem); }
  .hero-sub { font-size: 0.94rem; }
  .service-tags li { font-size: 0.64rem; }
  .urgence-txt { font-size: 0.78rem; }
  .urgence-call { padding-inline: 1rem; font-size: 0.82rem; }
}

@media (max-height: 680px) and (max-width: 767px) {
  .hero { min-height: 680px; }
  .hero-stage { height: 150px; }
  .hero-skip { bottom: 0.75rem; }
}

@media (hover: none) and (pointer: coarse) {
  .btn, .nav-link, .service-card, .contact-card { -webkit-tap-highlight-color: transparent; }
  .btn:active, .service-card:active, .contact-card:active { transform: scale(0.985); }
}
