/* =====================================================================
   BETTER CALL BEN — style.css
   DA : cabinet d'avocat sombre, bois chaud, jaune doré signature, rouge cursive
   ===================================================================== */

:root {
  --bg:        oklch(0.18 0.02 50);
  --bg-deep:   oklch(0.14 0.02 50);
  --ink:       oklch(0.94 0.01 80);
  --muted:     oklch(0.55 0.02 55);
  --accent:    oklch(0.82 0.16 90);
  --accent-2:  oklch(0.58 0.21 28);
  --line:      oklch(0.30 0.02 55);
  --card:      oklch(0.22 0.02 52);

  --display: 'Anton', 'Arial Narrow', sans-serif;
  --script:  'Caveat', cursive;
  --body:    'Inter', system-ui, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.accent { color: var(--accent); font-style: normal; }

/* ===================== AMBIANCE : spotlight + grain ===================== */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    340px 340px at var(--mx, 50%) var(--my, 30%),
    oklch(0.82 0.16 90 / 0.10),
    oklch(0.82 0.16 90 / 0.04) 40%,
    transparent 70%
  );
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================== LE FIL (overlay SVG, scrolle avec le document) ===================== */
.wire {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 8;               /* au-dessus du contenu, sous la nav (20) */
  pointer-events: none;
  overflow: visible;
}
.wire-ghost {
  stroke: var(--line);
  stroke-width: 2;
  opacity: 0.45;
}
.wire-draw {
  stroke: var(--accent);
  stroke-width: 2.5;
  opacity: 0.92;
}
.wire-pulse {
  stroke: var(--ink);
  stroke-width: 3.5;
  opacity: 0;
}

/* connecteurs : puces qui s'allument */
.connectors { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9; pointer-events: none; }
.connector {
  position: absolute;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid var(--line);
  border-radius: 3px;
  background: var(--bg-deep);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.connector.is-live {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.82 0.16 90 / 0.18), 0 0 18px 2px oklch(0.82 0.16 90 / 0.5);
  transform: scale(1.15) rotate(45deg);
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: oklch(0.16 0.02 50 / 0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__brand { display: flex; align-items: baseline; gap: 7px; line-height: 1; }
.nav__brand-better, .nav__brand-call {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--accent);
}
.nav__brand-ben { font-family: var(--script); font-size: 28px; color: var(--accent-2); transform: translateY(2px); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.25s ease; letter-spacing: 0.3px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 100px;
  color: var(--ink) !important;
  transition: border-color 0.25s, background 0.25s, color 0.25s !important;
}
.nav__cta:hover { border-color: var(--accent); background: var(--accent); color: var(--bg) !important; }

/* ===================== TYPO COMMUNE ===================== */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.section-head { text-align: center; margin: 0 auto clamp(40px, 7vw, 80px); max-width: 720px; padding: 0 24px; }
.section-head__kicker {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-head__title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0.5px;
}

section { position: relative; z-index: 5; }

/* ===================== HERO ===================== */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(90px, 14vh, 160px) clamp(20px, 5vw, 48px) 80px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img, .hero__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  filter: saturate(0.95) contrast(1.02);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 8%, oklch(0.18 0.02 50 / 0.78) 38%, oklch(0.18 0.02 50 / 0.25) 70%),
    linear-gradient(0deg, var(--bg) 2%, transparent 30%);
}
.hero__content { max-width: 680px; }
.hero__title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(46px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0.5px;
  margin-bottom: 26px;
}
.hero__line { display: block; }
.hero__line .accent { color: var(--accent); }
.hero__lede {
  max-width: 520px;
  color: oklch(0.88 0.01 80);
  font-size: clamp(16px, 1.6vw, 20px);
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.brainchip {
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: clamp(30px, 10vh, 90px);
  width: clamp(160px, 22vw, 280px);
  z-index: 2;
  filter: drop-shadow(0 0 24px oklch(0.82 0.16 90 / 0.25));
}
.brainchip__core { fill: var(--accent); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); }

/* ===================== BOUTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.2px;
  padding: 14px 26px; border-radius: 100px;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn--primary { background: var(--accent); color: var(--bg-deep); box-shadow: 0 8px 30px oklch(0.82 0.16 90 / 0.25); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px oklch(0.82 0.16 90 / 0.4); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ===================== LEDE / THESIS ===================== */
.lede {
  min-height: 80svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: clamp(80px, 14vh, 160px) clamp(24px, 6vw, 60px);
  max-width: 1000px; margin: 0 auto;
}
.lede__kicker { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.lede__big {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(36px, 7vw, 90px);
  line-height: 1.0;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.lede__sub { max-width: 600px; color: var(--muted); font-size: clamp(16px, 1.8vw, 21px); }

/* ===================== PILIERS ===================== */
.piliers { padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 48px); max-width: var(--maxw); margin: 0 auto; }
.piliers__list { list-style: none; display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 760px) { .piliers__list { grid-template-columns: 1fr 1fr; } }

.pilier {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  background: linear-gradient(180deg, var(--card), oklch(0.19 0.02 52));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.pilier::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease);
}
.pilier:hover { border-color: oklch(0.42 0.04 70); transform: translateY(-4px); }
.pilier:hover::before { transform: scaleY(1); }
.pilier__index {
  font-family: var(--display); font-size: 14px; color: var(--muted); letter-spacing: 1px;
}
.pilier__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); margin: 8px 0 14px; letter-spacing: 0.5px; }
.pilier__lead { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.pilier__body { color: var(--muted); font-size: 16px; }

/* ===================== STATS ===================== */
.stats {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 5vw, 70px);
  padding: clamp(70px, 12vh, 150px) clamp(24px, 5vw, 48px);
  max-width: var(--maxw); margin: 0 auto;
}
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--display); font-size: clamp(54px, 9vw, 110px); line-height: 1; color: var(--accent); letter-spacing: 1px; }
.stat__label { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; max-width: 180px; }
.stat__node { width: 10px; height: 10px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 4px oklch(0.30 0.02 55 / 0.3); }

/* ===================== WORK / PORTFOLIO ===================== */
.work { padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 48px); max-width: var(--maxw); margin: 0 auto; }
.work__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip {
  font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 20px; cursor: pointer; transition: all 0.25s ease;
}
.chip:hover { color: var(--ink); border-color: oklch(0.42 0.04 70); }
.chip.is-active { color: var(--bg); background: var(--accent); border-color: var(--accent); }

.work__grid { display: grid; gap: clamp(18px, 2.5vw, 30px); margin-bottom: clamp(40px, 6vw, 70px); }
@media (min-width: 760px) { .work__grid { grid-template-columns: 1fr 1fr; } }

.case {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.4s ease;
}
.case:hover { transform: translateY(-5px); border-color: oklch(0.42 0.04 70); }
.case.is-hidden { display: none; }
.case__media { aspect-ratio: 4 / 3; background: var(--bg-deep); }
.case__meta { padding: clamp(20px, 2.6vw, 30px); }
.case__client { font-family: var(--display); text-transform: uppercase; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: 0.5px; display: block; margin-bottom: 12px; }
.case__caption { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.case__figures { list-style: none; display: flex; gap: 26px; margin-bottom: 14px; }
.case__figures strong { font-family: var(--display); color: var(--accent); font-size: 26px; display: block; }
.case__figures li { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.case__tags { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* placeholders labellisés */
.ph { width: 100%; height: 100%; position: relative; display: grid; place-items: center; background:
  repeating-linear-gradient(45deg, oklch(0.20 0.02 52) 0 12px, oklch(0.22 0.02 52) 12px 24px); }
.ph::after {
  content: attr(data-label);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border: 1px dashed var(--line); padding: 8px 14px; border-radius: 100px; background: oklch(0.16 0.02 50 / 0.6);
}
.ph--portrait { aspect-ratio: 3 / 4; }
.ph--video { aspect-ratio: 16 / 9; }

.gallery { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery { grid-template-columns: 2fr 1fr 1fr; } }
.gallery__item { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item--wide { grid-row: span 1; }
.gallery__item figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--script); font-size: 24px; color: var(--accent);
  text-shadow: 0 2px 12px oklch(0.14 0.02 50 / 0.9);
}

/* ===================== QUOTE ===================== */
.quote {
  max-width: 900px; margin: 0 auto; text-align: center;
  padding: clamp(80px, 14vh, 170px) clamp(24px, 6vw, 60px);
}
.quote__text { font-size: clamp(22px, 3.4vw, 40px); line-height: 1.4; font-weight: 500; }
.quote__author { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.quote__author strong { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.5px; font-size: 18px; }
.quote__author span { color: var(--muted); font-size: 14px; }

/* ===================== CTA ===================== */
.cta {
  text-align: center;
  padding: clamp(80px, 14vh, 170px) clamp(24px, 6vw, 60px);
  max-width: 880px; margin: 0 auto;
}
.cta__phone { display: flex; justify-content: center; margin-bottom: 24px; }
.cta__handset { width: 76px; filter: drop-shadow(0 0 18px oklch(0.82 0.16 90 / 0.35)); transform-origin: 50% 80%; }
.cta__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(38px, 7vw, 84px); line-height: 0.98; letter-spacing: 0.5px; margin-bottom: 36px; }
.cta__ben { display: inline-block; margin-top: 6px; }
.cta__ben em { font-family: var(--script); text-transform: none; color: var(--accent-2); font-size: 1.25em; font-style: normal; }
.btn--ring { font-size: 17px; padding: 17px 34px; }
.cta__contact { margin-top: 30px; display: flex; gap: 14px; justify-content: center; align-items: center; color: var(--muted); flex-wrap: wrap; }
.cta__contact a { transition: color 0.25s; }
.cta__contact a:hover { color: var(--accent); }

/* ===================== FOOTER ===================== */
.footer {
  position: relative; z-index: 5;
  text-align: center;
  padding: clamp(50px, 8vh, 90px) 24px clamp(36px, 6vh, 60px);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.footer__brand { display: flex; gap: 10px; align-items: baseline; justify-content: center; margin-bottom: 18px; }
.footer__better, .footer__call { font-family: var(--display); text-transform: uppercase; color: var(--accent); font-size: clamp(28px, 6vw, 54px); letter-spacing: 0.5px; }
.footer__ben { font-family: var(--script); color: var(--accent-2); font-size: clamp(40px, 8vw, 76px); transform: translateY(6px); }
.footer__chip { width: 50px; margin: 0 auto 18px; display: block; }
.footer__core { fill: var(--accent); }
.footer__legal { color: var(--muted); font-size: 13px; }

/* ===================== REVEALS (état initial) ===================== */
.reveal { opacity: 0; transform: translateY(34px); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .hero { text-align: left; }
  .brainchip { right: 16px; bottom: 18px; opacity: 0.85; }
  .hero__veil { background: linear-gradient(0deg, var(--bg) 4%, oklch(0.18 0.02 50 / 0.55) 55%, oklch(0.18 0.02 50 / 0.2) 100%); }
  .stat__node { display: none; }
}

/* ===================== ACCESSIBILITÉ ===================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .wire-pulse, .brainchip, .cta__handset { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* preuve sous un pilier */
.pilier__proof { margin-top: 14px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ===================== FILMS (cartes = vidéos) ===================== */
.films { padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 48px); max-width: var(--maxw); margin: 0 auto; }
.films__grid {
  display: grid; gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
}
.film { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-deep); transition: transform 0.45s var(--ease), border-color 0.45s var(--ease); }
.film:hover { transform: translateY(-4px); border-color: oklch(0.42 0.04 70); }
.film.is-hidden { display: none; }
.film--portrait { grid-column: span 1; aspect-ratio: 9 / 16; }
.film--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.film video, .case__media--video video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg-deep); }
.case__media--video { position: relative; }
.film__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(0deg, oklch(0.14 0.02 50 / 0.92), transparent);
  display: flex; flex-direction: column; gap: 2px; pointer-events: none;
}
.film__cap strong { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.5px; font-size: 18px; color: var(--ink); }
.film__cap span { font-size: 13px; color: oklch(0.80 0.01 80); }
.film__cap em { font-style: normal; color: var(--accent-2); font-family: var(--script); font-size: 1.25em; }
.film__open {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--body); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg-deep); background: var(--accent); border: 0; border-radius: 100px; padding: 8px 12px; cursor: pointer;
  opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.25s;
}
.film:hover .film__open, .case__media--video:hover .film__open, .film__open:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .film__open, .case__media--video .film__open { opacity: 1; transform: none; } }

.band { position: relative; max-width: var(--maxw); margin: clamp(30px, 6vw, 70px) auto 0; padding: 0 clamp(20px, 5vw, 48px); }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 30%; border-radius: 18px; border: 1px solid var(--line); }
.band__cap { position: absolute; left: clamp(36px, 7vw, 72px); bottom: 18px; font-family: var(--script); font-size: clamp(22px, 3vw, 34px); color: var(--accent); text-shadow: 0 2px 12px oklch(0.14 0.02 50 / 0.9); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: oklch(0.10 0.02 50 / 0.94); display: grid; place-items: center; padding: 24px; }
.lightbox__video { max-width: min(96vw, 1200px); max-height: 82vh; border-radius: 12px; background: #000; box-shadow: 0 30px 80px oklch(0 0 0 / 0.6); }
.lightbox__title { position: absolute; left: 24px; bottom: 20px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink); }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-deep); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 760px) {
  .films__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film--wide { grid-column: span 2; }
  .band img { aspect-ratio: 4 / 3; }
}

/* ===================== RÉALISATIONS UNIFIÉES (mosaïque) ===================== */
.work .work__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(14px, 2vw, 22px); }
.film__figs { display: flex; gap: 14px; margin-top: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.80 0.01 80); }
.film__figs b { font-family: var(--display); font-size: 20px; color: var(--accent); margin-right: 4px; letter-spacing: 0.5px; }
.film__tags { margin-top: 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.film .ph { position: absolute; inset: 0; }
.film .ph::after { transform: translateY(-40px); }
.film--portrait .film__cap span { -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) { .work .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===================== LA STACK (bande de logos) ===================== */
.stack { padding: clamp(10px, 3vh, 30px) 0 clamp(40px, 7vh, 80px); overflow: hidden; }
.stack__kicker { text-align: center; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; padding: 0 24px; }
.stack__marquee {
  display: flex; width: max-content; gap: 18px;
  animation: stack-scroll 48s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.stack:hover .stack__marquee { animation-play-state: paused; }
.stack__track { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.tool {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 14px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tool:hover { border-color: var(--accent); transform: translateY(-3px); }
.tool img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.tool span { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; letter-spacing: 0.01em; }
@keyframes stack-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 760px) { .tool { padding: 10px 16px 10px 10px; gap: 10px; } .tool img { width: 36px; height: 36px; } .tool span { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .stack__marquee { animation: none; width: auto; flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; padding: 0 24px; }
  .stack__track:last-child { display: none; }
  .stack__track { flex-wrap: wrap; justify-content: center; }
}

/* trois piliers sur une rangée */
@media (min-width: 960px) { .piliers__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* bande cabine : image entière, légende en haut */
.band img { aspect-ratio: auto; height: auto; object-fit: unset; }
.band__cap { top: 18px; bottom: auto; }
@media (max-width: 760px) { .band img { aspect-ratio: auto; } }

/* lightbox fermée par défaut (hors plateforme claude.ai, l'attribut hidden doit gagner) */
.lightbox[hidden] { display: none !important; }
