/* ═════════════════════════════════════════════════════════════
   ZONDACI — Feuille de style
   Direction : « Route & ingénierie » — tracés techniques, repères
   kilométriques, particules, grandes images.
   Charte : bleu ZONDACI #005ACA (logo) sur noir profond, ambre
   « chantier » #FFB21A en couleur d'appel. Sombre par défaut.
   ═════════════════════════════════════════════════════════════ */

/* ── Jetons ── */
:root {
  /* Marque (identiques dans tous les thèmes) */
  --brand: #005aca;          /* bleu du logo */
  --brand-2: #1667e0;        /* survol */
  --brand-ink: #ffffff;
  --brand-deep: #002a63;
  --hot: #ffb21a;            /* ambre « chantier » : appels à l'action, repères */
  --hot-2: #ffc548;
  --hot-ink: #0b0b0b;
  --glow: #2e86ff;
  --ink: #050608;
  --paper: #f5f7fb;

  /* Thème clair */
  --bg: #f5f7fb;
  --bg-2: #e9eef6;
  --surface: #ffffff;
  --text: #0a1220;
  --muted: #4c5a6e;
  --line: rgba(10, 18, 32, 0.12);
  --line-2: rgba(10, 18, 32, 0.22);
  --accent: #005aca;
  --accent-2: #004fb3;
  --accent-ink: #ffffff;
  --accent-soft: rgba(0, 90, 202, 0.08);
  --hot-text: #8a5200;
  --plate-c: #8a97a8;
  --grid-c: rgba(10, 18, 32, 0.055);
  --shadow: 0 1px 2px rgba(5, 10, 20, 0.06), 0 8px 24px -12px rgba(5, 10, 20, 0.18);
  --shadow-lg: 0 24px 64px -24px rgba(5, 10, 20, 0.35);
  --ok: #1d7a46;
  --warn: #9a5b00;

  --font: "Archivo", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

  --radius: 3px;
  --radius-lg: 8px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1360px;
  --hdr-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --t-fast: 160ms;
  --t: 320ms;
  --t-slow: 900ms;
  color-scheme: light;
}

/* Thème sombre (par défaut) et sections toujours sombres */
[data-theme="dark"], .is-dark {
  --bg: #050608;
  --bg-2: #0a0d12;
  --surface: #10141b;
  --text: #eef2f8;
  --muted: #9aa6b6;
  --line: rgba(206, 222, 255, 0.11);
  --line-2: rgba(206, 222, 255, 0.24);
  --accent: #4c94ff;
  --accent-2: #79aeff;
  --accent-soft: rgba(76, 148, 255, 0.14);
  --hot-text: #ffb21a;
  --plate-c: #5d6b80;
  --grid-c: rgba(120, 170, 255, 0.06);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -14px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 24px 64px -24px rgba(0, 0, 0, 0.85);
  --ok: #4cc283;
  --warn: #e0a640;
  color-scheme: dark;
}
.is-dark { background: var(--bg); color: var(--text); }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
main:focus, [tabindex="-1"]:focus:not(:focus-visible), legend:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 10001; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 600; transition: top var(--t-fast); }
.skip:focus { top: 12px; }

:lang(zh) body, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
:lang(zh) .hero__title, :lang(zh) .phero__title, :lang(zh) .shead__title { line-height: 1.2; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }

/* ── Typographie ── */
.eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.pk {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px 4px 7px; border: 1px solid var(--line-2); border-radius: 2px;
  color: var(--text); letter-spacing: 0.08em;
}
.pk::before { content: ""; width: 6px; height: 6px; background: var(--hot); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 178, 26, 0.18); }
:lang(zh) .eyebrow { letter-spacing: 0.06em; }

.shead { max-width: 820px; display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 52px); }
.shead__title { font-size: clamp(1.9rem, 4.2vw, 3.35rem); font-variation-settings: "wdth" 108; }
.shead__text { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.shead-row .shead { margin-bottom: 0; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link .i { width: 16px; height: 16px; }

/* Soulignement fluide */
.nav__link, .ftr a, .crumbs a, .prose a, .article__body a, .check a, .lang__menu a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--t) var(--ease-out), color var(--t-fast);
}
.nav__link:hover, .ftr a:hover, .crumbs a:hover, .prose a:hover, .article__body a:hover, .check a:hover, .lang__menu a:hover { background-size: 100% 1px; }

.i { width: 20px; height: 20px; flex: none; }

/* ── Boutons ── */
.btn {
  --b-bg: var(--brand); --b-fg: var(--brand-ink); --b-bd: var(--brand);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.005em;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.14); transform: translateX(-101%); transition: transform var(--t) var(--ease-out); z-index: -1; }
.btn:hover::after { transform: none; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--primary:hover { --b-bg: var(--brand-2); --b-bd: var(--brand-2); }
.btn--hot { --b-bg: var(--hot); --b-fg: var(--hot-ink); --b-bd: var(--hot); }
.btn--hot::after { background: rgba(255, 255, 255, 0.28); }
.btn--hot:hover { --b-bg: var(--hot-2); --b-bd: var(--hot-2); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--text); --b-bd: var(--line-2); }
.btn--ghost::after { background: var(--accent-soft); }
.btn--ghost:hover { --b-bd: var(--text); }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--light::after { background: rgba(0, 90, 202, 0.12); }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { --b-bd: #fff; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 0.9rem; gap: 8px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.btn--quote { --b-bg: transparent; --b-fg: var(--text); --b-bd: var(--line-2); min-height: 42px; padding: 0 14px; font-size: 0.9rem; }
.btn--quote::after { background: var(--accent-soft); }
.btn--quote:hover { --b-bd: var(--accent); --b-fg: var(--accent); }
.btn--quote.btn--primary { --b-bg: var(--brand); --b-fg: #fff; --b-bd: var(--brand); }
.btn__state { display: inline-flex; align-items: center; gap: 8px; }
.btn__state .i { width: 17px; height: 17px; }
.btn__state--on { display: none; }
.btn--quote[aria-pressed="true"] { --b-bg: var(--ok); --b-fg: #fff; --b-bd: var(--ok); }
.btn--quote[aria-pressed="true"] .btn__state--off { display: none; }
.btn--quote[aria-pressed="true"] .btn__state--on { display: inline-flex; }
.btn--quote.is-bump { animation: bump 520ms var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(0.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

.iconbtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius);
  color: var(--text); transition: background-color var(--t-fast), color var(--t-fast);
}
.iconbtn:hover { background: var(--accent-soft); color: var(--accent); }
.iconbtn--text { width: auto; padding: 0 10px; gap: 6px; display: inline-flex; align-items: center; font: 500 0.8rem var(--mono); letter-spacing: 0.06em; }
.iconbtn--boxed { border: 1px solid var(--line-2); width: 48px; height: 48px; }
.iconbtn[aria-pressed="true"] { color: var(--accent); }
.iconbtn[aria-pressed="true"] .i { fill: currentColor; fill-opacity: 0.18; }
.iconbtn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }

.badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--hot); color: var(--hot-ink); font: 600 0.72rem/1 var(--mono);
}
.badge.is-bump { animation: bump 520ms var(--ease-out); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 19px;
  border: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 500; transition: all var(--t-fast);
}
.chip span { font: 500 0.75rem var(--mono); color: var(--muted); }
.chip .i { width: 16px; height: 16px; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip--accent { border-color: var(--accent); color: var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 2px; background: var(--accent-soft); color: var(--accent); font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.tag--muted { background: var(--bg-2); color: var(--muted); }
:lang(zh) .tag { letter-spacing: 0; }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--bg-2); color: var(--muted); font-size: 0.93rem; }
.note .i { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }

/* ── Logo officiel ── */
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--brand); }
.logo svg { display: block; overflow: visible; }
.logo__mark { width: 40px; height: 40px; transition: transform 700ms var(--ease-out); }
.logo__word { width: auto; height: 17px; aspect-ratio: 1990 / 248; }
.logo:hover .logo__mark { transform: rotate(-12deg); }
.zl-gauge { fill: none; stroke: var(--hot); stroke-width: 44; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--sp, 0)); opacity: calc(min(1, var(--sp, 0) * 40)); }
.logo--stack { color: var(--brand); }
.logo--stack .zl-stack { width: 210px; height: auto; aspect-ratio: 1990 / 1554; }

/* ── En-tête ── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr-h); transition: height var(--t) var(--ease), background-color var(--t), box-shadow var(--t), color var(--t); background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); }
.hdr__in { height: 100%; max-width: calc(var(--maxw) + 120px); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 20px; }
.hdr__nav { flex: 1; display: flex; justify-content: center; }
.nav { display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 11px; font-size: 0.93rem; font-weight: 500; background-position: 11px calc(100% - 6px); background-size: 0 1px; }
.nav__link:hover { background-size: calc(100% - 22px) 1px; color: var(--accent); }
.nav__link .i { width: 16px; height: 16px; transition: transform var(--t-fast); }
.nav__item--drop:hover .nav__link .i, .nav__item--drop:focus-within .nav__link .i { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 8px); left: -8px; width: 340px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--t) var(--ease-out); color: var(--text); }
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--drop:hover .drop, .nav__item--drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius); }
.drop a:hover { background: var(--accent-soft); }
.drop__k { font-weight: 600; }
.drop__d { font-size: 0.82rem; color: var(--muted); }
.hdr__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr__quote { margin-left: 6px; }
.hdr__quote .badge { background: var(--ink); color: var(--hot); }
.hdr__burger { display: none; }
[data-theme="dark"] .i--dark, [data-theme="light"] .i--light { display: none; }
.hdr.is-compact { --hdr-h: 60px; box-shadow: var(--shadow); }

/* Sur le hero : en-tête transparent */
.is-home .hdr:not(.is-compact) { background: transparent; border-color: transparent; color: #fff; }
.is-home .hdr:not(.is-compact) .iconbtn { color: #fff; }
.is-home .hdr:not(.is-compact) .iconbtn:hover { background: rgba(255, 255, 255, 0.12); }


.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.lang__menu a { display: block; padding: 9px 12px; border-radius: var(--radius); background-position: 12px calc(100% - 6px); }
.lang__menu a[aria-current] { color: var(--accent); font-weight: 600; }

/* Menu mobile */
.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; padding: 14px var(--gutter) calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mmenu.is-open { animation: slideIn var(--t) var(--ease-out); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mmenu__list li { opacity: 0; transform: translateY(8px); animation: rise 420ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 28ms + 60ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.mmenu__list a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.22rem; font-weight: 600; font-variation-settings: "wdth" 106; }
.mmenu__list .i { color: var(--accent); width: 18px; }
.mmenu__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.mmenu__langs { display: flex; gap: 8px; }
.mmenu__langs a { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: 0.9rem; }
.mmenu__langs a[aria-current] { background: var(--text); color: var(--bg); }
.mmenu__theme { display: none; justify-self: start; }
.mmenu__contact { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.95rem; word-break: break-all; }

/* ── Fil d'Ariane ── */
.crumbs { padding-top: calc(var(--hdr-h) + 18px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font: 400 0.78rem var(--mono); color: var(--muted); letter-spacing: 0.02em; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.5; }
.crumbs [aria-current] { color: var(--text); }

/* ── Sections ── */
.sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec--tight { padding-block: clamp(32px, 5vw, 64px); }
.sec--alt { background: var(--bg-2); }

/* ── Média + planche technique ── */
.mbox {
  position: relative; overflow: hidden; background-color: var(--bg-2);
  background-image: linear-gradient(var(--grid-c) 1px, transparent 1px), linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
  background-size: 24px 24px; aspect-ratio: 16 / 10; isolation: isolate;
}
.mbox--card { aspect-ratio: 4 / 3; }
.mbox--wide { aspect-ratio: 16 / 10; }
.mbox--fill { position: absolute; inset: 0; aspect-ratio: auto; }
.mbox img, .mbox picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.mbox img { object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease), transform 1.2s var(--ease-out); }
.mbox.is-loaded img { opacity: 1; }
.mbox--cutout img { object-fit: contain; padding: 6% 7%; }
.mbox--cutout { background-color: var(--surface); }
.plate {
  position: absolute; inset: 10% 8%; background: var(--plate-c);
  -webkit-mask: var(--plate) center / contain no-repeat; mask: var(--plate) center / contain no-repeat;
  transition: opacity 400ms var(--ease);
}
.mbox.is-loaded .plate { opacity: 0; }
.mbox:not(.is-loaded):not(.is-failed) .plate { animation: platePulse 2.2s ease-in-out infinite; }
@keyframes platePulse { 50% { opacity: 0.55; } }
.plate--dump { --plate: url(/assets/plates/dump.svg); }
.plate--tractor { --plate: url(/assets/plates/tractor.svg); }
.plate--cargo { --plate: url(/assets/plates/cargo.svg); }
.plate--lighttruck { --plate: url(/assets/plates/lighttruck.svg); }
.plate--tanker { --plate: url(/assets/plates/tanker.svg); }
.plate--flatbed { --plate: url(/assets/plates/flatbed.svg); }
.plate--lowbed { --plate: url(/assets/plates/lowbed.svg); }
.plate--loader { --plate: url(/assets/plates/loader.svg); }
.plate--dozer { --plate: url(/assets/plates/dozer.svg); }
.plate--grader { --plate: url(/assets/plates/grader.svg); }
.plate--roller { --plate: url(/assets/plates/roller.svg); }
.plate--excavator { --plate: url(/assets/plates/excavator.svg); }
.plate--suv { --plate: url(/assets/plates/suv.svg); }
.plate--pickup { --plate: url(/assets/plates/pickup.svg); }
.plate--van { --plate: url(/assets/plates/van.svg); }
.mbox__credit { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 3px 7px; border-radius: 2px; background: rgba(15, 18, 22, 0.62); color: #fff; font: 500 0.66rem/1.3 var(--mono); letter-spacing: 0.04em; opacity: 0; transition: opacity var(--t); pointer-events: none; }
.mbox.is-loaded .mbox__credit { opacity: 1; }
.mbox__credit--plate { background: transparent; color: var(--muted); opacity: 1; left: 10px; right: auto; padding: 0; }
.mbox.is-loaded .mbox__credit--plate { opacity: 0; }

/* Révélation par masque */
.js [data-reveal="mask"] { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"]:not(.is-in) { clip-path: inset(0 0 100% 0); }
.js [data-reveal="mask"].is-in { transition: clip-path 1.1s var(--ease-out); }
.js [data-reveal]:not([data-reveal="mask"]):not(.is-in) { opacity: 0; transform: translateY(18px); }
.js [data-reveal]:not([data-reveal="mask"]).is-in { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }

/* Planche animée (tracé) */
.draw path, .draw circle, .draw rect, .draw ellipse { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw:not(.is-drawn) path, .js .draw:not(.is-drawn) circle, .js .draw:not(.is-drawn) rect, .js .draw:not(.is-drawn) ellipse { stroke-dashoffset: 1; }
.draw.is-drawn path, .draw.is-drawn circle, .draw.is-drawn rect, .draw.is-drawn ellipse { transition: stroke-dashoffset 2.2s var(--ease-out); }
.draw [fill="currentColor"] { fill-opacity: 0.16; }

/* ═════════ HERO « CONVOI » (séquence 1) ═════════
   Sans JS / mouvement réduit : hero plein écran classique.
   Avec JS : .is-pinned → scène collante, particules recomposées
   au défilement, chapitres par univers. */
.hero { position: relative; background: var(--ink); }
.hero__stage { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: calc(var(--hdr-h) + 40px) 0 0; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 170, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, 0.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%); }
.hero__glow { position: absolute; left: 44%; top: 4%; width: 62vw; height: 62vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 90, 202, 0.42), rgba(0, 90, 202, 0.12) 55%, transparent 72%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.8; } }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.hero.has-particles .hero__canvas { display: block; }
.hero.has-particles .hero__plate { display: none; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.66) 30%, rgba(5, 6, 8, 0) 58%), linear-gradient(0deg, rgba(5, 6, 8, 0.9), transparent 36%); }
.hero__plate { position: absolute; right: -3%; top: 30%; width: min(64vw, 980px); color: rgba(76, 148, 255, 0.55); animation: drift 30s var(--ease) infinite alternate; }
.hero__plate .draw.is-drawn path, .hero__plate .draw.is-drawn circle, .hero__plate .draw.is-drawn rect { transition-duration: 3.2s; }
@keyframes drift { to { transform: translate3d(-2.5%, 1.5%, 0) scale(1.03); } }

/* Grand mot de fond (change à chaque chapitre) */
.hero__word { position: absolute; left: 0; right: 0; top: 50%; height: 1.1em; margin-top: -0.62em; font-weight: 900; font-size: clamp(4rem, min(11.5vw, 24vh), 15rem); line-height: 1; font-variation-settings: "wdth" 118; letter-spacing: -0.01em; text-align: center; white-space: nowrap; pointer-events: none; }
.hero__word span { position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1px rgba(110, 165, 255, 0.16); clip-path: inset(0 0 100% 0); transform: translateY(18%); transition: clip-path 900ms var(--ease-io), transform 900ms var(--ease-io); }
.hero__word span.is-on { clip-path: inset(0 0 -10% 0); transform: none; }
.hero__word span.is-off { clip-path: inset(100% 0 0 0); transform: translateY(-18%); }
:lang(zh) .hero__word { font-size: clamp(4.5rem, 16vw, 17rem); letter-spacing: 0.08em; }

.hero__in { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) clamp(120px, 15vh, 170px); }
.hero__intro { max-width: 760px; }
.hero__eyebrow { color: rgba(255, 255, 255, 0.72); margin-bottom: 26px; animation: fadeUp 800ms var(--ease-out) both; }
.hero__eyebrow .pk { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero__title { font-size: clamp(2.5rem, 6.2vw, 5.8rem); line-height: 0.96; letter-spacing: -0.025em; font-weight: 750; font-variation-settings: "wdth" 112; max-width: 15ch; }
:lang(zh) .hero__title { font-size: clamp(2.2rem, 6vw, 5.4rem); max-width: 12em; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line__in { display: inline-block; animation: lineUp 1100ms var(--ease-out) both; }
.line:nth-child(2) .line__in { animation-delay: 160ms; color: #9cc3ff; }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.hero__text { max-width: 56ch; margin-top: 28px; color: rgba(255, 255, 255, 0.8); font-size: clamp(1.02rem, 1.4vw, 1.2rem); animation: fadeUp 900ms 380ms var(--ease-out) both; }
.hero__ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 12px; margin-top: 36px; }
.hcta { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; padding: 18px 20px; border: 1px solid rgba(156, 195, 255, 0.28); border-radius: var(--radius); background: rgba(5, 10, 20, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; animation: fadeUp 900ms var(--ease-out) both; transition: border-color var(--t), background-color var(--t), box-shadow var(--t); color: #fff; }
.hcta--pro { animation-delay: 560ms; }
.hcta--mob { animation-delay: 700ms; }
.hcta::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--hot); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
.hcta:hover { border-color: rgba(156, 195, 255, 0.7); background: rgba(0, 90, 202, 0.28); box-shadow: 0 0 40px -10px rgba(46, 134, 255, 0.6); }
.hcta:hover::before { transform: scaleX(1); }
.hcta--pro { background: var(--hot); border-color: var(--hot); color: var(--hot-ink); box-shadow: 0 18px 50px -22px rgba(255, 178, 26, 0.75); }
.hcta--pro::before { background: var(--ink); }
.hcta--pro:hover { background: var(--hot-2); border-color: var(--hot-2); box-shadow: 0 18px 60px -18px rgba(255, 178, 26, 0.9); }
.hcta__k { grid-column: 1 / -1; font: 500 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.78; }
.hcta__l { font-weight: 650; font-size: 1.06rem; line-height: 1.25; }
.hcta .i { transition: transform var(--t) var(--ease-out); }
.hcta:hover .i { transform: translateX(4px); }
.hero__slogan { margin-top: 28px; font: 500 0.82rem var(--mono); color: rgba(255, 255, 255, 0.6); letter-spacing: 0.04em; animation: fadeUp 900ms 840ms var(--ease-out) both; }

/* Chapitres : liste compacte par défaut */
.hero__chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 40px; max-width: 980px; border: 1px solid rgba(156, 195, 255, 0.16); border-radius: var(--radius); overflow: hidden; background: rgba(156, 195, 255, 0.16); }
.hchap__link { display: grid; gap: 4px; height: 100%; padding: 14px 16px; background: rgba(5, 6, 8, 0.72); transition: background-color var(--t); }
.hchap__link:hover { background: rgba(0, 90, 202, 0.35); }
.hchap__n { font: 500 0.72rem var(--mono); color: var(--hot); letter-spacing: 0.08em; }
.hchap__n i { font-style: normal; opacity: 0.5; color: #fff; }
.hchap__t { font-weight: 700; line-height: 1.2; }
.hchap__k, .hchap__d, .hchap__b, .hchap__go { display: none; }

.hero__road { position: absolute; left: 0; right: 0; bottom: 18px; height: 120px; z-index: 1; pointer-events: none; }
.hero__road svg { width: 100%; height: 100%; }
.road__edge { fill: none; stroke: rgba(120, 170, 255, 0.1); stroke-width: 26; }
.road__dash { fill: none; stroke: var(--hot); stroke-width: 2.4; stroke-dasharray: 18 16; animation: roadMove 1.6s linear infinite; }
@keyframes roadMove { to { stroke-dashoffset: -34; } }
.hero__pk { position: absolute; bottom: 22px; font: 500 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); padding-left: 14px; }
.hero__pk::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-radius: 50%; border: 2px solid var(--hot); }
.hero__pk--a { left: var(--gutter); }
.hero__pk--b { right: var(--gutter); }
.hero__rail, .hero__cue { display: none; }

/* ── Mode « collant » (JS + mouvement autorisé) ── */
.hero.is-pinned { height: calc(100svh + var(--chapters, 4) * 72svh); }
.hero.is-pinned .hero__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; }
.hero.is-pinned .hero__intro { transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out), visibility 0s 0s; }
.hero.is-pinned:not([data-chap="0"]) .hero__intro { opacity: 0; transform: translateY(-48px); visibility: hidden; pointer-events: none; transition: opacity 450ms var(--ease), transform 700ms var(--ease-io), visibility 0s 700ms; }
.hero.is-pinned .hero__chapters { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(104px, 13vh, 150px); display: block; margin: 0; max-width: 580px; border: 0; background: none; overflow: visible; pointer-events: none; }
.hero.is-pinned .hchap { position: absolute; left: 0; right: 0; bottom: 0; }
.hero.is-pinned .hchap__link { display: grid; gap: 14px; padding: 0; background: none; pointer-events: none; }
.hero.is-pinned .hchap.is-on .hchap__link { pointer-events: auto; }
.hero.is-pinned .hchap__n, .hero.is-pinned .hchap__k, .hero.is-pinned .hchap__d, .hero.is-pinned .hchap__b, .hero.is-pinned .hchap__go { display: flex; }
.hero.is-pinned .hchap__link > * { opacity: 0; transform: translateY(26px); transition: opacity 380ms var(--ease), transform 500ms var(--ease-io); }
.hero.is-pinned .hchap.is-on .hchap__link > * { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.hero.is-pinned .hchap.is-on .hchap__link > :nth-child(2) { transition-delay: 60ms; }
.hero.is-pinned .hchap.is-on .hchap__link > :nth-child(3) { transition-delay: 120ms; }
.hero.is-pinned .hchap.is-on .hchap__link > :nth-child(4) { transition-delay: 200ms; }
.hero.is-pinned .hchap.is-on .hchap__link > :nth-child(5) { transition-delay: 270ms; }
.hero.is-pinned .hchap.is-on .hchap__link > :nth-child(6) { transition-delay: 340ms; }
.hero.is-pinned .hchap__n { align-items: baseline; gap: 6px; font: 600 clamp(2.6rem, 5vw, 4.4rem)/1 var(--font); font-variation-settings: "wdth" 120; letter-spacing: -0.02em; color: var(--hot); }
.hero.is-pinned .hchap__n i { font: 500 0.9rem var(--mono); letter-spacing: 0.08em; }
.hero.is-pinned .hchap__k { font: 500 0.74rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }
.hero.is-pinned .hchap__t { font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 0.96; font-weight: 800; letter-spacing: -0.02em; font-variation-settings: "wdth" 115; }
.hero.is-pinned .hchap__d { max-width: 44ch; color: rgba(255, 255, 255, 0.78); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero.is-pinned .hchap__b { flex-wrap: wrap; gap: 8px; }
.hero.is-pinned .hchap__b b { padding: 6px 10px; border: 1px solid rgba(156, 195, 255, 0.3); border-radius: 2px; font: 600 0.78rem var(--mono); letter-spacing: 0.08em; background: rgba(0, 90, 202, 0.18); }
.hero.is-pinned .hchap__go { align-items: center; gap: 10px; justify-self: start; margin-top: 6px; padding: 12px 18px; border-radius: var(--radius); background: var(--hot); color: var(--hot-ink); font-weight: 650; }
.hero.is-pinned .hchap__go .i { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.hero.is-pinned .hchap__link:hover .hchap__go .i { transform: translateX(4px); }
.hero.is-pinned .hchap__link:hover .hchap__t { color: #9cc3ff; }

.hero.is-pinned .hero__rail { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; padding-left: 18px; }
.hero__railbar { position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: rgba(156, 195, 255, 0.18); border-radius: 2px; overflow: hidden; }
.hero__railbar i { position: absolute; inset: 0; background: var(--hot); transform-origin: top; transform: scaleY(var(--hp, 0)); box-shadow: 0 0 12px var(--hot); }
.hero__rail button { display: flex; align-items: center; gap: 10px; padding: 6px 4px; color: rgba(255, 255, 255, 0.5); font: 500 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-align: left; transition: color var(--t); }
.hero__rail button em { font-style: normal; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 600ms var(--ease-out), opacity 400ms; }
.hero__rail:hover button em, .hero__rail button:focus-visible em { max-width: 260px; opacity: 1; }
.hero__rail:hover { background: linear-gradient(90deg, transparent, rgba(5, 6, 8, 0.7) 30%); }
.hero__rail button:hover, .hero__rail button[aria-current] { color: #fff; }
.hero__rail button[aria-current] span { color: var(--hot); }
.hero.is-pinned .hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 0.68rem var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); transition: opacity 500ms; }
.hero__cue span { position: relative; width: 1px; height: 42px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--hot); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
.hero.is-scrolled .hero__cue { opacity: 0; }
.hero.is-pinned .hero__road { opacity: 0.6; }
.hero.is-pinned .hero__in { padding-bottom: clamp(104px, 13vh, 150px); }
.hero.is-pinned .hero__title { font-size: clamp(2.4rem, min(5.8vw, 8.6vh), 5.6rem); }
:lang(zh) .hero.is-pinned .hero__title { font-size: clamp(2.1rem, min(4.8vw, 7.4vh), 4.6rem); }
.hero.is-pinned .hero__eyebrow { margin-bottom: 20px; }
.hero.is-pinned .hero__text { margin-top: 22px; }
.hero.is-pinned .hero__ctas { margin-top: 28px; }
@media (max-height: 700px) and (max-width: 900px) {
  .hero.is-pinned .hcta__k { display: none; }
  .hero.is-pinned .hero__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-height: 820px) and (min-width: 901px) {
  .hero.is-pinned .hero__slogan { display: none; }
  .hero.is-pinned .hero__text { font-size: 1rem; max-width: 52ch; }
}

/* ═════════ UNIVERS (séquence 2) ═════════ */
.uni { padding-bottom: clamp(64px, 9vw, 128px); }
.uni__wrap { display: flex; gap: 10px; padding-inline: var(--gutter); max-width: calc(var(--maxw) + 240px); margin-inline: auto; height: clamp(520px, 72vh, 720px); }
.uni__panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; transition: flex-grow 900ms var(--ease-out); isolation: isolate; }
.uni__panel .mbox { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; background-color: #1a1f26; }
.uni__panel .plate { inset: 10% 12% 48%; }
.uni__panel .mbox img { transform: scale(1.06); transition: transform 1.4s var(--ease-out), opacity 600ms; }
.uni__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 15, 0.15) 0%, rgba(10, 12, 15, 0.35) 40%, rgba(10, 12, 15, 0.92) 100%); transition: opacity var(--t); }
.uni__panel--pro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(0, 90, 202, 0.5), transparent 58%); }
.uni__panel--mob::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(225deg, rgba(255, 178, 26, 0.22), transparent 50%); }
.uni__content { position: absolute; inset: auto 0 0; padding: clamp(22px, 3vw, 40px); display: grid; gap: 14px; }
.uni__k { font: 500 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.uni__title { font-size: clamp(1.8rem, 3.4vw, 3rem); font-variation-settings: "wdth" 112; }
.uni__text { color: rgba(255, 255, 255, 0.78); max-width: 46ch; }
.uni__links { display: grid; gap: 0; margin-top: 8px; max-width: 460px; position: relative; z-index: 2; }
.uni__links a { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); font-weight: 600; transition: padding var(--t) var(--ease-out), color var(--t-fast); }
.uni__links a:hover { padding-left: 8px; color: #fff; }
.uni__links .i { width: 18px; height: 18px; color: var(--hot); }
.uni__count { font: 500 0.75rem var(--mono); color: rgba(255, 255, 255, 0.55); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.uni__title a:focus-visible { outline: none; }
.uni__panel:has(.uni__title a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (min-width: 900px) and (hover: hover) {
  .uni__panel:hover, .uni__panel:focus-within { flex-grow: 1.55; }
  .uni__panel:hover .mbox img, .uni__panel:focus-within .mbox img { transform: scale(1); }
  .uni__wrap:hover .uni__panel:not(:hover) .uni__text, .uni__wrap:hover .uni__panel:not(:hover) .uni__links { opacity: 0.55; }
  .uni__text, .uni__links { transition: opacity var(--t); }
}

/* ═════════ MARQUES ═════════ */
.marquee { overflow: hidden; margin: 0 calc(var(--gutter) * -1) 36px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 28px; align-items: center; width: max-content; animation: marquee 48s linear infinite; font-weight: 800; font-size: clamp(2.2rem, 6vw, 5rem); font-variation-settings: "wdth" 125; letter-spacing: 0.01em; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.marquee__track i { font-style: normal; color: var(--hot); -webkit-text-stroke: 0; font-weight: 300; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.bgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.bgrid--sm { grid-template-columns: repeat(5, 1fr); }
.btile { position: relative; display: grid; gap: 6px; padding: 26px 22px; min-height: 120px; align-content: end; background: var(--bg-2); transition: background-color var(--t); }
.sec:not(.sec--alt) .btile { background: var(--bg); }
.btile__n { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; font-variation-settings: "wdth" 118; }
.btile__u { font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.btile__line { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--hot) 0 10px, transparent 10px 18px); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out); }
.btile:hover { background: var(--surface); }
.btile:hover .btile__line { transform: scaleX(1); }

/* ═════════ CARTES PRODUITS ═════════ */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 288px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--t), box-shadow var(--t), transform var(--t) var(--ease-out); }
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard__media .mbox { border-radius: 0; }
.pcard:hover .mbox img { transform: scale(1.045); }
.pcard__body { display: grid; gap: 6px; padding: 16px 18px 6px; align-content: start; flex: 1; }
.pcard__brand { display: flex; gap: 6px; flex-wrap: wrap; font: 500 0.72rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pcard__brand span { opacity: 0.5; }
.pcard__title { font-size: 1.16rem; line-height: 1.22; font-variation-settings: "wdth" 104; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__title a:hover { color: var(--accent); }
.pcard__tag { color: var(--muted); font-size: 0.92rem; }
.pcard .tag { justify-self: start; margin-top: 4px; }
.pcard__actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 2px; padding: 10px 12px 14px 12px; }
.pcard__actions .btn--quote { margin-left: auto; }
.pcard.is-leaving { opacity: 0; transform: scale(0.98); }
.pgrid.is-swapping .pcard { animation: cardIn 520ms var(--ease-out) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.pcard--skeleton { min-height: 360px; background: linear-gradient(100deg, var(--surface) 30%, var(--bg-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }

/* ═════════ SECTEURS ═════════ */
.slist { border-top: 1px solid var(--line-2); }
.slist__row { border-bottom: 1px solid var(--line-2); }
.slist__link { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.4fr) 140px 40px; gap: 24px; align-items: center; padding: 28px 0; overflow: hidden; }
.slist__n { font: 500 0.85rem var(--mono); color: var(--muted); }
.slist__name { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 700; font-variation-settings: "wdth" 110; transition: color var(--t-fast), transform var(--t) var(--ease-out); }
.slist__text { color: var(--muted); font-size: 0.97rem; }
.slist__plate { position: relative; inset: auto; height: 62px; opacity: 0.35; transition: opacity var(--t), transform 700ms var(--ease-out); transform: translateX(-12px); }
.slist__arrow { color: var(--accent); transition: transform var(--t) var(--ease-out); }
.slist__link:hover .slist__name { color: var(--accent); transform: translateX(6px); }
.slist__link:hover .slist__plate { opacity: 0.9; transform: none; background: var(--accent); }
.slist__link:hover .slist__arrow { transform: translateX(6px); }

/* ═════════ PIÈCES & SAV ═════════ */
.ps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pscard { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3.6vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.pscard--dark { border-color: transparent; }
.pscard__art { color: var(--plate-c); width: min(100%, 380px); margin: -6px 0 6px -10px; opacity: 0.9; }
.pscard h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-variation-settings: "wdth" 110; }
.pscard p { color: var(--muted); max-width: 46ch; }
.pscard__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ═════════ ACCOMPAGNEMENT (séquence 3) ═════════ */
.process { overflow: hidden; }
.process__track { position: relative; --p: 0; }
.process__route { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 160px; overflow: visible; }
.process__base { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 8; }
.process__line { fill: none; stroke: var(--hot); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); stroke-linecap: round; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 170px; }
.pstep { position: relative; display: grid; gap: 12px; align-content: start; }
.pstep__pin { position: absolute; top: -118px; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); font: 600 0.8rem var(--mono); transition: border-color 500ms, background-color 500ms, color 500ms, transform 500ms var(--ease-out); }
.pstep:nth-child(1) .pstep__pin { top: -112px; }
.pstep:nth-child(2) .pstep__pin { top: -86px; }
.pstep:nth-child(3) .pstep__pin { top: -110px; }
.pstep:nth-child(4) .pstep__pin { top: -126px; }
.pstep.is-on .pstep__pin { border-color: var(--brand); background: var(--brand); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(0, 90, 202, 0.18), 0 0 28px rgba(46, 134, 255, 0.45); }
.pstep__picto { color: var(--text); opacity: 0.35; transition: opacity 600ms, transform 600ms var(--ease-out); transform: translateY(8px); }
.pstep.is-on .pstep__picto { opacity: 1; transform: none; color: var(--accent); }
.pstep__title { font-size: 1.5rem; font-variation-settings: "wdth" 110; }
.pstep__text { color: var(--muted); font-size: 0.97rem; }

/* ═════════ VIDÉOS ═════════ */
.vgrid { display: grid; grid-template-columns: 0.75fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.vgrid__tall { grid-row: span 2; }
.vgrid--pd, .vgrid--brand { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); grid-template-rows: none; }
.vfac { display: grid; gap: 12px; align-content: start; }
.vfac__frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0b0d10; }
.vfac--vert .vfac__frame { aspect-ratio: 9 / 16; max-height: 640px; }
.vgrid__tall .vfac__frame { aspect-ratio: auto; height: 100%; min-height: 420px; }
.vgrid__tall { grid-template-rows: 1fr auto; }
.vfac__frame .mbox { background-color: #13171c; }
.vfac__frame .mbox img { transition: transform 1.2s var(--ease-out), opacity 600ms; }
.vfac__frame:hover .mbox img { transform: scale(1.05); }
.vfac__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55)); }
.vfac__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 0 rgba(46, 134, 255, 0.5); transition: transform var(--t) var(--ease-out); animation: ping 2.6s infinite; }
.vfac__play .i { width: 26px; height: 26px; margin-left: 3px; }
.vfac__frame:hover .vfac__play { transform: scale(1.08); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46, 134, 255, 0.5); } 70%, 100% { box-shadow: 0 0 0 22px rgba(46, 134, 255, 0); } }
.vfac__badge { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 4px 8px; border-radius: 2px; background: rgba(0, 0, 0, 0.6); color: #fff; font: 500 0.68rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.vfac__cap { display: grid; gap: 4px; }
.vfac__cap strong { font-weight: 650; }
.vfac__cap span { font: 400 0.76rem/1.45 var(--mono); color: var(--muted); }
.vfac iframe, .vfac video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vfac.is-playing .vfac__frame::after { display: none; }

/* ═════════ IMPLANTATIONS ═════════ */
.locs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loc { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.loc__body { display: grid; gap: 10px; padding: clamp(22px, 3vw, 34px); }
.loc__role { font: 500 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hot-text); }
.loc__name { font-size: clamp(1.5rem, 2.4vw, 2rem); font-variation-settings: "wdth" 110; }
.loc__addr { display: flex; gap: 10px; color: var(--muted); }
.loc__addr .i { color: var(--text); width: 18px; margin-top: 3px; }
.loc__addr small { display: block; font-size: 0.8rem; opacity: 0.8; }
.loc__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mapfac { position: relative; min-height: 220px; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); border-top: 1px solid var(--line); overflow: hidden; }
.mapfac__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapfac__btn { position: relative; z-index: 1; background: var(--surface); }
.mapfac__note { position: absolute; left: 12px; bottom: 10px; font: 400 0.68rem var(--mono); }
.mapfac iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ═════════ ACTUALITÉS ═════════ */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.ncard { position: relative; display: grid; gap: 12px; align-content: start; }
.ncard__media { display: block; border-radius: var(--radius-lg); overflow: hidden; }
.ncard__media .mbox img { transition: transform 1.2s var(--ease-out), opacity 600ms; }
.ncard:hover .mbox img { transform: scale(1.04); }
.ncard__meta { display: flex; gap: 12px; align-items: center; font: 400 0.8rem var(--mono); color: var(--muted); }
.ncard__title { font-size: 1.3rem; line-height: 1.25; font-variation-settings: "wdth" 104; }
.ncard__title a::after { content: ""; position: absolute; inset: 0; }
.ncard__title a:hover { color: var(--accent); }
.ncard__ex { color: var(--muted); }

/* ═════════ APPEL FINAL ═════════ */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 10vw, 140px); background: radial-gradient(90% 120% at 85% 110%, #2e86ff 0%, rgba(46, 134, 255, 0) 55%), linear-gradient(135deg, #003b88 0%, var(--brand) 55%, #0a6cf0 100%) !important; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); }
.cta::after { content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: 80%; width: 18px; background: var(--hot); transform: skewX(-40deg); box-shadow: 64px 0 0 -2px rgba(255, 255, 255, 0.14); }
.cta.is-dark { --muted: rgba(255, 255, 255, 0.84); }
.cta__art { position: absolute; right: -6%; bottom: -10%; width: min(70vw, 900px); color: rgba(255, 255, 255, 0.22); }
.cta__in { position: relative; display: grid; gap: 24px; }
.cta__title { font-size: clamp(2rem, 5.4vw, 4.6rem); max-width: 18ch; font-variation-settings: "wdth" 112; line-height: 1; }
.cta__text { max-width: 54ch; font-size: 1.12rem; color: rgba(255, 255, 255, 0.86); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ═════════ PIED DE PAGE ═════════ */
.ftr { position: relative; padding-top: 80px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.ftr__road { position: absolute; inset: 0 0 auto; height: 2px; background: repeating-linear-gradient(90deg, var(--hot) 0 28px, transparent 28px 44px); opacity: 0.9; }
.ftr__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.ftr__slogan { margin: 18px 0 22px; font-size: 1.05rem; color: var(--muted); max-width: 32ch; }
.ftr__contact { display: grid; gap: 10px; }
.ftr__contact li, .ftr__contact a { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.94rem; word-break: break-word; }
.ftr__contact .i { color: var(--text); width: 18px; }
.ftr__h { font: 500 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__col a { font-size: 0.97rem; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.ftr__legal, .ftr__social, .ftr__langs { display: flex; flex-wrap: wrap; gap: 16px; }
.ftr__langs { margin-left: auto; }
.ftr__langs [aria-current] { color: var(--text); }

/* ═════════ WIDGETS ═════════ */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; }
.fab__btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 10px 30px -8px rgba(31, 168, 85, 0.6); transition: transform var(--t) var(--ease-out); }
.fab__btn .i { width: 28px; height: 28px; }
.fab__btn:hover { transform: scale(1.06); }
.wapanel { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 71; width: min(360px, calc(100vw - 32px)); padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform-origin: bottom right; animation: pop 280ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
.wapanel__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.05rem; }
.wapanel__intro { color: var(--muted); font-size: 0.9rem; margin: 6px 0 12px; }
.wapanel__topics { display: grid; gap: 6px; }
.wapanel__topics a { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; transition: border-color var(--t-fast), background-color var(--t-fast); }
.wapanel__topics a:hover { border-color: #1fa855; background: rgba(31, 168, 85, 0.08); }
.wapanel__topics .i { width: 16px; height: 16px; color: #1fa855; }
.wapanel__note { margin-top: 12px; font-size: 0.76rem; color: var(--muted); }

.mbar { display: none; }

.scrim { position: fixed; inset: 0; z-index: 79; background: rgba(8, 10, 12, 0.55); animation: fade 240ms; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--bg); box-shadow: var(--shadow-lg); animation: drawerIn 380ms var(--ease-out); }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-weight: 700; font-size: 1.15rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__note { font-size: 0.8rem; color: var(--muted); text-align: center; }

.qitem { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeUp 400ms var(--ease-out); }
.qitem .mbox { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.qitem .mbox__credit { display: none; }
.qitem__n { font-weight: 600; line-height: 1.25; }
.qitem__b { font: 400 0.72rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.qitem__side { display: grid; justify-items: end; gap: 6px; }
.qitem.is-leaving { animation: leave 280ms var(--ease) forwards; }
@keyframes leave { to { opacity: 0; transform: translateX(16px); } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); height: 42px; }
.qty .iconbtn { width: 38px; height: 40px; }
.qty input { width: 44px; height: 40px; border: 0; background: transparent; text-align: center; font: 600 0.95rem var(--mono); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 34px; }
.qty--sm .iconbtn { width: 30px; height: 32px; }
.qty--sm input { width: 34px; height: 32px; font-size: 0.85rem; }
.qremove { font-size: 0.78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.qremove:hover { color: var(--accent); }
.empty { display: grid; justify-items: center; gap: 16px; padding: 48px 16px; text-align: center; color: var(--muted); }
.empty__art { width: min(320px, 80%); color: var(--plate-c); }

body.has-tray .ftr { padding-bottom: 110px; }
.ctray { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 65; transform: translateX(-50%); width: min(720px, calc(100vw - 110px)); animation: trayIn 420ms var(--ease-out); }
@keyframes trayIn { from { opacity: 0; transform: translate(-50%, 20px); } }
.ctray__in { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; background: #10141b; border: 1px solid rgba(206, 222, 255, 0.14); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.ctray__items { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; }
.ctray__chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); font-size: 0.82rem; white-space: nowrap; }
.ctray__chip button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; }
.ctray__chip button:hover { background: rgba(255, 255, 255, 0.18); }
.ctray__chip .i { width: 14px; height: 14px; }
.ctray__hint { font: 400 0.72rem var(--mono); color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.ctray .iconbtn { color: #fff; }
.ctray .iconbtn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.sdialog { position: fixed; inset: 0; z-index: 95; display: grid; align-items: start; justify-items: center; padding: 10vh 16px 16px; background: rgba(8, 10, 12, 0.6); animation: fade 200ms; }
.sdialog__box { width: min(680px, 100%); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop 260ms var(--ease-out); }
.sdialog__bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.sdialog__bar input { flex: 1; height: 50px; border: 0; background: transparent; font-size: 1.1rem; outline: none; }
.sdialog__res { max-height: 60vh; overflow-y: auto; padding: 8px; }
.sres__h { padding: 12px 12px 6px; font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sres a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: var(--radius); }
.sres a:hover, .sres a.is-active { background: var(--accent-soft); }
.sres small { grid-column: 1; color: var(--muted); font-size: 0.8rem; }
.sres .i { grid-row: span 2; align-self: center; width: 16px; color: var(--accent); }
.sres__empty { padding: 20px 12px; color: var(--muted); }
mark { background: var(--accent-soft); color: var(--accent); border-radius: 2px; }

.lbox { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 56px 64px; background: rgba(8, 10, 12, 0.94); color: #fff; animation: fade 220ms; }
.lbox__fig { display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; }
.lbox__fig img { max-height: calc(100vh - 160px); width: auto; max-width: 100%; object-fit: contain; animation: pop 320ms var(--ease-out); }
.lbox__fig figcaption { font: 400 0.8rem var(--mono); color: rgba(255, 255, 255, 0.7); text-align: center; }
.lbox .iconbtn { color: #fff; }
.lbox__close { position: absolute; right: 14px; top: 14px; }
.lbox__nav { position: absolute; top: 50%; margin-top: -21px; }
.lbox__nav--prev { left: 10px; }
.lbox__nav--next { right: 10px; }

.toasts { position: fixed; left: 50%; top: calc(var(--hdr-h) + 12px); z-index: 99; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: var(--radius-lg); background: #10141b; border: 1px solid rgba(206, 222, 255, 0.14); color: #fff; box-shadow: var(--shadow-lg); font-size: 0.92rem; font-weight: 500; animation: toastIn 360ms var(--ease-out); }
.toast .i { width: 18px; height: 18px; color: #4cc283; }
.toast.is-out { animation: toastOut 260ms var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-6px); } }

/* ═════════ EN-TÊTES DE PAGES ═════════ */
.phero { padding: 24px 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
body:not(:has(.crumbs)) .phero { padding-top: calc(var(--hdr-h) + 40px); }
.phero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.phero__text { display: grid; gap: 20px; }
.phero__title { font-size: clamp(2.1rem, 5.4vw, 4.6rem); font-variation-settings: "wdth" 110; line-height: 1; max-width: 18ch; animation: fadeUp 800ms var(--ease-out) both; }
.phero__lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 58ch; animation: fadeUp 800ms 120ms var(--ease-out) both; }
.phero__art { color: var(--plate-c); }
.phero__media { display: grid; gap: 8px; }
.phero__media .mbox { border-radius: var(--radius-lg); }
.phero__cap { display: none; font: 400 0.75rem var(--mono); color: var(--muted); }
.phero__media:has(.mbox.is-loaded) .phero__cap { display: block; }
.phero--compact .phero__in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); }
.phero--compact .phero__title { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.phero--brand .bhero__mark { position: relative; display: grid; place-items: center; min-height: 260px; color: var(--plate-c); }
.bhero__mark span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: clamp(3rem, 9vw, 8rem); font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: 0.02em; }
.toc { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.toc p { font: 500 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { counter-reset: t; display: grid; gap: 4px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 500 0.78rem var(--mono); color: var(--hot-text); padding-top: 3px; }
.toc a:hover { color: var(--accent); }

.sector__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 32px; }
.sector__head .shead { margin-bottom: 0; }
.sector__cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 480px; }
.sector-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.smini { position: relative; display: grid; gap: 8px; padding: 22px; padding-right: 48px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--t); }
.smini:hover { border-color: var(--accent); }
.smini__n { font-weight: 700; font-size: 1.1rem; }
.smini__t { color: var(--muted); font-size: 0.9rem; }
.smini .i { position: absolute; right: 18px; top: 22px; color: var(--accent); }
.chips--links .chip { min-height: 42px; }

/* ═════════ CATALOGUE ═════════ */
.cat__in { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px 32px; }
.cat__bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat__search { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); transition: border-color var(--t-fast); }
.cat__search:focus-within { border-color: var(--accent); }
.cat__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 1rem; }
.cat__barr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cat__count { font: 500 0.82rem var(--mono); color: var(--muted); }
.cat__sort { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.cat__sort .select select { height: 40px; min-width: 160px; }
.cat__ftoggle { display: none; }
.cat__fhead { display: none; }
.cat__filters form { display: grid; gap: 22px; position: sticky; top: calc(var(--hdr-h) + 20px); }
.fgroup { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.fgroup legend { font: 500 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.95rem; cursor: pointer; transition: opacity var(--t); }
.fopt input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 0; }
.fopt__n { margin-left: auto; font: 400 0.75rem var(--mono); color: var(--muted); }
.fopt.is-hidden { display: none; }
.fopt.is-zero { opacity: 0.45; }
.cat__factions { display: flex; gap: 8px; }
.cat__apply { display: none; }
.cat__active { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; margin-bottom: 16px; }
.cat__active:empty { margin: 0; }
.cat__active button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 16px; background: var(--text); color: var(--bg); font-size: 0.82rem; animation: pop 220ms var(--ease-out); }
.cat__active .i { width: 14px; height: 14px; }
.cat__empty, .cat__error { display: grid; justify-items: center; gap: 14px; padding: 56px 16px; text-align: center; color: var(--muted); }
.cat__emptyart { width: min(380px, 90%); color: var(--plate-c); }
.cat__error p { display: flex; gap: 8px; align-items: center; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager:empty { display: none; }
.pager button, .pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius); font: 500 0.88rem var(--mono); }
.pager button[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager span { border: 0; min-width: auto; }

/* ═════════ FICHE PRODUIT ═════════ */
.pd { padding-top: 16px; }
.pd__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.gal { display: grid; gap: 10px; }
.gal__slide { display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius-lg); overflow: hidden; animation: fade 400ms; }
.gal__main .mbox { border-radius: var(--radius-lg); }
.gal__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.gal__thumb { border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; opacity: 0.65; transition: opacity var(--t-fast), border-color var(--t-fast); }
.gal__thumb.is-active, .gal__thumb:hover { opacity: 1; }
.gal__thumb.is-active { border-color: var(--accent); }
.gal__thumb .mbox__credit { display: none; }
.gal__thumb .plate { inset: 14% 10%; }
.pd__info { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.pd__brand { display: flex; gap: 8px; flex-wrap: wrap; font: 500 0.78rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pd__brand a:hover { color: var(--accent); }
.pd__title { font-size: clamp(2rem, 4vw, 3.4rem); font-variation-settings: "wdth" 110; line-height: 1.02; }
.pd__tagline { font-size: 1.15rem; color: var(--muted); }
.pd__info .tag { justify-self: start; }
.pd__facts { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd__facts div { padding: 14px 0; }
.pd__facts div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.pd__facts dt { font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pd__facts dd { margin: 4px 0 0; font-weight: 650; font-size: 1.1rem; }
.pd__buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pd__buy .qty { height: 56px; }
.pd__buy .qty .iconbtn, .pd__buy .qty input { height: 54px; }
.pd__buy .btn--quote { flex: 1; min-height: 56px; font-size: 1rem; }
.pd__alt { display: flex; gap: 8px; flex-wrap: wrap; }
.pd__alt .btn { flex: 1 1 auto; }
.pd__wanote { font-size: 0.8rem; color: var(--muted); }
.pd__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(48px, 7vw, 96px); }
.pd__main { display: grid; gap: 48px; }
.pd__sec { display: grid; gap: 16px; }
.pd__h { font-size: 1.45rem; font-variation-settings: "wdth" 108; }
.pd__desc { font-size: 1.1rem; max-width: 66ch; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { color: var(--accent); width: 20px; margin-top: 2px; }
.ticks--lg li { font-size: 1.08rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.spec { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.spec th, .spec td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 40%; font: 500 0.78rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-right: 16px; }
.spec--wide th, .spec--wide td { padding-right: 16px; }
.spec--wide thead th { border-bottom: 1px solid var(--line-2); }
.spec--wide th { width: auto; }
.spec--wide td { font-size: 0.9rem; }
.spec a { color: var(--accent); }
.tablewrap { overflow-x: auto; }
.pd__side { display: grid; gap: 20px; align-content: start; }
.pd__check { display: grid; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.pd__check ol { counter-reset: c; display: grid; gap: 12px; }
.pd__check li { counter-increment: c; display: flex; gap: 12px; }
.pd__check li::before { content: counter(c, decimal-leading-zero); font: 500 0.8rem var(--mono); color: var(--accent); padding-top: 3px; }
.pd__plate { color: var(--plate-c); padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.pd__plate p { font: 400 0.7rem var(--mono); color: var(--muted); margin-top: 6px; }

/* Marques */
.bgroup + .bgroup { margin-top: 56px; }
.bgroup__h { font: 500 0.78rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.bcard { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; padding-top: 150px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; transition: border-color var(--t), transform var(--t) var(--ease-out); }
.bcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.bcard__art { position: absolute; inset: 18px 20px auto; height: 110px; opacity: 0.6; transition: background-color var(--t), opacity var(--t); }
.bcard:hover .bcard__art { background: var(--accent); opacity: 0.9; }
.bcard__n { font-weight: 800; font-size: 1.5rem; font-variation-settings: "wdth" 118; }
.bcard__d { color: var(--muted); font-size: 0.93rem; }
.bcard__c { display: inline-flex; align-items: center; gap: 6px; font: 500 0.76rem var(--mono); color: var(--accent); margin-top: 6px; }
.bcard__c .i { width: 16px; }

/* Mise en page à deux colonnes */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; grid-template-columns: 1fr 1fr; }
.split__side { display: grid; gap: 28px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.side-cta { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.side-cta p { font-weight: 700; }
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 40px; }
.ccard { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--t); }
a.ccard:hover { border-color: var(--accent); }
.ccard .i { color: var(--accent); margin-bottom: 8px; }
.ccard__k { font: 500 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ccard__v { font-weight: 650; font-size: 1.08rem; word-break: break-word; }
.ccard__v--sm { font-size: 0.92rem; }
.locs__stack { display: grid; gap: 12px; }
.locmini { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.locmini__n { font-weight: 700; color: var(--text); font-size: 1.1rem; }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); margin-top: 48px; }
.block { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 2px solid var(--text); }
.block__n { font: 500 0.8rem var(--mono); color: var(--accent); }
.block h2 { font-size: 1.4rem; font-variation-settings: "wdth" 108; }
.block p { color: var(--muted); }
.bigquote { margin: 0; display: grid; gap: 16px; }
.bigquote__q { font-size: clamp(1.8rem, 4.6vw, 4rem); font-weight: 750; line-height: 1.05; font-variation-settings: "wdth" 112; max-width: 22ch; }

/* ═════════ FORMULAIRES ═════════ */
.zform { display: grid; gap: 22px; padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.zform__title { font-size: 1.6rem; font-variation-settings: "wdth" 108; }
.zform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.zform__demo { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); color: var(--text); font-size: 0.88rem; }
.zform__demo .i { color: var(--accent); width: 18px; margin-top: 1px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; }
.req { color: var(--accent); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg); font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); }
.field__hint { font-size: 0.8rem; color: var(--muted); }
.field__err { display: flex; gap: 6px; font-size: 0.84rem; color: var(--accent); font-weight: 500; }
.field__err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 0.7rem var(--font); flex: none; margin-top: 2px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; width: 100%; min-height: 50px; padding-left: 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.select .i { position: absolute; right: 12px; top: 50%; margin-top: -10px; pointer-events: none; color: var(--muted); }
.field--radio { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 21px; font-size: 0.92rem; transition: all var(--t-fast); }
.seg__opt input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; background: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zform__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.zform__note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); max-width: 46ch; }
.zform__note .i { width: 16px; color: #1fa855; margin-top: 1px; }
.zform__status:empty { display: none; }
.zstatus { display: grid; gap: 12px; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); animation: fadeUp 400ms var(--ease-out); }
.zstatus__h { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 1.1rem; }
.zstatus__h .i { width: 24px; height: 24px; }
.zstatus--ok { border-color: var(--ok); }
.zstatus--ok .zstatus__h { color: var(--ok); }
.zstatus--off { border-color: var(--warn); }
.zstatus--off .zstatus__h { color: var(--warn); }
.zstatus--fail { border-color: var(--accent); }
.zstatus--fail .zstatus__h { color: var(--accent); }
.zstatus__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.zstatus p { color: var(--muted); }
.zstatus .ref { font: 600 1rem var(--mono); color: var(--text); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Devis en étapes */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.stepper__i { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--muted); }
.stepper__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 0.78rem var(--mono); flex: none; transition: all var(--t); }
.stepper__i.is-current { color: var(--text); font-weight: 600; }
.stepper__i.is-current .stepper__n { background: var(--accent); border-color: var(--accent); color: #fff; }
.stepper__i.is-done .stepper__n { background: var(--text); border-color: var(--text); color: var(--bg); }
.stepper__bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stepper__bar span { display: block; height: 100%; width: 25%; background: var(--accent); transition: width 600ms var(--ease-out); }
.qstep { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.qstep:not([hidden]) { animation: stepIn 480ms var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.qstep__t { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; font-variation-settings: "wdth" 108; }
.qsel { display: grid; }
.qsel .qitem { grid-template-columns: 96px 1fr auto; }
.qsum { display: grid; gap: 14px; }
.qsum dl { display: grid; grid-template-columns: minmax(120px, 0.6fr) 1fr; margin: 0; border-top: 1px solid var(--line); }
.qsum dt, .qsum dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.qsum dt { font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-right: 12px; }
.qsum h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.qsum h3 button { font-size: 0.82rem; color: var(--accent); font-weight: 600; }
.qnav { display: flex; gap: 10px; justify-content: space-between; }
.qnav [data-step-next], .qnav [data-step-submit] { margin-left: auto; }

/* Comparateur */
.cmp { overflow-x: auto; }
.cmp table { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; animation: fadeUp 500ms var(--ease-out); }
.cmp th, .cmp td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp thead td { vertical-align: bottom; }
.cmp th { width: 180px; font: 500 0.74rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cmp__head { display: grid; gap: 10px; }
.cmp__head .mbox { border-radius: var(--radius); }
.cmp__head a { font-weight: 700; font-size: 1.1rem; }
.cmp__head a:hover { color: var(--accent); }
.cmp__rm { font-size: 0.8rem; color: var(--muted); text-decoration: underline; justify-self: start; }
.cmp ul { display: grid; gap: 4px; }
.cmp .muted { color: var(--muted); font-size: 0.9rem; }

/* FAQ */
.acc { border-top: 1px solid var(--line-2); }
.acc__item { border-bottom: 1px solid var(--line-2); }
.acc__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.12rem; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary .i { flex: none; color: var(--accent); transition: transform var(--t) var(--ease-out); }
.acc__item[open] summary .i { transform: rotate(45deg); }
.acc__body { overflow: hidden; }
.acc__body p { padding-bottom: 22px; color: var(--muted); max-width: 70ch; }

/* Article */
.article__head { display: grid; gap: 18px; padding-top: 12px; max-width: 980px; }
.article__title { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.04; font-variation-settings: "wdth" 110; }
.article__lead { font-size: 1.2rem; color: var(--muted); }
.article__media { margin-block: 36px; }
.article__media > .mbox { border-radius: var(--radius-lg); max-height: 640px; }
.article__body { max-width: 780px; display: grid; gap: 20px; font-size: 1.1rem; padding-bottom: 72px; }
.article__video { max-width: 780px; }
.article__media .article__video { max-width: 420px; }
.article__src { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 10px; }
.article__src a { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-size: 0.95rem; }
.article__src .i { width: 16px; }
.prose { display: grid; gap: 14px; }
.prose h2 { font-size: 1.3rem; margin-top: 20px; }
.prose p { color: var(--muted); }

/* 404 */
.nf { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding-top: var(--hdr-h); }
.nf__in { position: relative; display: grid; gap: 20px; padding-block: 80px; }
.nf__code { font: 500 0.9rem var(--mono); color: var(--accent); letter-spacing: 0.2em; }
.nf__title { font-size: clamp(2.4rem, 7vw, 6rem); max-width: 14ch; font-variation-settings: "wdth" 112; line-height: 0.98; }
.nf__text { color: var(--muted); font-size: 1.15rem; }
.nf__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.nf__art { width: min(900px, 100%); color: rgba(255, 255, 255, 0.25); margin-top: 24px; }


/* ═════════ MOTION : INTRO, TRANSITIONS, PHARE ═════════ */
/* Rideaux posés par le script de tête avant le 1er rendu (retirés par app.js ; sécurité à 4 s) */
html.zi body::before, html.zw-in body::before { content: ""; position: fixed; inset: 0; z-index: 10000; background: var(--ink); animation: curtainSafe 0.4s 4s forwards; }
html.zw-in body::before { background: var(--brand); }
@keyframes curtainSafe { to { opacity: 0; visibility: hidden; } }

/* Intro « Assemblage » */
.zintro { position: fixed; inset: 0; z-index: 10000; background: radial-gradient(60% 60% at 50% 45%, #061a3d 0%, var(--ink) 70%); }
.zintro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.zintro__logo { position: absolute; color: var(--brand); opacity: 0; filter: drop-shadow(0 0 24px rgba(46, 134, 255, 0.55)); pointer-events: none; }
.zintro__skip { position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); padding: 10px 14px; border: 1px solid rgba(156, 195, 255, 0.3); border-radius: 2px; color: rgba(255, 255, 255, 0.75); font: 500 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; background: rgba(5, 6, 8, 0.5); }
.zintro__skip:hover { color: #fff; border-color: var(--hot); }

/* Transition « Coup de Z » : lame diagonale (angle de la barre du Z) */
.zwipe { position: fixed; top: 0; bottom: 0; left: -65vw; width: 230vw; z-index: 10000; pointer-events: none; transform: translate3d(-235vw, 0, 0); will-change: transform; }
.zwipe.is-cover { transform: none; }
.zwipe svg { width: 100%; height: 100%; display: block; }

/* Curseur « phare » */
.zbeam { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 500ms var(--ease); mix-blend-mode: screen;
  background: radial-gradient(circle 340px at var(--bx, 50%) var(--by, 50%), rgba(46, 134, 255, 0.2), rgba(0, 90, 202, 0.07) 45%, transparent 72%), radial-gradient(circle 60px at var(--bx, 50%) var(--by, 50%), rgba(255, 178, 26, 0.16), transparent 70%); }
.zbeam::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(156, 195, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, 0.16) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle 220px at var(--bx, 50%) var(--by, 50%), #000, transparent 75%); mask-image: radial-gradient(circle 220px at var(--bx, 50%) var(--by, 50%), #000, transparent 75%); }
.is-lit > .zbeam { opacity: 1; }
.hero__stage > .zbeam { z-index: 1; }

/* Boutons magnétiques */
.is-mag { transition: transform 260ms var(--ease-out), background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t) !important; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1320px) {
  .logo__word { height: 14px; }
  .nav__link { padding: 10px 8px; font-size: 0.9rem; }
}
@media (max-width: 1200px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-grid; }
}
@media (max-width: 1180px) {
  .nav__link { padding: 10px 8px; font-size: 0.88rem; }
  .bgrid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  .hero.is-pinned .hero__rail { display: none; }
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-grid; }
  .slist__link { grid-template-columns: 50px 1fr 40px; gap: 6px 16px; }
  .slist__text { grid-column: 2; }
  .slist__plate { display: none; }
  .slist__arrow { grid-row: 1 / span 2; grid-column: 3; }
  .ftr__in { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .vgrid__tall { grid-row: auto; grid-column: 1 / -1; }
  .vgrid__tall .vfac__frame { aspect-ratio: 9 / 16; height: auto; min-height: 0; max-height: 620px; margin-inline: auto; width: min(100%, 360px); }
  .cat__in { grid-template-columns: 1fr; }
  .cat__ftoggle { display: inline-flex; }
  .cat__filters { position: fixed; inset: 0 0 0 auto; z-index: 85; width: min(380px, 92vw); padding: 0 20px 20px; background: var(--bg); overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateX(105%); visibility: hidden; transition: transform 420ms var(--ease-out), visibility 420ms; }
  .cat__filters.is-open { transform: none; visibility: visible; }
  .cat__fhead { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; padding: 16px 0; background: var(--bg); font-weight: 700; font-size: 1.1rem; z-index: 1; }
  .cat__filters form { position: static; padding-bottom: 80px; }
  .cat__factions { position: fixed; bottom: 0; right: 0; width: min(380px, 92vw); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .cat__factions .btn { flex: 1; }
  .cat__apply { display: inline-flex; }
  .pd__top, .pd__body { grid-template-columns: 1fr; }
  .pd__info { position: static; }
  .split, .split--center { grid-template-columns: 1fr; }
  .split__side { position: static; }
  .phero__in, .phero--compact .phero__in { grid-template-columns: 1fr; }
  .phero--compact .phero__art { display: none; }
  .phero__art { max-width: 520px; }
  .sector__head { grid-template-columns: 1fr; }
  .sector__cats { justify-content: flex-start; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 64px; }
  .hdr.is-compact { --hdr-h: 58px; }
  .hdr__quote span:not(.badge) { display: none; }
  .hdr__tools [data-theme-toggle] { display: none; }
  .mmenu__theme { display: inline-flex; }
  .hdr__quote { padding: 0 12px; }
  .uni__wrap { flex-direction: column; height: auto; }
  .uni__panel { min-height: 520px; }
  .bgrid, .bgrid--sm { grid-template-columns: repeat(2, 1fr); }
  .ps__grid, .locs__grid, .ngrid, .cols3 { grid-template-columns: 1fr; }
  .ngrid { gap: 36px; }
  .process__route { display: none; }
  .process__steps { grid-template-columns: 1fr; padding-top: 0; gap: 0; border-left: 2px dashed var(--line-2); margin-left: 23px; }
  .process__steps::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: calc(var(--p) * 100%); background: var(--accent); }
  .pstep { padding: 0 0 36px 44px; grid-template-columns: 1fr; }
  .pstep__pin, .pstep:nth-child(n) .pstep__pin { top: 0; left: -25px; }
  .pstep__picto { display: none; }
  .hero__ctas { grid-template-columns: 1fr; max-width: 440px; }
  .hero__plate { width: 140vw; right: -50%; top: 16%; opacity: 0.45; }
  .hero__chapters { grid-template-columns: 1fr 1fr; }
  .hero__shade { background: linear-gradient(0deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.82) 42%, rgba(5, 6, 8, 0.1) 70%); }
  .hero__glow { left: -10%; top: 2%; width: 120vw; height: 120vw; }
  .hero__word { top: 30%; text-align: center; padding: 0; font-size: 24vw; }
  .hero.is-pinned .hero__in { padding-bottom: 96px; }
  .hero.is-pinned .hero__chapters { bottom: 96px; }
  .hero.is-pinned .hchap__d { display: none; }
  .hero.is-pinned .hero__cue { display: none; }
  .hero.is-pinned .hero__title { font-size: clamp(2rem, min(9.4vw, 6.2vh), 3.2rem); }
  :lang(zh) .hero.is-pinned .hero__title { font-size: clamp(1.8rem, min(8.4vw, 5.6vh), 2.8rem); }
  .hero.is-pinned .hero__eyebrow { margin-bottom: 14px; }
  .hero.is-pinned .hero__text { margin-top: 16px; font-size: 0.98rem; }
  .hero.is-pinned .hero__ctas { margin-top: 20px; gap: 10px; }
  .hero.is-pinned .hcta { padding: 14px 16px; }
  .hero.is-pinned .hero__slogan { display: none; }
  .hero.is-pinned .hero__road { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 66; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, 0.4); }
  .mbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: 0.74rem; font-weight: 600; }
  .mbar a:nth-child(2) { color: #1a9a4d; }
  .mbar a:nth-child(3) { color: var(--accent); }
  .mbar .badge { position: absolute; top: 0; left: calc(50% + 6px); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .fab { display: none; }
  .wapanel { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .ctray { bottom: calc(76px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
  .ctray__hint { display: none; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__langs { margin-left: 0; }
  .stepper__l { display: none; }
  .stepper { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .toasts { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .lbox { padding: 56px 8px; }
}
@media (max-width: 640px) {
  .zform__grid { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .pgrid { grid-template-columns: 1fr; }
  .pcard { display: grid; grid-template-columns: 128px 1fr; }
  .pcard__media { grid-row: span 2; }
  .pcard__media .mbox { height: 100%; aspect-ratio: auto; min-height: 130px; }
  .pcard__media .mbox__credit { display: none; }
  .pcard__body { padding: 12px 12px 4px; }
  .pcard__title { font-size: 1.02rem; }
  .pcard__tag { font-size: 0.84rem; }
  .pcard__actions { padding: 6px 8px 10px; flex-wrap: wrap; }
  .pcard__actions .iconbtn { width: 36px; height: 36px; }
  .pcard__actions .btn--quote { min-height: 36px; padding: 0 10px; font-size: 0.8rem; }
  .pgrid--feat .pcard:nth-child(n + 7) { display: none; }
  .vgrid { grid-template-columns: 1fr; }
  .qitem, .qsel .qitem { grid-template-columns: 64px 1fr; }
  .qitem__side { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; gap: 14px; }
  .qsum dl { grid-template-columns: 1fr; }
  .qsum dt { border-bottom: 0; padding-bottom: 0; }
  .ftr__in { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bcard { padding-top: 130px; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .ccard { padding: 16px; }
  .marquee { margin-bottom: 24px; }
  .pd__buy .qty { flex: none; }
}
@media (max-width: 640px) {
  .hdr__tools .iconbtn--text span { display: none; }
  .hdr__tools .iconbtn--text { width: 42px; padding: 0; justify-content: center; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__word { height: 14px; }
}
@media (max-width: 360px) { .hdr .logo__word { display: none; } }
@media (max-width: 380px) {
  .hdr__tools { gap: 0; }
  .ccards { grid-template-columns: 1fr; }
}

/* Écrans larges : légère respiration */
@media (min-width: 1600px) { :root { --maxw: 1440px; } }

/* ═════════ MOUVEMENT RÉDUIT ═════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal]:not(.is-in), .js [data-reveal="mask"]:not(.is-in) { opacity: 1; transform: none; clip-path: none; }
  .js .draw:not(.is-drawn) path, .js .draw:not(.is-drawn) circle, .js .draw:not(.is-drawn) rect, .js .draw:not(.is-drawn) ellipse { stroke-dashoffset: 0; }
  .marquee__track { animation: none; transform: none; }
  .process__line { stroke-dashoffset: 0; }
  .pstep .pstep__picto { opacity: 1; transform: none; }
  .hero__glow { animation: none; }
  .zbeam, .zwipe, .zintro { display: none !important; }
}

/* Impression */
@media print {
  .hdr, .ftr, .fab, .mbar, .drawer, .ctray, .cta, .hero__media, .hero__road { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
}
