/* ============================================================
   ACG NET SPE — Site
   ============================================================ */

:root {
  --bg-0: #04060c;
  --bg-1: #0a1224;
  --bg-2: #0f1c34;
  --bg-light: #f4f5f7;
  --bg-light-2: #e9ebf0;
  --ink: #f6f7fb;
  --ink-dim: #a8b0c0;
  --ink-muted: #6b7385;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --yellow: #ffd60a;
  --yellow-soft: #f4c20d;
  --navy: #0a2540;
  --solar: #2d6cdf;
  --glass: rgba(12, 20, 38, 0.55);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 48px;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: "Onest", "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: clip;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 214, 10, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 30%, rgba(45, 108, 223, 0.12), transparent 60%),
    var(--bg-0);
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--yellow); color: var(--navy); }

/* ============================================================
   Typography
   ============================================================ */

.serif { font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 500;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--yellow);
}

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.025em; margin: 0; text-wrap: balance; line-height: 1.04; }

h1 { font-size: clamp(48px, 8.5vw, 132px); font-weight: 400; }
h2 { font-size: clamp(36px, 5.6vw, 78px); }
h3 { font-size: clamp(24px, 2.4vw, 38px); }
h4 { font-size: clamp(18px, 1.6vw, 24px); }

p { line-height: 1.55; color: var(--ink-dim); margin: 0; text-wrap: pretty; }

.lead { font-size: clamp(18px, 1.7vw, 24px); color: var(--ink); font-weight: 400; }

/* ============================================================
   Layout helpers
   ============================================================ */

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

section { position: relative; padding: clamp(80px, 12vw, 180px) 0; }

.section-light { background: var(--bg-light); color: var(--navy); }
.section-light p { color: #475266; }
.section-light .eyebrow { color: var(--navy); }
.section-light .eyebrow::before { background: var(--navy); }

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.04em; }
.nav__brand .dot { width: 28px; height: 28px; border-radius: 8px; background: var(--yellow); display: grid; place-items: center; color: var(--navy); font-size: 13px; font-weight: 700; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-dim); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 214, 10, 0.3); }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO — 3D solar panel grid
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  perspective: 1400px;
}

.hero__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(58deg) scale(1.4);
  transform-origin: center 60%;
  opacity: 0.9;
}

.hero__grid {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 200vw;
  height: 220vh;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(22, 1fr);
  grid-template-rows: repeat(22, 1fr);
  gap: 6px;
}

.hero__cell {
  background:
    linear-gradient(135deg, #112447 0%, #1a3a73 50%, #0a1a36 100%);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(120, 160, 240, 0.18);
}
.hero__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 49%, rgba(255,255,255,0.06) 49%, rgba(255,255,255,0.06) 51%, transparent 51%),
    linear-gradient(to bottom, transparent 49%, rgba(255,255,255,0.06) 49%, rgba(255,255,255,0.06) 51%, transparent 51%);
}
.hero__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 214, 10, var(--shine, 0)) 0%, transparent 60%);
  transition: background 0.6s;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, transparent, var(--bg-0) 80%),
    linear-gradient(180deg, var(--bg-0) 0%, transparent 25%, transparent 70%, var(--bg-0) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero__title {
  max-width: 14ch;
  font-size: clamp(50px, 9vw, 140px);
  font-weight: 400;
}
.hero__title em { font-style: normal; background: linear-gradient(120deg, var(--yellow) 0%, #ffeb70 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink-dim);
}

.hero__meta {
  position: absolute;
  bottom: 48px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 3;
  gap: 40px;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.hero__chip .ping { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.18); animation: ping 2.4s infinite; }
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.18); } 50% { box-shadow: 0 0 0 10px rgba(255, 214, 10, 0.05); } }

.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-dim); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-hint .arrow { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--yellow), transparent); animation: drop 2s infinite ease-in-out; }
@keyframes drop { 0%, 100% { transform: translateY(-8px); opacity: 0.4; } 50% { transform: translateY(8px); opacity: 1; } }

/* ============================================================
   Marquee / brand strip
   ============================================================ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-0);
}
.marquee__track { display: flex; gap: 56px; white-space: nowrap; animation: scroll 40s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-size: 18px; color: var(--ink-dim); font-weight: 400; }
.marquee__item svg { width: 20px; height: 20px; opacity: 0.5; }
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); opacity: 0.6; }

/* ============================================================
   Stats
   ============================================================ */

.stats { padding: clamp(100px, 14vw, 200px) 0; position: relative; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 56px);
  margin-top: 72px;
}
.stat {
  position: relative;
  padding: clamp(28px, 3vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  overflow: hidden;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}
.stat.in { transform: translateY(0); opacity: 1; }
.stat::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0.5;
}
.stat__num { font-size: clamp(44px, 5vw, 76px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--ink); display: block; }
.stat__num .suffix { display: block; font-size: 15px; color: var(--yellow); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 14px; }
.stat__label { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-dim); font-size: 15px; }

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Section title
   ============================================================ */

.sec-head { display: flex; flex-direction: column; gap: 22px; max-width: 920px; }
.sec-head h2 .serif { color: var(--yellow); }
.sec-head__lead { max-width: 60ch; }

/* ============================================================
   Robots — sticky pinned section
   ============================================================ */

.robots-pinned {
  position: relative;
  background: linear-gradient(180deg, var(--bg-0), #06091a 50%, var(--bg-0));
}

.robots-track {
  height: 500vh;
  position: relative;
}

.robots-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  perspective: 1600px;
}

.robots-stage__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

.robot-info {
  position: relative;
}
.robot-info__index { font-size: 13px; color: var(--yellow); letter-spacing: 0.2em; font-weight: 500; }
.robot-info__name { font-size: clamp(40px, 5vw, 76px); font-weight: 400; margin-top: 20px; letter-spacing: -0.03em; line-height: 1; }
.robot-info__name .serif { color: var(--yellow); display: block; font-size: 0.55em; margin-top: 6px; }
.robot-info__desc { margin-top: 24px; font-size: clamp(15px, 1.2vw, 18px); max-width: 38ch; color: var(--ink-dim); }
.robot-info__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; max-width: 460px; }
.robot-info__spec { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); }
.robot-info__spec dt { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.robot-info__spec dd { margin: 0; font-size: clamp(20px, 1.8vw, 26px); color: var(--ink); font-weight: 500; letter-spacing: -0.02em; }
.robot-info__spec dd .unit { font-size: 0.55em; color: var(--ink-dim); margin-left: 4px; }

.robot-slot {
  position: relative;
  aspect-ratio: 4/3;
  transform-style: preserve-3d;
}
.robot-slot__frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(255, 214, 10, 0.18),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}
.robot-slot__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.robot-slot:hover .robot-slot__frame { transform: rotateY(-3deg) rotateX(1deg); }
.robot-slot:hover .robot-slot__frame img { transform: scale(1.04); }

.robot-slot__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(4,6,12,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
  z-index: 2;
  white-space: nowrap;
}
.robot-slot__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #44d96e; box-shadow: 0 0 12px #44d96e; }

.robots-progress {
  position: absolute;
  bottom: 40px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
  z-index: 5;
}
.robots-progress__pill {
  width: 38px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
}
.robots-progress__pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.2s linear;
}

/* slot transitions */
.robot-stack {
  position: relative;
  width: 100%; height: 100%;
}
.robot-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}
.robot-card.active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.robot-info-stack { position: relative; }
.robot-info-card { position: absolute; inset: 0; opacity: 0; transform: translateX(-30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); pointer-events: none; }
.robot-info-card.active { opacity: 1; transform: translateX(0); pointer-events: auto; position: relative; }
.robot-info-card:not(.active) { display: none; }

@media (max-width: 900px) {
  .robots-track { height: auto; }
  .robots-stage { position: relative; height: auto; padding: 80px 0; }
  .robots-stage__inner { grid-template-columns: 1fr; }
  .robot-card { position: relative; opacity: 1; transform: none; }
  .robot-info-card { position: relative; opacity: 1; transform: none; display: block; }
  .robots-progress { display: none; }
}

/* ============================================================
   Reveal helpers
   ============================================================ */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============================================================
   Capacity callout (SUNWASH)
   ============================================================ */

.capacity {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  margin-top: 80px;
  align-items: center;
}
.capacity__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(8deg) rotateX(-2deg);
  transform-origin: left center;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7), inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease-out);
}
.capacity__visual:hover { transform: perspective(1200px) rotateY(4deg) rotateX(-1deg); }
.capacity__visual img { width: 100%; height: 100%; object-fit: cover; }
.capacity__visual .label {
  position: absolute; top: 24px; left: 24px;
  padding: 10px 16px;
  background: rgba(4,6,12,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}

.capacity__breakdown { display: flex; flex-direction: column; gap: 20px; }
.cap-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  transition: border-color 0.3s, transform 0.3s;
}
.cap-row:hover { border-color: rgba(255, 214, 10, 0.3); transform: translateX(4px); }
.cap-row__num { font-size: 28px; font-weight: 400; color: var(--yellow); letter-spacing: -0.02em; min-width: 90px; }
.cap-row__lbl { color: var(--ink-dim); font-size: 14px; }
.cap-row__val { font-size: 18px; color: var(--ink); font-weight: 500; }

.cap-final {
  margin-top: 8px;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.cap-final__big { font-size: clamp(34px, 4vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.cap-final__lbl { font-size: 14px; max-width: 22ch; opacity: 0.85; }

@media (max-width: 900px) {
  .capacity { grid-template-columns: 1fr; }
  .capacity__visual { transform: none; }
}

/* ============================================================
   Method cards (cleaning + sites)
   ============================================================ */

.methods {
  background: linear-gradient(180deg, var(--bg-0), #06091a 50%, var(--bg-0));
  position: relative;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 72px;
}
.method-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 214, 10, 0.3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.method-card__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 214, 10, 0.12); border: 1px solid rgba(255, 214, 10, 0.28); color: var(--yellow); display: grid; place-items: center; }
.method-card__title { font-size: 20px; font-weight: 500; }
.method-card__desc { color: var(--ink-dim); font-size: 14px; line-height: 1.55; }
.method-card__tag { margin-top: auto; font-size: 12px; color: var(--yellow); opacity: 0.8; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Debroussaillage hero
   ============================================================ */

.debroussaillage {
  position: relative;
  overflow: hidden;
}
.debrous-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.debrous-stack {
  position: relative;
  aspect-ratio: 4/5;
  transform-style: preserve-3d;
  perspective: 1400px;
}
.debrous-stack__img {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease-out);
}
.debrous-stack__img img { width: 100%; height: 100%; object-fit: cover; }
.debrous-stack__img.a { top: 0; left: 0; width: 70%; height: 55%; transform: rotate(-3deg) translateZ(20px); z-index: 2; }
.debrous-stack__img.b { bottom: 0; right: 0; width: 65%; height: 60%; transform: rotate(4deg); z-index: 1; }
.debrous-stack__img.c { top: 35%; right: 5%; width: 35%; height: 30%; transform: rotate(-2deg) translateZ(40px); z-index: 3; }

.debrous-stack:hover .debrous-stack__img.a { transform: rotate(-5deg) translateZ(30px); }
.debrous-stack:hover .debrous-stack__img.b { transform: rotate(6deg); }

.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 10px 18px;
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--yellow);
}

.debrous-bullets { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.debrous-bullet { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.debrous-bullet:first-child { border-top: none; padding-top: 0; }
.debrous-bullet__num { font-family: "Instrument Serif", serif; font-style: italic; color: var(--yellow); font-size: 24px; line-height: 1; padding-top: 2px; }
.debrous-bullet__title { font-size: 17px; color: var(--ink); font-weight: 500; }
.debrous-bullet__desc { font-size: 14px; color: var(--ink-dim); margin-top: 4px; }

@media (max-width: 900px) {
  .debrous-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Interventions gallery
   ============================================================ */

.interventions { background: var(--bg-0); }

.intervention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 80px;
  perspective: 1600px;
}
.iv-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.7s var(--ease-out);
  transform-style: preserve-3d;
  cursor: pointer;
  isolation: isolate;
}
.iv-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
  filter: saturate(1.05) brightness(0.85);
}
.iv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4,6,12,0.95) 100%);
  z-index: 1;
}
.iv-card:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(0.95); }
.iv-card__body {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
}
.iv-card__loc { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.iv-card__loc::before { content: "●"; font-size: 8px; }
.iv-card__title { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.iv-card__metric { margin-top: 14px; display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; backdrop-filter: blur(10px); }
.iv-card__metric strong { font-weight: 600; color: var(--yellow); }

@media (max-width: 900px) {
  .intervention-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Avantages
   ============================================================ */

.advantages {
  background: linear-gradient(180deg, var(--bg-0), #060914);
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 72px;
}
.adv {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
}
.adv:hover { transform: translateY(-6px); border-color: rgba(255, 214, 10, 0.3); }
.adv__num { font-family: "Instrument Serif", serif; font-style: italic; color: var(--yellow); font-size: 36px; line-height: 1; }
.adv__title { font-size: 18px; font-weight: 500; }
.adv__desc { font-size: 13px; color: var(--ink-dim); margin-top: auto; }

@media (max-width: 900px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .adv-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Contact
   ============================================================ */

.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #060914, var(--bg-0));
}

.contact-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 214, 10, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(45, 108, 223, 0.18), transparent 60%),
    linear-gradient(135deg, #0f1c34, #07101f);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-card__title { font-size: clamp(34px, 4.5vw, 64px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.contact-card__title .serif { color: var(--yellow); }
.contact-card__sub { margin-top: 20px; max-width: 40ch; }
.contact-card__details { display: flex; flex-direction: column; gap: 16px; }

.detail-row {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.detail-row:hover { background: rgba(255, 214, 10, 0.08); border-color: rgba(255, 214, 10, 0.3); transform: translateX(4px); }
.detail-row__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.detail-row__label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2px; }
.detail-row__value { font-size: 17px; color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer__copy { font-size: 13px; color: var(--ink-muted); }
.footer__brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.footer__brand .dot { width: 24px; height: 24px; border-radius: 7px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 11px; font-weight: 700; }

/* ============================================================
   Animated background (shared)
   ============================================================ */

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ============================================================
   Utility
   ============================================================ */

.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
