/* ============================================================================
   MAN DIGITAL — Design system (shared across all pages)
   Dark-tech premium · committed accent #51AFF7 · Cabinet Grotesk + Satoshi
   ============================================================================ */

/* ---------- Fonts ---------- */
@import url("https://api.fontshare.com/v2/css?f%5B%5D=satoshi@400,500,700,900&f%5B%5D=cabinet-grotesk@500,700,800,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap");

/* ---------- Tokens ---------- */
:root {
  /* Surfaces (one dark theme, tonal variation only) */
  --ink: #060b16;          /* base */
  --ink-2: #08101f;        /* sections */
  --panel: #0d1626;        /* cards / panels */
  --panel-2: #122036;      /* lifted panel */
  --panel-3: #16263f;      /* hover panel */

  /* Brand (committed accent) */
  --brand: #51aff7;
  --brand-600: #2e97e6;
  --brand-700: #1f7fce;
  --brand-300: #9bd2ff;
  --brand-ink: #04121f;    /* text on brand surfaces */
  --accent: #f4c44e;       /* warm golden yellow — lively, not flashy, not pastel */
  --accent-600: #e0a431;
  --accent-700: #c98a1d;
  --accent-300: #ffe2a0;
  --accent-ink: #2a2006;   /* text on yellow surfaces */
  --accent-soft: rgba(244, 196, 78, 0.14);

  /* Text */
  --text: #eaf2fc;         /* primary, ~15:1 on --ink */
  --text-2: #b3c6e0;       /* secondary, ~8:1 on --ink */
  --muted: #8aa0bd;        /* meta, ~5.4:1 on --ink */

  /* Lines */
  --line: rgba(146, 186, 234, 0.12);
  --line-2: rgba(146, 186, 234, 0.22);
  --line-3: rgba(155, 210, 255, 0.4);

  /* Radius (locked scale) */
  --r-pill: 999px;         /* buttons, pills */
  --r-lg: 22px;            /* large cards / showpieces */
  --r: 16px;               /* cards */
  --r-sm: 11px;            /* inputs, small */

  /* Type */
  --font-display: "Cabinet Grotesk", system-ui, sans-serif;
  --font-brand: "Fredoka", "Cabinet Grotesk", system-ui, sans-serif;
  --font-sans: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4: clamp(2.6rem, 2rem + 3vw, 4.4rem);
  --step-5: clamp(3.1rem, 2.2rem + 4.6vw, 5.6rem);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);     /* ease-out-expo-ish */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.22s;
  --t: 0.4s;
  --t-slow: 0.7s;

  /* Shadows (tinted, never pure black) */
  --shadow-1: 0 18px 40px -24px rgba(3, 12, 28, 0.8);
  --shadow-brand: 0 30px 70px -28px rgba(46, 151, 230, 0.55);

  /* z-index scale */
  --z-base: 1;
  --z-sticky: 50;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--brand-700) var(--ink);
}
html.lenis, html.lenis body { height: auto; }
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.62;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--brand); color: var(--brand-ink); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--brand-700); border-radius: 20px; border: 3px solid var(--ink); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--ink2 { background: var(--ink-2); }
.divider-top { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--flow, 1rem); }
.lede { max-width: 60ch; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-5);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h-xl { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.025em; }
.h-lg { font-size: var(--step-3); }
.h-md { font-size: var(--step-2); }
.h-sm { font-size: var(--step-1); letter-spacing: -0.01em; }
.lead { font-size: var(--step-1); color: var(--text-2); font-weight: 500; line-height: 1.55; max-width: 62ch; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.accent { color: var(--brand); }
.serif-em { font-style: italic; }
.mono-num { font-variant-numeric: tabular-nums; }

/* Eyebrow — rationed, used at most once per ~3 sections */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-300);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }

/* Highlight on words */
.hl { color: var(--brand); font-family: var(--font-brand); }
.hl-underline { position: relative; white-space: nowrap; }
.hl-underline::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.05em; height: 0.34em;
  background: linear-gradient(90deg, rgba(81, 175, 247, 0.35), rgba(81, 175, 247, 0.12));
  border-radius: 4px; z-index: -1;
}

/* ---------- Brand mark (HTML + inline glyph) ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand__glyph { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__word { display: flex; flex-direction: column; line-height: 0.92; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; }
.brand__name b { color: var(--text); }
.brand__sub {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.6rem;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--brand-300);
  padding-left: 2px;
}
.brand--sm .brand__glyph { width: 32px; height: 32px; }
.brand--sm .brand__name { font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: var(--step-0);
  line-height: 1; white-space: nowrap;
  padding: 15px var(--pad-x); border-radius: var(--r-pill);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-300); transform: translateY(-3px); }
.btn--primary .arrow { transition: transform var(--t) var(--ease); }
.btn--primary:hover .arrow { transform: translateX(4px); }

.btn--ghost { border: 1.5px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); background: rgba(81, 175, 247, 0.08); transform: translateY(-3px); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--brand:hover { background: var(--brand-600); transform: translateY(-3px); }
.btn--brand .arrow { transition: transform var(--t) var(--ease); }
.btn--brand:hover .arrow { transform: translateX(4px); }

.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-3px); }

.btn--dark { background: var(--ink); color: var(--text); border: 1.5px solid rgba(4, 18, 31, 0.6); }
.btn--dark:hover { background: #02080f; transform: translateY(-3px); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: var(--step--1); }

/* Text link with animated underline */
.link {
  position: relative; color: var(--text); font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background: var(--brand); border-radius: 2px; transition: right var(--t) var(--ease);
}
.link:hover::after { right: 0; }
.link svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: rgba(146, 186, 234, 0.05);
  font-size: var(--step--1); font-weight: 700; color: var(--text-2);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(81, 175, 247, 0.18); }

/* ============================================================================
   NAVBAR
   ============================================================================ */
/* Top bar — brand only; primary navigation now lives in the bottom pill */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 10001;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding-inline: var(--gutter); pointer-events: none;
}
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.66), transparent);
  opacity: 1; transition: opacity var(--t);
}
.topbar.is-scrolled::before { opacity: 0; }
.topbar .brand, .topbar__cta, .lang-toggle { pointer-events: auto; }
.topbar__right { display: flex; align-items: center; gap: 10px; pointer-events: none; }

/* Bottom tubelight nav — floating glass pill, moving lamp on the active link */
.tnav {
  position: fixed; left: 50%; bottom: clamp(14px, 3vw, 24px); z-index: var(--z-modal);
  transform: translateX(-50%);
}
.tnav__pill {
  position: relative; display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(11, 18, 32, 0.72); border: 1px solid var(--line-2);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 54px -22px rgba(0, 0, 0, 0.88);
}
.tnav__link {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; letter-spacing: -0.01em;
  color: var(--text-2); padding: 9px 18px; border-radius: var(--r-pill);
  transition: color var(--t-fast) ease; white-space: nowrap;
}
.tnav__link svg { width: 19px; height: 19px; flex: 0 0 auto; }
.tnav__link:hover { color: var(--text); }
.tnav__link.is-active { color: var(--brand); }
.tnav__lamp {
  position: absolute; top: 4px; left: 0; z-index: 0; height: calc(100% - 8px); width: 80px;
  border-radius: var(--r-pill); background: rgba(81, 175, 247, 0.1);
  transform: translateX(0); opacity: 0; pointer-events: none;
  transition: transform 0.42s var(--ease), width 0.42s var(--ease), opacity 0.3s ease;
}
.tnav__lamp.is-on { opacity: 1; }
.tnav__lamp::before {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 4px; border-radius: 0 0 8px 8px; background: var(--brand);
  box-shadow: 0 0 12px 1px rgba(81, 175, 247, 0.85);
}
.tnav__lamp::after {
  content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 20px; border-radius: 50%;
  background: rgba(81, 175, 247, 0.45); filter: blur(13px);
}

/* legacy burger kept harmless (no longer in markup) */
.burger { display: none; }

@media (max-width: 760px) {
  .tnav__link { padding: 11px 13px; }
  .tnav__txt { display: none; }     /* icons only on phones */
  .topbar__cta { display: none; }   /* CTA reachable via the Contact icon */
}
@media (min-width: 761px) {
  .tnav__link svg { display: none; } /* labels only on larger screens */
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative; min-height: 100dvh; display: grid; align-items: start;
  padding-block: clamp(96px, 14vh, 150px) clamp(56px, 8vh, 90px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 78% 22%, rgba(81, 175, 247, 0.22), transparent 60%),
    radial-gradient(55% 50% at 8% 88%, rgba(31, 127, 206, 0.16), transparent 58%);
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(155, 210, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 210, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(110% 90% at 72% 28%, #000 28%, transparent 76%);
  mask-image: radial-gradient(110% 90% at 72% 28%, #000 28%, transparent 76%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(16px, 2.6vw, 28px);
}
.hero__title { font-size: var(--step-4); line-height: 1; letter-spacing: -0.03em; max-width: 20ch; }
.hero__title .wow {
  display: block; margin-top: 0.05em;
  font-family: var(--font-brand); color: var(--brand);
  font-size: clamp(4rem, 1.4rem + 11.5vw, 9.5rem); line-height: 0.82; letter-spacing: -0.02em;
  text-shadow: 0 0 60px rgba(81, 175, 247, 0.55), 0 0 18px rgba(81, 175, 247, 0.4);
}
.hero__title .wow sup { font-size: 0.46em; vertical-align: super; line-height: 0; margin-right: 0.04em; }
.hero__sub { margin: clamp(16px, 2.4vw, 24px) auto 0; font-size: var(--step-1); color: var(--text-2); max-width: 52ch; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(22px, 3.2vw, 32px); justify-content: center; }
.hero__aside { display: grid; place-items: center; }

/* Animated chip showpiece (custom brand visual) */
.chip-stage { position: relative; width: min(100%, 460px); aspect-ratio: 1; }
.chip-stage__glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(81, 175, 247, 0.5), transparent 66%);
  filter: blur(10px); animation: breathe 5.5s var(--ease) infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(0.9); opacity: 0.65; } 50% { transform: scale(1.06); opacity: 1; } }
.chip-svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.chip-svg .trace { fill: none; stroke: var(--brand-300); stroke-width: 2; stroke-linecap: round; opacity: 0.85; }
.chip-svg .flow { stroke-dasharray: 6 11; animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.chip-svg .node { fill: var(--brand-300); }
.chip-svg .node--pulse { animation: nodePulse 2.4s var(--ease) infinite; }
@keyframes nodePulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.chip-svg .core { fill: rgba(81, 175, 247, 0.12); stroke: var(--brand); stroke-width: 3; }
.chip-svg .mark { fill: var(--brand); filter: drop-shadow(0 0 12px rgba(81, 175, 247, 0.9)); }

/* Hero proof strip (under hero, not inside it) */
.proof {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 60px); align-items: flex-end;
}
.proof__item b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.proof__item b .suf { color: var(--brand); }
.proof__item span { display: block; margin-top: 8px; color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__aside { order: -1; }
  .chip-stage { width: min(76%, 360px); }
  .hero__title { max-width: 20ch; }
}

/* ============================================================================
   MARQUEE
   ============================================================================ */
.marquee {
  background: #fff; color: var(--brand-700);
  border-block: 1px solid rgba(31, 127, 206, 0.2);
  overflow: hidden; white-space: nowrap; padding-block: 16px;
}
.marquee__track { display: inline-flex; align-items: center; animation: scrollx 32s linear infinite; will-change: transform; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 28px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; padding-inline: 28px;
}
.marquee__track span::after { content: "✦"; font-size: 0.6rem; opacity: 0.55; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================================
   SECTION HEADERS / GENERIC
   ============================================================================ */
.shead { max-width: 64ch; }
.shead--center { margin-inline: auto; text-align: center; }
.shead .lead { margin-top: 18px; }
.shead--center .lead { margin-inline: auto; }

/* ============================================================================
   CARDS (used deliberately, varied)
   ============================================================================ */
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(26px, 3vw, 36px); overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t), background var(--t), box-shadow var(--t);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(81, 175, 247, 0.5), transparent 46%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t);
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 36px 70px -36px rgba(46, 151, 230, 0.4); }
.card:hover::before { opacity: 1; }
.card__ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand), var(--brand-700)); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(46, 151, 230, 0.7); margin-bottom: 22px;
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-1); margin-bottom: 9px; }
.card__promise { color: var(--brand-300); font-weight: 700; font-size: var(--step-0); margin-bottom: 16px; }
.card__list { display: grid; gap: 11px; }
.card__list li { display: flex; gap: 11px; color: var(--text-2); font-size: var(--step-0); line-height: 1.45; }
.card__list svg { flex: 0 0 auto; width: 19px; height: 19px; color: var(--brand); margin-top: 3px; }
.card__tag {
  position: absolute; top: 22px; right: 22px; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-300);
  background: rgba(81, 175, 247, 0.12); padding: 5px 11px; border-radius: var(--r-pill);
}

/* ============================================================================
   STAT PANEL (story)
   ============================================================================ */
.stat-panel {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--panel-2) 0%, #0b1c34 100%);
  border: 1px solid var(--line-2); padding: clamp(30px, 4vw, 44px); box-shadow: var(--shadow-1);
}
.stat-panel .grid-bg { -webkit-mask-image: none; mask-image: none; opacity: 0.5; }
.stat-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 22px; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat .n .suf { color: var(--brand); }
.stat .l { margin-top: 8px; color: var(--text-2); font-size: var(--step--1); font-weight: 600; }
.stat-quote {
  position: relative; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-2);
  font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--brand-300);
  font-size: var(--step-1); line-height: 1.4;
}

/* ============================================================================
   STEPS (numbered — used only where content IS a sequence)
   ============================================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  position: relative; padding: clamp(24px, 2.5vw, 32px) clamp(22px, 2vw, 28px);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -38px rgba(46, 151, 230, 0.5); border-color: var(--line-2); }
.step__n {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--brand);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(81, 175, 247, 0.12); margin-bottom: 20px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--step-1); margin-bottom: 9px; }
.step p { color: var(--text-2); font-size: var(--step-0); }

/* ============================================================================
   FEATURE / WHY GRID
   ============================================================================ */
.feature {
  padding: clamp(26px, 3vw, 34px); border-radius: var(--r);
  background: rgba(146, 186, 234, 0.04); border: 1px solid var(--line);
  transition: background var(--t), transform var(--t) var(--ease), border-color var(--t);
}
.feature:hover { background: rgba(81, 175, 247, 0.08); border-color: var(--line-3); transform: translateY(-4px); }
.feature__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--brand), var(--brand-700)); color: #fff; margin-bottom: 20px; }
.feature__ico svg { width: 25px; height: 25px; }
.feature h3 { font-size: var(--step-1); margin-bottom: 9px; }
.feature p { color: var(--text-2); font-size: var(--step-0); }

/* ============================================================================
   SCROLL SHOWPIECE (the "scroll-vidéo" pinned/scrubbed section)
   ============================================================================ */
.showpiece { position: relative; background: var(--ink-2); overflow: hidden; }
.showpiece .grid-bg { opacity: 0.5; -webkit-mask-image: radial-gradient(90% 80% at 50% 40%, #000, transparent 82%); mask-image: radial-gradient(90% 80% at 50% 40%, #000, transparent 82%); }
.showpiece__pin { position: relative; z-index: 1; min-height: 100dvh; display: grid; align-items: center; }
.showpiece__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.stage { min-height: 132px; margin-top: 10px; }
.stage__item { display: none; }
.stage__item.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.stage__step { font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.04em; color: var(--brand-300); text-transform: uppercase; font-size: var(--step--1); margin-bottom: 10px; }
.stage__txt { font-size: var(--step-1); color: var(--text-2); max-width: 44ch; line-height: 1.5; }
.readouts { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; }
.readout b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.readout b .suf { color: var(--brand); }
.readout span { display: block; margin-top: 7px; color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.progress { height: 4px; background: rgba(155, 210, 255, 0.14); border-radius: 4px; margin-top: 30px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--brand), var(--brand-300)); border-radius: 4px; will-change: transform; }
.showpiece__aside { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.showpiece__halo { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(81, 175, 247, 0.5), transparent 66%); filter: blur(8px); opacity: 0.2; }

@media (max-width: 880px) {
  .showpiece__grid { grid-template-columns: 1fr; gap: 34px; }
  .showpiece__pin { min-height: auto; padding-block: clamp(60px, 12vw, 90px); }
  .showpiece__aside { max-width: 360px; margin-inline: auto; }
}

/* ============================================================================
   CTA (blue-drenched moment)
   ============================================================================ */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-700) 100%); color: var(--brand-ink);
}
.cta__glow { position: absolute; left: 50%; top: -25%; width: 64%; height: 150%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 60%); filter: blur(46px); pointer-events: none; }
.cta .wrap { position: relative; z-index: 1; display: grid; place-items: center; }
.cta h2 { font-size: var(--step-4); color: var(--brand-ink); margin-bottom: 16px; letter-spacing: -0.03em; }
.cta p { font-size: var(--step-1); color: #0a2945; max-width: 52ch; margin-bottom: 34px; font-weight: 600; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================================
   CONTACT FORM
   ============================================================================ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: rgba(146, 186, 234, 0.05);
  color: var(--text); font-size: var(--step-0); transition: border-color var(--t-fast), background var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: rgba(81, 175, 247, 0.07); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238aa0bd' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.form__note { grid-column: 1 / -1; font-size: var(--step--1); color: var(--muted); }
.form__status { grid-column: 1 / -1; font-size: var(--step-0); font-weight: 600; }
.form__status.ok { color: var(--brand-300); }
.form__status.err { color: #ff9a9a; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 80px); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); font-size: var(--step-0); max-width: 34ch; margin-top: 18px; }
.footer__socials { display: flex; gap: 12px; margin-top: 22px; }
.footer__socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(146, 186, 234, 0.06); border: 1px solid var(--line); color: var(--text-2); transition: background var(--t-fast), color var(--t-fast), transform var(--t) var(--ease), border-color var(--t-fast); }
.footer__socials a:hover { background: var(--brand); color: var(--brand-ink); transform: translateY(-3px); border-color: var(--brand); }
.footer__socials svg { width: 20px; height: 20px; }
.footer__col h4 { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-300); margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; color: var(--text-2); font-size: var(--step-0); margin-bottom: 11px; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-block: 24px 30px; color: var(--muted); font-size: var(--step--1); }
.footer__bottom a { color: var(--text-2); }
.footer__bottom a:hover { color: var(--text); }

/* ============================================================================
   LEGAL PAGE
   ============================================================================ */
.legal-body { max-width: 78ch; }
.legal-body h2 { font-size: var(--step-2); margin-top: clamp(34px, 4vw, 48px); margin-bottom: 14px; }
.legal-body h3 { font-size: var(--step-1); margin-top: 28px; margin-bottom: 10px; color: var(--brand-300); }
.legal-body p { color: var(--text-2); margin-bottom: 12px; line-height: 1.7; }
.legal-body ul { margin: 0 0 14px; padding-left: 0; display: grid; gap: 8px; }
.legal-body ul li { color: var(--text-2); display: flex; gap: 10px; }
.legal-body ul li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 11px; border-radius: 50%; background: var(--brand); }
.legal-body a { color: var(--brand-300); text-decoration: underline; text-underline-offset: 3px; }
.todo { color: var(--brand-300); font-weight: 700; background: rgba(81, 175, 247, 0.1); padding: 1px 8px; border-radius: 6px; }

/* ============================================================================
   PAGE HEADER (interior pages)
   ============================================================================ */
.pagehead { position: relative; overflow: hidden; padding-block: clamp(110px, 16vh, 170px) clamp(40px, 6vw, 70px); }
.pagehead__inner { position: relative; z-index: 1; max-width: 30ch; }
.pagehead .grid-bg { opacity: 0.5; }
.pagehead__glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 10%, rgba(81, 175, 247, 0.18), transparent 60%); }
.crumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--step--1); font-weight: 600; margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand-300); }
.crumbs svg { width: 14px; height: 14px; opacity: 0.6; }

/* ============================================================================
   UTILITIES
   ============================================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.flow-sm > * + * { margin-top: 0.9rem; }
.flow > * + * { margin-top: 1.2rem; }
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 6vw, 64px); }
.mt-m { margin-top: clamp(28px, 4vw, 44px); }
.mt-s { margin-top: 22px; }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid-2, .split, .grid-3, .stat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .form { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta__btns .btn { width: 100%; }
}

/* ============================================================================
   TIMELINE (a real chronological sequence)
   ============================================================================ */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--line)); }
.tl { position: relative; padding: 0 0 clamp(28px, 4vw, 40px) 56px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2.5px solid var(--brand); box-shadow: 0 0 0 6px rgba(81, 175, 247, 0.12); }
.tl__year { font-family: var(--font-display); font-weight: 800; color: var(--brand); font-size: var(--step-1); line-height: 1; font-variant-numeric: tabular-nums; }
.tl h3 { font-size: var(--step-1); margin: 6px 0 8px; }
.tl p { color: var(--text-2); max-width: 56ch; }

/* ============================================================================
   ON-BRAND VISUAL PANEL (generated imagery for sections)
   ============================================================================ */
.visual-panel {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  background: radial-gradient(120% 90% at 80% 10%, rgba(81, 175, 247, 0.32), transparent 55%), linear-gradient(160deg, #0c1c33, #081223);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-1); display: grid; place-items: center;
}
.visual-panel .grid-bg { opacity: 0.55; -webkit-mask-image: radial-gradient(80% 80% at 50% 45%, #000, transparent 80%); mask-image: radial-gradient(80% 80% at 50% 45%, #000, transparent 80%); }
.visual-panel__chip { position: relative; z-index: 1; width: 72%; }
.visual-panel__cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--step--1); font-weight: 700; color: var(--text-2);
  background: rgba(6, 11, 22, 0.6); border: 1px solid var(--line); padding: 7px 13px; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

/* Photographic media with on-brand duotone (real imagery, treated to fit) */
.media {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-1); background: var(--panel);
}
.media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.05) brightness(0.82); mix-blend-mode: luminosity; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(81, 175, 247, 0.42), rgba(6, 11, 22, 0.5)); mix-blend-mode: color; pointer-events: none; }
.media::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(6, 11, 22, 0.55), transparent 55%); pointer-events: none; }
.media__cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 3; font-size: var(--step--1); font-weight: 700; color: var(--text);
}
.media--portrait { aspect-ratio: 3 / 3.6; display: grid; place-items: center; }
.media__placeholder { z-index: 3; text-align: center; padding: 24px; color: var(--muted); }
.media__placeholder svg { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--brand-300); }
.media__placeholder b { display: block; color: var(--text-2); font-weight: 700; margin-bottom: 4px; }

/* ============================================================================
   SERVICE ROWS (detailed page)
   ============================================================================ */
.svc { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.svc--rev .svc__media { order: 2; }
.svc__num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1; }
.svc h2 { font-size: var(--step-3); margin: 12px 0 8px; }
.svc__promise { color: var(--brand-300); font-weight: 700; font-size: var(--step-1); margin-bottom: 18px; }
.svc__list { display: grid; gap: 12px; margin-top: 22px; }
.svc__list li { display: flex; gap: 12px; color: var(--text-2); font-size: var(--step-0); }
.svc__list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.svc--flagship { position: relative; padding: clamp(30px, 4vw, 48px); border-radius: var(--r-lg); background: linear-gradient(155deg, var(--panel-2), #0a1e38); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.svc--flagship .svc__media { box-shadow: var(--shadow-brand); }

@media (max-width: 880px) {
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .svc--rev .svc__media { order: 0; }
}

/* ============================================================================
   FAQ (accordion)
   ============================================================================ */
.faq { display: grid; gap: 12px; max-width: 80ch; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; transition: border-color var(--t); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); transition: transform var(--t) var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px; color: var(--text-2); max-width: 70ch; }
.faq__body p + p { margin-top: 10px; }

/* ============================================================================
   CHANNELS (contact)
   ============================================================================ */
.channel { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); transition: transform var(--t) var(--ease), border-color var(--t), background var(--t); }
.channel:hover { transform: translateY(-4px); border-color: var(--line-3); background: var(--panel-2); }
.channel__ico { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; background: rgba(81, 175, 247, 0.12); color: var(--brand-300); }
.channel__ico svg { width: 24px; height: 24px; }
.channel b { display: block; color: var(--text); font-size: var(--step-0); }
.channel span { color: var(--muted); font-size: var(--step--1); }

/* ============================================================================
   REVEAL (progressive enhancement: hidden ONLY when JS is active)
   ============================================================================ */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

/* ============================================================================
   REAL LOGO (replaces inline glyph+wordmark)
   ============================================================================ */
.brand__logo { height: 40px; width: auto; display: block; }
.topbar .brand__logo { height: 32px; }
.footer__brand .brand__logo { height: 48px; }
@media (max-width: 560px) { .topbar .brand__logo { height: 28px; } }

/* ============================================================================
   TUBELIGHT NAV — see bottom-pill styles in the NAVBAR section above
   ============================================================================ */

/* ============================================================================
   WEB-CREATION SHOWCASE (flagship offer) — browser mockup that scroll-scrubs
   ============================================================================ */
.webshow .showpiece__aside { aspect-ratio: auto; display: block; place-items: stretch; }
.browser {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--panel);
  box-shadow: var(--shadow-1), 0 44px 90px -44px rgba(46, 151, 230, 0.45);
}
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: rgba(8, 14, 26, 0.92); border-bottom: 1px solid var(--line); }
.browser__dots { display: inline-flex; gap: 7px; flex: 0 0 auto; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-3); }
.browser__dots i:nth-child(1) { background: #ff6058; }
.browser__dots i:nth-child(2) { background: #ffbe2e; }
.browser__dots i:nth-child(3) { background: #2aca44; }
.browser__url { flex: 1; text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--text-2); background: rgba(146, 186, 234, 0.08); border-radius: var(--r-pill); padding: 6px 14px; max-width: 300px; margin-inline: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__view { position: relative; aspect-ratio: 16 / 10.2; overflow: hidden; background: #0b1424; }
.browser__strip { position: absolute; inset: 0 0 auto 0; z-index: 1; width: 100%; will-change: transform; }
.browser__shot { display: block; width: 100%; height: auto; }
.browser__shot.is-missing { display: none; }
.browser__fallback {
  position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; justify-items: center;
  gap: 7px; text-align: center; padding: 26px;
  background: radial-gradient(120% 90% at 50% 8%, rgba(81, 175, 247, 0.16), transparent 60%), #0b1424;
}
.browser__fav img { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 10px 26px -12px rgba(46, 151, 230, 0.7); }
.browser__fallback b { font-family: var(--font-display); font-size: var(--step-1); color: var(--text); margin-top: 4px; }
.browser__fallback span { font-size: var(--step--1); color: var(--text-2); }
.browser__fallback .muted { font-size: 0.74rem; max-width: 30ch; }

.webshow__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; color: var(--brand-300); background: rgba(81, 175, 247, 0.1); border: 1px solid var(--line-2); padding: 5px 12px; border-radius: var(--r-pill); }
.webshow__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }

/* Flagship card (homepage services preview — web creation as lead offer) */
.card--flagship { background: linear-gradient(155deg, var(--panel-2), #0a1e38); border-color: var(--line-2); }
.card--flagship::before { background: linear-gradient(150deg, rgba(81, 175, 247, 0.7), transparent 52%); opacity: 1; }
.card__flag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 16px; }
.card__flag svg { width: 13px; height: 13px; }

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================================
   TABLET SHOWCASE — 3D scroll unfold holding a live, navigable site
   ============================================================================ */
.tabletshow {
  position: relative; background: var(--ink); overflow: clip;
  padding-block: clamp(40px, 8vw, 90px) clamp(56px, 11vw, 130px);
}
.tabletshow .grid-bg {
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(82% 70% at 50% 26%, #000, transparent 80%);
  mask-image: radial-gradient(82% 70% at 50% 26%, #000, transparent 80%);
}
.tabletshow__head { position: relative; z-index: 2; max-width: 60ch; margin-inline: auto; text-align: center; }
.tabletshow__head .eyebrow { justify-content: center; }
.tabletshow__stage {
  position: relative; z-index: 1; perspective: 1500px;
  margin-top: clamp(26px, 5vw, 54px); display: flex; justify-content: center;
}

.tablet {
  --bezel: clamp(10px, 1.6vw, 18px);
  position: relative; width: min(100%, 1000px); transform-style: preserve-3d; will-change: transform;
  padding: var(--bezel); border-radius: clamp(22px, 2.6vw, 34px);
  background: linear-gradient(160deg, #161d28, #0b0f16 62%);
  border: 1px solid rgba(146, 186, 234, 0.16);
  box-shadow: 0 2px 2px rgba(255, 255, 255, 0.05) inset,
              0 40px 90px -42px rgba(0, 0, 0, 0.9),
              0 70px 130px -60px rgba(46, 151, 230, 0.5);
}
.tablet::before { /* camera dot */
  content: ""; position: absolute; top: calc(var(--bezel) / 2 - 2px); left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #2a3342; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45);
}
.tablet__screen {
  position: relative; border-radius: clamp(12px, 1.6vw, 20px); overflow: hidden;
  background: #0b1424; aspect-ratio: 16 / 10.6;
}
.tablet__bar {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 12px; background: rgba(8, 14, 26, 0.96); border-bottom: 1px solid var(--line);
}
.tablet__dots { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.tablet__dots i { width: 10px; height: 10px; border-radius: 50%; }
.tablet__dots i:nth-child(1) { background: #ff6058; }
.tablet__dots i:nth-child(2) { background: #ffbe2e; }
.tablet__dots i:nth-child(3) { background: #2aca44; }
.tablet__url {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 24px; max-width: 330px; margin-inline: auto; padding: 0 12px;
  font-size: 0.76rem; font-weight: 600; color: var(--text-2);
  background: rgba(146, 186, 234, 0.08); border-radius: var(--r-pill);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tablet__live { display: none; align-items: center; gap: 5px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #2aca44; }
.tablet.is-live .tablet__live { display: inline-flex; }
.tablet__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2aca44; animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(42, 202, 68, 0.55); } 70% { box-shadow: 0 0 0 7px rgba(42, 202, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(42, 202, 68, 0); } }

.tablet__viewport { position: absolute; inset: 38px 0 0 0; }
.tablet__frame { width: 100%; height: 100%; border: 0; display: block; background: #0b1424; }

.tablet__full {
  position: absolute; top: 46px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; color: var(--text); text-decoration: none;
  background: rgba(8, 14, 26, 0.82); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 7px 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.4s ease;
}
.tablet__full svg { width: 14px; height: 14px; }
.tablet.is-live .tablet__full { opacity: 1; }

/* poster overlay — shown until the embedded site confirms it loaded; never blank */
.tablet__poster {
  position: absolute; inset: 38px 0 0 0; z-index: 2; display: grid; place-content: center; justify-items: center;
  gap: 12px; text-align: center; padding: 24px;
  background: radial-gradient(130% 100% at 50% 0%, rgba(81, 175, 247, 0.16), transparent 58%), #0b1424;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.tablet__poster.is-hidden { opacity: 0; visibility: hidden; }
.poster__logo { width: clamp(120px, 22vw, 178px); height: auto; opacity: 0.95; }
.poster__sub { font-size: var(--step--1); color: var(--text-2); }
.poster__sub--blocked { display: none; }
.tablet__poster.is-blocked .poster__sub--load { display: none; }
.tablet__poster.is-blocked .poster__sub--blocked { display: inline; }
.tablet__poster.is-blocked .poster__spin { display: none; }
.poster__spin {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2.5px solid rgba(155, 210, 255, 0.25); border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.poster__play {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 2px;
  font-family: var(--font-display); font-weight: 700; color: var(--brand-ink);
  background: var(--brand); border: 0; border-radius: var(--r-pill); padding: 11px 20px;
  text-decoration: none; cursor: pointer;
}
.poster__play svg { width: 16px; height: 16px; }

.tabletshow__foot { position: relative; z-index: 2; margin-top: clamp(26px, 5vw, 46px); display: grid; gap: 18px; justify-items: center; }
.tabletshow__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tabletshow__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .tablet__screen { aspect-ratio: 3 / 4; }
  .tablet__url { max-width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .tablet { transform: none !important; }
}

/* clear the floating bottom nav */
.footer { padding-bottom: clamp(104px, 14vw, 132px); }

/* ============================================================================
   INVERTED SECTIONS — rhythm & contrast (peps)
   ============================================================================ */
.section--light {
  background:
    radial-gradient(80% 60% at 82% -10%, #ffffff, transparent 60%),
    linear-gradient(180deg, #eef4fb, #e1ecfa);
  color: #0a1a2b;
}
.section--light h1, .section--light h2, .section--light h3,
.section--light .h-lg, .section--light .h-xl { color: #07182e; }
.section--light .eyebrow { color: #1f7fce; }
.section--light .feature { background: #ffffff; border-color: rgba(7, 24, 43, 0.08); box-shadow: 0 18px 40px -28px rgba(7, 24, 43, 0.28); }
.section--light .feature:hover { background: #ffffff; border-color: rgba(81, 175, 247, 0.55); box-shadow: 0 26px 55px -30px rgba(46, 151, 230, 0.4); transform: translateY(-4px); }
.section--light .feature h3 { color: #07182e; }
.section--light .feature p { color: #3a516e; }
.section--light .link { color: var(--brand-700); }

/* Brand value strip (inverted: brand background, dark ink) */
.section--brand { background: linear-gradient(120deg, var(--brand), var(--brand-600)); color: var(--brand-ink); }
.valuestrip { padding-block: clamp(26px, 4vw, 40px); }
.valuestrip__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2.4vw, 30px);
}
.valuestrip__list li { position: relative; padding-left: 16px; }
.valuestrip__list li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.55); }
.valuestrip__list b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.32rem); letter-spacing: -0.01em; color: #fff; }
.valuestrip__list span { display: block; margin-top: 4px; font-size: 0.86rem; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, 0.86); }
@media (max-width: 880px) { .valuestrip__list { grid-template-columns: repeat(2, 1fr); gap: 18px 22px; } }
@media (max-width: 480px) { .valuestrip__list { grid-template-columns: 1fr; } }

/* ============================================================================
   HERO mouse-trail canvas (neon, brand-tuned hue)
   ============================================================================ */
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.85; }
@media (prefers-reduced-motion: reduce) { .hero__fx { display: none; } }

/* ============================================================================
   ARC REVEAL PRELOADER (injected by JS; once per session)
   ============================================================================ */
.arc-pre {
  position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  background: linear-gradient(160deg, #0a2742, #06101e);
  display: grid; place-items: center;
}
.arc-pre__word {
  position: relative; z-index: 2; font-family: var(--font-display); font-weight: 800;
  letter-spacing: -0.02em; font-size: clamp(2.2rem, 1.5rem + 5vw, 5rem); color: #eaf4ff;
  text-shadow: 0 0 42px rgba(81, 175, 247, 0.45); padding: 0 24px; text-align: center;
  transition: opacity 0.36s ease, transform 0.36s ease;
}
.arc-pre__word.is-out { opacity: 0; transform: translateY(-10px); }
.arc-pre__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.arc-pre.is-hiding { transition: opacity 0.35s ease; opacity: 0; }

/* ============================================================================
   SCROLL FILM — cinematic intro (scrub video -> pixels -> fragment assembly)
   ============================================================================ */
.scrollfilm { position: relative; background: #040a14; }
.scrollfilm__stage { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; }
.scrollfilm__bg { position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 38%, #0a1c33, #040a14 76%); }
.scrollfilm__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: opacity; background: #040a14; }
.scrollfilm__particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; z-index: 3; }
.scrollfilm__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(4, 9, 18, 0.52), rgba(4, 9, 18, 0.4) 45%, rgba(4, 9, 18, 0.64)); }
.scrollfilm__hint {
  position: absolute; left: 50%; bottom: clamp(30px, 8vh, 64px); transform: translateX(-50%); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(234, 244, 255, 0.82); font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; transition: opacity 0.4s ease;
}
.scrollfilm__hint-label { padding-left: 0.34em; }
.scrollfilm__hint-line {
  position: relative; width: 2px; height: 56px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(to bottom, rgba(155, 210, 255, 0), rgba(155, 210, 255, 0.32) 50%, rgba(155, 210, 255, 0));
}
.scrollfilm__hint-line::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 45%; top: -45%;
  background: linear-gradient(to bottom, rgba(81, 175, 247, 0), #9fd6ff 60%, rgba(81, 175, 247, 0));
  box-shadow: 0 0 9px 1px rgba(120, 200, 255, 0.85);
  animation: hintGlow 1.9s ease-in-out infinite;
}
@keyframes hintGlow { 0% { top: -45%; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scrollfilm { display: none; } }

/* on-video hook: centered in the middle, impactful display font, soft white halo */
.scrollfilm__copy {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: start center; justify-items: center;
  text-align: center; padding: clamp(60px, 12vh, 140px) clamp(18px, 5vw, 40px) 0; will-change: opacity;
}
.scrollfilm__copyin { position: relative; max-width: 880px; will-change: transform; }
.scrollfilm__copyin::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 124%; height: 200%; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 58% at 50% 50%, rgba(3, 8, 16, 0.66), rgba(3, 8, 16, 0.34) 55%, rgba(3, 8, 16, 0) 76%);
  filter: blur(22px);
}
.scrollfilm__eyebrow {
  font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-300); margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.scrollfilm__title {
  font-family: var(--font-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.025em;
  font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem); color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.85);
}
.scrollfilm__promise {
  margin-top: 12px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, 0.92rem + 0.7vw, 1.4rem); letter-spacing: -0.01em; color: #f2f8ff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72), 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ============================================================================
   GLOBAL MOUSE TRAIL — neon cursor trail across every section (hidden over film)
   ============================================================================ */
.fx-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; opacity: 1; transition: opacity 0.45s ease; }
.fx-trail.is-off { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fx-trail { display: none; } }

/* ============================================================================
   HERO sparkles + gravity bubble pit (replaces the animated chip)
   ============================================================================ */
.hero__sparkles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.hero__pit {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-end; justify-content: center;
  padding: 0 clamp(16px, 4vw, 40px) clamp(26px, 6vh, 64px);
}
.hero__pit.is-physics { display: block; padding: 0; }
/* mouse passes through the headline to the bubbles behind; buttons stay clickable */
.hero > .wrap { position: relative; z-index: 2; pointer-events: none; }
.hero__inner, .hero__text { pointer-events: none; }
.hero__cta, .hero__cta a { pointer-events: auto; }
.pit-pill {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(0.9rem, 0.82rem + 0.4vw, 1.08rem); padding: 12px 20px; border-radius: 999px;
  white-space: nowrap; user-select: none; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.pit-pill[data-bg="sky"]   { background: var(--brand); color: var(--brand-ink); }
.pit-pill[data-bg="sky2"]  { background: var(--brand-300); color: var(--brand-ink); }
.pit-pill[data-bg="blue"]  { background: var(--brand-700); color: #ffffff; }
.pit-pill[data-bg="navy"]  { background: #0b3b66; color: var(--brand-300); }
.pit-pill[data-bg="gold"]  { background: var(--accent); color: var(--accent-ink); }
.pit-pill[data-bg="gold2"] { background: var(--accent-600); color: #241a04; }
.hero__pit.is-physics .pit-pill { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; will-change: transform; }
.hero__pit.is-physics canvas { position: absolute; top: 0; left: 0; z-index: 1; }
.hero__pit.is-physics::after {
  content: "glisse les bulles"; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  z-index: 3; font-family: var(--font-display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3, rgba(146,170,200,0.6)); pointer-events: none;
}

/* Histoire — giant centered "performance" */
.pagehead__inner--center { max-width: none; text-align: center; margin-inline: auto; }
.pagehead__inner--center .crumbs { justify-content: center; }
.pagehead__inner--center .lead { margin-inline: auto; }
.hl--giant {
  display: block; margin-top: 0.08em; line-height: 0.82; letter-spacing: -0.02em;
  font-size: clamp(3rem, 1.3rem + 9.5vw, 7.8rem);
  text-shadow: 0 0 54px rgba(81, 175, 247, 0.45);
}

/* ============================================================================
   TABLETSHOW — service title, smaller desc, rotating quote, white/blue args
   ============================================================================ */
.tabletshow__service {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5rem); color: var(--text);
}
.tabletshow__kicker {
  margin-top: 10px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.82rem; color: var(--brand);
}
.tabletshow__line { color: var(--text-2); }
.lead--sm { font-size: 0.95rem; line-height: 1.6; color: var(--text-2); max-width: 66ch; }

.tabletshow__quote { margin: clamp(40px, 7vw, 82px) auto clamp(6px, 2vw, 16px); max-width: 1000px; text-align: center; }
.quote-big {
  position: relative; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.12; font-size: clamp(1.7rem, 1rem + 3.4vw, 3.4rem); color: var(--text);
}
.quote-big::before {
  content: "“"; position: absolute; left: 50%; top: -0.7em; transform: translateX(-50%);
  font-size: 2.4em; line-height: 1; color: var(--brand); opacity: 0.28;
}
.text-rotate { display: inline-flex; flex-wrap: wrap; justify-content: center; }
.text-rotate .tr-word { display: inline-flex; overflow: hidden; padding-bottom: 0.16em; }
.text-rotate .tr-space { display: inline-block; width: 0.32em; }
.text-rotate .tr-char {
  display: inline-block; transform: translateY(110%); opacity: 0; will-change: transform, opacity;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.25, 1.2), opacity 0.4s ease;
}
.text-rotate .tr-char.is-in { transform: translateY(0); opacity: 1; }
.text-rotate .tr-char.is-out { transform: translateY(-120%); opacity: 0; transition: transform 0.45s ease, opacity 0.3s ease; }

.tabletshow__args { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(18px, 3vw, 30px) auto 0; max-width: 920px; }
.arg-pill {
  background: #fff; color: var(--brand-700); border: 1px solid rgba(31, 127, 206, 0.18); border-radius: 999px;
  padding: 9px 18px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em;
  box-shadow: 0 6px 18px -10px rgba(31, 127, 206, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .text-rotate .tr-char { transform: none; opacity: 1; transition: none; }
}

/* hero: emphasised word in the sub */
.em-brand {
  font-family: var(--font-brand); color: var(--brand); font-size: 1.5em; line-height: 0.8;
  letter-spacing: -0.01em; text-shadow: 0 0 30px rgba(81, 175, 247, 0.45);
}

/* tabletshow: feature chips moved under the preview */
.tabletshow__chips--after { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(22px, 3.5vw, 38px) auto 0; }

/* ============================================================================
   LAMP — cinematic light beam revealing the quote (vanilla reproduction)
   ============================================================================ */
.lamp {
  position: relative; overflow: visible; isolation: isolate; text-align: center;
  max-width: 1100px; margin: clamp(48px, 8vw, 90px) auto clamp(20px, 3vw, 32px);
  padding: clamp(112px, 18vh, 186px) 24px clamp(48px, 8vh, 90px);
}
.lamp__beams {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(92% 104% at 50% 42%, #07131f 0%, #050e18 60%, #04101b 84%);
  -webkit-mask-image: radial-gradient(90% 110% at 50% 44%, #000 60%, transparent 100%);
  mask-image: radial-gradient(90% 110% at 50% 44%, #000 60%, transparent 100%);
}
.lamp__left, .lamp__right {
  position: absolute; top: 0; height: 250px; width: 30rem; max-width: 56%; opacity: 0; filter: blur(16px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.lamp__left { right: 50%; transform-origin: right top; transform: translateX(30px) scaleX(0.55); background: conic-gradient(from 74deg at 100% 0, rgba(81, 175, 247, 0.55), transparent 56%); }
.lamp__right { left: 50%; transform-origin: left top; transform: translateX(-30px) scaleX(0.55); background: conic-gradient(from 286deg at 0 0, transparent 44%, rgba(81, 175, 247, 0.55)); }
.lamp__glow {
  position: absolute; left: 50%; top: -24px; transform: translateX(-50%); width: 30rem; max-width: 84%;
  height: 180px; border-radius: 999px; background: var(--brand); filter: blur(96px); opacity: 0;
  transition: opacity 1.3s ease;
}
.lamp__line {
  position: absolute; left: 50%; top: 118px; transform: translateX(-50%) scaleX(0.4); width: 30rem; max-width: 76%;
  height: 10px; border-radius: 999px; background: linear-gradient(to right, transparent, #cfeaff, transparent);
  filter: blur(5px); opacity: 0; transition: opacity 1.2s ease, transform 1.2s ease;
}
.lamp__quote {
  position: relative; z-index: 2; margin: 0 auto; max-width: 820px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.16;
  font-size: clamp(1.5rem, 0.9rem + 3vw, 3rem);
  background: linear-gradient(180deg, #f0f6ff, #9fbdda); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(46px); transition: opacity 1.1s ease, transform 1.1s ease;
}
.lamp.is-in .lamp__glow { opacity: 0.5; }
.lamp.is-in .lamp__left, .lamp.is-in .lamp__right { opacity: 1; transition-delay: 0.12s; }
.lamp.is-in .lamp__left { transform: translateX(0) scaleX(1); }
.lamp.is-in .lamp__right { transform: translateX(0) scaleX(1); }
.lamp.is-in .lamp__line { opacity: 0.85; transform: translateX(-50%) scaleX(1); transition-delay: 0.28s; }
.lamp.is-in .lamp__quote { opacity: 1; transform: translateY(0); transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  .lamp__left, .lamp__right, .lamp__glow, .lamp__line, .lamp__quote { transform: none; transition: none; }
  .lamp__quote { opacity: 1; } .lamp__glow { opacity: 0.5; } .lamp__left, .lamp__right { opacity: 1; } .lamp__line { opacity: 0.85; }
}

/* ============================================================================
   VALUE CARD — blue rectangle, white text (arguments + descriptions)
   ============================================================================ */
.valuecard {
  margin: clamp(26px, 4vw, 46px) auto 0; max-width: 1000px;
  background: linear-gradient(150deg, var(--brand-600), var(--brand-700));
  border-radius: 22px; padding: clamp(10px, 1.4vw, 18px) clamp(20px, 3vw, 40px);
  box-shadow: 0 30px 60px -30px rgba(31, 127, 206, 0.6);
}
.valuecard__row {
  display: grid; grid-template-columns: minmax(180px, 0.4fr) 1fr; gap: 6px 26px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.valuecard__row:last-child { border-bottom: 0; }
.valuecard__t {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; color: #fff;
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.42rem);
}
.valuecard__d { color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; line-height: 1.5; }
@media (max-width: 640px) { .valuecard__row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; } }

/* ============================================================================
   YELLOW ACCENTS (rappels) + ANIMATED FEATURE-CARD MODULE + STEP PROGRESS RAIL
   ============================================================================ */
.hly { color: var(--accent); }
.mark-y { background: linear-gradient(transparent 60%, rgba(244, 196, 78, 0.32) 0); padding: 0 0.06em; border-radius: 2px; }
.eyebrow--gold { color: var(--accent-300); }
.eyebrow--gold::before { background: var(--accent); }
.accent-rule { height: 3px; width: 64px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }

.fcard {
  --fc: var(--brand); --fc-soft: rgba(81, 175, 247, 0.13); --fc-line: rgba(81, 175, 247, 0.32);
  position: relative; display: flex; flex-direction: column; gap: 13px; overflow: hidden;
  padding: 24px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.25, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.fcard--gold { --fc: var(--accent); --fc-soft: var(--accent-soft); --fc-line: rgba(244, 196, 78, 0.34); }
.fcard::before {
  content: ""; position: absolute; top: -45%; right: -32%; width: 62%; height: 84%; pointer-events: none;
  background: radial-gradient(circle, var(--fc), transparent 68%); opacity: 0; filter: blur(34px); transition: opacity 0.5s ease;
}
.fcard:hover { transform: translateY(-7px); border-color: var(--fc-line); box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.7); }
.fcard:hover::before { opacity: 0.4; }
.fcard__ico {
  position: relative; z-index: 1; width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center;
  background: var(--fc-soft); color: var(--fc); border: 1px solid var(--fc-line); transition: transform 0.45s ease;
}
.fcard:hover .fcard__ico { transform: translateY(-2px) rotate(-5deg) scale(1.05); }
.fcard__ico svg { width: 26px; height: 26px; }
.fcard h3 { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: -0.01em; margin-bottom: 0; }
.fcard p { position: relative; z-index: 1; color: var(--text-2); font-size: var(--step-0); line-height: 1.55; }
.fcard__media {
  position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-bottom: 2px;
  background: linear-gradient(140deg, var(--fc-soft), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.fcard__media > svg { width: 50px; height: 50px; color: var(--fc); opacity: 0.9; }
.fcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fcard__media .ph { position: absolute; bottom: 9px; left: 12px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fc); opacity: 0.72; }

/* méthode: scroll-fill progress rail connecting the steps */
.steps { position: relative; }
.steps__rail { position: absolute; left: 4%; right: 4%; top: -16px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; z-index: 2; }
.steps__rail::after { content: ""; position: absolute; inset: 0; transform-origin: left center; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand), var(--accent)); transition: transform 0.15s linear; }
@media (max-width: 760px) { .steps__rail { display: none; } }

/* fcard: promise + list checks follow the card accent (blue/gold panaché) */
.fcard .card__promise { color: var(--fc); margin-bottom: 14px; }
.fcard .card__list svg { color: var(--fc); }
/* homepage rappel: golden separators on the marquee */
.marquee__track span::after { color: var(--accent); opacity: 0.9; }

/* ============================================================================
   SHADER FEATURE CARDS — animated colour field under a dark glass panel
   (vanilla reproduction of the @paper-design Warp module, brand palette)
   ============================================================================ */
.scard {
  --c1: #1f7fce; --c2: #51aff7; --c3: #2e97e6; --c4: #06152a;
  position: relative; border-radius: 24px; overflow: hidden; isolation: isolate;
  min-height: 300px; display: flex;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.25, 1), box-shadow 0.45s ease;
}
.scard:hover { transform: translateY(-6px); box-shadow: 0 30px 62px -32px rgba(0, 0, 0, 0.72); }
.scard__bg {
  position: absolute; inset: -45%; z-index: 0;
  background: var(--c4);
  filter: blur(24px) saturate(1.35);
}
.scard__bg::before, .scard__bg::after {
  content: ""; position: absolute; inset: 0; background-repeat: no-repeat; will-change: transform;
}
.scard__bg::before {
  background:
    radial-gradient(40% 46% at 30% 30%, var(--c1), transparent 60%),
    radial-gradient(44% 50% at 72% 40%, var(--c2), transparent 60%),
    radial-gradient(46% 52% at 50% 78%, var(--c3), transparent 62%);
  animation: scardFlowA 20s ease-in-out infinite alternate;
}
.scard__bg::after {
  background: conic-gradient(from 0deg at 50% 50%, var(--c2), var(--c3), var(--c1), var(--c2), var(--c3));
  mix-blend-mode: screen; opacity: 0.55;
  animation: scardSpin 26s linear infinite;
}
.scard::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: 24px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.5px);
  background-size: 11px 11px; opacity: 0.07; animation: scardDrift 16s linear infinite;
}
@keyframes scardFlowA {
  0%   { transform: translate(-8%, -5%) scale(1.15); }
  50%  { transform: translate(7%, 5%)   scale(1.4); }
  100% { transform: translate(-4%, 8%)  scale(1.22); }
}
@keyframes scardSpin { to { transform: rotate(360deg) scale(1.3); } }
@keyframes scardDrift { to { background-position: 44px 44px; } }
.scard__panel {
  position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 32px); border-radius: 24px;
  background: rgba(6, 12, 22, 0.6); border: 1px solid rgba(255, 255, 255, 0.14);
}
.scard__ico { width: 48px; height: 48px; color: #fff; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55)); }
.scard__ico svg { width: 44px; height: 44px; }
.scard__panel h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.42rem; letter-spacing: -0.01em; color: #fff; }
.scard__panel p { color: rgba(236, 243, 252, 0.92); line-height: 1.55; font-size: 0.97rem; flex: 1; }
.scard__panel .card__promise { color: var(--brand-300); font-weight: 700; margin-bottom: 4px; }
.scard__panel .card__list { flex: none; gap: 10px; }
.scard__panel .card__list li { color: rgba(236, 243, 252, 0.9); }
.scard__panel .card__list svg { color: var(--c2); }
.scard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; color: #fff; text-decoration: none; opacity: 0.92; }
.scard__more svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.scard:hover .scard__more svg { transform: translateX(4px); }
.scard__flag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 5px 12px; border-radius: 999px; }
.scard__flag svg { width: 13px; height: 13px; }
.scard--ice     { --c1: #51aff7; --c2: #9bd2ff; --c3: #2e97e6; --c4: #07182c; }
.scard--gold    { --c1: #e0a431; --c2: #f4c44e; --c3: #2e97e6; --c4: #0c1426; }
.scard--mix     { --c1: #2e97e6; --c2: #f4c44e; --c3: #1f7fce; --c4: #0a1424; }
.scard--teal    { --c1: #0a6c86; --c2: #34e0d0; --c3: #1f9fb0; --c4: #05171f; }
.scard--violet  { --c1: #5b3bd6; --c2: #a06bff; --c3: #7b4fe0; --c4: #0f0a22; }
.scard--green   { --c1: #12905a; --c2: #45e39a; --c3: #1fae74; --c4: #06180f; }
.scard--magenta { --c1: #b3238e; --c2: #ff5db1; --c3: #d13ca0; --c4: #1a0616; }
.scard--orange  { --c1: #d97a1e; --c2: #ffbf4d; --c3: #e89a2e; --c4: #1a0f05; }
/* number badge inside step shader cards (works on any palette) */
.scard .step__n { color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.26); margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .scard__bg, .scard__bg::before, .scard__bg::after, .scard::after { animation: none; } }

/* ============================================================================
   FAN CAROUSEL — photos fanned like a hand of cards (histoire timeline)
   ============================================================================ */
.fan { --spread: 60px; --rise: 13px; --tilt: 8deg; position: relative; width: 100%; height: 384px; margin: 0 auto; }
.fan__card {
  position: absolute; left: 50%; top: 50%; width: 196px; height: 274px; margin: -137px 0 0 -98px;
  border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--ink-2);
  border: 3px solid rgba(255, 255, 255, 0.92); box-shadow: 0 20px 42px -18px rgba(0, 0, 0, 0.62);
  transform: translate(calc(var(--i) * var(--spread)), calc(var(--lift) * var(--rise))) rotate(calc(var(--i) * var(--tilt))) scale(var(--sc));
  z-index: var(--z); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.25, 1), box-shadow 0.4s ease;
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan__card:hover {
  transform: translate(calc(var(--i) * var(--spread)), calc(var(--lift) * var(--rise) - 24px)) rotate(0deg) scale(1.06);
  z-index: 20; box-shadow: 0 34px 66px -20px rgba(0, 0, 0, 0.72);
}
@media (max-width: 900px) { .fan { --spread: 50px; height: 352px; } }
@media (max-width: 640px) { .fan { --spread: 42px; height: 320px; } .fan__card { width: 158px; height: 222px; margin: -111px 0 0 -79px; } }
@media (prefers-reduced-motion: reduce) { .fan__card { transition: none; } }

/* Shader visual panel inside the 3 big service offers (replaces mockup image) */
.svc__shader { width: 100%; min-height: 340px; height: 100%; }
.svc__shader .scard__panel { align-items: center; justify-content: center; text-align: center; gap: 15px; }
.svc__shader .scard__ico { color: #fff; width: 60px; height: 60px; }
.svc__shader .scard__ico svg { width: 30px; height: 30px; }
.svc__shader-cap { color: #fff; font-weight: 700; font-size: 1.06rem; letter-spacing: 0.01em; }

/* ============================================================================
   COLOR RHYTHM — light zones that carry shader cards + ambient glows
   ============================================================================ */
/* light sections: keep own copy dark, keep shader-card interiors bright */
.section--light .lead, .section--light .shead p { color: #3a516e; }
.section--light .hl { color: var(--brand-700); }
.section--light .hly { color: var(--accent-700); }
.section--light .scard h3 { color: #fff; }
.section--light .scard p { color: rgba(236, 243, 252, 0.9); }
.section--light .scard .card__promise, .section--light .scard__panel .card__promise { color: var(--brand-300); }
.section--light .scard .card__list li { color: rgba(236, 243, 252, 0.9); }
.section--light .scard__more { color: rgba(230, 240, 252, 0.85); }
.section--light .divider-top { border-color: rgba(7, 24, 43, 0.1); }

/* ambient glows over dark sections — light-blue and warm gold, subtle */
.section--sky { background: radial-gradient(54% 46% at 8% 4%, rgba(81, 175, 247, 0.13), transparent 58%), var(--ink); }
.section--sky.section--ink2 { background: radial-gradient(54% 46% at 8% 4%, rgba(81, 175, 247, 0.13), transparent 58%), var(--ink-2); }
.section--warm { background: radial-gradient(52% 46% at 92% 8%, rgba(244, 196, 78, 0.11), transparent 56%), var(--ink); }
.section--warm.section--ink2 { background: radial-gradient(52% 46% at 92% 8%, rgba(244, 196, 78, 0.11), transparent 56%), var(--ink-2); }

/* Pagehead WebGL wave (blue/gold singularity) */
.pagehead__wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.62; filter: saturate(1.05); }
.pagehead[data-wave]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.25), rgba(6, 11, 22, 0.55) 62%, var(--ink) 100%);
}
.pagehead[data-wave] .grid-bg { opacity: 0.22; z-index: 0; }
.pagehead[data-wave] .pagehead__glow { display: none; }

/* ============================================================================
   IMPACT BAND — loss-aversion numbers (count-up)
   ============================================================================ */
.impact { border-block: 1px solid var(--line); background: radial-gradient(60% 80% at 50% -20%, rgba(244, 196, 78, 0.09), transparent 60%), var(--ink-2); }
.impact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.impact__cell { text-align: center; padding: clamp(18px, 2.6vw, 30px) 10px; }
.impact__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.6rem); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.impact__num .u { font-size: 0.5em; vertical-align: 0.34em; margin-left: 2px; }
.impact__cell p { margin-top: 10px; color: var(--text-2); font-size: var(--step-0); max-width: 30ch; margin-inline: auto; line-height: 1.4; }
.impact__cell strong { color: var(--text); }
.impact__src { text-align: center; margin-top: 14px; color: rgba(179, 198, 224, 0.5); font-size: 0.72rem; letter-spacing: 0.04em; }
@media (max-width: 760px) { .impact__grid { grid-template-columns: 1fr; } }

/* ============================================================================
   VS TABLE — without / with (persuasion)
   ============================================================================ */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 26px); }
.vs__col { border-radius: 22px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--panel); }
.vs__col--no { background: linear-gradient(180deg, rgba(200, 60, 60, 0.06), transparent 55%), var(--panel); }
.vs__col--yes { border-color: rgba(244, 196, 78, 0.4); background: linear-gradient(180deg, rgba(81, 175, 247, 0.1), transparent 60%), var(--panel); box-shadow: 0 26px 60px -38px rgba(46, 151, 230, 0.55); position: relative; overflow: hidden; }
.vs__col--yes::after { content: ""; position: absolute; inset: -40% -20% auto; height: 60%; background: radial-gradient(50% 70% at 80% 20%, rgba(244, 196, 78, 0.12), transparent 65%); pointer-events: none; }
.vs__head { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); margin-bottom: 16px; }
.vs__col--no .vs__head { color: #e08f8f; }
.vs__col--yes .vs__head { color: var(--accent); }
.vs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); line-height: 1.42; font-size: var(--step-0); }
.vs__list svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; }
.vs__col--no .vs__list svg { color: #d97070; }
.vs__col--yes .vs__list svg { color: var(--accent); }
.vs__col--yes .vs__list li { color: var(--text); }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } }

/* Contact form spotlight ring */
.glowring { position: relative; }
.glowring::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--ga, 0deg), var(--brand), var(--accent), var(--brand-700), var(--brand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: glowring 7s linear infinite;
}
.glowring > * { position: relative; z-index: 1; }
@property --ga { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes glowring { to { --ga: 360deg; } }
@media (prefers-reduced-motion: reduce) { .glowring::before { animation: none; } }

/* Lang toggle */
.lang-toggle {
  position: relative; z-index: 2; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--text); background: rgba(13, 22, 38, 0.7); border: 1px solid var(--line-2);
  padding: 8px 13px; border-radius: 999px; backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand-300); }
.lang-toggle .lt-dim { opacity: 0.45; font-weight: 600; }
.form.glowring { padding: clamp(20px, 3vw, 30px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }

/* Pagehead text aligned right (méthode) */
.pagehead__inner--right { margin-left: auto; text-align: right; max-width: 34ch; }
.pagehead__inner--right .crumbs { justify-content: flex-end; }
.pagehead__inner--right .lead { margin-left: auto; }

/* Pure white section (homepage vs module) */
.section--white { background: #ffffff; color: #0a1a2b; }
.section--white h2, .section--white .h-lg, .section--white .shead h2 { color: #07182e; }
.section--white .lead, .section--white .shead p { color: #3a516e; }
.section--white .link { color: var(--brand-700); }
.section--white .vs__col { border-color: rgba(7, 24, 43, 0.1); }

/* ============================================================================
   BACKGROUND PATHS — animated flowing strokes behind the contact title
   ============================================================================ */
.pagehead--paths { position: relative; overflow: hidden; }
.paths-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--brand); }
.paths-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, transparent 30%, rgba(6, 11, 22, 0.55) 100%); }
.paths-bg__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.paths-bg__svg path:nth-child(2n) { color: var(--accent); }
@keyframes pathflow { from { stroke-dashoffset: 900; } to { stroke-dashoffset: -900; } }
.pagehead--paths .pagehead__inner { position: relative; z-index: 1; }

/* centered pagehead inner */
.pagehead__inner--center { margin-inline: auto; text-align: center; max-width: 40ch; }
.pagehead__inner--center .lead { margin-inline: auto; }
.crumbs--center { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .paths-bg__svg path { stroke-dasharray: none !important; } }

/* Wider centered pagehead (histoire) — fewer lines */
.pagehead__inner--wide { max-width: min(58ch, 94vw); }

/* Legal helper notes */
.legal-note { display: block; margin-top: 8px; font-size: 0.86em; color: var(--text-2); font-style: italic; }
.legal-updated { margin-top: 30px; color: var(--text-2); font-size: 0.85rem; }

/* ============================================================================
   COOKIE CONSENT — discreet, brand blue
   ============================================================================ */
.cookie {
  position: fixed; left: clamp(12px, 3vw, 22px); bottom: clamp(12px, 3vw, 22px); z-index: 400;
  width: min(340px, calc(100vw - 24px));
  background: linear-gradient(180deg, rgba(10, 20, 36, 0.96), rgba(6, 13, 26, 0.96));
  border: 1px solid var(--brand); border-radius: 16px; padding: 15px 16px 14px;
  box-shadow: 0 18px 48px -18px rgba(31, 127, 206, 0.7), 0 0 0 4px rgba(46, 151, 230, 0.08);
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.25, 1);
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie__txt { margin: 0 0 12px; color: var(--text); font-size: 0.85rem; line-height: 1.45; }
.cookie__more { color: var(--brand-300); text-decoration: underline; text-underline-offset: 2px; }
.cookie__row { display: flex; gap: 9px; justify-content: flex-end; }
.cookie__btn { font: inherit; font-weight: 800; font-size: 0.8rem; cursor: pointer; border-radius: 999px; padding: 8px 16px; transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease; }
.cookie__btn--ok { background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand); }
.cookie__btn--ok:hover { background: var(--brand-300); transform: translateY(-1px); }
.cookie__btn--no { background: transparent; color: var(--text-2); border: 1px solid var(--line-2); }
.cookie__btn--no:hover { color: var(--text); border-color: var(--brand); }
@media (max-width: 560px) {
  .cookie { left: 12px; right: 12px; width: auto; bottom: 92px; } /* au-dessus de la nav du bas */
}
@media (prefers-reduced-motion: reduce) { .cookie { transition: opacity 0.2s ease; transform: none; } }

/* ============================================================================
   MOBILE OPTIMIZATION (phones ≤ 600px) — desktop & tablet untouched
   Denser layout, smaller type, fewer/shorter scrolls, deliberate mobile UX.
   ============================================================================ */
@media (max-width: 600px) {
  :root {
    --step--1: 0.76rem; --step-0: 0.88rem; --step-1: 1rem; --step-2: 1.22rem;
    --step-3: 1.55rem; --step-4: 2rem; --step-5: 2.4rem;
    --gutter: 16px; --r: 18px;
  }
  .section { padding-block: 42px; }
  .section--tight { padding-block: 30px; }
  .mt-l { margin-top: 30px; } .mt-m { margin-top: 22px; } .mt-s { margin-top: 14px; }
  .shead .lead { margin-top: 12px; } .shead { max-width: none; }
  .lead { font-size: var(--step-0); line-height: 1.5; max-width: none; }
  p { line-height: 1.5; }
  .h-xl { line-height: 1.06; } .h-lg { line-height: 1.1; }

  /* ---- topbar ---- */
  .topbar { height: 56px; }
  .lang-toggle { padding: 6px 10px; font-size: 0.72rem; }

  /* ---- HERO: compact, centered, scattered small bubbles ---- */
  .hero { min-height: 88vh; align-items: center; padding-block: 76px 34px; }
  .hero__inner { gap: 14px; }
  .hero__title { font-size: 1.9rem; max-width: 18ch; margin-inline: auto; }
  .hero__title .wow { font-size: 2.9rem; line-height: 0.86; display: inline-block; }
  .hero__sub { font-size: 0.94rem; line-height: 1.45; margin-top: 12px; max-width: 32ch; }
  .hero__cta { gap: 10px; margin-top: 20px; }
  .hero__cta .btn { padding: 12px 18px; font-size: 0.86rem; }
  .proof { gap: 16px 22px; margin-top: 26px; }
  .proof__item b { font-size: 1.5rem; } .proof__item span { font-size: 0.7rem; margin-top: 5px; }

  /* scattered small bubbles (no physics on mobile) */
  .hero__pit { display: block; padding: 0; }
  .hero__pit .pit-pill {
    position: absolute; font-size: 0.56rem; padding: 5px 9px; border-radius: 999px;
    box-shadow: 0 6px 16px -8px rgba(0,0,0,0.6); pointer-events: none; opacity: 0.94; z-index: 1;
    white-space: nowrap;
  }
  .hero__pit .pit-pill:nth-child(1) { top: 3%;  left: 5%;  transform: rotate(-5deg); }
  .hero__pit .pit-pill:nth-child(2) { top: 9%;  left: 40%; transform: rotate(5deg); }
  .hero__pit .pit-pill:nth-child(3) { top: 12%; left: 19%; transform: rotate(-3deg); }
  .hero__pit .pit-pill:nth-child(4) { top: 79%; left: 61%; transform: rotate(5deg); }
  .hero__pit .pit-pill:nth-child(5) { top: 83%; left: 6%;  transform: rotate(-3deg); }
  .hero__pit .pit-pill:nth-child(6) { top: 90%; left: 32%; transform: rotate(3deg); }
  .hero__pit .pit-pill:nth-child(7) { top: 85%; left: 55%; transform: rotate(-4deg); }
  .hero__pit .pit-pill:nth-child(8) { top: 94%; left: 11%; transform: rotate(-2deg); }
  .hero__pit .pit-pill:nth-child(9) { top: 4%;  left: 60%; transform: rotate(4deg); }

  /* ---- pageheads: shorter ---- */
  .pagehead { padding-block: 88px 30px !important; }
  .pagehead .lead { font-size: 0.92rem; }
  .pagehead__inner--wide, .pagehead__inner--center { max-width: none; }

  /* ---- generic grids: single column, tight ---- */
  .grid-auto { grid-template-columns: 1fr; gap: 14px; }
  .card, .scard { padding: 20px 18px; }
  .scard { min-height: 0; }
  .card h3, .scard h3 { font-size: 1.06rem; }
  .card p, .scard p { font-size: 0.86rem; line-height: 1.45; }

  /* ---- VS table: KEEP two columns side by side, compact ---- */
  .vs { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .vs__col { padding: 13px 10px; border-radius: 14px; }
  .vs__head { font-size: 0.82rem; margin-bottom: 9px; }
  .vs__list { gap: 8px; }
  .vs__list li { font-size: 0.68rem; gap: 6px; line-height: 1.28; align-items: flex-start; }
  .vs__list svg { width: 13px; height: 13px; margin-top: 2px; }

  /* ---- impact numbers: 3 across, compact ---- */
  .impact__grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .impact__cell { padding: 10px 3px; }
  .impact__num { font-size: 1.6rem; }
  .impact__cell p { font-size: 0.6rem; margin-top: 5px; line-height: 1.25; max-width: none; }
  .impact__src { font-size: 0.62rem; margin-top: 10px; }

  /* ---- fan: a touch smaller ---- */
  .fan { --spread: 40px; height: 300px; }
  .fan__card { width: 146px; height: 206px; margin: -103px 0 0 -73px; border-width: 2px; }

  /* ---- value strip / marquee tighten ---- */
  .valuestrip__list { gap: 14px 16px; }

  /* ---- FOOTER: compact ---- */
  .footer { padding-top: 38px; padding-bottom: 92px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-bottom: 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand .brand__logo { height: 34px; }
  .footer__brand p { font-size: 0.8rem; margin-top: 10px; max-width: none; }
  .footer__socials { margin-top: 12px; gap: 8px; }
  .footer__socials a { width: 36px; height: 36px; border-radius: 10px; }
  .footer__socials svg { width: 17px; height: 17px; }
  .footer__col h4 { font-size: 0.68rem; margin-bottom: 9px; letter-spacing: 0.1em; }
  .footer__col a, .footer__col span { font-size: 0.8rem; margin-bottom: 7px; }
  .footer__bottom { padding-block: 14px 18px; gap: 7px; font-size: 0.7rem; }
}

@media (max-width: 380px) {
  :root { --step-4: 1.8rem; }
  .hero__title .wow { font-size: 2.5rem; }
  .vs__list li { font-size: 0.64rem; }
  .impact__num { font-size: 1.4rem; }
  .hero__pit .pit-pill { font-size: 0.52rem; padding: 4px 8px; }
}

/* ===== MOBILE — layouts "sur une ligne", 2-par-ligne, rail vertical (≤600px) ===== */
@media (max-width: 600px) {
  /* horizontal scroll helper for one-line rows */
  .valuestrip__list, .grid-3 {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
    grid-template-columns: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px;
    scrollbar-width: none;
  }
  .valuestrip__list::-webkit-scrollbar, .grid-3::-webkit-scrollbar { display: none; }

  /* Homepage "Ce que je fais" — 3 offer cards on one swipeable line */
  .grid-3 > .scard { flex: 0 0 82%; scroll-snap-align: center; min-height: 0; }

  /* Value strip (gains) — one swipeable line */
  .valuestrip__list { grid-template-columns: none; }
  .valuestrip__list li { flex: 0 0 auto; min-width: 172px; scroll-snap-align: start; padding-left: 14px; }

  /* Proof stats (2017 / 4 ans / 3 ans / Champion) — one line, white bg, blue text */
  .proof {
    display: flex; flex-wrap: nowrap; gap: 6px; background: #fff; border-radius: 14px;
    padding: 12px 8px; margin-top: 22px; align-items: stretch;
  }
  .proof__item { flex: 1 1 0; min-width: 0; text-align: center; padding: 0 2px; }
  .proof__item b { color: var(--brand-700); font-size: 1.24rem; }
  .proof__item b .suf { color: var(--brand-600); }
  .proof__item span { display: block; color: #3a516e; font-size: 0.52rem; margin-top: 3px; line-height: 1.16; font-weight: 600; }

  /* Services pair + Méthode "une agence…" — 2 cards per line */
  .grid-2 { grid-template-columns: 1fr !important; gap: 12px; }
  .grid-2 .scard { padding: 15px 12px; min-height: 0; }
  .grid-2 .scard h3 { font-size: 0.94rem; }
  .grid-2 .scard .card__promise { font-size: 0.8rem; margin-bottom: 9px; }
  .grid-2 .scard p, .grid-2 .scard .card__list li { font-size: 0.72rem; line-height: 1.32; }
  .grid-2 .scard .card__list { gap: 7px; }
  .grid-2 .scard__more { font-size: 0.74rem; }
  .grid-2 .scard__ico { width: 40px; height: 40px; }
  .grid-2 .scard__ico svg { width: 22px; height: 22px; }

  /* Histoire "Le parcours en chiffres" — 2 per line, smaller */
  .stat-grid { grid-template-columns: 1fr 1fr !important; gap: 14px 12px; }
  .stat-grid .stat { padding: 0; }
  .stat .n { font-size: 1.7rem; }
  .stat .l { font-size: 0.66rem; margin-top: 5px; line-height: 1.2; }
  /* Citation centered + a touch larger */
  .stat-quote { text-align: center; font-size: 1.12rem; line-height: 1.45; margin-top: 22px; padding-top: 20px; }

  /* Méthode "Le déroulé" — vertical animated rail linking the step cards on scroll */
  .steps { padding-left: 24px; }
  .steps__rail {
    display: block !important; left: 7px; right: auto; top: 8px; bottom: 8px;
    width: 3px; height: auto; z-index: 0;
  }
  .steps__rail::after {
    transform-origin: top center; transform: scaleY(var(--p, 0));
    background: linear-gradient(180deg, var(--brand), var(--accent));
  }
}
