/* =========================================================================
   New Puissant Security SARL — feuille de style principale
   CSS moderne sans framework : variables, clamp(), grid, :has(), container
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --wine: #8b1a2b;
  --wine-2: #b3253d;
  --wine-deep: #4a0a16;
  --flame: #f26a1b;
  --gold: #f7a928;
  --sand: #e8dccb;
  --ok: #3ccf91;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;

  --grad-brand: linear-gradient(120deg, var(--wine-2), var(--flame) 60%, var(--gold));
}

:root,
:root[data-theme="dark"] {
  --bg: #0b0a0d;
  --bg-alt: #110e13;
  --surface: #17131a;
  --surface-2: #1f1a23;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f5f1ee;
  --muted: #aaa2ab;
  --glass: rgba(23, 19, 26, .62);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  --logo-filter: grayscale(1) brightness(0) invert(1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #faf8f5;
  --bg-alt: #f3eee7;
  --surface: #ffffff;
  --surface-2: #f6f1ea;
  --line: rgba(30, 12, 20, .09);
  --line-strong: rgba(30, 12, 20, .18);
  --text: #19131b;
  --muted: #645b65;
  --glass: rgba(255, 255, 255, .72);
  --shadow: 0 30px 60px -25px rgba(60, 20, 30, .25);
  --logo-filter: grayscale(1) brightness(.2);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--wine-2); color: #fff; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--flame); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hide-sm { }
.text-gradient { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--surface-2); --b-fg: var(--text); --b-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font: 600 .95rem/1.2 var(--font-head); letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--primary { --b-bg: var(--grad-brand); --b-fg: #fff; --b-bd: transparent; background-size: 160% 100%; box-shadow: 0 10px 30px -10px rgba(242, 106, 27, .55); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(242, 106, 27, .7); }
.btn--ghost { --b-bg: transparent; }
.btn--ghost:hover { --b-bd: var(--text); }
.btn--light { --b-bg: #fff; --b-fg: var(--wine-deep); --b-bd: #fff; }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.5); }
.btn--outline-light:hover { --b-bd: #fff; }
.btn--sm { padding: .6em 1.1em; font-size: .88rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn--outline { border-color: var(--line-strong); }
.icon-btn .ico { width: 20px; height: 20px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; margin: 0 0 1rem;
  font: 600 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--flame);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow:has(.ico)::before { display: none; }
.eyebrow--light { color: var(--gold); }

.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line-strong); }

.pulse { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Topbar ---------- */
.topbar { background: #070608; color: #cfc7cd; font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .5em; white-space: nowrap; }
@media (max-width: 1100px) { .topbar__item.hide-sm { display: none; } }
@media (max-width: 900px) { .topbar__inner > p:first-child { display: none; } .topbar__inner { justify-content: flex-end; } }
.topbar strong { color: #fff; font-weight: 600; }
.topbar__links { gap: 1.4rem !important; }
.topbar a { display: inline-flex; align-items: center; gap: .4em; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__urgent { color: var(--gold); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 4px 10px rgba(139,26,43,.4)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand__text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.brand__text span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.nav { margin-inline: auto; }
.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: .6rem .95rem; border-radius: 999px;
  font: 500 .93rem/1 var(--font-head); color: var(--muted); transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--text); background: var(--surface-2); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--flame); translate: -50% 0; }
.site-header__actions { display: flex; align-items: center; gap: .4rem; }
.nav-toggle { display: none; }

/* Theme toggle icons */
.theme-light { display: none; }
[data-theme="light"] .theme-light { display: inline; }
[data-theme="light"] .theme-dark { display: none; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 8px;
  width: min(760px, 92vw); padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .25s, translate .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__link { display: flex; gap: .8rem; padding: .75rem; border-radius: 12px; transition: background .2s; }
.mega__link:hover { background: var(--surface-2); }
.mega__link strong { display: block; font: 600 .9rem/1.3 var(--font-head); }
.mega__link small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.45; margin-top: 2px; }
.mega__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--wine) 22%, transparent); color: var(--flame); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--bg);
  display: flex; flex-direction: column; padding: 18px var(--gutter) 28px; overflow-y: auto;
  animation: slideIn .35s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.drawer__list { list-style: none; padding: 0; margin: 0 0 auto; }
.drawer__list a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); font: 600 1.25rem/1.2 var(--font-head); }
.drawer__list a.is-active { color: var(--flame); }
.drawer__foot { display: grid; gap: .7rem; margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(56px, 9vw, 110px) 0 0; overflow: hidden; background: #0b0a0d; color: #f5f1ee; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .45; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(242,106,27,.22), transparent 60%),
    radial-gradient(70% 80% at 0% 100%, rgba(139,26,43,.55), transparent 60%),
    linear-gradient(90deg, #0b0a0d 0%, rgba(11,10,13,.92) 38%, rgba(11,10,13,.55) 100%),
    linear-gradient(0deg, #0b0a0d 0%, transparent 35%);
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
}
.hero__inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin-bottom: 1.4rem; }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #cfc7cd; max-width: 40rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero .btn--ghost { --b-fg: #fff; --b-bd: rgba(255,255,255,.3); }
.hero .btn--ghost:hover { --b-bd: #fff; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; padding: 0; margin: 0; color: #cfc7cd; font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45em; }
.hero__trust .ico { color: var(--ok); }
.hero .eyebrow { color: var(--gold); }

/* Ops card */
.ops-card { --glass: rgba(20, 16, 22, .6); --line-strong: rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.ops-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ops-card__title { display: inline-flex; align-items: center; gap: .5em; font: 600 .95rem/1 var(--font-head); }
.status { display: inline-flex; align-items: center; gap: .55em; font-size: .78rem; font-weight: 600; color: var(--ok); padding: .35em .75em; border-radius: 999px; background: rgba(60,207,145,.12); }
.ops-card__map { position: relative; border-radius: 14px; overflow: hidden; background: #0d0b0f; border: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; }
.radar { width: 100%; }
.radar__grid path { stroke: rgba(255,255,255,.06); stroke-width: 1; fill: none; }
.radar__route { fill: none; stroke: var(--flame); stroke-width: 2.2; stroke-dasharray: 6 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.radar__dot { fill: var(--flame); }
.radar__dot--b { fill: var(--gold); } .radar__dot--c { fill: var(--ok); }
.radar__ping { transform-origin: 130px 70px; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ops-card__tag { position: absolute; font-size: .7rem; font-weight: 600; padding: .3em .6em; border-radius: 6px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); }
.ops-card__tag--a { left: 34%; top: 62%; } .ops-card__tag--b { right: 6%; top: 10%; }
.ops-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ops-card__list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 12px; background: rgba(255,255,255,.04); font-size: .86rem; }
.ops-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(242,106,27,.14); color: var(--flame); }
.ops-ico .ico { width: 16px; height: 16px; }
.ops-card__list b { font-size: .74rem; font-weight: 600; color: var(--ok); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 7vw, 88px) 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.stats__item { padding: 28px 8px 36px; border-right: 1px solid rgba(255,255,255,.1); padding-left: clamp(8px, 2vw, 28px); }
.stats__item:first-child { padding-left: 0; }
.stats__item:last-child { border-right: 0; }
.stats dt { font-size: .82rem; color: #a9a1a8; text-transform: uppercase; letter-spacing: .1em; }
.stats dd { margin: .3rem 0 0; font: 800 clamp(2rem, 4vw, 3.1rem)/1 var(--font-head); letter-spacing: -.03em; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  --bg: #0b0a0d; --bg-alt: #110e13; --surface: #17131a; --surface-2: #1f1a23;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --text: #f5f1ee; --muted: #aaa2ab; --glass: rgba(23,19,26,.62);
  background: var(--bg); color: var(--text);
}
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section__title { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* Page hero (sous-pages) */
.page-hero { position: relative; isolation: isolate; padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); background: #0b0a0d; color: #f5f1ee; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(242,106,27,.2), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(139,26,43,.55), transparent 60%), linear-gradient(90deg, #0b0a0d 10%, rgba(11,10,13,.6)); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; max-width: 18ch; }
.page-hero p.lead { color: #cfc7cd; font-size: 1.12rem; max-width: 46rem; margin: 0; }
.page-hero .eyebrow { color: var(--gold); }
.crumbs { display: flex; gap: .5rem; align-items: center; list-style: none; padding: 0; margin: 0 0 1.6rem; font-size: .85rem; color: #a9a1a8; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); grid-auto-flow: dense; gap: 16px; }
.bento__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.bento__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(242,106,27,.14), transparent 45%);
}
.bento__card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--flame) 45%, transparent); box-shadow: var(--shadow); }
.bento__card:hover::before { opacity: 1; }
.bento__card h3 { font-size: 1.15rem; margin: auto 0 .5rem; }
.bento__card p { color: var(--muted); font-size: .93rem; margin: 0 0 1rem; }
.bento__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1.4rem; background: color-mix(in srgb, var(--wine) 25%, transparent); color: var(--flame); border: 1px solid color-mix(in srgb, var(--flame) 25%, transparent); }
.bento__icon .ico { width: 24px; height: 24px; }
.bento__more { display: inline-flex; align-items: center; gap: .4em; font: 600 .85rem/1 var(--font-head); color: var(--flame); }
.bento__more .ico { transition: transform .3s var(--ease); }
.bento__card:hover .bento__more .ico { transform: translate(3px, -3px); }
.bento__card--big { grid-column: span 2; grid-row: span 2; }
.bento__card--wide { grid-column: span 2; }
.bento__card--feature { color: #fff; border-color: transparent; background: #120f14; }
.bento__card--feature p { color: #d8d0d6; }
.bento__card--feature .bento__icon { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.bento__card--feature .bento__more { color: var(--gold); }
.bento__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); background: #fff; }
.bento__card--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,10,13,.1) 0%, rgba(11,10,13,.55) 45%, rgba(11,10,13,.95) 100%); }
.bento__card--wide::after { background: linear-gradient(90deg, rgba(11,10,13,.96) 0%, rgba(11,10,13,.8) 50%, rgba(11,10,13,.25) 100%); }
.bento__card--wide p, .bento__card--wide h3 { max-width: 60%; }
.bento__card--feature:hover .bento__img { transform: scale(1.05); }
.bento__card--big h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.bento__card--big p { font-size: 1.02rem; max-width: 34rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse .split__content { order: -1; }
.split__content p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.checklist .ico { color: #fff; background: var(--grad-brand); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.media-stack { position: relative; padding: 0 12% 14% 0; }
.media-stack__main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-stack__sub { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--bg-alt); box-shadow: var(--shadow); }
.media-stack__badge { position: absolute; left: 22px; bottom: 30px; padding: 16px 20px; border-radius: var(--radius); display: grid; }
.media-stack__badge strong { font: 800 1.9rem/1 var(--font-head); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.media-stack__badge span { font-size: .85rem; color: var(--muted); }

/* ---------- Tech ---------- */
.tech { overflow: hidden; }
.tech::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 50%, rgba(139,26,43,.45), transparent 70%), radial-gradient(40% 40% at 10% 10%, rgba(242,106,27,.12), transparent 70%); pointer-events: none; }
.tech__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.tech__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2rem; }
.feature { display: flex; gap: .9rem; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.feature:hover { background: rgba(255,255,255,.06); border-color: rgba(242,106,27,.35); }
.feature h3 { font-size: 1rem; margin: 0 0 .3rem; }
.feature p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.55; }
.feature__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); color: #fff; }
.tech__media { position: relative; }
.tech__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); }
.tech__chip { position: absolute; display: flex; align-items: center; gap: .7rem; padding: 12px 16px; border-radius: 14px; font-size: .82rem; box-shadow: var(--shadow); }
.tech__chip .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--grad-brand); color: #fff; }
.tech__chip span { display: grid; color: var(--muted); line-height: 1.35; }
.tech__chip strong { color: var(--text); font-size: .9rem; }
.tech__chip--a { left: -28px; top: 14%; animation: float 6s ease-in-out infinite; }
.tech__chip--b { right: -20px; bottom: 12%; animation: float 7s ease-in-out infinite reverse; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 1.3rem; color: var(--flame); background: color-mix(in srgb, var(--flame) 12%, transparent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--flame) 5%, transparent); }
.value__icon .ico { width: 24px; height: 24px; }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Clients marquee ---------- */
.clients { padding: clamp(48px, 6vw, 72px) 0; border-block: 1px solid var(--line); }
.clients__title { text-align: center; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; display: grid; place-items: center; width: 180px; height: 90px; margin-inline: 14px; padding: 14px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.marquee__item img { max-height: 70px; width: auto; object-fit: contain; transition: transform .3s var(--ease); }
.marquee__item:hover img { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.slider-nav { display: flex; gap: .5rem; }
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 85%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.testimonials::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; margin: 0; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 1rem; }
.testimonial__stars .ico { width: 16px; height: 16px; fill: currentColor; }
.testimonial blockquote { margin: 0 0 1.6rem; font-size: 1rem; line-height: 1.7; }
.testimonial figcaption { margin-top: auto; display: flex; gap: .8rem; align-items: center; }
.testimonial figcaption strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.testimonial figcaption small { color: var(--muted); font-size: .8rem; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff; font: 700 1.05rem/1 var(--font-head); flex: none; }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video__poster { all: unset; position: absolute; inset: 0; cursor: pointer; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .8; }
.video__poster:hover img { transform: scale(1.04); opacity: .65; }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--grad-brand); color: #fff; box-shadow: 0 0 0 12px rgba(242,106,27,.25); transition: box-shadow .3s; }
.video__poster:hover .video__play { box-shadow: 0 0 0 20px rgba(242,106,27,.18); }
.video__play .ico { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video__poster:focus-visible { outline: 3px solid var(--flame); outline-offset: -3px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video video { object-fit: contain; background: #000; }

/* Lecteur GLightbox + Plyr — aux couleurs New Puissant */
.glightbox-container .goverlay { background: rgba(11, 10, 13, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.glightbox-container .gslide-video, .glightbox-container .gvideo-wrapper, .glightbox-container .plyr { border-radius: 20px; }
.glightbox-container .gslide-video { overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 0 80px -10px rgba(242,106,27,.45); }
.glightbox-container .plyr { --plyr-color-main: var(--flame); --plyr-range-fill-background: linear-gradient(90deg, var(--wine-2), var(--flame), var(--gold)); font-family: var(--font-body); }
.glightbox-container .plyr__control--overlaid { background: var(--grad-brand); box-shadow: 0 0 0 12px rgba(242,106,27,.25); }
.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .3s var(--ease);
}
.glightbox-clean .gclose { top: 20px; right: 20px; }
.glightbox-clean .gclose:hover, .glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover { background: var(--grad-brand); border-color: transparent; transform: scale(1.08); }
.glightbox-clean .gclose svg, .glightbox-clean .gnext svg, .glightbox-clean .gprev svg { width: 16px; }
@media (max-width: 768px) { .glightbox-container .gslide-video, .glightbox-container .gvideo-wrapper, .glightbox-container .plyr { border-radius: 12px; } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(32px, 5vw, 56px) 0; }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, var(--wine-deep), var(--wine) 50%, #c2410c);
}
.cta-band__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 100% 0%, rgba(247,169,40,.45), transparent 70%); }
.cta-band__inner::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; z-index: -1; opacity: .12; background: url("../img/brand/logo.png") center/contain no-repeat; filter: grayscale(1) brightness(3); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 40rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: .7rem; }

/* ---------- Footer ---------- */
.site-footer { background: #070608; color: #b9b1b7; padding: clamp(56px, 7vw, 88px) 0 0; font-size: .92rem; }
.site-footer .brand__text strong { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.site-footer__brand p { margin: 1.2rem 0 1.4rem; max-width: 26rem; }
.site-footer__title { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer__office { margin-bottom: 1.1rem; }
.site-footer__office strong { color: #fff; font-family: var(--font-head); }
.site-footer__office p { margin: .2rem 0 0; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.socials a:hover { background: var(--wine); border-color: var(--wine); }
.socials .ico { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(40px, 5vw, 64px); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__credit a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(242,106,27,.6); }
.site-footer__credit a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: 10px; }
.fab__btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 14px 30px -8px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn .ico { width: 26px; height: 26px; }
.fab__btn--wa { background: #25d366; }
.fab__btn--sos { background: var(--wine-2); position: relative; }
.fab__btn--sos .ico { width: 18px; height: 18px; margin-bottom: -6px; }
.fab__btn--sos span { font: 800 .62rem/1 var(--font-head); letter-spacing: .08em; }
.fab__btn--sos::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wine-2); animation: pulse 2s infinite; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 60px 16px; background: rgba(5,4,6,.94); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox__figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox__figure figcaption { margin-top: 1rem; color: #cfc7cd; font-size: .92rem; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255,255,255,.08); }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.18); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Services page ---------- */
.svc-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip { padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font: 500 .9rem/1.2 var(--font-head); color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.svc-list { display: grid; gap: 22px; }
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc:nth-child(even) .svc__media { order: 2; }
.svc[hidden] { display: none; }
.svc__media { position: relative; min-height: 320px; background: #fff; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__media img.contain { object-fit: contain; padding: 24px; }
.svc__body { padding: clamp(26px, 4vw, 48px); }
.svc__num { font: 700 .8rem/1 var(--font-head); color: var(--flame); letter-spacing: .1em; }
.svc__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .8rem 0 1rem; display: flex; align-items: center; gap: .6rem; }
.svc__body p { color: var(--muted); }
.svc__features { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.svc__features li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; font-weight: 500; }
.svc__features .ico { color: var(--ok); }
.svc__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- À propos ---------- */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--flame), var(--wine), transparent); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -31px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--flame); }
.timeline__year { font: 800 1.4rem/1 var(--font-head); color: var(--flame); }
.timeline__item h3 { font-size: 1.1rem; margin: .4rem 0 .3rem; }
.timeline__item p { color: var(--muted); margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pillar { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pillar__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-brand); color: #fff; margin-bottom: 1.2rem; }
.pillar h3 { font-size: 1.3rem; }
.pillar p { color: var(--muted); margin: 0; }
.pillar--wide { grid-column: 1 / -1; }
.org { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.org__card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.org__card:target { border-color: var(--flame); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame) 20%, transparent); }
.org__card .value__icon { margin-bottom: 1rem; }
.org__card h3 { font-size: 1.12rem; }
.org__card p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ---------- Galerie ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery__item { all: unset; display: block; position: relative; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--surface); }
.gallery__item img { width: 100%; transition: transform .7s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.7)); opacity: 0; transition: opacity .3s; }
.gallery__item span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-size: .85rem; font-weight: 500; opacity: 0; translate: 0 8px; transition: all .35s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after, .gallery__item:hover span, .gallery__item:focus-visible span, .gallery__item:focus-visible::after { opacity: 1; translate: 0 0; }
.gallery__item:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__section { font: 700 1.05rem/1.2 var(--font-head); margin: 10px 0 0; display: flex; align-items: center; gap: .6rem; }
.form__section span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: .8rem; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font: 500 .88rem/1.2 var(--font-head); }
.field label .req { color: var(--flame); }
.input {
  width: 100%; padding: .9em 1.05em; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text); font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.input:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame) 18%, transparent); }
.input:user-invalid { border-color: #e5484d; }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.choice { position: relative; display: flex; align-items: center; gap: .65rem; padding: .85em 1em; border-radius: 12px; border: 1px solid var(--line-strong); cursor: pointer; font-size: .9rem; font-weight: 500; transition: all .2s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .ico { color: var(--muted); width: 20px; height: 20px; }
.choice:hover { border-color: var(--text); }
.choice:has(input:checked) { border-color: var(--flame); background: color-mix(in srgb, var(--flame) 10%, transparent); }
.choice:has(input:checked) .ico { color: var(--flame); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--flame) 40%, transparent); }
.hp { position: absolute !important; left: -9999px !important; }
.captcha__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.captcha__img { width: 180px; height: 60px; border-radius: 12px; border: 1px solid var(--line-strong); background: #f6f1ea; user-select: none; }
.captcha__input { flex: 1 1 140px; max-width: 220px; font: 700 1.15rem/1 var(--font-head); letter-spacing: .3em; text-transform: uppercase; }
.captcha__hint { color: var(--muted); font-size: .8rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; display: flex; align-items: center; gap: .4rem; }
.alert { padding: 1em 1.2em; border-radius: 12px; font-size: .95rem; display: flex; gap: .7rem; align-items: flex-start; }
.alert[hidden] { display: none; }
.alert--ok { background: rgba(60,207,145,.12); border: 1px solid rgba(60,207,145,.35); color: var(--text); }
.alert--err { background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.4); color: var(--text); }
.alert .ico { margin-top: 3px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.aside-stack { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.contact-card { display: flex; gap: 1rem; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
a.contact-card:hover { border-color: var(--flame); transform: translateY(-2px); }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--flame) 14%, transparent); color: var(--flame); }
.contact-card__icon--wa { background: rgba(37,211,102,.14); color: #25d366; }
.contact-card__icon--sos { background: var(--wine-2); color: #fff; }
.contact-card h3 { font-size: 1rem; margin: 0 0 .2rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.contact-card strong { color: var(--text); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.office { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.office iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
[data-theme="dark"] .office iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.3) contrast(.9); }
.office__body { padding: 24px; }
.office__body h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.office__role { color: var(--flame); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.office__body p { color: var(--muted); margin: .8rem 0; }
.office__phones { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Steps (cotation) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: s; }
.step::before { content: "0" counter(s); display: block; font: 800 1.8rem/1 var(--font-head); color: var(--flame); margin-bottom: .8rem; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); margin: 0; font-size: .92rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(5rem, 16vw, 10rem); margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--big { grid-row: span 1; min-height: 360px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__inner, .split, .tech__grid, .form-shell, .svc, .cta-band__inner { grid-template-columns: 1fr; }
  .split--reverse .split__content { order: 0; }
  .ops-card { max-width: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(3) { padding-left: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .values { grid-template-columns: 1fr 1fr; }
  .tech__chip--a { left: 12px; } .tech__chip--b { right: 12px; }
  .tech__media { max-width: 520px; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .svc__media { min-height: 240px; }
  .aside-stack { position: static; }
  .offices, .steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .hide-md { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .hide-sm { display: none !important; }
  .topbar__inner { justify-content: center; }
  .topbar__inner > p:first-child { display: none; }
  .bento, .values, .tech__features, .form__row, .svc__features { grid-template-columns: 1fr; }
  .bento__card--big, .bento__card--wide { grid-column: auto; }
  .bento__card--wide p, .bento__card--wide h3 { max-width: none; }
  .bento__card--wide::after { background: linear-gradient(180deg, rgba(11,10,13,.3), rgba(11,10,13,.95)); }
  .bento__card--feature { min-height: 320px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .media-stack__badge { left: 12px; bottom: 18px; padding: 12px 14px; }
  .media-stack__badge strong { font-size: 1.4rem; }
  .brand__text strong { font-size: .95rem; }
  .fab__btn { width: 50px; height: 50px; }
  .cta-band__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

@media print {
  .topbar, .site-header, .fab, .cta-band, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
