/* =====================================================================
   HELIX · Agence d'IA souveraine
   Design language: "dossier d'ingénierie souverain"
   Warm bone paper · heavy black grotesk · hairline ruled grid ·
   monospace annotation layer · ink + cobalt + vermillon · flat geometry.
   Type: Space Grotesk (display) · Inter (body) · Space Mono (technical)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Paper & surfaces */
  --paper: #F2EEE3;
  --paper-2: #EAE4D5;
  --card: #FBFAF4;
  --ink: #181611;
  --ink-2: #4E4A3F;
  --ink-3: #5E5845;
  --bone: #F2EEE3;
  --bone-2: rgba(242, 238, 227, 0.66);
  --bone-3: rgba(242, 238, 227, 0.60);

  /* Rules / borders */
  --line: #DCD6C6;
  --line-2: #C8BDA6;
  --hair: #181611;            /* strong ink hairline */
  --line-dark: rgba(242, 238, 227, 0.16);
  --line-dark-2: rgba(242, 238, 227, 0.26);

  /* Color */
  --blue: #1E3AD6;            /* cobalt ink · primary accent */
  --blue-700: #14269B;
  --blue-light: #7C92FF;      /* cobalt for dark backgrounds */
  --signal-light: #FF8A6B;    /* lighter vermillon for AA text on dark */
  --signal: #E2492B;          /* vermillon · rare signal */
  --signal-ink: #B23A1E;       /* vermillon assombri · petit texte sur fond clair (AA) */
  --signal-soft: #F4D9CF;

  /* Dark zones */
  --dark: #16140F;
  --dark-2: #211D15;

  /* Type families */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Fluid type scale */
  --t-display: clamp(2.3rem, 4.4vw, 3.7rem);
  --t-h2: clamp(1.85rem, 3.4vw, 2.9rem);
  --t-h3: clamp(1.3rem, 1.8vw, 1.6rem);
  --t-lead: clamp(1.04rem, 1.2vw, 1.2rem);
  --t-body: 1.0625rem;
  --t-sm: 0.9375rem;
  --t-mono: 0.74rem;

  /* Layout */
  --container: 1180px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 44px);
  --section-y: clamp(80px, 8vw, 124px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 0.5s;
}

/* ---------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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; }
}

body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--signal); color: var(--bone); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; transform: translateY(-160%); background: var(--ink); color: var(--bone); padding: 12px 18px; font-weight: 600; font-size: 0.92rem; transition: transform 0.25s var(--ease); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------------
   3. LAYOUT PRIMITIVES + MONO ANNOTATION SYSTEM
   --------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--paper-2); }

/* the ruled divider that opens most sections */
.section--ruled { border-top: 1px solid var(--hair); }

/* monospace label · the technical voice of the brand */
.mono { font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); }

/* section header: a ledger row · index on the left, title block */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: clamp(40px, 5vw, 64px); }
.section-mark { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 30px; border-bottom: 1px solid var(--hair); font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); }
.section-mark .idx { color: var(--signal-ink); }
.section-mark .rule { flex: 1; height: 0; }
.section-mark .tag { color: var(--ink-3); }

.eyebrow { font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); display: inline-flex; align-items: center; gap: 0.7em; }
.eyebrow::before { content: "/"; color: var(--signal); }
.cta .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-light); }

.section-title { font-size: var(--t-h2); max-width: 26ch; text-wrap: pretty; }
.section-head--wide .section-title { max-width: 24ch; }
/* Accent stays on its own line only when the title doesn't fit one line; it never splits mid-phrase. */
.section-title .accent { color: var(--blue); white-space: nowrap; }
.section-lead { font-size: var(--t-lead); color: var(--ink-2); margin-top: 22px; line-height: 1.55; max-width: 56ch; text-wrap: balance; }

.section-head--split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.section-head--split .section-lead { margin-top: 0; }
.section-head--split.is-wide { grid-template-columns: 1.35fr 0.65fr; }
.section-head--split.is-wide .section-title { max-width: 32ch; }
@media (max-width: 800px) { .section-head--split, .section-head--split.is-wide { grid-template-columns: 1fr; gap: 20px; align-items: start; } .section-title .accent { white-space: normal; } }

/* Anchored sections: offset so the fixed header never hides the target */
.section[id] { scroll-margin-top: var(--header-h, 80px); }

/* ---------------------------------------------------------------------
   4. BUTTONS  (flat, editorial · ink primary, ruled secondary)
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-weight: 600; font-size: var(--t-sm);
  letter-spacing: -0.01em; line-height: 1;
  padding: 0.95em 1.45em; border: 1px solid var(--ink); border-radius: 2px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: var(--bone); }
.btn--primary:hover { background: var(--blue); border-color: var(--blue); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

.btn--light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--light:hover { background: transparent; color: var(--bone); }

.btn--on-dark { background: transparent; color: var(--bone); border-color: var(--line-dark-2); }
.btn--on-dark:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn--lg { padding: 1.08em 1.7em; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; color: var(--blue); font-size: var(--t-sm); transition: color 0.25s; }
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--blue-700); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   5. HEADER / NAV
   --------------------------------------------------------------------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 16px; color: var(--bone); transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: var(--paper); color: var(--ink); border-bottom-color: var(--hair); }
/* Over the dark hero (header transparent) the CTA buttons must read on dark. */
.header:not(.is-scrolled) .btn--ghost { color: var(--bone); border-color: var(--line-dark-2); }
.header:not(.is-scrolled) .btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.header:not(.is-scrolled) .btn--primary { background: var(--bone); color: var(--ink); }
.header:not(.is-scrolled) .btn--primary:hover { background: var(--blue); color: var(--bone); border-color: var(--blue); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.34rem; letter-spacing: -0.03em; color: inherit; }
.brand__mark { width: 24px; height: 31px; color: currentColor; --helix-accent: var(--signal); flex: none; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 9px 13px; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 400; color: inherit; opacity: 0.78; transition: opacity 0.2s, color 0.2s; }
.nav a:hover, .nav a.is-current { opacity: 1; color: var(--signal); }
.header.is-scrolled .nav a:hover, .header.is-scrolled .nav a.is-current { color: var(--signal-ink); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex: none; }
.nav-toggle span { position: relative; width: 20px; height: 1.5px; background: currentColor; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav__cta { display: none; }

/* Header dropdown menus (Solutions / Cas d'usage) */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret { width: 12px; height: 12px; opacity: 0.55; transition: transform 0.25s var(--ease); }
.nav__has-menu:hover .nav__caret, .nav__has-menu:focus-within .nav__caret, .nav__has-menu.is-open .nav__caret { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 9px); left: -6px; min-width: 246px; display: flex; flex-direction: column; padding: 8px; background: var(--paper); border: 1px solid var(--hair); box-shadow: 0 22px 46px -28px rgba(20,18,12,0.55); opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s; z-index: 120; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.nav__menu--right { left: auto; right: -6px; }
.nav__has-menu:hover > .nav__menu, .nav__has-menu:focus-within > .nav__menu, .nav__has-menu.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.nav__menu a { padding: 11px 14px; font-family: var(--font-body); font-size: 0.92rem; letter-spacing: -0.01em; text-transform: none; color: var(--ink-2); opacity: 1; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.nav__menu a:hover { background: var(--paper-2); color: var(--ink); opacity: 1; }
.nav__menu-all { margin-top: 6px; padding-top: 13px; border-top: 1px solid var(--hair); color: var(--blue); }
.nav__menu-all:hover { color: var(--blue); }

/* ---------------------------------------------------------------------
   6. HERO  (dark editorial · blueprint, not glow)
   --------------------------------------------------------------------- */
.hero { position: relative; background: var(--dark); color: var(--bone); overflow: hidden; padding-top: clamp(120px, 15vh, 168px); padding-bottom: clamp(48px, 7vh, 88px); }
.hero__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(to right, rgba(242,238,227,0.05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%; }
.hero__rule { position: absolute; left: 0; right: 0; height: 1px; background: var(--line-dark); }

.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-bottom: 16px; margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--bone-2); }
.hero__meta .strong { color: var(--bone); }
.hero__meta .live { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); margin-left: auto; }
.hero__meta .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__inner { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--t-display); color: var(--bone); letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
.hero h1 .accent { color: var(--bone); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.hero__lead { font-size: var(--t-lead); color: var(--bone-2); margin-top: 28px; max-width: 50ch; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* spec strip · like a document footer */
.hero__specs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; border: 1px solid var(--line-dark); }
.hero__specs div { flex: 1 1 0; min-width: 150px; padding: 14px 18px; border-right: 1px solid var(--line-dark); }
.hero__specs div:last-child { border-right: none; }
.hero__specs dt { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone-3); }
.hero__specs dd { font-family: var(--font-display); font-weight: 500; font-size: 1.04rem; color: var(--bone); margin-top: 6px; letter-spacing: -0.01em; white-space: nowrap; }

/* hero visual · schematic helix + stamp */
.hero__visual { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.hero__visual svg.schematic { width: 100%; height: 100%; overflow: visible; }
.hero__coord { position: absolute; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-3); }
.hero__coord--tl { top: 0; left: 0; } .hero__coord--tr { top: 0; right: 0; text-align: right; }
.hero__coord--bl { bottom: 0; left: 0; } .hero__coord--br { bottom: 0; right: 0; text-align: right; }

.schem-strand { fill: none; stroke-width: 1.4; }
.schem-strand--a { stroke: var(--bone); }
.schem-strand--b { stroke: var(--blue-light); }
.schem-tick { stroke: var(--bone-3); stroke-width: 1; }
.schem-node { fill: var(--dark); stroke-width: 1.4; }
.schem-node--a { stroke: var(--bone); }
.schem-node--s { fill: var(--signal); stroke: var(--signal); }
.schem-float { animation: floaty 10s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes floaty { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.schem-dim { stroke: var(--bone-3); stroke-width: 1; }
.schem-dim-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; fill: var(--bone-2); text-transform: uppercase; }

/* the souverain stamp (reused in footer) */
.stamp { width: 116px; height: 116px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stamp text { font-family: var(--font-mono); font-size: 9.6px; letter-spacing: 3.2px; text-transform: uppercase; }

.scroll-cue { margin-top: 40px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-3); }
.scroll-cue .bar { width: 46px; height: 1px; background: var(--bone-3); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 1px; background: var(--signal); transform: translateX(-46px); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { transform: translateX(46px); } }

/* ---------------------------------------------------------------------
   7. TRUST BAR  (sectors, as a ruled ledger)
   --------------------------------------------------------------------- */
.trustbar { border-bottom: 1px solid var(--hair); background: var(--paper); }
.trustbar__inner { display: flex; align-items: stretch; flex-wrap: wrap; }
.trustbar__label { flex: 0 0 auto; display: flex; align-items: center; padding: 18px 26px 18px 0; font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.trustbar__items { display: flex; flex-wrap: wrap; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 18px 22px; border-left: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.chip svg { width: 16px; height: 16px; color: var(--blue); }

/* ---------------------------------------------------------------------
   8. STATS / CONSTAT  (a ledger of figures)
   --------------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); }
.stat { padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4.6vw, 3.8rem); color: var(--ink); letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.stat__num .suffix { color: var(--signal); }
.stat__label { margin-top: 16px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }
.stat__label b { color: var(--ink); font-weight: 600; }
.stats-source { margin-top: 18px; font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; }

/* ---------------------------------------------------------------------
   9. SOLUTIONS  (ruled groups, flat bordered cards)
   --------------------------------------------------------------------- */
.sol-group { margin-top: clamp(48px, 6vw, 80px); }
.sol-group:first-of-type { margin-top: 0; }
.sol-group__head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; margin-bottom: 0; border-bottom: 1px solid var(--hair); }
.sol-group__index { font-family: var(--font-mono); font-size: 0.84rem; color: var(--signal); letter-spacing: 0.04em; }
.sol-group__title { font-size: var(--t-h3); color: var(--ink); }
.sol-group__tag { margin-left: auto; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); }

.sol-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sol-card { position: relative; padding: 28px 26px 26px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--paper); transition: background 0.3s var(--ease); }
.sol-group--feature .sol-card { background: var(--card); }
.sol-card:hover { background: var(--card); }
.sol-card__icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); margin-bottom: 20px; border: 1px solid var(--hair); transition: background 0.3s, color 0.3s; }
.sol-card__icon svg { width: 22px; height: 22px; }
.sol-card:hover .sol-card__icon { background: var(--ink); color: var(--bone); }
.sol-card h3 { font-size: 1.14rem; color: var(--ink); letter-spacing: -0.015em; }
.sol-card p { margin-top: 10px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.58; }
.sol-card__meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.sol-card__meta svg { width: 13px; height: 13px; color: var(--signal); }

/* ---------------------------------------------------------------------
   10. SOUVERAINETÉ · 3 modes (ruled, featured one inverted)
   --------------------------------------------------------------------- */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hair); }
.mode { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-right: 1px solid var(--line); background: var(--card); }
.mode:last-child { border-right: none; }
.mode--feature { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.mode__step { font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.mode--feature .mode__step { color: var(--bone-3); }
.mode__badge { position: absolute; top: 28px; right: 28px; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); background: var(--signal); padding: 5px 9px; }
.mode--feature .mode__badge { color: var(--ink); }
.mode h3 { font-size: 1.36rem; margin-top: 16px; color: var(--ink); letter-spacing: -0.02em; }
.mode--feature h3 { color: var(--bone); }
.mode__gauge { display: flex; gap: 4px; margin-top: 20px; }
.mode__gauge span { height: 4px; flex: 1; background: var(--line-2); }
.mode__gauge span.on { background: var(--blue); }
.mode--feature .mode__gauge span { background: var(--line-dark-2); }
.mode--feature .mode__gauge span.on { background: var(--signal); }
.mode__gauge-label { margin-top: 10px; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.mode--feature .mode__gauge-label { color: var(--bone-2); }
.mode p { margin-top: 18px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.58; flex: 1; }
.mode--feature p { color: var(--bone-2); }
.modes-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.modes-note svg { width: 18px; height: 18px; color: var(--signal); flex: none; }

/* ---------------------------------------------------------------------
   11. MÉTHODE · timeline as numbered ledger
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.step { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; }
.step__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--signal-ink); letter-spacing: 0.05em; }
.step h3 { font-size: 1.16rem; color: var(--ink); margin-top: 18px; letter-spacing: -0.01em; }
.step__time { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-top: 8px; }
.step p { margin-top: 14px; font-size: 0.93rem; color: var(--ink-2); line-height: 1.55; }

/* ---------------------------------------------------------------------
   12. POURQUOI HELIX · pillars + comparison ledger
   --------------------------------------------------------------------- */
.why__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.pillars { border-top: 1px solid var(--hair); }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pillar__icon { width: 40px; height: 40px; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--ink); }
.pillar__icon svg { width: 21px; height: 21px; }
.pillar h3 { font-size: 1.14rem; color: var(--ink); }
.pillar p { margin-top: 6px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.55; }
.why__aside { position: sticky; top: 100px; }

.compare { border: 1px solid var(--hair); }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1.5fr; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 0.9rem; align-items: center; }
.compare__row:first-child { border-top: none; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.compare__row--helix { background: var(--ink); color: var(--bone); }
.compare__opt { font-weight: 600; color: var(--ink); }
.compare__row--helix .compare__opt { color: var(--bone); }
.compare__cost { color: var(--ink-2); }
.compare__row--helix .compare__cost { color: var(--signal-light); font-weight: 600; }
.compare__limit { color: var(--ink-3); }
.compare__row--helix .compare__limit { color: var(--bone-2); }

/* ---------------------------------------------------------------------
   13. TARIFS  (ruled cards, one inverted)
   --------------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); }
.pricing-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Process showcase ("Comment on travaille") - dark cards with UI visuals */
.process { background: var(--dark); color: var(--bone); border-top: 1px solid var(--hair); }
.process .section-mark { border-bottom-color: var(--line-dark-2); color: var(--bone-3); }
.process .section-title { color: var(--bone); }
.process .section-title .accent { color: var(--blue-light); }
.process .section-lead { color: var(--bone-2); }
.process .section-cta { margin-top: clamp(34px, 5vw, 52px); }
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 22px); margin-top: clamp(36px, 5vw, 56px); }
.proc { position: relative; overflow: hidden; border: 1px solid var(--line-dark-2); border-radius: 16px; background: #14120C; padding-bottom: 28px; isolation: isolate; }
.proc__glow { position: absolute; left: 50%; bottom: -42%; width: 115%; height: 72%; transform: translateX(-50%); border-radius: 50%; filter: blur(6px); opacity: 0.55; z-index: 0; pointer-events: none; }
.proc--blue .proc__glow { background: radial-gradient(closest-side, rgba(124,146,255,0.5), transparent 72%); }
.proc--signal .proc__glow { background: radial-gradient(closest-side, rgba(226,73,43,0.4), transparent 72%); }
.proc__visual { position: relative; z-index: 1; height: 208px; margin: 16px 16px 0; border: 1px solid var(--line-dark-2); border-radius: 10px; overflow: hidden; background: #0E0C08; }
.proc__visual svg { display: block; width: 100%; height: 100%; }
.proc__num { position: relative; z-index: 1; display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: rgba(242,238,227,0.16); margin: 22px 26px 0; letter-spacing: -0.03em; }
.proc__title { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--bone); letter-spacing: -0.025em; margin: 4px 26px 0; }
.proc__sub { position: relative; z-index: 1; color: var(--bone-2); font-size: 0.97rem; line-height: 1.5; margin: 10px 26px 0; max-width: 42ch; }
.process__grid--3 { grid-template-columns: repeat(3, 1fr); }
.process--showcase .proc__title { margin-top: 22px; }
@media (max-width: 760px) { .process__grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .process__grid--3 { grid-template-columns: 1fr; } }
.price { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-right: 1px solid var(--line); background: var(--card); }
.price:last-child { border-right: none; }
.price--feature { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.price__badge { position: absolute; top: 0; right: 0; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); background: var(--signal); padding: 5px 9px; }
.price__name { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--ink); letter-spacing: -0.01em; }
.price--feature .price__name { color: var(--bone); }
.price__price { margin-top: 18px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.85rem; letter-spacing: -0.03em; line-height: 1.05; }
.price--feature .price__price { color: var(--bone); }
.price__price .from { display: block; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 8px; font-weight: 400; }
.price--feature .price__price .from { color: var(--bone-3); }
.price__price .rec { display: block; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-2); font-weight: 500; margin-top: 6px; }
.price--feature .price__price .rec { color: var(--bone-2); }
.price__desc { margin-top: 18px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.58; flex: 1; }
.price--feature .price__desc { color: var(--bone-2); }
.price .btn { margin-top: 24px; width: 100%; justify-content: space-between; }
.price--feature .btn--ghost, .price--feature .btn--primary { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.price--feature .btn:hover { background: transparent; color: var(--bone); }
.pricing-note { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 0.93rem; color: var(--ink-2); border: 1px solid var(--hair); padding: 16px 22px; }
.pricing-note svg { width: 20px; height: 20px; color: var(--signal); flex: none; }
.pricing-note b { color: var(--ink); }

/* ---------------------------------------------------------------------
   14. FAQ  (ruled rows)
   --------------------------------------------------------------------- */
.faq__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq__layout .section-title { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 2px; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--ink); letter-spacing: -0.01em; }
.faq-q__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--signal); transition: transform 0.3s var(--ease); }
.faq-q__icon::before { width: 12px; height: 1.6px; }
.faq-q__icon::after { width: 1.6px; height: 12px; }
.faq-item.is-open .faq-q__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a__inner { padding: 0 2px 24px; font-size: 0.98rem; color: var(--ink-2); line-height: 1.62; max-width: 62ch; }

/* ---------------------------------------------------------------------
   15. CTA (dark editorial) + FOOTER
   --------------------------------------------------------------------- */
.cta { position: relative; background: var(--dark); color: var(--bone); overflow: hidden; border-top: 1px solid var(--hair); }
.cta__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: linear-gradient(to right, rgba(242,238,227,0.05) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.cta__inner { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(72px, 9vw, 116px); }
.cta h2 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); color: var(--bone); letter-spacing: -0.035em; }
.cta h2 .accent { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 0.06em; text-underline-offset: 0.1em; }
.cta p { font-size: var(--t-lead); color: var(--bone-2); margin-top: 22px; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--bone-2); }
.cta__mail svg { width: 16px; height: 16px; color: var(--signal); }
.cta__stamp { display: grid; place-items: center; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } .cta__stamp { display: none; } }

.footer { background: var(--dark); color: var(--bone-2); padding-block: clamp(56px, 7vw, 84px) 30px; border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer__brand .brand { color: var(--bone); font-size: 1.5rem; }
.footer__brand .brand__mark { --helix-accent: var(--signal); }
.footer__tag { margin-top: 18px; font-size: 0.9rem; color: var(--bone-2); max-width: none; line-height: 1.6; white-space: nowrap; }
@media (max-width: 360px) { .footer__tag { white-space: normal; } }
.footer__authority { margin-top: 22px; display: inline-flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--bone-2); }
.footer__authority b { color: var(--bone); font-weight: 600; }
.footer__authority svg { width: 24px; height: 30px; color: var(--bone); --helix-accent: var(--signal); flex: none; }
.footer-col h3 { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone-3); font-weight: 400; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.92rem; color: var(--bone-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--signal); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 26px; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bone-3); }
.footer__bottom .sep { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--signal); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------------------
   16. LEGAL / PROSE PAGES
   --------------------------------------------------------------------- */
.legal-hero { background: var(--dark); color: var(--bone); padding-top: clamp(120px, 16vh, 168px); padding-bottom: clamp(40px, 6vh, 64px); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--bone); letter-spacing: -0.03em; }
.legal-hero p { color: var(--bone-2); margin-top: 12px; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.legal-doc { max-width: 760px; margin-inline: auto; padding-block: clamp(48px, 7vw, 84px); }
.legal-doc h2 { font-size: var(--t-h3); color: var(--ink); margin-top: 42px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--ink-2); line-height: 1.7; margin-top: 14px; }
.legal-doc ul { margin-top: 14px; padding-left: 22px; list-style: square; }
.legal-doc li { margin-top: 8px; }
.legal-doc a { color: var(--blue); font-weight: 500; }
.legal-doc .placeholder { background: var(--signal-soft); padding: 1px 7px; font-family: var(--font-mono); font-size: 0.86rem; color: var(--ink); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; color: var(--blue); }

/* ---------------------------------------------------------------------
   16b. MULTI-PAGE COMPONENTS
   --------------------------------------------------------------------- */
/* sub-page hero (compact, dark) */
.page-hero { position: relative; background: var(--dark); color: var(--bone); overflow: hidden; padding-top: clamp(152px, calc(14vh + 36px), 192px); padding-bottom: clamp(40px, 6vw, 68px); }
.page-hero .hero__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: linear-gradient(to right, rgba(242,238,227,0.05) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.crumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone-3); margin-bottom: 22px; }
.crumb a { color: var(--bone-2); } .crumb a:hover { color: var(--signal); }
.crumb .sep { color: var(--bone-3); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); color: var(--bone); letter-spacing: -0.035em; max-width: 20ch; }
.page-hero h1 .h1-keep { white-space: nowrap; }
@media (max-width: 480px) { .page-hero h1 .h1-keep { white-space: normal; } }
.page-hero p { font-size: var(--t-lead); color: var(--bone-2); margin-top: 18px; max-width: 56ch; }
.page-hero__layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.page-hero__meta { align-self: end; }
.page-hero__meta dl { border-top: 1px solid var(--line-dark); }
.page-hero__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; }
.page-hero__meta dt { color: var(--bone-3); } .page-hero__meta dd { color: var(--bone); }
@media (max-width: 800px) { .page-hero__layout { grid-template-columns: 1fr; } .page-hero__meta { display: none; } }

/* logo strip - sovereign stack */
.logos { border-bottom: 1px solid var(--hair); background: var(--paper); }
.logos__inner { display: grid; grid-template-columns: minmax(180px, 0.9fr) 2.4fr; }
.logos__label { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 26px 22px 0; border-right: 1px solid var(--line); }
.logos__label .k { font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); }
.logos__label .s { font-size: 0.82rem; color: var(--ink-3); }
.logos__track { display: flex; flex-wrap: wrap; }
.logo { flex: 1 0 auto; display: grid; place-items: center; min-width: clamp(110px, 16%, 150px); padding: 20px 18px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: -1px; }
.logo img { height: 22px; width: auto; max-width: 110px; object-fit: contain; opacity: 0.62; filter: saturate(0); transition: opacity 0.25s, filter 0.25s; }
.logo:hover img { opacity: 1; filter: none; }
@media (max-width: 760px) { .logos__inner { grid-template-columns: 1fr; } .logos__label { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 0; } .logo { min-width: 33.33%; } }

/* image feature block */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; border: 1px solid var(--hair); background: var(--card); aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media--contain { background: var(--paper-2); }
.feature__media--contain img { object-fit: contain; padding: 12%; }
.feature__illus { width: 82%; height: auto; color: var(--ink); }
/* Alternating tool logos (Hermes Agent <-> OpenClaw) */
.tool-swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 13%; }
.tool-swap .tag { z-index: 2; }
.tool-swap .a { animation: toolFadeA 8s ease-in-out infinite; }
.tool-swap .b { animation: toolFadeB 8s ease-in-out infinite; }
@keyframes toolFadeA { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes toolFadeB { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tool-swap .a { opacity: 1; animation: none; } .tool-swap .b { opacity: 0; animation: none; } }
.feature__media .tag { position: absolute; top: 0; left: 0; font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone); background: var(--ink); padding: 6px 10px; }
.feature h2 { font-size: var(--t-h2); }
.feature p { margin-top: 16px; color: var(--ink-2); }
.feature__list { margin-top: 22px; border-top: 1px solid var(--line); }
.feature__list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; color: var(--ink); }
.feature__list svg { width: 18px; height: 18px; color: var(--signal); flex: none; margin-top: 2px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature__media { order: 0; } }

/* clients placeholder strip */
.clients { text-align: center; }
.cal-heading { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: 22px; }

/* simple link list for hub / service cards that are links */
a.sol-card { display: block; }
a.sol-card .sol-card__go { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); }
a.sol-card .sol-card__go svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
a.sol-card:hover .sol-card__go svg { transform: translateX(3px); }

/* prose-ish home section CTA row */
.section-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* agent tools showcase (Hermes Agent + OpenClaw) */
.agent-tools { display: grid; gap: 14px; }
.agent-tool { position: relative; margin: 0; border: 1px solid var(--hair); background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 184px; padding: 44px 28px 30px; overflow: hidden; text-align: center; }
.agent-tool img { max-height: 84px; width: auto; max-width: 86%; object-fit: contain; }
.agent-tool figcaption { font-size: 0.82rem; line-height: 1.45; color: var(--ink-2); max-width: 30ch; }
.agent-tool .cap { position: absolute; top: 0; left: 0; font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone); background: var(--ink); padding: 6px 10px; }
@media (min-width: 560px) { .agent-tools { grid-template-columns: 1fr 1fr; } }

/* reassurance band */
.assure { border-bottom: 1px solid var(--hair); background: var(--paper); }
.assure__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.assure__item { display: flex; gap: 14px; padding: 26px clamp(20px, 3vw, 34px); border-left: 1px solid var(--line); }
.assure__item:first-child { border-left: none; }
.assure__item svg { width: 22px; height: 22px; color: var(--signal); flex: none; margin-top: 2px; }
.assure__item .assure__t { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.assure__item p { font-size: 0.9rem; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
@media (max-width: 760px) { .assure__grid { grid-template-columns: 1fr; } .assure__item { border-left: none; border-top: 1px solid var(--line); } .assure__item:first-child { border-top: none; } }

/* empty client slots (reserved, honest placeholder) */

/* error / utility */
.page-hero--full { min-height: 100vh; display: flex; align-items: center; }
.u-mt-14 { margin-top: 14px; }
.u-mt-30 { margin-top: 30px; }
.u-on-ink-3 { color: var(--bone-3); }

/* ---------------------------------------------------------------------
   16c. UTILITIES + FORM (replace inline styles, enable strict CSP)
   --------------------------------------------------------------------- */
.u-mt-18 { margin-top: 18px; }
.u-mt-28 { margin-top: 28px; }
.u-center-block { margin-inline: auto; text-align: center; }
.u-jc-center { justify-content: center; }
.u-fs-lg { font-size: 1.4rem; }
.u-on-ink { color: var(--bone); }
.u-on-ink-2 { color: var(--bone-2); }
.u-white { color: var(--bone); }
.u-bt-none { border-top: none; }
.sol-card__meta--top { margin-top: 0; margin-bottom: 14px; }

.card--ink { display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: var(--bone); }
.card--ink h3 { color: var(--bone); }
.card--ink p { color: var(--bone-2); }
.card--ink .sol-card__go { color: var(--bone); }
.card--ink:hover { background: var(--dark-2); }

.mark--accent { --helix-accent: var(--blue-light); }
.legal-hero .brand { color: var(--bone); }

/* contact page layout */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
.contact-grid .form { max-width: none; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* contact form (light surface) */
.form { display: grid; gap: 18px; max-width: 760px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.field-input { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: 3px; background: var(--card); color: var(--ink); font: inherit; transition: border-color 0.2s; }
.field-input::placeholder { color: var(--ink-3); }
.field-input:focus { border-color: var(--ink); }
.field-input:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.field-input--area { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; font-size: 0.95rem; line-height: 1.5; min-height: 1px; }
.form-status.is-ok { color: var(--blue); }
.form-status.is-err { color: var(--signal-ink); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
/* Cal.com embedded calendar (rendez-vous) */
.cal-wrap { border: 1px solid var(--hair); background: var(--card); overflow: hidden; }
.cal-embed { display: block; width: 100%; height: clamp(640px, 78vh, 820px); border: 0; }
@media (max-width: 768px) { .cal-embed { height: 1040px; } }

/* brighter, crisper headings on dark surfaces (better legibility than warm bone) */
.hero h1, .hero h1 .accent, .page-hero h1, .cta h2, .cta h2 .accent { color: #FCFBF7; }

/* ---------------------------------------------------------------------
   17. REVEAL
   --------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   18. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .stats-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid--3 { grid-template-columns: 1fr; }
  .pricing-grid--3 .price { border-right: none; border-bottom: 1px solid var(--line); }
  .pricing-grid--3 .price:last-child { border-bottom: none; }
  .stat:nth-child(2), .price:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .price:nth-child(1), .price:nth-child(2) { border-bottom: 1px solid var(--line); }
  .why__layout { grid-template-columns: 1fr; }
  .why__aside { position: static; }
}
@media (max-width: 1180px) {
  /* Header collapses to hamburger here: 6 nav links + 2 CTAs no longer fit inline below ~1180px */
  .nav, .header__cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: fixed; top: calc(var(--header-h, 76px) + 6px); right: 14px; bottom: auto; left: 14px; z-index: 101; background: var(--paper); border: 1px solid var(--hair); padding: 12px; color: var(--ink); max-height: calc(100dvh - var(--header-h, 76px) - 24px); overflow-y: auto; }
  .nav.is-open a { padding: 14px 14px; font-size: 0.95rem; opacity: 1; color: var(--ink); }
  .nav.is-open a:hover { background: var(--paper-2); color: var(--ink); }
  .nav.is-open .nav__item { display: flex; flex-direction: column; align-items: stretch; }
  .nav.is-open .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 6px 12px; margin: 0; border: none; box-shadow: none; background: transparent; transition: none; }
  .nav.is-open .nav__menu a { padding: 11px 12px; font-size: 0.9rem; color: var(--ink-2); }
  .nav.is-open .nav__menu a:hover { color: var(--signal); background: transparent; }
  .nav.is-open .nav__caret { display: none; }
  .nav.is-open .nav__cta { display: inline-flex; justify-content: center; background: var(--ink); color: var(--bone); border: 1px solid var(--ink); margin-top: 8px; font-family: var(--font-body); font-size: 1rem; letter-spacing: -0.01em; text-transform: none; }
  .nav.is-open .nav__cta--cal { background: transparent; color: var(--ink); border-color: var(--hair); margin-top: 4px; }
  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (hover: none) and (min-width: 1181px) { .nav a { padding-block: 13px; } }
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .modes-grid, .steps { grid-template-columns: 1fr; }
  .mode, .step { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0; }
  .mode:last-child, .step:last-child { border-bottom: none; }
  .step { padding: 24px 0; }
  .faq__layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .stats-grid, .pricing-grid { grid-template-columns: 1fr; }
  .stat, .price { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child, .price:last-child { border-bottom: none; }
  .sol-cards { grid-template-columns: 1fr; }
  .trustbar__items { flex-direction: column; }
  .chip { border-left: none; border-top: 1px solid var(--line); width: 100%; }
  .compare__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .compare__row:first-child { display: none; }
  .compare__cost::before { content: "Coût · "; color: var(--ink-3); }
  .compare__limit::before { content: "Limite · "; color: var(--ink-3); }
  .compare__row--helix .compare__cost::before, .compare__row--helix .compare__limit::before { color: var(--bone-3); }
  .hero__specs div { flex-basis: 100%; border-right: none; border-bottom: 1px solid var(--line-dark); }
  .hero__specs div:last-child { border-bottom: none; }
}

/* ---------------------------------------------------------------------
   19. FINAL REFINEMENTS (a11y / responsive / CLS)
   --------------------------------------------------------------------- */
.sol-card h3, .mode h3, .step h3, .pillar h3, .price__name { overflow-wrap: break-word; hyphens: auto; }
.logo { min-height: 62px; }            /* reserve space, avoid CLS on lazy logos */
@media (max-width: 768px) {
  .compare__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .compare__row:first-child { display: none; }
  .compare__cost::before { content: "Coût · "; color: var(--ink-3); }
  .compare__limit::before { content: "Limite · "; color: var(--ink-3); }
  .compare__row--helix .compare__cost::before, .compare__row--helix .compare__limit::before { color: var(--bone-3); }
}
@media (max-width: 480px) {
  .hero__meta { font-size: 0.66rem; gap: 6px 12px; }
}
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
}

/* ---------- GeneseAI credit link ---------- */
.footer__authority .footer__genese { color: var(--bone); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(242,238,227,0.34); transition: color 0.2s, border-color 0.2s; }
.footer__authority .footer__genese:hover, .footer__authority .footer__genese:focus-visible { color: var(--signal); border-bottom-color: var(--signal); }

/* ---------- Blog index ---------- */
.section.blog-index { padding-top: clamp(40px, 5vw, 56px); }
.section.blog-article { padding-top: clamp(28px, 4vw, 44px); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; }
.blog-filter { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 17px; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.blog-filter:hover { border-color: var(--ink-3); color: var(--ink); }
.blog-filter.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.blog-card { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 13px; padding: 28px 26px 24px; text-decoration: none; color: var(--ink); transition: background 0.25s var(--ease), border-color 0.25s var(--ease); min-height: 244px; }
.blog-card:hover { border-color: var(--ink-3); }
.blog-card:hover { background: var(--bone); }
.blog-card__cat { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); }
.blog-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.26rem; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.blog-card__excerpt { font-size: 0.93rem; line-height: 1.62; color: var(--ink-2); flex: 1; }
.blog-card__meta { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); display: flex; gap: 9px; align-items: center; }
.blog-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.blog-card__arrow { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--blue); font-weight: 600; }
.blog-card__arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.blog-card:hover .blog-card__arrow svg { transform: translateX(4px); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.page-hero--post h1 { max-width: 26ch; }
.page-hero--post .page-hero__dek { font-size: var(--t-lead); color: var(--bone-2); margin-top: 18px; max-width: 60ch; }
.post__cat-hero { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-light); margin-bottom: 14px; }
.post__hero-meta { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--bone-3); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 22px; }
.post__hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--bone-3); }
.post { max-width: 720px; margin: 0 auto; }
.post__body > * + * { margin-top: 1.15em; }
.post__body > :first-child { margin-top: 0; }
.guide-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-bottom: clamp(28px, 3.5vw, 40px); background: var(--paper-2); color: var(--ink); text-decoration: none; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.guide-band:hover { border-color: var(--ink); }
.guide-band__txt { display: block; max-width: 64ch; }
.guide-band__eyebrow, .guide-band__title, .guide-band__desc { display: block; }
.guide-band__eyebrow { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--signal-ink); }
.guide-band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.02em; margin-top: 7px; }
.guide-band__desc { color: var(--ink-2); font-size: 0.95rem; margin-top: 6px; }
.guide-band__cta { flex: none; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); white-space: nowrap; }
.guide-band:hover .guide-band__cta { color: var(--signal-ink); }
@media (max-width: 640px) { .guide-band { flex-direction: column; align-items: flex-start; } }
.founder-photo { float: right; margin: 4px 0 16px 28px; }
.founder-photo img { display: block; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hair); }
@media (max-width: 560px) { .founder-photo { float: none; margin: 0 0 16px; } }
.post__body h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.85rem); letter-spacing: -0.025em; color: var(--ink); line-height: 1.22; margin-top: 1.9em; }
.post__body p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.post__body p a, .post__body li a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; font-weight: 500; transition: color 0.2s var(--ease); }
.post__body p a:hover, .post__body li a:hover { color: var(--signal-ink); }
.post__body strong { color: var(--ink); font-weight: 600; }
.post__body ul { list-style: none; padding: 0; display: grid; gap: 11px; margin-top: 1.1em; }
.post__body li { position: relative; padding-left: 27px; font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); }
.post__body li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 9px; height: 9px; border: 1.5px solid var(--blue); border-radius: 50%; }
.post__takeaways { margin-top: 44px; padding: 26px 30px 28px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--blue); }
.post__takeaways h2 { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin: 0 0 16px; }
.post__takeaways ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.post__takeaways li { position: relative; padding-left: 27px; font-size: 0.98rem; line-height: 1.55; color: var(--ink); }
.post__takeaways li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 10px; background: var(--blue); border-radius: 50%; }
.post__back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); text-decoration: none; margin-top: 8px; }
.post__back:hover { color: var(--blue); }
.post__back svg { width: 15px; height: 15px; }
.post__faq { max-width: 720px; margin: 56px auto 0; }
.post__faq > h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.85rem); letter-spacing: -0.025em; color: var(--ink); line-height: 1.2; margin-bottom: 20px; }
.post__faq .faq-list { margin-top: 0; }
.post__divider { max-width: 720px; margin: 52px auto 0; border: 0; border-top: 1px solid var(--line); }
.post__related { max-width: 720px; margin: 48px auto 0; }
.section--related { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(50px, 5vw, 72px); }
.section--related .post__related { margin-top: 0; }
.sol-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); text-decoration: none; }
.sol-card__link:hover { color: var(--signal-ink); }
.post__related > h2 { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 16px; }
.post__related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post__related li { background: var(--card); }
.post__related a { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 16px 18px; text-decoration: none; color: var(--ink); transition: background 0.2s var(--ease); }
.post__related a:hover { background: var(--bone); }
.post__related a strong { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.post__related a span { flex: none; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }

/* ---------- Client logo marquee ---------- */
.marquee { margin-top: 44px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee-scroll 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; display: grid; place-items: center; padding: 0 clamp(26px, 5vw, 60px); }
.marquee__item img { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
.marquee__item--tall img { height: 64px; max-width: 240px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .marquee__item img { height: 34px; } .marquee__item--tall img { height: 50px; } .marquee__item { padding: 0 26px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; gap: 16px 6px; }
  .marquee__item--dup { display: none; }
}
