/* =====================================================================
   INDRA Automobile Recycling — Design system
   Charte : vert INDRA #a0bf38 / vert profond #566d0f / acier / anthracite
   Typo : Raleway (charte) · Barlow Condensed (display) · IBM Plex Mono (data)
   ===================================================================== */

:root {
  --bg: #0a0d0b;
  --bg-2: #101512;
  --bg-3: #171d19;
  --bg-4: #1f2622;
  --ink: #f2f4ef;
  --ink-2: #c3c9bf;
  --ink-3: #848c82;
  --green: #a0bf38;
  --green-2: #c9e45c;
  --green-3: #7f9a25;
  --green-dark: #566d0f;
  --green-ink: #2d3a06;
  --steel: #b4bec5;
  --steel-2: #6b767e;
  --steel-3: #3a444b;
  --amber: #f0a030;
  --cyan: #7fd3e8;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --glow: rgba(160, 191, 56, 0.35);

  --light-bg: #f3f4ee;
  --light-bg-2: #e8eae1;
  --light-ink: #0f1411;
  --light-ink-2: #4a534c;
  --light-line: rgba(15, 20, 17, 0.1);

  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Raleway", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --radius: 4px;
  --chamfer: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: calc(84px + env(safe-area-inset-top, 0px));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Grain + grid textures ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6; mix-blend-mode: overlay;
}
.grid-bg { position: relative; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.grid-bg > * { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(920px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--light { background: var(--light-bg); color: var(--light-ink); }
.section--light-2 { background: var(--light-bg-2); color: var(--light-ink); }
.section--dark-2 { background: var(--bg-2); }
.section--dark-3 { background: var(--bg-3); }
.section--green { background: var(--green); color: var(--green-ink); }
.section--light .eyebrow, .section--light-2 .eyebrow { color: var(--green-dark); }
.section--light .lead, .section--light-2 .lead { color: var(--light-ink-2); }
.section--light .muted, .section--light-2 .muted { color: var(--light-ink-2); }
.section--light hr, .section--light-2 hr { border-color: var(--light-line); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid > *, .sticky-layout > *, .feature-row > *, .split-60 > *, .split-40 > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.split-60 { grid-template-columns: 1.4fr 1fr; }
.split-40 { grid-template-columns: 1fr 1.4fr; }
.align-center { align-items: center; }
.align-start { align-items: start; }
.align-end { align-items: end; }
@media (max-width: 700px) {
  .m-center, .m-center > div { text-align: center; }
  .m-center .eyebrow { justify-content: center; }
  .m-center .eyebrow::before { display: none; }
  .m-center .lead, .m-center .maxw, .m-center .display-2, .m-center .display-3 { margin-inline: auto; }
  .m-center .flex { justify-content: center; }
  .m-center img.gbc__logo { margin-inline: auto; display: block; }
  .gbc .m-center .gbc__steps { text-align: left; }
  .gbc .m-center .flex { justify-content: flex-start; }
}
.stack > * + * { margin-top: var(--stack, 20px); }
.flex { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; } .mt-5 { margin-top: 96px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; } .mb-4 { margin-bottom: 64px; }
.maxw { max-width: 62ch; }
.maxw-s { max-width: 46ch; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

@media (max-width: 1100px) {
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .split-60, .split-40 { grid-template-columns: 1fr; }
  :root { --header-h: calc(68px + env(safe-area-inset-top, 0px)); }
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: 0.8; }
.eyebrow--bare::before { display: none; }
.eyebrow--mono { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; }

.display-1, .display-2, .display-3, .h2, .h3, .h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
.display-1 { font-size: clamp(44px, 7.2vw, 112px); letter-spacing: -0.035em; line-height: 0.96; }
.display-2 { font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -0.03em; }
.display-3 { font-size: clamp(30px, 3.8vw, 54px); }
.h2 { font-size: clamp(28px, 3.2vw, 44px); }
.h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; letter-spacing: -0.015em; }
.h4 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: var(--ink-2); font-weight: 400; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; }
.accent { color: var(--green); }
.thin { font-weight: 300; }
.nowrap { white-space: nowrap; }
.num {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
p + p { margin-top: 1em; }
.prose p { color: var(--ink-2); }
.section--light .prose p, .section--light-2 .prose p { color: var(--light-ink-2); }
.prose strong { color: inherit; font-weight: 700; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.section--light .checklist li, .section--light-2 .checklist li { color: var(--light-ink-2); }
.checklist li strong { color: var(--ink); }
.section--light .checklist li strong, .section--light-2 .checklist li strong { color: var(--light-ink); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-ink: var(--green-ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px 16px 28px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--btn-ink); background: var(--btn-bg);
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
  will-change: transform;
  isolation: isolate;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--green-2);
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(5px); }
.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost::after { background: rgba(255, 255, 255, 0.08); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --btn-bg: var(--ink); --btn-ink: var(--bg); }
.btn--light::after { background: #fff; }
.btn--dark { --btn-bg: var(--light-ink); --btn-ink: #fff; }
.btn--dark::after { background: var(--green); }
.btn--dark:hover { color: var(--green-ink); }
.btn--ghost-dark { --btn-bg: transparent; --btn-ink: var(--light-ink); box-shadow: inset 0 0 0 1.5px rgba(15,20,17,0.25); }
.btn--ghost-dark::after { background: rgba(15,20,17,0.06); }
.btn--sm { padding: 12px 18px 12px 20px; font-size: 14px; --chamfer: 10px; }
.btn--xl { padding: 22px 34px 22px 36px; font-size: 18px; --chamfer: 18px; }
@media (max-width: 640px) { .btn { white-space: normal; text-align: left; max-width: 100%; } .btn--xl { padding: 18px 24px 18px 26px; font-size: 16px; } .flex > .btn { flex: 1 1 100%; justify-content: space-between; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px;
  color: var(--green);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--ink { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  /* iOS Safari : la page passe sous la barre d'état (viewport-fit=cover) ; l'en-tête s'étend dessus avec son fond,
     sinon on voit le contenu défiler au-dessus du logo */
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  display: flex; align-items: center;
  transition: transform 0.5s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 13, 11, 0.85), rgba(10, 13, 11, 0));
  opacity: 1; transition: opacity 0.4s;
}
/* Bouclier collant au-dessus de l'écran (mobile) : élément du flux, positionné en sticky à -200px, donc rendu dans la
   couche de défilement que Safari iOS affiche sous la barre d'état, là où les éléments fixes ne sont pas dessinés. */
.status-shield { display: none; }
@media (max-width: 900px) {
  .status-shield { display: block; position: sticky; top: -200px; z-index: 899; height: 200px; margin-bottom: -200px; background: rgba(10, 13, 11, 0.97); pointer-events: none; opacity: 0; transition: opacity 0.4s; }
  .status-shield.is-on { opacity: 1; }
}
/* iOS Safari (barre d'adresse en bas) : la page est peinte sous la barre d'état, au-dessus du bord de l'en-tête,
   et son contenu y défile. Un bouclier prolonge le fond de l'en-tête bien au-delà du haut de l'écran. */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: rgba(10, 13, 11, 0.85); transition: background 0.4s; pointer-events: none; }
.site-header.is-scrolled::after { background: rgba(10, 13, 11, 0.97); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled { background: rgba(10, 13, 11, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
/* sur téléphone, rien ne doit créer de défilement horizontal (étiquettes 3D projetées hors cadre, décalages) */
@media (max-width: 900px) { body { overflow-x: clip; } #tfin-loop { overflow: hidden; } }
@media (max-width: 900px) { .site-header.is-hidden { transform: none; } .site-header.is-scrolled { background: rgba(10, 13, 11, 0.97); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.nav__logo { display: block; width: 138px; flex: none; }
.nav__logo img { width: 100%; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; display: block; padding: 10px 14px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2);
  transition: color 0.3s;
}
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-audience { color: var(--green); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.burger {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 14px; color: var(--ink);
  padding: 10px 0;
}
.burger__icon { position: relative; width: 28px; height: 14px; }
.burger__icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease), width 0.5s var(--ease); }
.burger__icon span:nth-child(1) { top: 0; }
.burger__icon span:nth-child(2) { top: 6px; width: 70%; }
.burger__icon span:nth-child(3) { top: 12px; }
.burger:hover .burger__icon span:nth-child(2) { width: 100%; }
body.menu-open .burger__icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.menu-open .burger__icon span:nth-child(2) { width: 0; }
body.menu-open .burger__icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (max-width: 1180px) { .nav__links { display: none; } .nav__cta-desktop { display: none; } }

/* ---------- Full-screen menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 890; background: var(--bg-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease);
  overflow: auto; display: flex; flex-direction: column;
}
body.menu-open .menu-overlay { clip-path: inset(0 0 0 0); }
.menu-overlay .grid-bg::before { mask-image: none; -webkit-mask-image: none; opacity: 0.6; }
.menu-inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin: calc(var(--header-h) + 24px) auto 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; flex: 1; }
.menu-primary li { border-bottom: 1px solid var(--line); overflow: hidden; }
.menu-primary a {
  display: flex; align-items: baseline; gap: 22px; padding: 18px 0;
  font-size: clamp(30px, 4vw, 54px); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  transform: translateY(110%); transition: transform 0.9s var(--ease), color 0.3s;
}
.menu-primary a span.idx { font-family: var(--font-mono); font-size: 13px; color: var(--green); letter-spacing: 0.1em; }
.menu-primary a:hover { color: var(--green); }
body.menu-open .menu-primary a { transform: translateY(0); }
.menu-primary li:nth-child(n) a { transition-delay: calc(0.08s + var(--i, 0) * 0.05s); }
.menu-secondary { display: flex; flex-direction: column; gap: 40px; padding-top: 12px; opacity: 0; transform: translateY(24px); transition: opacity 0.6s 0.5s, transform 0.8s 0.5s var(--ease); }
body.menu-open .menu-secondary { opacity: 1; transform: none; }
.menu-secondary h4 { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.menu-secondary a { display: block; padding: 8px 0; color: var(--ink-2); font-weight: 500; transition: color 0.3s, padding-left 0.3s; }
.menu-secondary a:hover { color: var(--green); padding-left: 6px; }
.menu-audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-audiences a { padding: 16px 18px; border: 1px solid var(--line); background: var(--bg-3); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.menu-audiences a:hover { border-color: var(--green); padding-left: 18px; }
.menu-audiences a svg { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 900px) { .menu-inner { grid-template-columns: 1fr; gap: 40px; } .menu-primary a { font-size: 30px; padding: 14px 0; } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-items: center; transition: clip-path 1s var(--ease); }
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader__mark { width: 160px; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.1s forwards; }
.preloader__bar { width: 160px; height: 2px; background: var(--line-2); margin-top: 22px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; animation: loadbar 1.1s var(--ease-2) 0.2s forwards; transform: scaleX(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes loadbar { to { transform: scaleX(1); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9995; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.cursor__ring { position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.7); transform: translate(-50%, -50%); transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.3s, background 0.3s; }
body.cursor-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255,255,255,0.12); border-color: transparent; }
body.cursor-drag .cursor__ring { width: 90px; height: 90px; background: #fff; border-color: transparent; }
body.cursor-drag .cursor__ring::after { content: "GLISSER"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; color: #000; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.reveal-lines .line > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 0.08s); }
.reveal-lines.is-in .line > span { transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 0.035s); }
.split-words.is-in .w > span { transform: none; }
.draw-line { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.draw-line.is-in { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal-lines .line > span, .split-words .w > span, .draw-line { opacity: 1 !important; transform: none !important; transition: none !important; }
  .preloader { display: none; }
}

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--bg-3); border: 1px solid var(--line); padding: 32px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: transform 0.6s var(--ease), border-color 0.4s, background 0.4s;
}
.card::before { content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: linear-gradient(225deg, transparent 50%, var(--line-2) 50%); }
.card:hover { transform: translateY(-6px); border-color: rgba(160,191,56,0.5); background: var(--bg-4); }
.card__num { font-family: var(--font-mono); font-size: 12px; color: var(--green); letter-spacing: 0.14em; margin-bottom: 22px; }
.card .h3, .card .h4 { margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.section--light .card--flat p, .section--light-2 .card--flat p { color: var(--light-ink-2); }
.card__icon { width: 44px; height: 44px; color: var(--green); margin-bottom: 26px; }
.card__icon svg { width: 100%; height: 100%; }
.card--light { background: #fff; border-color: var(--light-line); color: var(--light-ink); }
.card--light::before { background: linear-gradient(225deg, transparent 50%, rgba(15,20,17,0.12) 50%); }
.card--light p { color: var(--light-ink-2); }
.card--light:hover { background: #fff; border-color: var(--green); }
.card--green { background: var(--green); color: var(--green-ink); border-color: transparent; }
.card--green p { color: rgba(45,58,6,0.85); }
.card--green .card__icon, .card--green .card__num { color: var(--green-ink); }
.card--green::before { background: linear-gradient(225deg, transparent 50%, rgba(45,58,6,0.3) 50%); }
.card--green:hover { background: var(--green-2); }
.card--flat { clip-path: none; }
.card--flat::before { display: none; }

/* Audience cards */
.aud { position: relative; min-height: 380px; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); isolation: isolate; }
.aud__img { position: absolute; inset: 0; z-index: -2; }
.aud__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.05); transform: scale(1.06); transition: transform 1.2s var(--ease), filter 0.8s; }
.aud::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,13,11,0.96) 25%, rgba(10,13,11,0.35) 65%, rgba(10,13,11,0.15)); transition: opacity 0.6s; }
.aud:hover .aud__img img { transform: scale(1); filter: grayscale(0) contrast(1); }
@media (max-width: 900px) { .aud::after { background: linear-gradient(to top, rgba(10,13,11,0.98) 30%, rgba(10,13,11,0.7) 70%, rgba(10,13,11,0.45)); } .aud__img img { filter: grayscale(0.5) contrast(1.05) brightness(0.8); } }
.aud__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--green); text-transform: uppercase; margin-bottom: 12px; }
.aud .h3 { margin-bottom: 10px; }
.aud p { color: var(--ink-2); font-size: 15px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.7s var(--ease), opacity 0.5s, margin 0.5s; }
.aud:hover p, .aud:focus-within p { max-height: 120px; opacity: 1; margin-bottom: 16px; }
.aud .link-arrow { margin-top: 4px; }
.aud--wide { grid-column: span 2; }
@media (max-width: 780px) { .aud { min-height: 300px; } .aud p { max-height: none; opacity: 1; margin-bottom: 14px; } .aud--wide { grid-column: auto; } }

/* ---------- KPI ---------- */
.kpi-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { padding: 44px 32px; border-right: 1px solid var(--line); position: relative; text-align: center; }
.kpi:last-child { border-right: 0; }
.kpi__num { font-size: clamp(52px, 5.4vw, 88px); display: flex; align-items: baseline; justify-content: center; gap: 6px; color: var(--ink); }
.kpi__num small { font-size: 0.42em; color: var(--green); font-weight: 600; letter-spacing: 0; }
.kpi__label { margin-top: 14px; font-weight: 600; color: var(--ink); text-wrap: balance; max-width: 24ch; margin-inline: auto; }
.kpi__src { margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; }
.section--light .kpi__num, .section--light .kpi__label { color: var(--light-ink); }
.section--light .kpi { border-color: var(--light-line); }
.section--light .kpi-band { border-color: var(--light-line); }
@media (max-width: 1000px) { .kpi-grid { grid-template-columns: 1fr 1fr; } .kpi:nth-child(2) { border-right: 0; } .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .kpi { padding: 28px 10px; } .kpi__num { font-size: 40px; } .kpi__label { font-size: 14px; margin-top: 10px; } .kpi__src { font-size: 10.5px; } }
@media (max-width: 700px) { .kpi-band { position: relative; z-index: 3; margin-top: -190px; background: var(--bg); } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat .num { font-size: clamp(44px, 4.4vw, 68px); color: var(--green); }
.stat p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.section--light .stat p { color: var(--light-ink-2); }
@media (max-width: 780px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 64% 60% at 50% 44%, transparent 36%, rgba(10,13,11,0.55) 78%, var(--bg) 100%),
              linear-gradient(to top, var(--bg) 0%, rgba(10,13,11,0.7) 26%, rgba(10,13,11,0.25) 52%, transparent 66%); }
.hero__content { position: relative; z-index: 2; width: min(var(--container), 100% - 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--header-h) + 40px) 0 72px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: end; }
.hero__title { font-size: clamp(46px, 7.4vw, 118px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; }
.hero__title em { font-style: normal; color: var(--green); }
.hero__title .thin { font-weight: 300; letter-spacing: -0.03em; }
.hero__lead { max-width: 44ch; margin-top: 28px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero__side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-self: end; }
.hero__badges { display: flex; flex-direction: column; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid var(--line-2); background: rgba(16,21,18,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.badge img { height: 22px; width: auto; }
.badge b { color: var(--ink); font-weight: 700; }
.badge--40 { border-color: rgba(160,191,56,0.45); }
.badge--40 .num { font-size: 30px; color: var(--green); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--green), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--bg); animation: hint 1.8s var(--ease-2) infinite; }
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 900px) {
  .hero { align-items: flex-end; height: 100vh; height: 100svh; min-height: 0; }
  .hero__content { grid-template-columns: 1fr; gap: 16px; padding-top: calc(var(--header-h) + 8px); padding-bottom: 72px; }
  .hero__title { font-size: clamp(40px, 11.5vw, 64px); }
  .hero__lead { margin-top: 16px; font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__ctas { margin-top: 20px; gap: 10px; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; padding-block: 14px; }
  .hero__content { text-align: center; justify-items: center; }
  .hero .ticker-line { justify-content: center; font-size: 11px; letter-spacing: 0.12em; }
  .hero .ticker-line::before { display: none; }
  .hero__content > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .hero__title { text-wrap: balance; }
  .hero__side { justify-self: center; max-width: none; gap: 14px; align-items: center; width: 100%; }
  .hero__lead, .hero__ctas { width: 100%; max-width: none; }
  .hero__badges { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hero__badges .badge:not(.badge--40) { display: none; }
  .badge--40 { padding: 6px 12px 6px 10px; font-size: 12px; } .badge--40 .num { font-size: 24px; }
  .hero__hint { display: none; }
  .scroll-hint { display: none; }
}
@media (max-height: 700px) and (max-width: 900px) { .hero__lead { -webkit-line-clamp: 3; } .hero__badges { display: none; } }

/* Hero pin stage : composition labels */
.hero-pin { position: relative; }
.compo { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.compo__label { position: absolute; left: -1000px; top: 0; transform: translate(-50%, 0); text-align: center; opacity: 0; transition: opacity 0.5s; width: 160px; pointer-events: none; }
.compo__label .num { font-size: clamp(22px, 2.6vw, 40px); color: var(--ink); }
.compo__label .num small { font-size: 0.5em; color: var(--green); }
.compo__label p { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.compo__label i { display: block; width: 1px; height: 30px; margin: 0 auto 8px; background: linear-gradient(to top, var(--ink-3), transparent); }
.compo__title { position: absolute; left: 50%; top: 11%; transform: translate(-50%, 0); text-align: center; opacity: 0; transition: opacity 0.5s; width: min(94%, 980px); }
.compo__title .eyebrow { justify-content: center; margin-bottom: 12px; }
.compo__title .h2 { font-size: clamp(22px, 2.35vw, 34px); line-height: 1.12; }
.compo.is-on .compo__label, .compo.is-on .compo__title { opacity: 1; }
.compo__name { position: absolute; left: -1000px; top: 0; transform: translate(-50%, 0); display: none; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; opacity: 0; transition: opacity 0.5s; }
@media (max-width: 700px) {
  .compo__title { top: calc(var(--header-h) + 10px); width: calc(100% - 40px); }
  .compo__title .eyebrow { margin-bottom: 8px; font-size: 11px; letter-spacing: 0.18em; }
  .compo__title .h2 { font-size: 21px; }
  .compo__label { width: 60px; transform: translate(-50%, -100%); }
  .compo__label i { display: none; }
  .compo__label .num { font-size: 15px; letter-spacing: -0.02em; }
  .compo__label .num small { font-size: 0.6em; }
  .compo__label p { display: none; }
  .compo__name { display: block; }
  .compo.is-on .compo__name { opacity: 1; }
}

/* ---------- Page hero (sous-pages) ---------- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) saturate(0.9); transform: scale(1.12); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(10,13,11,0.55) 40%, rgba(10,13,11,0.25) 100%), linear-gradient(to right, rgba(10,13,11,0.7), transparent 70%); }
.page-hero .container { padding: calc(var(--header-h) + 60px) 0 72px; }
.page-hero__title { font-size: clamp(42px, 6.4vw, 96px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.94; max-width: 14ch; }
.page-hero__title em { font-style: normal; color: var(--green); }
.page-hero .lead { max-width: 56ch; margin-top: 26px; }
.page-hero__meta { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.page-hero__meta div .num { font-size: 36px; color: var(--green); }
.page-hero__meta div p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
/* téléphone : les statistiques du hero sur deux colonnes en bas du bloc, au lieu d'une pile de quatre lignes */
@media (max-width: 700px) {
  .page-hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-top: 32px; padding-top: 22px; }
  .page-hero__meta > div { min-width: 0; }
  .page-hero__meta div .num { font-size: 30px; }
  .page-hero__meta div p { font-size: 12.5px; line-height: 1.4; }
}
.crumbs { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 26px; }
.crumbs a:hover { color: var(--green); }
.crumbs span::before { content: "/"; margin-right: 10px; opacity: 0.5; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ratio { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1; }
.media--chamfer { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.media__cap { position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 2; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.6); text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.media__cap::before { content: ""; width: 20px; height: 1px; background: var(--green); }
.media__cap-bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 50%; z-index: 1; background: linear-gradient(to top, rgba(10,13,11,0.9), transparent); pointer-events: none; }
[data-parallax] img { will-change: transform; transform: scale(1.18); }
.img-duotone img { filter: grayscale(1) contrast(1.1) brightness(0.85); }
.figure-num { position: absolute; top: 18px; left: 20px; z-index: 2; font-family: var(--font-mono); font-size: 12px; color: var(--green-2); letter-spacing: 0.14em; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 20px 0; position: relative; }
.marquee__track { display: inline-flex; gap: 0; animation: marquee var(--speed, 40s) linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 22px; padding: 0 30px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.marquee__item::after { content: ""; width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); flex: none; }
.marquee--big .marquee__item { font-size: clamp(44px, 7vw, 110px); font-weight: 700; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.35); padding: 0 40px; }
.marquee--big .marquee__item::after { width: 14px; height: 14px; }
.marquee--big { border: 0; padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Logo chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); background: rgba(255,255,255,0.02); transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.chip:hover { border-color: var(--green); color: var(--ink); transform: translateY(-2px); }
.chip--green { border-color: rgba(160,191,56,0.5); color: var(--green); }
.section--light .chip, .section--light-2 .chip { border-color: rgba(15,20,17,0.18); color: var(--light-ink-2); background: #fff; }
.section--light .chip:hover, .section--light-2 .chip:hover { color: var(--light-ink); border-color: var(--green-dark); }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-wall div { background: #fff; display: grid; place-items: center; padding: 26px 20px; min-height: 120px; overflow: hidden; }
.logo-wall img { max-height: 64px; width: auto; max-width: 100%; transition: transform 0.55s var(--ease); }
.logo-wall div:hover img { transform: scale(1.14); }
.logo-wall--light { background: var(--light-line); border-color: var(--light-line); }
.logo-wall--light div { background: #fff; }
.logo-wall--light img { filter: none; opacity: 1; }
/* cellules de grilles : jamais plus larges que leur colonne */
.logo-wall > div, .kpi, .matter, .coverage > div, .stat, .aud, .card, .site-card { min-width: 0; }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Process (5 étapes) ---------- */
.process { position: relative; }
.process__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.process__viz { position: relative; height: min(70vh, 640px); display: grid; place-items: center; }
.process__viz svg { width: 100%; height: 100%; max-height: 70vh; overflow: visible; }
.process__steps { position: relative; height: 100%; }
.step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity 0.3s, transform 0.45s var(--ease); pointer-events: none; padding-right: var(--gutter); will-change: opacity, transform; }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step__idx { font-family: var(--font-display); font-weight: 700; font-size: clamp(80px, 10vw, 150px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px rgba(160,191,56,0.7); margin-bottom: 20px; }
.step .h2 { margin-bottom: 16px; }
.step p { color: var(--ink-2); max-width: 46ch; }
.step__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.step__tags span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; padding: 6px 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.process__progress { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; gap: 8px; align-items: center; }
.process__progress span { flex: 1; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.process__progress span::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.12s linear; }
.process__progress b { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); font-weight: 400; letter-spacing: 0.1em; }
.process__nav { display: none; }
@media (max-width: 900px) {
  /* sur téléphone : schéma en haut, puis un carrousel horizontal des cinq étapes (flèches + glissement) */
  .process { height: auto !important; padding: 0 0 56px; }
  .process__sticky { position: static; height: auto; overflow: visible; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .process__viz { position: relative; order: 0; height: auto; padding: 12px 0 0; display: flex; flex-direction: column; place-items: stretch; }
  .process__viz svg { flex: none; width: 100%; height: auto; aspect-ratio: 620 / 360; max-height: 34svh; }
  .process__viz .process__progress { position: static; flex: none; padding: 12px 0 0; }
  .process__nav { order: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 14px; }
  .process__hint { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); line-height: 1.45; max-width: 30ch; display: flex; align-items: center; gap: 10px; }
  .process__hint svg { width: 22px; height: 22px; flex: none; color: var(--green); }
  .process__arrows { display: flex; gap: 8px; flex: none; }
  .process__arrow { width: 46px; height: 46px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); background: transparent; transition: border-color 0.3s, background 0.3s, opacity 0.3s; }
  .process__arrow svg { width: 18px; height: 18px; }
  .process__arrow:active { border-color: var(--green); background: rgba(160,191,56,0.1); }
  .process__arrow:disabled { opacity: 0.3; }
  .process__steps { order: 2; height: auto; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); }
  .process__steps::-webkit-scrollbar { display: none; }
  .step { position: relative; inset: auto; flex: 0 0 calc(100% - 36px); scroll-snap-align: start; opacity: 1; transform: none; transition: opacity 0.4s; pointer-events: auto; justify-content: flex-start; padding: 20px 0 6px; min-height: 0; border-top: 1px solid var(--line); }
  .step:not(.is-active) { opacity: 0.55; }
  .step__idx { font-size: 48px; margin-bottom: 10px; }
  .step .h2 { font-size: 23px; margin-bottom: 10px; }
  .step p { font-size: 14.5px; line-height: 1.55; max-width: none; }
  .step__tags { display: flex; margin-top: 14px; }
  .step__tags span { font-size: 11px; padding: 5px 8px; }
}
@media (max-width: 900px) and (max-height: 640px) { .process__viz svg { max-height: 28svh; } }

/* ---------- Gauges / data ---------- */
.gauge { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge__bg { stroke: var(--line-2); }
.gauge__val { stroke: var(--green); stroke-linecap: butt; stroke-dasharray: var(--c) var(--c); stroke-dashoffset: var(--c); transition: stroke-dashoffset 2.2s var(--ease-2); }
.gauge__obj { stroke: var(--amber); stroke-dasharray: 2 6; }
.gauge__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge__center .num { font-size: clamp(48px, 5vw, 72px); }
.gauge__center .num small { font-size: 0.45em; color: var(--green); }
.gauge__center p { font-size: 13px; color: var(--ink-3); margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.06em; }
.gauge.is-in .gauge__val { stroke-dashoffset: calc(var(--c) * (1 - var(--v))); }
.section--light .gauge__bg { stroke: rgba(15,20,17,0.1); }
.section--light .gauge__center p { color: var(--light-ink-2); }

.bars { display: flex; flex-direction: column; gap: 18px; }
.bar { display: grid; grid-template-columns: 150px 1fr 70px; gap: 16px; align-items: center; font-size: 14px; }
.bar__label { font-weight: 600; color: var(--ink-2); }
.bar__track { position: relative; height: 12px; background: var(--line); overflow: hidden; }
.bar__fill { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-2); transition-delay: var(--d, 0s); }
.bar__fill--obj { background: var(--steel-2); }
.bar__fill--amber { background: var(--amber); }
.bar__val { font-family: var(--font-mono); text-align: right; color: var(--ink); font-size: 14px; }
.bars.is-in .bar__fill { transform: scaleX(var(--v)); }
.section--light .bar__label { color: var(--light-ink-2); }
.section--light .bar__track { background: rgba(15,20,17,0.08); }
.section--light .bar__val { color: var(--light-ink); }
@media (max-width: 600px) { .bar { grid-template-columns: 100px 1fr 60px; } }

.matter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.matter { background: var(--bg-2); padding: 28px 26px; position: relative; overflow: hidden; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; transition: background 0.4s; }
.matter:hover { background: var(--bg-3); }
.matter .num { font-size: clamp(34px, 3.2vw, 48px); color: var(--ink); }
.matter .num small { font-size: 0.45em; color: var(--green); margin-left: 4px; }
.matter p { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.matter i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-2); transition-delay: var(--d, 0s); }
.matter-grid.is-in .matter i { transform: scaleX(var(--v, 1)); }
.matter__img { position: absolute; inset: 0; opacity: 0.16; transition: opacity 0.6s, transform 1.2s var(--ease); transform: scale(1.06); }
.matter__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.matter:hover .matter__img { opacity: 0.32; transform: scale(1); }
.matter > * { position: relative; }
.matter > .matter__img { position: absolute; }
@media (max-width: 900px) { .matter { justify-content: center; align-items: center; text-align: center; min-height: 170px; padding: 26px 18px; } .matter p { max-width: 22ch; } }
@media (max-width: 1000px) { .matter-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Timeline ---------- */
.tl-wrap { position: relative; }
.tl-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 24px; scrollbar-width: none; cursor: grab; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tl-item { flex: 0 0 auto; width: min(340px, 78vw); padding: 0 32px 0 0; scroll-snap-align: start; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 0; right: 0; top: 78px; height: 1px; background: var(--line-2); }
.tl-item::after { content: ""; position: absolute; left: 0; top: 73px; width: 11px; height: 11px; background: var(--bg); border: 2px solid var(--green); transform: rotate(45deg); }
.tl-item.is-major::after { background: var(--green); }
.tl-item__year { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 40px; }
.tl-item.is-major .tl-item__year { color: var(--green); }
.tl-item__body { padding-right: 24px; }
.tl-item__body h4 { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.tl-item__body p { font-size: 14.5px; color: var(--ink-2); }
.tl-item__img { margin-top: 18px; aspect-ratio: 16/10; overflow: hidden; }
.tl-item__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-nav { display: flex; gap: 10px; }
.tl-nav button { width: 52px; height: 52px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color 0.3s, background 0.3s; }
.tl-nav button:hover { border-color: var(--green); background: rgba(160,191,56,0.08); }
.tl-nav button:disabled { opacity: 0.3; cursor: default; border-color: var(--line-2); background: transparent; }
.tl-nav svg { width: 18px; height: 18px; }

/* ---------- Map ---------- */
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; overflow: visible; }
.map-dept { fill: rgba(255,255,255,0.025); stroke: rgba(255,255,255,0.16); stroke-width: 0.7; transition: fill 0.4s; }
.map-dept:hover, .map-dept.is-hi { fill: rgba(160,191,56,0.14); }
.map-dept.is-active { fill: rgba(160,191,56,0.28); stroke: var(--green); }
.map-pt { fill: var(--green); opacity: 0; transition: opacity 0.4s, r 0.3s; cursor: pointer; }
.map-pt.is-in { opacity: 0.9; }
.map-pt.is-dim { opacity: 0.18; }
.map-pt.is-own { fill: #fff; }
.map-pt:hover { fill: var(--green-2); }
.map-halo { fill: none; stroke: var(--green); stroke-width: 0.8; opacity: 0; }
.map-halo.is-on { animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { r: 3; opacity: 0.9; } 100% { r: 22; opacity: 0; } }
.map-inset { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.2); stroke-width: 0.7; stroke-dasharray: 3 3; }
.map-inset-label { font-family: var(--font-mono); font-size: 9px; fill: var(--ink-3); letter-spacing: 0.1em; }
.map-tooltip { position: absolute; z-index: 5; pointer-events: none; min-width: 220px; padding: 14px 16px; background: rgba(16,21,18,0.94); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; opacity: 0; transform: translate(-50%, calc(-100% - 16px)) translateY(6px); transition: opacity 0.25s, transform 0.35s var(--ease); }
.map-tooltip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.map-tooltip b { display: block; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.map-tooltip span { display: block; color: var(--ink-2); }
.map-tooltip em { display: inline-block; margin-top: 8px; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; }
.map-panel { display: flex; flex-direction: column; gap: 22px; }
.map-search { position: relative; }
.map-search input { width: 100%; padding: 16px 18px 16px 50px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--ink); font: inherit; font-size: 15px; transition: border-color 0.3s; }
.map-search input:focus { border-color: var(--green); outline: 0; }
.map-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.map-results { max-height: 380px; overflow: auto; border: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--steel-3) transparent; }
.map-result { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background 0.3s; font-size: 14px; }
.map-result:hover, .map-result.is-active { background: rgba(160,191,56,0.08); }
.map-result b { display: block; font-size: 14px; }
.map-result span { color: var(--ink-3); font-size: 13px; }
.map-result em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--green); align-self: center; }
.map-legend { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.map-legend i.own { background: #fff; }
.map-legend i.site { background: transparent; border: 2px solid var(--green); border-radius: 0; transform: rotate(45deg); width: 8px; height: 8px; }
.map-count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.map-count b { color: var(--green); font-weight: 500; }
.map-site { fill: var(--bg); stroke: var(--green); stroke-width: 1.4; transition: opacity 0.4s, stroke-width 0.3s; }
.map-sites.is-dim { opacity: 0.2; }
.map-sites.is-hi .map-site { stroke: #fff; stroke-width: 2; fill: var(--green); }
/* centres experts électriques : point jaune + anneau */
.map-pt.is-ev { fill: #ffd23f; }
.map-pt.is-ev.is-in { opacity: 1; }
.map-pt.is-ev:hover { fill: #ffe680; }
.map-ev-ring { fill: none; stroke: #ffd23f; stroke-width: 1; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.map-ev-ring.is-in { opacity: 0.55; }
.map-ev-ring.is-dim { opacity: 0.08; }
.map-svg[data-filter="e"] .map-ev-ring.is-in:not(.is-dim) { opacity: 0.9; animation: evring 2.2s ease-in-out infinite; }
@keyframes evring { 0%, 100% { stroke-width: 1; } 50% { stroke-width: 2.4; } }
.map-pt.is-dim { opacity: 0.12; }
.map-pt.is-ev.is-dim { opacity: 0.18; }
/* filtres par type de centre */
.map-filters { display: flex; flex-direction: column; gap: 6px; }
.map-filter { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); background: var(--bg-2); text-align: left; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color 0.25s, background 0.25s, color 0.25s; }
.map-filter:hover { border-color: var(--line-2); color: var(--ink); }
.map-filter.is-on { border-color: var(--green); background: rgba(160,191,56,0.1); color: var(--ink); }
.map-filter b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.map-filter.is-on b { color: var(--green); }
.map-swatch { width: 12px; height: 12px; border-radius: 50%; justify-self: center; }
.map-swatch--all { background: conic-gradient(var(--green) 0 50%, #ffd23f 50% 100%); }
.map-swatch--ev { background: #ffd23f; box-shadow: 0 0 0 3px rgba(255,210,63,0.25); }
.map-swatch--ins { background: var(--green); }
.map-swatch--ast { background: var(--steel); }
.map-swatch--own { background: transparent; border: 2px solid var(--green); border-radius: 0; transform: rotate(45deg); width: 9px; height: 9px; }
.map-results.is-empty { display: none; }
.map-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.map-dot--ev { background: #ffd23f; }
.map-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.map-badge { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 7px; border: 1px solid var(--line-2); color: var(--ink-2); }
.map-badge--e { border-color: rgba(255,210,63,0.6); color: #ffd23f; }
.map-badge--a { border-color: rgba(160,191,56,0.5); color: var(--green); }
.map-legend i.ev { background: #ffd23f; box-shadow: 0 0 0 3px rgba(255,210,63,0.25); }

/* ---------- Loop diagram / flow ---------- */
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow-dash { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.acc__btn .idx { font-family: var(--font-mono); font-size: 12px; color: var(--green); margin-right: 18px; letter-spacing: 0.1em; }
.acc__btn i { flex: none; width: 34px; height: 34px; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; transition: transform 0.5s var(--ease), border-color 0.3s; }
.acc__btn i::before, .acc__btn i::after { content: ""; position: absolute; background: currentColor; }
.acc__btn i::before { width: 12px; height: 1.5px; } .acc__btn i::after { width: 1.5px; height: 12px; transition: transform 0.4s var(--ease); }
.acc__item.is-open .acc__btn i { border-color: var(--green); transform: rotate(180deg); } .acc__item.is-open .acc__btn i::after { transform: scaleY(0); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height 0.7s var(--ease); }
.acc__body > div { padding: 0 0 28px 0; color: var(--ink-2); max-width: 70ch; }
.section--light .acc, .section--light .acc__item { border-color: var(--light-line); }
.section--light .acc__body > div { color: var(--light-ink-2); }
.section--light .acc__btn i { border-color: rgba(15,20,17,0.2); }

/* ---------- Tabs / switch ---------- */
.switch { display: inline-flex; border: 1px solid var(--line-2); padding: 4px; gap: 4px; }
.switch button { padding: 10px 18px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; color: var(--ink-2); transition: background 0.3s, color 0.3s; }
.switch button.is-on { background: var(--green); color: var(--green-ink); }

/* ---------- Quotes ---------- */
.quote { position: relative; padding-left: 36px; border-left: 2px solid var(--green); }
.quote p { font-size: clamp(20px, 2vw, 28px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.quote footer { margin-top: 20px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; }
.quote footer b { color: var(--green); font-weight: 500; }
.section--light .quote p { color: var(--light-ink); }
.section--light .quote footer { color: var(--light-ink-2); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; padding: 16px 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); color: var(--ink); font: inherit; font-size: 15px; transition: border-color 0.3s, background 0.3s; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0bf38' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field select option { color: #000; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); background: rgba(160,191,56,0.05); }
.field textarea { min-height: 140px; resize: vertical; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { cursor: pointer; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; pointer-events: none; }
.radio-row span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all 0.3s; }
.radio-row input:checked + span { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.form-note { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45) saturate(0.8); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(10,13,11,0.92) 30%, rgba(10,13,11,0.5)); }
.cta-band .container { padding-block: clamp(80px, 10vw, 140px); }
.cta-band .display-2 { max-width: 16ch; }
.cta-band--center .container { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band--center .display-2, .cta-band--center .maxw { margin-inline: auto; }
.cta-band--center .flex { justify-content: center; }
.cta-band--center::after { background: linear-gradient(to bottom, rgba(10,13,11,0.72), rgba(10,13,11,0.88)); }

/* ---------- Big statement ---------- */
.statement { font-size: clamp(30px, 4.6vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.statement .w > span { color: var(--ink-3); transition: color 0.4s; }
.statement .w.is-lit > span { color: var(--ink); }
.statement .w.is-lit.is-key > span { color: var(--green); }
.section--light .statement .w > span { color: rgba(15,20,17,0.3); }
.section--light .statement .w.is-lit > span { color: var(--light-ink); }
.section--light .statement .w.is-lit.is-key > span { color: var(--green-dark); }

/* ---------- Sticky side layout ---------- */
.sticky-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-layout > .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .sticky-layout { grid-template-columns: 1fr; } .sticky-layout > .sticky { position: static; } }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row:nth-child(even) > .media { order: -1; }
.section--light .feature-row { border-color: var(--light-line); }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; } .feature-row:nth-child(even) > .media { order: 0; } }

/* ---------- Number list ---------- */
.numlist { counter-reset: n; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.numlist li:last-child { border-bottom: 1px solid var(--line); }
.numlist li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1; color: var(--green); }
.numlist h4 { margin-bottom: 6px; }
.numlist p { color: var(--ink-2); font-size: 15.5px; }
.section--light .numlist li { border-color: var(--light-line); }
.section--light .numlist p { color: var(--light-ink-2); }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: 1fr; }
.news-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); transition: padding-left 0.4s var(--ease); }
.news-item:hover { padding-left: 10px; }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news--thumbs .news-item { grid-template-columns: 120px 128px 1fr auto; align-items: center; }
.news-item__thumb { width: 128px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-item:hover .news-item__thumb img { transform: scale(1.08); }
.section--light .news-item, .section--light .news-item:last-child { border-color: var(--light-line); }
.section--light .news-item h3 { color: var(--light-ink); }
.section--light .news-item p { color: var(--light-ink-2); }
.section--light .news-item time { color: var(--green-dark); }
.section--light .news-item .tag { border-color: rgba(15,20,17,0.2); color: var(--light-ink-2); }
.news-item time { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--green); padding-top: 4px; }
.news-item h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.news-item p { color: var(--ink-2); font-size: 15px; max-width: 70ch; }
.news-item .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); padding: 6px 10px; white-space: nowrap; }
@media (max-width: 700px) { .news-item, .news--thumbs .news-item { grid-template-columns: 1fr; gap: 12px; } .news-item__thumb { width: min(100%, 300px); max-height: none; aspect-ratio: 4 / 3; } }

/* ---------- Site cards ---------- */
.site-card { position: relative; border: 1px solid var(--line); padding: 26px; background: var(--bg-2); display: flex; flex-direction: column; gap: 14px; min-height: 230px; transition: border-color 0.3s, transform 0.5s var(--ease); }
/* variante claire : les logos ressortent sur fond blanc */
.site-card--light { background: #fff; border-color: rgba(15,20,17,0.08); color: var(--light-ink); }
.site-card--light:hover { border-color: var(--green-dark); }
.site-card--light .site-card__dept { color: var(--green-dark); }
.site-card.site-card--light p { color: #333b35; font-weight: 500; }
.site-card.site-card--light .site-card__meta { color: #3a423c; font-weight: 500; font-size: 12px; line-height: 1.5; }
.site-card.site-card--light h3 { color: var(--light-ink); }
.site-card--light .site-card__logo { height: 52px; }
.site-card--light .site-card__logo img { background: transparent; padding: 0; max-height: 52px; max-width: 130px; }
.card--light .card__num { color: var(--green-dark); }
.card--light .h3, .card--light h3 { color: var(--light-ink); }
.site-card:hover { border-color: rgba(160,191,56,0.5); transform: translateY(-4px); }
.site-card__dept { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 0.9; color: var(--green); }
.site-card h3 { font-size: 18px; }
.site-card p { color: var(--ink-2); font-size: 14px; }
.site-card__logo { margin-top: auto; height: 34px; display: flex; align-items: center; }
.site-card__logo img { max-height: 34px; width: auto; max-width: 120px; background: #fff; padding: 3px 6px; }
.site-card__meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.06em; }

/* ---------- Footer ---------- */
.footer { background: #070908; border-top: 1px solid var(--line); padding: 80px 0 30px; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__brand img { width: 170px; margin-bottom: 22px; }
.footer__brand p { color: var(--ink-3); font-size: 14px; max-width: 34ch; }
.footer h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 18px; }
.footer li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14.5px; transition: color 0.3s, padding-left 0.3s; }
.footer li a:hover { color: var(--green); padding-left: 4px; }
.footer__tfin { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 13px; flex-wrap: wrap; }
.footer__tfin img { height: 34px; width: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.04em; }
.footer__bottom a:hover { color: var(--green); }
.footer__credit { flex-basis: 100%; opacity: 0.8; }
/* signature de l'agence, tout en bas du site */
.pmc-credit { background: #050606; border-top: 1px solid rgba(139,92,246,0.25); position: relative; overflow: hidden; }
.pmc-credit::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 140% at 50% 100%, rgba(139,92,246,0.16), transparent 70%); pointer-events: none; }
.pmc-credit a { position: relative; display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 34px var(--gutter); color: var(--ink-2); transition: color 0.3s; }
.pmc-credit span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.pmc-credit img { height: 44px; width: auto; transition: transform 0.5s var(--ease), filter 0.5s; }
.pmc-credit em { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: #a78bfa; display: inline-flex; align-items: center; gap: 8px; }
.pmc-credit em svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.pmc-credit a:hover { color: var(--ink); }
.pmc-credit a:hover img { transform: scale(1.04); filter: drop-shadow(0 0 14px rgba(139,92,246,0.55)); }
.pmc-credit a:hover em svg { transform: translateX(4px); }
@media (max-width: 560px) { .pmc-credit a { gap: 12px; flex-direction: column; } .pmc-credit img { height: 30px; } }
.footer__big { position: absolute; right: -0.02em; bottom: -0.18em; font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 22vw, 360px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.05); pointer-events: none; user-select: none; letter-spacing: -0.02em; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  /* pied de page téléphone : marque centrée sur toute la largeur, menus sur deux colonnes, bandeau TFIN centré */
  .footer { padding-top: 56px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 44px; }
  .footer__brand { grid-column: 1 / -1; text-align: center; }
  .footer__brand img { display: block; margin-inline: auto; width: 150px; }
  .footer__brand p { margin-inline: auto; }
  .footer__top > div:not(.footer__brand) { text-align: center; }
  .footer li a:hover { padding-left: 0; }
  .footer__tfin { flex-direction: column; text-align: center; gap: 14px; padding: 26px 0; }
  .footer__tfin img { height: 30px; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- Utility overlays ---------- */
.ticker-line { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.ticker-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 12px rgba(160,191,56,0); } 100% { box-shadow: 0 0 0 0 rgba(160,191,56,0); } }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; padding: 6px 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.section--light .tag-row span { border-color: rgba(15,20,17,0.2); color: var(--light-ink-2); }
.divider-label { display: flex; align-items: center; gap: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section--light .divider-label::after { background: var(--light-line); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(160,191,56,0.12); color: var(--green); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.pill--amber { background: rgba(240,160,48,0.12); color: var(--amber); }
.pill--steel { background: rgba(180,190,197,0.12); color: var(--steel); }
.pill--ev { background: rgba(255,210,63,0.14); color: #ffd23f; }

/* Laptop mock (SIRA) */
.laptop { position: relative; padding: 2.2% 2.2% 0; background: linear-gradient(180deg, #2a3136, #14191c); border-radius: 14px 14px 0 0; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; background: var(--bg); overflow: hidden; border-radius: 6px 6px 0 0; }
.laptop__base { height: 14px; background: linear-gradient(180deg, #3a434a, #1d2327); border-radius: 0 0 14px 14px; margin: 0 -3%; }
.laptop__bar { position: absolute; top: 0; left: 0; right: 0; height: 36px; background: var(--bg-3); display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); z-index: 2; }
.laptop__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--steel-3); }
.laptop__bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }
.laptop__ui { position: absolute; inset: 36px 0 0; display: grid; grid-template-columns: 200px 1fr; }
.laptop__side { border-right: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.laptop__side b { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; margin-top: 6px; }
.laptop__side span { display: block; height: 26px; border: 1px solid var(--line); font-size: 10.5px; padding: 5px 8px; color: var(--ink-2); }
.laptop__side span.on { background: rgba(160,191,56,0.18); border-color: var(--green); color: var(--ink); }
.laptop__map { position: relative; padding: 14px; overflow: hidden; }
.laptop__map .map-wrap { position: absolute; inset: 14px 150px 14px 14px; }
.laptop__map .map-wrap svg { width: 100%; height: 100%; }
.laptop__stats { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 6px; }
.laptop__stats div { background: rgba(16,21,18,0.9); border: 1px solid var(--line); padding: 8px 12px; min-width: 130px; }
.laptop__stats .num { font-size: 22px; color: var(--green); }
.laptop__stats p { font-size: 9.5px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 700px) { .laptop__ui { grid-template-columns: 1fr; } .laptop__side { display: none; } .laptop__map .map-wrap { inset: 10px 120px 10px 10px; } }

/* Battery viz container */
.viz-3d { position: relative; aspect-ratio: 1 / 1; max-height: 620px; }
.viz-3d canvas { width: 100% !important; height: 100% !important; }
.viz-3d__hud { position: absolute; left: 0; bottom: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; display: flex; flex-direction: column; gap: 4px; }
.viz-3d__hud b { color: var(--green); font-weight: 500; }

/* Coverage counter */
.coverage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.coverage div { background: var(--bg-2); padding: 26px; }
.coverage .num { font-size: 42px; color: var(--ink); }
.coverage p { color: var(--ink-3); font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.06em; margin-top: 6px; }
@media (max-width: 700px) { .coverage { grid-template-columns: repeat(3, 1fr); } .coverage div { padding: 18px 8px; text-align: center; } .coverage .num { font-size: 30px; } .coverage p { font-size: 10.5px; letter-spacing: 0.02em; margin-top: 6px; line-height: 1.35; } .coverage .cov-more { display: none; } }

/* Studio strip */
/* mosaïque : une grande photo + deux petites, légendées */
.mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; aspect-ratio: 16 / 11; }
.mosaic .media { height: 100%; }
.mosaic .media:first-child { grid-row: span 2; }
.mosaic .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic .media:hover img { transform: scale(1.05); }
.mosaic .media__cap { font-size: 11.5px; }
.mosaic__badge { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(10,13,11,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.mosaic__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@media (max-width: 700px) {
  .mosaic { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .mosaic .media { aspect-ratio: 4 / 3; height: auto; }
  .mosaic .media:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip .media { aspect-ratio: 4 / 3; }
.strip .media:nth-child(2) { transform: translateY(40px); }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } .strip .media:nth-child(2) { transform: none; } }

/* Print / misc */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 48px; height: 48px; border: 1px solid var(--line-2); background: rgba(16,21,18,0.7); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--ease), border-color 0.3s; }
.to-top.is-on { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--green); }
.to-top svg { width: 16px; height: 16px; }
