/* ============================================================================
   SENDRAISE · COMPONENTS & LAYOUT
   Built entirely on tokens.css. Load order in every page:
     <link rel="stylesheet" href="tokens.css">
     <link rel="stylesheet" href="components.css">
   Sections: Reset · Type · Layout · Nav · Dropdown · Buttons · Links ·
             Footer · Home hero · Dark hero · Backdrops · Product strip ·
             Feature rows/pairs · Cards · Pricing · Steps · CTA · Mission ·
             Team · Values · Forms · Modal · Badges · Utilities · Responsive
   ============================================================================ */

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }

/* ── Type primitives ───────────────────────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--text-eyebrow);
}

/* Display headline used on hero/section headers */
.h1, .h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: var(--tracking-tight); text-wrap: pretty; color: var(--fg-strong); }
.h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.h2 { font-size: var(--fs-h2); line-height: 1.15; }

/* ── Layout ────────────────────────────────────────────────────────────── */
section { padding: var(--section-y) var(--section-x); }
.container { max-width: var(--max); margin: 0 auto; }
.section-eyebrow { /* alias of .eyebrow with bottom margin, used in sections */
  font-family: var(--font-mono); font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--text-eyebrow); margin-bottom: var(--s-4);
}
.section-header { margin-bottom: var(--s-12); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2); font-weight: 400;
  letter-spacing: var(--tracking-tight); line-height: 1.15;
  text-wrap: pretty; max-width: 640px; color: var(--fg-strong);
}
.section-header h2 strong { font-weight: 600; }
.section-header p {
  font-size: var(--fs-body); color: var(--text-muted);
  margin-top: var(--s-3); max-width: 540px; line-height: var(--lh-relaxed);
}

/* ── Nav (shared shell; default = light surface) ───────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color var(--dur-base) ease, border-color var(--dur-base) ease;
}
.nav-inner {
  max-width: none; width: 100%; margin: 0 auto;
  padding: 0 var(--section-x);
  display: flex; align-items: center; gap: 0;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--fg); text-decoration: none; margin-right: auto;
  display: inline-flex; align-items: center; gap: var(--s-2);
}

/* Brand mark — layered Sendraise glyph, inlined as SVG with fill:currentColor
   so it auto-adapts to light & dark surfaces (no separate asset per theme). */
.brand-mark {
  display: inline-block; flex: none;
  width: 1.35em; height: 1.35em;
  fill: currentColor;
}
.nav-links { display: flex; align-items: center; gap: var(--s-1); }
.nav-links a {
  display: inline-flex; align-items: center; line-height: 1; white-space: nowrap;
  font-size: 15px; font-weight: var(--nav-weight); color: var(--fg); text-decoration: none;
  padding: var(--s-2) var(--s-4); border-radius: var(--r-sm);
  transition: background var(--dur-base) ease, color var(--dur-base) ease;
}
.nav-links a:hover { background: rgba(66,65,59,0.07); color: var(--navy, var(--c-navy)); }
.nav-links a.active, .nav-dropdown > button.active { font-weight: 600; }

/* Dark-theme nav (over dark heroes). Add class .nav--on-dark to <nav>. */
.nav--on-dark { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav--on-dark .nav-logo { color: var(--fg-on-dark); }
.nav--on-dark .nav-links a,
.nav--on-dark .nav-dropdown > button { color: var(--text-on-dark-soft); }
.nav--on-dark .nav-links a:hover,
.nav--on-dark .nav-dropdown > button:hover,
.nav--on-dark .nav-dropdown:hover > button { background: rgba(255,255,255,0.08); color: #fff; }
.nav--on-dark .nav-dropdown > button svg path { stroke: currentColor; }
.nav--on-dark .btn-connexion { background: var(--c-orange); color: #fff; border: 1px solid transparent; }

/* Sticky-scroll state — the fixed header is transparent over a hero, but must
   turn opaque once the page scrolls so hero content doesn't bleed through it.
   Toggle .nav--scrolled via JS when scrollY > ~8px. The default light nav is
   already opaque (background: var(--bg)); this restores opacity for the dark
   variant over dark heroes (ACE / STASE product pages). */
.nav--on-dark.nav--scrolled {
  background: var(--bg-dark);
  border-bottom-color: var(--border-on-dark);
  box-shadow: 0 1px 0 rgba(0,0,0,0.22), 0 8px 24px rgba(0,0,0,0.18);
}

/* ── Dropdown ──────────────────────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown > button {
  display: inline-flex; align-items: center; gap: var(--s-1); line-height: 1; white-space: nowrap;
  font-size: 15px; font-weight: var(--nav-weight); color: var(--fg); background: none; border: none;
  padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--dur-base) ease, color var(--dur-base) ease;
}
.nav-dropdown > button:hover,
.nav-dropdown:hover > button { background: rgba(66,65,59,0.07); color: var(--c-navy); }
.nav-dropdown > button svg { transition: transform 0.2s; }
.nav-dropdown:hover > button svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-menu);
  min-width: 220px; padding: var(--s-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease, visibility var(--dur-base);
}
/* Invisible bridge keeps hover alive across the gap into the menu */
.dropdown-menu::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; }
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
  text-decoration: none; color: var(--fg); font-size: var(--fs-small);
  transition: background 0.16s ease, transform 0.16s ease;
}
.dropdown-menu a:hover { background: rgba(66,65,59,0.07); transform: translateX(3px); }

/* ── Mobile menu (hamburger) — hidden until ≤767px ─────────────────────── */
.nav-burger {
  display: none; flex: none; width: 44px; height: 44px; margin-left: var(--s-2);
  align-items: center; justify-content: center; flex-direction: column;
  background: none; border: none; padding: 0; cursor: pointer; border-radius: var(--r-sm);
}
.nav-burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--fg);
  transition: transform var(--dur-base) ease, opacity var(--dur-base) ease;
}
.nav-burger span + span { margin-top: 5px; }
.nav--on-dark .nav-burger span { background: var(--fg-on-dark-strong); }
html.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
html.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  /* component tokens — floating card inset from the viewport edges */
  --mm-inset:  var(--s-8);    /* 32px gutter left/right */
  --mm-radius: var(--r-3xl);  /* 16px rounded corners   */
  --mm-gap:    var(--s-2);    /* 8px breathing room below the nav */
  position: fixed; left: var(--mm-inset); right: var(--mm-inset);
  top: calc(var(--nav-h) + var(--mm-gap)); z-index: calc(var(--z-nav) - 1);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--mm-radius);
  box-shadow: 0 14px 36px rgba(0,0,0,0.14);
  padding: var(--s-4) var(--s-5) var(--s-6);
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease, visibility var(--dur-base);
}
html.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a {
  text-decoration: none; color: var(--fg); font-size: 17px; font-weight: var(--nav-weight);
  padding: var(--s-3) var(--s-2); border-radius: var(--r-sm); transition: background var(--dur-fast) ease;
}
.mobile-menu a.active { font-weight: 600; }
.mobile-menu a:active { background: rgba(66,65,59,0.07); }
.mm-group { display: flex; flex-direction: column; gap: 2px; margin: var(--s-2) 0;
  padding: var(--s-1) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mm-group-label { font-size: 11px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-faint); padding: var(--s-3) var(--s-2) var(--s-1); }
.mm-group a { padding-left: var(--s-4); }
.mm-group a .sub { display: block; font-size: 13px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.mobile-menu .btn-connexion { justify-content: center; text-align: center; margin-top: var(--s-4); padding: var(--s-3); font-size: 15px; }
.dropdown-menu .dm-label { font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: 500; color: var(--c-navy); display: block; margin-bottom: 1px; }
.dropdown-menu .dm-desc { font-size: var(--fs-caption); color: #666; }

/* ════════════════════════════════════════════════════════════════════════
   BUTTONS — one documented family.
   .btn-demo  → primary CTA "Programmer une démo" (black w/ teal glow + chevron)
                modifiers: .sm (compact)  .light (light face on dark bg)
   .btn-demo-frame → light frame wrapper w/ warm glow (homepage hero)
   .btn-primary / .btn-outline → simple solid / bordered actions
   .btn-connexion → compact nav login pill
   .btn-start  → pricing card action (dark, full width)
   ════════════════════════════════════════════════════════════════════════ */
.btn-connexion {
  font-size: 14px; font-weight: 500;
  background: var(--c-orange); color: #fff;
  padding: 9px var(--s-5); border-radius: var(--r-sm);
  text-decoration: none; margin-left: var(--s-3);
  transition: opacity var(--dur-fast);
}
.btn-connexion:hover { opacity: 0.88; }

.btn-primary {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: var(--c-ink); color: #fff;
  font-size: var(--fs-body); font-weight: 600; white-space: nowrap;
  padding: var(--s-3) var(--s-6); border-radius: var(--r-md);
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity var(--dur-fast);
}
.btn-primary:hover { opacity: 0.85; }

.btn-outline {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: transparent; color: var(--fg);
  font-size: var(--fs-body); font-weight: 600; white-space: nowrap;
  padding: 11px var(--s-6); border-radius: var(--r-md);
  text-decoration: none; border: 1.5px solid var(--border); cursor: pointer;
  transition: background var(--dur-fast);
}
.btn-outline:hover { background: rgba(66,65,59,0.06); }
/* Variante sur fond sombre (ex. section .creed-dark) */
.btn-outline.on-dark { color: var(--fg-on-dark-strong); border-color: var(--border-on-dark); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.24); }
/* Lien texte inline (ex. « Contactez-nous » dans un paragraphe) */
.text-link { color: var(--c-blue); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.text-link:hover { opacity: 0.82; }

/* Primary CTA — "Programmer une démo" */
.btn-demo {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  background: #000; color: #fff; border-radius: var(--r-md); padding: var(--s-4) var(--s-10);
  text-decoration: none; cursor: pointer; border: none;
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  white-space: nowrap; line-height: 1;
}
.btn-demo .btn-demo-sphere {
  position: absolute; z-index: 0; pointer-events: none;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--c-teal); filter: blur(var(--sphere-blur));
  top: -70px; left: -50px;
  transition: transform var(--dur-sphere) var(--ease-out);
}
.btn-demo:hover .btn-demo-sphere { transform: translateX(230px); }
.btn-demo .btn-demo-content { position: relative; z-index: 1; display: inline-flex; align-items: center; }
.btn-demo .btn-demo-chevron {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0; margin-right: 0; opacity: 0; transform: translateX(-18px); overflow: hidden;
  transition: width var(--dur-slow) var(--ease-out), margin-right var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out), opacity 0.3s ease;
}
.btn-demo .btn-demo-chevron svg { display: block; width: 14px; height: 14px; }
.btn-demo:hover .btn-demo-chevron { width: 14px; margin-right: var(--s-4); opacity: 1; transform: translateX(0); }
.btn-demo.sm { padding: 11px var(--s-5) 11px 22px; font-size: var(--fs-small); border-radius: var(--r-sm); }
.btn-demo.sm .btn-demo-sphere { width: 100px; height: 100px; top: -55px; left: -38px; }
.btn-demo.sm:hover .btn-demo-sphere { transform: translateX(150px); }
.btn-demo.sm .btn-demo-chevron svg { width: 11px; height: 11px; }
.btn-demo.sm:hover .btn-demo-chevron { width: 11px; margin-right: var(--s-3); }
.btn-demo.light { background: var(--c-btn-light); color: #000; }

/* Light frame around the hero demo CTA — 8px inset (16px larger than button) */
.btn-demo-frame {
  position: relative; display: inline-flex; overflow: hidden; align-self: flex-start;
  background: var(--c-mist); border-radius: var(--r-3xl); padding: var(--s-2);
}
.btn-demo-frame .btn-demo-frame-sphere {
  position: absolute; z-index: 0; pointer-events: none;
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--c-orange); filter: blur(var(--sphere-blur-lg));
  top: -120px; right: -70px;
}
.btn-demo-frame .btn-demo { position: relative; z-index: 1; }

/* Pricing action button */
.btn-start {
  display: block; text-align: center; width: 100%;
  background: var(--c-night); color: #fff; font-family: var(--font-display);
  font-size: var(--fs-body-sm); font-weight: 500; padding: var(--s-3); border-radius: var(--r-md);
  text-decoration: none; transition: opacity var(--dur-fast);
}
.btn-start:hover { opacity: 0.85; }

/* Feature points list (product pages, light section) */
.feat-points { display: flex; flex-direction: column; gap: var(--s-7, 28px); }
.feat-point .fp-icon { font-size: 20px; margin-bottom: var(--s-2); }
.feat-point h4 { font-family: var(--font-display); font-size: var(--fs-body); font-weight: 500; color: var(--fg-strong); margin-bottom: var(--s-1); }
.feat-point p { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.65; }

/* ── Links ─────────────────────────────────────────────────────────────── */
.link-arrow {
  font-family: var(--font-display); font-size: var(--fs-body-sm); font-weight: 500;
  color: var(--c-navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--s-1);
  border-bottom: 1px solid rgba(28,47,63,0.25); padding-bottom: 2px;
  transition: border-color var(--dur-fast);
}
.link-arrow:hover { border-color: var(--c-navy); }

/* ── Footer ────────────────────────────────────────────────────────────── */
footer { background: var(--c-navy); color: rgba(255,255,255,0.75); padding: var(--s-14) var(--section-x) var(--s-10); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-10); }
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); }
.footer-brand p { font-size: var(--fs-body); line-height: var(--lh-normal); color: rgba(255,255,255,0.6); margin-bottom: var(--s-5); }
.footer-col h4 { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: rgba(255,255,255,0.4); margin-bottom: var(--s-4); }
.footer-col a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: var(--fs-body-sm); margin-bottom: var(--s-2); transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }
.footer-col .sub { font-size: var(--fs-caption); color: rgba(255,255,255,0.4); }
.footer-award { display: inline-flex; align-items: center; gap: 14px; margin-top: var(--s-5); text-decoration: none; }
.footer-award img { width: 88px; height: 88px; flex-shrink: 0; background: #fff; border-radius: 50%; }
.footer-award-text { display: flex; flex-direction: column; gap: 3px; max-width: 220px; }
.footer-award-text strong { color: #fff; font-size: var(--fs-body-sm); font-weight: 600; line-height: 1.3; }
.footer-award-text span { font-size: var(--fs-caption); line-height: 1.45; color: rgba(255,255,255,0.55); }
.footer-award:hover .footer-award-text strong { color: #fff; }
.footer-award:hover .footer-award-text span { color: rgba(255,255,255,0.7); }
.footer-bottom { max-width: var(--max); margin: var(--s-10) auto 0; padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,0.1); font-size: var(--fs-caption); color: rgba(255,255,255,0.35); display: flex; justify-content: space-between; align-items: center; }

/* ════ HOME HERO ════ */
.home-hero { background: var(--bg); position: relative; overflow: hidden; }
.home-hero-arcs { position: absolute; top: 0; right: 0; height: 100%; width: min(74%, 1040px); pointer-events: none; z-index: 0; overflow: visible; }
.home-hero-arcs img { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); height: 94%; width: auto; max-width: none; }
.home-hero-top { position: relative; z-index: 2; min-height: calc(100svh - 230px); display: flex; align-items: center; padding: 128px var(--section-x) var(--s-12); }
.home-hero-content { max-width: var(--max); margin: 0 auto; width: 100%; }
.home-hero-content h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.02em; line-height: var(--lh-tight); color: var(--fg-strong); max-width: 780px; margin-bottom: var(--s-10); text-wrap: balance; }
.hero-cta-wrap { display: inline-flex; flex-direction: column; gap: var(--s-4); }
.hero-sub-note { font-family: var(--font-body); font-size: var(--fs-body); color: var(--text-muted); }
.hero-sub-note a { color: var(--c-navy); font-weight: 500; }

/* Hero UI preview (video peeking above the fold) */
.hero-ui-preview { max-width: var(--max); margin: 0 auto; padding: 0 var(--section-x); position: relative; z-index: 2; }
.hero-ui-preview .ui-frame { border-radius: var(--r-2xl) var(--r-2xl) 0 0; overflow: hidden; box-shadow: 0 -8px 60px rgba(28,47,63,0.10); }
.hero-ui-preview video { width: 100%; height: auto; display: block; }

/* Generic light hero (e.g. equipe) */
.hero { padding-top: 120px; padding-bottom: 0; background: var(--bg); }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--section-x) var(--s-18); }
.hero-label { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); color: var(--text-faint); margin-bottom: var(--s-6); text-transform: uppercase; }
.hero h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.03em; line-height: var(--lh-tight); color: var(--fg-strong); max-width: 860px; margin-bottom: var(--s-5); }
.hero-tagline { font-family: var(--font-display); font-size: var(--fs-lead); color: var(--c-navy); margin-bottom: var(--s-9, 36px); }

/* ════ DARK HERO (product pages) ════ */
/* .product-dark wraps the hero AND the "why" block so one decorative dark
   background (hex + orange blobs) spans both; children sit above it. */
.product-dark { position: relative; overflow: hidden; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.dark-hero { min-height: auto; position: relative; display: flex; align-items: center; }
.dark-hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--c-night); overflow: hidden; }
.dark-hero-bg .hex { position: absolute; opacity: 0.55; top: -15%; right: -8%; }
.dark-hero-bg .blob1 { position: absolute; width: 640px; height: 400px; border-radius: 50%; background: var(--c-orange); opacity: 0.22; top: -200px; left: -60px; }
.dark-hero-bg .blob2 { position: absolute; width: 640px; height: 400px; border-radius: 50%; background: var(--c-orange); opacity: 0.20; bottom: -200px; left: 20%; }
.dark-hero-content { position: relative; z-index: 2; max-width: calc(var(--max) + 2 * var(--section-x)); margin: 0 auto; padding: 248px var(--section-x) 124px; width: 100%; display: grid; grid-template-columns: 430px 1.12fr; gap: var(--s-18); align-items: center; }
.dark-hero-left .product-name, .product-name { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 400; letter-spacing: var(--tracking-display); line-height: 1; color: var(--fg-on-dark); margin-bottom: var(--s-12); }
.dark-hero-left .product-desc, .product-desc { font-family: var(--font-display); font-size: var(--fs-lead); font-weight: 400; color: var(--fg-on-dark); line-height: 1.35; margin-bottom: var(--s-12); }
.dark-hero-left .product-body, .product-body { font-family: var(--font-body); font-size: var(--fs-body); color: rgba(219,226,231,0.75); line-height: var(--lh-relaxed); margin-bottom: var(--s-6); }
.dark-hero-right { position: relative; }
.dark-hero-right img { width: calc(100% + 110px); max-width: none; margin-right: -110px; border-radius: var(--r-xl); border: 1px solid rgba(99,161,199,0.25); box-shadow: var(--sh-dark); }

/* ── Decorative blurred backdrop (hero & mission) — the shared blur layer ── */
.blurred-shapes, .dark-hero-bg .dark-hero-shapes {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  filter: blur(var(--shape-blur)); -webkit-filter: blur(var(--shape-blur));
}

/* ════ PRODUCT STRIP (home) ════ */
.products-section { background: var(--bg); padding: var(--section-y) var(--section-x); }
.products-section h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; letter-spacing: var(--tracking-tight); line-height: 1.14; color: var(--fg-strong); margin-bottom: var(--s-14); max-width: 680px; }
.product-strip { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.product-item { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-18); align-items: center; padding: var(--s-20) 0; border-bottom: 1px solid var(--border); }
.product-item.reverse { direction: rtl; }
.product-item.reverse > * { direction: ltr; }
.product-num { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-wide); color: var(--text-faint); margin-bottom: var(--s-3); display: block; }
.product-item h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; color: var(--fg-strong); margin-bottom: var(--s-4); text-wrap: pretty; }
.product-item p { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.65; margin-bottom: var(--s-6); max-width: 46ch; }
.product-item img { width: 100%; border-radius: var(--r-xl); border: 1px solid rgba(66,65,59,0.1); box-shadow: var(--sh-lg); }

/* ════ FEATURE PAIRS (product pages, light section) ════ */
.light-section { background: var(--bg); padding: var(--section-y) var(--section-x); }
.light-section h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-tight); color: var(--fg-strong); margin-bottom: var(--s-12); text-wrap: pretty; }
.feat-pair { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--s-16); align-items: center; padding: var(--s-14) 0; border-top: 1px solid var(--border); }
.feat-pair:not(.flip) > div:last-child img { margin-right: -48px; width: calc(100% + 48px); max-width: none; }
.feat-pair.flip > div:last-child img { margin-left: -48px; width: calc(100% + 48px); max-width: none; }
.feat-pair:first-of-type { padding-top: 0; border-top: none; }
.feat-pair.flip { direction: rtl; }
.feat-pair.flip > * { direction: ltr; }
.feat-pair .step-num { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-faint); margin-bottom: var(--s-3); display: block; }
.feat-pair h3 { font-family: var(--font-display); font-size: var(--fs-lead); font-weight: 500; color: var(--fg-strong); margin-bottom: var(--s-3); }
.feat-pair p { font-size: var(--fs-body); color: var(--text-muted); line-height: var(--lh-relaxed); }
.feat-pair ul { margin-top: var(--s-3); padding-left: 0; list-style: none; }
.feat-pair ul li { font-size: var(--fs-body); color: var(--text-muted); padding: 5px 0 5px 16px; position: relative; }
.feat-pair ul li::before { content: "•"; position: absolute; left: 0; color: var(--c-blue); }
.feat-pair img { width: 100%; border-radius: var(--r-lg); border: 1px solid rgba(66,65,59,0.1); box-shadow: var(--sh-sm); }
.wip-tag { display: inline-block; font-size: var(--fs-eyebrow); font-family: var(--font-mono); background: rgba(188,95,6,0.12); color: var(--c-orange-ink); padding: 2px var(--s-2); border-radius: var(--r-xs); margin-bottom: var(--s-3); }
.compat-note { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); background: rgba(48,129,219,0.06); border-radius: var(--r-md); border: 1px solid rgba(48,129,219,0.15); font-size: var(--fs-caption); color: var(--text-muted); line-height: var(--lh-normal); }

/* ════ PARTNERS COVERAGE (ace — consolidation) ════ */
.consolidate-row { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--s-12); align-items: center; }
.consolidate-lead { font-family: var(--font-body); font-size: var(--fs-body); color: var(--text-muted); line-height: 1.65; }
.consolidate-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.consolidate-list li { position: relative; padding-left: var(--s-6); font-size: var(--fs-body); color: var(--text-muted); line-height: 1.55; }
.consolidate-list li::before { content: "→"; position: absolute; left: 0; color: var(--c-blue); }
.partners-img { width: calc(100% + 48px); margin-right: -48px; max-width: none; display: block; border-radius: var(--r-lg); }
.coverage-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: var(--s-12); }
.coverage-card { background: var(--bg); padding: var(--s-7, 28px) var(--s-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.coverage-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--fg-strong); }
.coverage-card p { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.6; }

/* ════ CARDS ════ */
/* feature grid (home) */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: var(--s-10); }
.feature-card { background: var(--bg); padding: var(--s-7, 28px) var(--s-6); }
.feature-card .feat-num { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-faint); margin-bottom: var(--s-3); display: block; }
.feature-card h4 { font-size: var(--fs-body-sm); font-weight: 500; margin-bottom: var(--s-2); }
.feature-card p { font-size: var(--fs-caption); color: var(--text-muted); line-height: var(--lh-normal); }

/* "why" cards on dark (product pages) */
.why-dark { position: relative; z-index: 1; padding: var(--s-4) var(--section-x) var(--s-20); }
.why-dark-inner { max-width: var(--max); margin: 0 auto; }
.why-dark h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; letter-spacing: var(--tracking-tight); color: var(--fg-on-dark); margin-bottom: var(--s-7, 28px); }
.why-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); overflow: hidden; }
.why-card { background: rgba(255,255,255,0.03); padding: var(--s-8) var(--s-6); }
.why-card .wc-icon { display: block; color: #8fb6d4; margin-bottom: var(--s-4); }
.why-card .wc-icon svg { width: 32px; height: 32px; display: block; }
.why-card .wc-icon img { width: 48px; height: 48px; display: block; }
.why-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 400; color: var(--fg-on-dark-strong); margin-bottom: var(--s-3); }
.why-card p { font-size: var(--fs-body); color: rgba(255,255,255,0.55); line-height: 1.65; }

/* value cards (equipe) */
.values-section { background: var(--surface); padding: var(--section-y) var(--section-x); }
.values-section h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; letter-spacing: var(--tracking-tight); color: var(--fg-strong); margin-bottom: var(--s-10); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(66,65,59,0.1); border: 1px solid rgba(66,65,59,0.1); border-radius: var(--r-lg); overflow: hidden; }
.value-card { background: var(--surface); padding: var(--s-8) var(--s-6); }
.value-card .vc-num { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-faint); margin-bottom: var(--s-4); display: block; }
.value-card h4 { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; margin-bottom: var(--s-3); color: var(--fg-strong); }
.value-card p { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.65; }

/* ════ PRICING ════ */
.pricing-section { padding: var(--section-y) var(--section-x); background: var(--surface-sunk); }
.pricing-section h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; letter-spacing: var(--tracking-tight); color: var(--fg-strong); margin-bottom: var(--s-2); }
.pricing-section .pricing-note-top { font-size: var(--fs-body); color: var(--text-faint); margin-bottom: var(--s-9, 36px); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s-4); margin-top: var(--s-10); }
.pricing-card { border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: var(--s-7, 28px) var(--s-6); background: var(--surface); position: relative; transition: box-shadow 0.2s; display: flex; flex-direction: column; }
.pricing-card:hover { box-shadow: var(--sh-hover); }
.pricing-card.featured { border-color: var(--c-night); background: var(--c-night); color: #fff; }
.pricing-card .badge { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.06em; background: rgba(48,129,219,0.15); color: var(--c-blue); padding: 3px var(--s-2); border-radius: var(--r-xs); display: inline-block; margin-bottom: var(--s-4); }
.pricing-card.featured .badge { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.pricing-card .engagement { font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: 500; color: var(--text-faint); margin-bottom: var(--s-2); display: block; }
.pricing-card.featured .engagement { color: rgba(255,255,255,0.4); }
.pricing-card h3 { font-size: var(--fs-body-sm); font-weight: 500; margin-bottom: var(--s-1); }
.pricing-card .trial { font-size: var(--fs-caption); color: var(--text-faint); margin-bottom: var(--s-5); }
.pricing-card.featured .trial { color: rgba(255,255,255,0.4); }
.pricing-price { display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-1); }
.pricing-price .amount { font-family: var(--font-display); font-size: 40px; font-weight: 400; letter-spacing: var(--tracking-display); }
.pricing-price .orig { font-size: var(--fs-h4); text-decoration: line-through; opacity: 0.3; }
.pricing-per { font-size: var(--fs-caption); color: var(--text-faint); margin-bottom: var(--s-6); }
.pricing-card.featured .pricing-per { color: rgba(255,255,255,0.35); }
.pricing-card .btn-primary { width: 100%; justify-content: center; }
.pricing-card .btn-outline { width: 100%; justify-content: center; border-color: var(--border-strong); }
/* CTA toujours collé en bas de carte, indépendamment de la hauteur du contenu */
.pricing-card > .btn-primary,
.pricing-card > .btn-outline,
.pricing-card > .btn-start { margin-top: auto; }
.pricing-card.featured .btn-primary { background: var(--c-orange); color: #fff; }
.pricing-card.featured .btn-start { background: #fff; color: var(--c-night); }
.discount-badge, .pricing-discount { position: absolute; top: var(--s-5); right: var(--s-5); font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: 500; background: var(--c-blue); color: #fff; padding: 3px 9px; border-radius: var(--r-pill); }
.pricing-card.featured .discount-badge { background: rgba(255,255,255,0.2); }
.pricing-bottom-note { text-align: center; margin-top: var(--s-6); font-size: var(--fs-caption); color: var(--text-faint); }
.pricing-bottom-note a { color: var(--c-navy); }

/* Price CTA pill (product hero) */
.price-cta { display: inline-flex; flex-direction: column; align-items: flex-start; background: var(--c-btn-light); border-radius: var(--r-md); padding: var(--s-2); text-decoration: none; margin-bottom: var(--s-5); overflow: hidden; position: relative; }
.price-cta::before { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: var(--c-teal); opacity: 0.6; top: -150px; left: -60px; }
.price-cta-inner { background: #000; color: #fff; border-radius: var(--r-sm); padding: var(--s-3) var(--s-8); position: relative; z-index: 1; display: flex; align-items: center; gap: var(--s-4); }
.price-cta-inner .cta-label { font-family: var(--font-display); font-size: var(--fs-body); font-weight: 500; }
.price-cta-inner .cta-price { font-family: var(--font-mono); font-size: var(--fs-caption); color: rgba(255,255,255,0.5); }
.contact-note { font-size: var(--fs-body); color: rgba(219,226,231,0.55); line-height: var(--lh-normal); }
.contact-note a { color: var(--fg-on-dark); }

/* ════ STEPS ════ */
.steps { display: flex; flex-direction: column; margin-top: var(--s-12); }
.step-item { display: grid; grid-template-columns: 320px 1fr; gap: var(--s-12); padding: var(--s-12) 0; border-top: 1px solid var(--border); align-items: start; }
.step-left .step-num { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-faint); margin-bottom: var(--s-3); display: block; }
.step-left h3 { font-size: var(--fs-h4); font-weight: 500; margin-bottom: var(--s-3); letter-spacing: -0.01em; }
.step-left p { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.65; }
.step-left ul { margin-top: var(--s-3); padding-left: 0; list-style: none; }
.step-left ul li { font-size: var(--fs-body); color: var(--text-muted); padding: var(--s-1) 0; padding-left: var(--s-4); position: relative; }
.step-left ul li::before { content: "•"; position: absolute; left: 0; color: var(--c-blue); }
.step-right img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--sh-sm); }

/* ════ CTA BOXES / BANNERS ════ */
.cta-section { padding: var(--s-16) var(--section-x); background: var(--bg); }
.cta-box { background: var(--c-night); border-radius: var(--r-2xl); padding: var(--s-16) var(--s-14); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; width: 800px; height: 500px; border-radius: 50%; background: var(--c-orange); opacity: 0.15; top: -300px; left: 50%; transform: translateX(-50%); filter: blur(var(--shape-blur)); -webkit-filter: blur(var(--shape-blur)); }
.cta-box h2 { font-family: var(--font-display); font-size: clamp(22px,3vw,38px); font-weight: 400; letter-spacing: var(--tracking-tight); margin-bottom: var(--s-3); position: relative; z-index: 1; }
.cta-box p { font-size: var(--fs-body); opacity: 0.55; margin-bottom: var(--s-7, 28px); position: relative; z-index: 1; }
.cta-box .btn-demo { position: relative; z-index: 1; margin-bottom: 0; }
.cta-banner { background: var(--c-ink); color: #fff; border-radius: var(--r-3xl); padding: var(--s-14) var(--s-12); text-align: center; margin: 0 var(--section-x); }
.cta-banner h2 { font-size: clamp(22px,3vw,36px); font-weight: 400; letter-spacing: var(--tracking-tight); margin-bottom: var(--s-3); }
.cta-banner p { font-size: var(--fs-body); opacity: 0.6; margin-bottom: var(--s-7, 28px); }
.cta-banner .btn-primary { background: #fff; color: var(--c-ink); }

/* ════ MISSION (dark, equipe) ════ */
.mission-section { background: var(--c-night); color: var(--fg-on-dark); padding: var(--section-y) var(--section-x); position: relative; overflow: hidden; }
.mission-section .mission-hex { position: absolute; top: 50%; right: -6%; transform: translateY(-50%); width: 720px; height: auto; }
.mission-section .mission-blob { position: absolute; width: 640px; height: 420px; border-radius: 50%; background: var(--c-orange); }
.mission-section .mission-blob.blob-a { opacity: 0.24; top: -200px; left: -100px; }
.mission-section .mission-blob.blob-b { opacity: 0.2; bottom: -220px; left: 28%; }
.mission-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: center; }
.mission-inner h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; letter-spacing: var(--tracking-tight); line-height: 1.12; color: var(--fg-on-dark); }
.mission-inner p { font-size: var(--fs-body); color: rgba(195,213,224,0.7); line-height: var(--lh-relaxed); margin-bottom: var(--s-6); }
.mission-screen { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(99,161,199,0.3); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.mission-screen img { width: 100%; display: block; }

/* ════ TEAM (equipe) ════ */
.team-section { background: var(--bg); padding: var(--section-y) var(--section-x); }
.team-section .section-header h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; letter-spacing: var(--tracking-tight); color: var(--fg-strong); }
.team-section .section-header p { font-family: var(--font-body); font-size: 17px; color: var(--c-navy); opacity: 0.8; margin-top: var(--s-2); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-3); margin-top: var(--s-12); }
.team-card { display: flex; flex-direction: column; }
.team-card-photo { border-radius: var(--r-md); overflow: hidden; background: linear-gradient(170deg,#fff 0%, #eef2f4 100%); border: 1px solid rgba(0,0,0,0.1); aspect-ratio: 282/453; position: relative; }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-card-info { margin-top: var(--s-7, 28px); border-top: 1px solid rgba(0,0,0,0.1); padding: var(--s-5) 0 0; }
.team-card-info .member-name { font-family: var(--font-display); font-size: var(--fs-lead); font-weight: 400; color: var(--c-night); margin-bottom: var(--s-1); }
.team-card-info .member-role { font-family: var(--font-display); font-size: var(--fs-body); font-weight: 500; color: var(--c-navy); opacity: 0.8; margin-bottom: var(--s-4); }
.team-card-info .member-bio { font-family: var(--font-body); font-size: var(--fs-body); color: var(--c-navy); opacity: 0.8; line-height: var(--lh-normal); }

/* Join CTA (equipe) */
.join-section { background: var(--bg); padding: var(--section-y) var(--section-x); }
.join-inner { background: var(--c-night); color: #fff; border-radius: var(--r-2xl); padding: var(--s-16) var(--s-14); display: grid; grid-template-columns: 1fr auto; gap: var(--s-12); align-items: center; }
.join-inner h2 { font-family: var(--font-display); font-size: clamp(22px,2.5vw,34px); font-weight: 400; letter-spacing: var(--tracking-tight); margin-bottom: var(--s-3); }
.join-inner p { font-size: var(--fs-body); opacity: 0.55; }

/* ════ SOCIAL PROOF (home) — carousel gauche / titre droite, bloc centré ════ */
/* padding-top:0 — la section produits fournit déjà 80px sous son divider, donc
   on évite le double espace et le bloc reste centré (80px haut / 80px bas). */
.social-strip { background: var(--bg); padding: 0 var(--section-x) var(--section-y); }
.social-strip-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--s-16); align-items: center; }
.social-strip-text h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; letter-spacing: var(--tracking-tight); color: #14161d; line-height: 1.15; text-wrap: pretty; }

/* Infinite vertical logo carousel — track holds two identical sets;
   per-card margin (not flex gap) keeps translateY(-50%) seamless. */
.logo-marquee {
  position: relative; height: 320px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.logo-track { display: flex; flex-direction: column; will-change: transform; animation: logo-scroll 20s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-card {
  flex: 0 0 auto; height: 84px; margin-bottom: var(--s-4);
  background: var(--surface); border: 1px solid rgba(66,65,59,0.1); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; padding: 0 var(--s-8);
}
.logo-card img { max-height: 30px; max-width: 72%; width: auto; object-fit: contain; display: block; }
@keyframes logo-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ════ FORMS ════ */
.field { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.field label { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500; color: var(--fg); }
.field .hint { font-size: var(--fs-caption); color: var(--text-faint); }
.input, .textarea, .select {
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--fg);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4); width: 100%; line-height: 1.4;
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(48,129,219,0.15); }
.textarea { resize: vertical; min-height: 110px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23262522' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--s-4) center; padding-right: var(--s-10); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

/* ════ MODAL / POP-UP (contact) ════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(21,24,30,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: var(--s-6);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-base) ease, visibility var(--dur-base);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 520px;
  background: var(--surface); border-radius: var(--r-2xl); padding: var(--s-8) var(--s-8) var(--s-6);
  box-shadow: 0 24px 80px rgba(21,24,30,0.35); overflow: auto; max-height: 90vh;
  transform: translateY(8px) scale(0.99); transition: transform var(--dur-base) var(--ease-out);
}
.modal-overlay.open .modal { transform: none; }
.modal::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--c-teal); opacity: 0.10; filter: blur(var(--sphere-blur-lg)); top: -120px; left: -80px; pointer-events: none; }
.modal-eyebrow { position: relative; z-index: 1; }
.modal h3 { position: relative; z-index: 1; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; letter-spacing: var(--tracking-tight); margin: var(--s-2) 0 var(--s-2); color: var(--fg-strong); }
.modal p.modal-sub { position: relative; z-index: 1; font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--s-5); line-height: 1.5; }
.modal form { position: relative; z-index: 1; }
.modal .btn-demo { width: 100%; margin-top: var(--s-2); }
.modal-close { position: absolute; top: var(--s-4); right: var(--s-4); z-index: 2; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: none; background: rgba(66,65,59,0.06); border-radius: var(--r-pill); cursor: pointer; color: var(--text-muted); transition: background var(--dur-fast); }
.modal-close:hover { background: rgba(66,65,59,0.12); }

/* Checkbox group (modal interests) */
.check-group { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-5); }
.check-legend { font-size: var(--fs-small); font-weight: 500; color: var(--fg); margin-bottom: var(--s-1); }
.check-option { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--dur-base) ease, background var(--dur-base) ease; }
.check-option:hover { background: rgba(66,65,59,0.03); }
.check-option input { accent-color: var(--c-blue); width: 18px; height: 18px; margin-top: 1px; flex: 0 0 auto; cursor: pointer; }
.check-option .co-text { font-size: var(--fs-body); color: var(--fg); line-height: 1.35; }
.check-option .co-text b { font-weight: 600; }
.check-option:has(input:checked) { border-color: var(--c-blue); background: rgba(48,129,219,0.07); }

/* Toggle chips (modal interests — compact) */
.cm-legend-hint { color: var(--text-faint); font-weight: 400; }
.chip-toggle-group { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip-toggle { position: relative; display: inline-flex; }
.chip-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-toggle span { display: inline-block; padding: 7px var(--s-3); border: 1px solid var(--border-strong); border-radius: var(--r-pill); font-size: var(--fs-small); color: var(--fg); line-height: 1.2; cursor: pointer; transition: border-color var(--dur-base) ease, background var(--dur-base) ease, color var(--dur-base) ease; }
.chip-toggle:hover span { border-color: var(--c-blue); }
.chip-toggle input:checked + span { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.chip-toggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(48,129,219,0.25); }

/* Success state (after submit) */
.modal-success { text-align: center; position: relative; z-index: 1; padding: var(--s-4) 0 var(--s-2); }
.modal-success .success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--c-success-soft); color: var(--c-success); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--s-5); }
.modal-success .success-icon svg { width: 32px; height: 32px; }
.modal-success h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; letter-spacing: var(--tracking-tight); color: var(--fg-strong); margin-bottom: var(--s-3); }
.modal-success p { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.6; max-width: 40ch; margin: 0 auto; }

/* reCAPTCHA (modal) */
.cm-recaptcha-field { margin-bottom: var(--s-4); }
.cm-recaptcha { position: relative; z-index: 1; min-height: 78px; display: flex; justify-content: flex-start; }
/* Le widget Google fait 304px ; on évite tout débordement sur petit écran */
.cm-recaptcha > div { max-width: 100%; }

/* Inline form error (modal) */
.form-error { font-size: var(--fs-body); color: var(--c-red); margin-bottom: var(--s-3); line-height: 1.45; }
.btn-demo[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ════ BADGES ════ */
.badge-mono { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.06em; padding: 3px var(--s-2); border-radius: var(--r-xs); display: inline-block; }
.badge-blue { background: rgba(48,129,219,0.15); color: var(--c-blue); }
.badge-orange { background: rgba(188,95,6,0.12); color: var(--c-orange-ink); }

/* ════ Utilities ════ */
.u-dark { background: var(--c-night); color: var(--fg-on-dark); }
[hidden] { display: none !important; }

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE — breakpoints aligned to live site (2048 / 1280 / 1024 / 768)
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width:1279px) {
  section { padding: var(--s-18) var(--section-x); }
  .product-item { gap: var(--s-14); padding: var(--s-16) 0; }
  .dark-hero-content { gap: var(--s-12); padding: 148px var(--section-x) var(--s-18); }
  .light-section { padding: var(--s-18) var(--section-x); }
}
@media (max-width:1023px) {
  .home-hero-arcs { width: 78%; opacity: 0.85; }
  .product-item { gap: var(--s-10); }
  .dark-hero-content { grid-template-columns: 1fr; gap: var(--s-12); padding: 132px var(--section-x) var(--s-16); }
  .dark-hero-right { max-width: 720px; }
  .dark-hero-right img { width: 100%; margin-right: 0; }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .feat-pair { gap: 44px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .mission-inner { grid-template-columns: 1fr; }
  .join-inner { grid-template-columns: 1fr; }
}
@media (max-width:767px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-inner > .btn-connexion { display: none; }
  .home-hero-top { min-height: calc(100svh - 150px); padding: 104px var(--s-5) var(--s-9, 36px); }
  .home-hero-arcs { width: 100%; opacity: 0.45; }
  .product-item { grid-template-columns: 1fr; gap: var(--s-7, 28px); padding: var(--s-13, 52px) 0; }
  .product-item.reverse { direction: ltr; }
  .dark-hero-content { padding: 112px var(--s-5) var(--s-14); }
  .dark-hero-left .product-name, .product-name { font-size: 72px; }
  .why-cards { grid-template-columns: 1fr; }
  .feat-pair { grid-template-columns: 1fr; gap: var(--s-7, 28px); }
  .feat-pair.flip { direction: ltr; }
  .feat-pair:not(.flip) > div:last-child img,
  .feat-pair.flip > div:last-child img { margin: 0; width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: 1fr; gap: var(--s-6); }
  .social-strip-inner { grid-template-columns: 1fr; gap: var(--s-10); }
  .social-strip-text { order: -1; }
  .logo-marquee { height: 264px; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-box { padding: var(--s-10) var(--s-6); }
  .cta-banner { margin: 0 var(--s-4); padding: var(--s-10) var(--s-6); }
  section { padding: var(--s-14) var(--s-5); }
  .light-section { padding: var(--s-14) var(--s-5); }
}

/* ════════════════════════════════════════════════════════════════════════
   PRODUCT PAGES — data blocks, embedded UI, ETL, credo, personas, notes
   Shared by ace.html & stase.html (and any future product page). Built only
   on tokens. Previously inlined in ace.html; promoted here as the single
   source of truth.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Surface modifier — faint sunk panel (alternating product sections) ──── */
.section-sunk { background: var(--surface-sunk); }

/* ── Data block — text column + interactive/visual panel (0.82 / 1.18) ───── */
.data-block { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--s-16); align-items: center; }
.data-block.stretch { align-items: stretch; }
/* Text column: content top, "plus-note" pinned to the bottom edge */
.col-tb { display: flex; flex-direction: column; }
.col-tb .consolidate-lead { padding: 0; margin: 0; }
.col-tb .plus-note { margin-top: auto; }

/* Editorial emphasis — section titles + arrow bullets + leads */
.light-section h2 strong { font-weight: 600; color: var(--fg-strong); }
.consolidate-list li strong { color: var(--fg-strong); font-weight: 600; }
.consolidate-lead strong { color: var(--fg-strong); font-weight: 600; }

/* Hero CTA rhythm (dark product hero) */
.dark-hero-left .btn-demo { margin-bottom: var(--s-9, 36px); }

/* Footer contact mail — extra top gap above the email/social group */
.footer-col a.mail-link { margin-top: var(--s-4); }

/* ── UI placeholder — striped drop zone for a product shot ──────────────── */
.ui-placeholder {
  width: calc(100% + 48px); margin-right: -48px; max-width: none;
  aspect-ratio: 16 / 10; border-radius: var(--r-lg);
  border: 1px solid rgba(66,65,59,0.14);
  background: repeating-linear-gradient(45deg,
    rgba(28,47,63,0.022), rgba(28,47,63,0.022) 14px,
    rgba(28,47,63,0.05) 14px, rgba(28,47,63,0.05) 28px);
  display: flex; align-items: center; justify-content: center;
}
.ui-placeholder-label {
  font-family: var(--font-mono); font-size: var(--fs-small); line-height: 1.6;
  color: var(--text-muted); text-align: center; max-width: 78%; padding: var(--s-6);
}

/* ── Embedded live interface (scaled iframe) ────────────────────────────── */
.ui-live {
  position: relative; width: calc(100% + 48px); margin-right: -48px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(66,65,59,0.14); box-shadow: var(--sh-lg);
  background: var(--c-bone);
}
.ui-live iframe {
  position: absolute; top: 0; left: 0;
  width: 920px; height: 640px; border: 0; transform-origin: top left;
}
.ui-live-note {
  margin: 14px 0 0; font-family: var(--font-mono); font-size: var(--fs-caption);
  color: var(--text-faint); display: none; align-items: center; gap: var(--s-2);
}
.ui-live-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 3px var(--c-success-soft); }

/* ── Segmented control driving an embedded interface ────────────────────── */
.iface-tabs {
  display: inline-flex; flex-wrap: wrap; gap: var(--s-1); padding: var(--s-1);
  margin-bottom: var(--s-5); background: var(--surface-sunk);
  border: 1px solid var(--border); border-radius: var(--r-2xl);
}
.iface-tab {
  appearance: none; cursor: pointer; font-family: var(--font-body);
  font-size: var(--fs-body-sm); font-weight: 500; line-height: 1;
  color: var(--text-muted); background: transparent; border: 1px solid transparent;
  padding: 9px var(--s-4); border-radius: var(--r-lg); white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.iface-tab:hover { color: var(--fg); background: rgba(255,255,255,0.65); }
.iface-tab:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.iface-tab.active {
  color: #fff; background: var(--c-navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 1px 2px rgba(20,34,46,0.28), 0 5px 12px -5px rgba(20,34,46,0.45);
}
.iface-tab.active:hover { color: #fff; background: var(--c-navy); }

/* ── Partners grid (InsuranceSelector mirror) ───────────────────────────── */
.partners-frame {
  width: calc(100% + 48px); margin-right: -48px; background: var(--c-white);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); padding: 18px 14px;
}
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.partner-card {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-3);
  border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer;
  min-width: 0; transition: background var(--dur-base) var(--ease-out);
}
.partner-card:hover { background: var(--surface-sunk); }
.partner-card img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.partner-card span {
  font-family: var(--font-body); font-size: var(--fs-body-sm); font-weight: 500;
  color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Coverage grid spacing when it trails the consolidation row */
.consolidate-row + .coverage-grid { margin-top: var(--s-24); }

/* ── ETL diagram (data export figure) ───────────────────────────────────── */
.etl {
  position: relative; width: calc(100% + 48px); margin-right: -48px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  padding: 22px 26px; font-family: var(--font-mono);
  display: grid; grid-template-columns: 1fr 1.05fr 1fr; column-gap: 60px;
}
.etl-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.etl-col { position: relative; z-index: 1; display: flex; flex-direction: column; }
.etl-col-title {
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint); text-align: center; line-height: 1.4; margin-bottom: var(--s-3);
}
.etl-col.mid .etl-col-title { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--c-navy); font-weight: 700; }
.etl-col.mid .etl-col-title .mk { width: 14px; height: 14px; color: var(--c-navy); flex-shrink: 0; }
.etl-col-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.etl-card {
  box-sizing: border-box; display: flex; align-items: center; gap: var(--s-2);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 0 var(--s-3); height: 38px;
}
.etl-card + .etl-card { margin-top: var(--s-2); }
.etl-card img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.etl-card .lines { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.etl-card .lines i { display: block; height: 4px; border-radius: 2px; background: var(--c-mist); }
.etl-card .lines i.short { width: 55%; }
.etl-card .lines i.mid { width: 80%; }
.etl-card .ci { width: 15px; height: 15px; color: var(--c-navy-mid); flex-shrink: 0; }
.etl-card .lbl { font-size: var(--fs-eyebrow); color: var(--fg); line-height: 1.35; }
.etl-divider { border-top: 1px dashed var(--border); margin: 11px 6px; }
.etl-base { height: auto; min-height: 38px; padding: var(--s-2) var(--s-3); align-items: center; }
.etl-core {
  box-sizing: border-box; background: var(--c-navy); color: #fff;
  border-radius: var(--r-xl); padding: 18px 16px; box-shadow: var(--sh-lg);
}
.etl-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.etl-steps li { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: var(--fs-small); color: #fff; }
.etl-steps li svg { width: 14px; height: 14px; color: var(--c-blue); flex-shrink: 0; }
.etl-dest {
  box-sizing: border-box; display: flex; align-items: center; gap: var(--s-2);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 0 var(--s-3); height: 38px; font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--fg);
}
.etl-dest + .etl-dest { margin-top: var(--s-3); }
.etl-dest svg { width: 14px; height: 14px; color: var(--c-navy-mid); flex-shrink: 0; }
.etl-legend { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; font-family: var(--font-mono); font-size: var(--fs-body-sm); letter-spacing: 0.04em; color: var(--text-faint); }
.etl-legend .line { width: 24px; height: 2px; background: var(--c-orange); border-radius: 2px; flex-shrink: 0; }
/* Light flux travelling along the arrows */
@keyframes etlFlow { to { stroke-dashoffset: -618; } }
.etl-wires .flow { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .etl-wires .flow { opacity: 0.9; animation: etlFlow 1.7s linear infinite; }
}

/* ── "Le +" / "Le saviez-vous ?" editorial note (watermark) ─────────────── */
.plus-note {
  position: relative; overflow: hidden; margin-top: var(--s-6);
  padding: 22px var(--s-6); border-radius: var(--r-lg);
  background: rgba(188,95,6,0.06); border: 1px solid rgba(188,95,6,0.20);
  --ac: var(--c-orange-ink); --ac-hl: rgba(230,97,30,0.20);
}
.plus-note .wm {
  position: absolute; right: 10px; top: -54px; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 500; font-size: 180px; line-height: 1;
  color: var(--ac); opacity: 0.09;
}
.plus-note .plus-tag {
  display: inline-flex; align-items: center; gap: var(--s-3); white-space: nowrap;
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--ac);
}
.plus-note .plus-tag::after { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.45; }
.plus-note p {
  position: relative; margin: 13px 0 0; font-family: var(--font-body);
  font-size: var(--fs-body); line-height: 1.6; color: var(--text-muted); max-width: 48ch;
}
.plus-note p strong { color: var(--fg-strong); font-weight: 600; }
.plus-note .hl { background: linear-gradient(transparent 58%, var(--ac-hl) 58%); padding: 0 1px; }
.plus-note .plus-close {
  position: relative; display: inline-flex; align-items: center; gap: var(--s-2); margin-top: 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ac);
}
.plus-note .plus-close svg { width: 16px; height: 16px; flex-shrink: 0; }
/* Info (blue) variant — regulatory note */
.plus-note.info {
  background: rgba(48,129,219,0.06); border-color: rgba(48,129,219,0.20);
  --ac: var(--c-blue); --ac-hl: rgba(48,129,219,0.20);
}

/* ── Interactive affordances (paired with hints.js) ─────────────────────── */
.hint-ghost {
  position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; will-change: left, top;
  transition: left 600ms cubic-bezier(0.45,0,0.2,1), top 600ms cubic-bezier(0.45,0,0.2,1);
}
.hint-ghost svg {
  display: block; opacity: 0; transform: scale(0.55); transform-origin: 4px 3px;
  transition: opacity 0.3s var(--ease-out), transform 0.18s var(--ease-out);
  filter: drop-shadow(0 5px 7px rgba(16,36,47,0.35));
}
.hint-ghost.on svg { opacity: 1; transform: scale(1); }
.hint-ghost.press svg { transform: scale(0.8); }
.hint-ripple {
  position: absolute; z-index: 5; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; pointer-events: none;
  background: rgba(48,129,219,0.32); border: 1.5px solid rgba(48,129,219,0.7);
  animation: hintRipple 0.6s var(--ease-out) forwards;
}
@keyframes hintRipple {
  0%   { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.hint-ring { position: absolute; left: 0; top: 0; z-index: 4; width: 0; height: 0; pointer-events: none; display: none; transition: opacity 0.35s var(--ease-out); }
.hint-ring.on { display: block; }
.hint-ring.off { opacity: 0; }
.hint-ring .hr-core { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-blue); box-shadow: 0 0 0 4px rgba(48,129,219,0.22); }
.hint-ring .hr-wave { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c-blue); animation: hintWave 2.1s var(--ease-out) infinite; }
.hint-ring .hr-wave.d2 { animation-delay: 1.05s; }
@keyframes hintWave {
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(4.4); opacity: 0; }
}

/* ── Credo block — conviction statement (+ dark variant) ────────────────── */
.creed { text-align: center; }
.creed-head { max-width: 760px; margin: 0 auto; }
.creed-kicker {
  display: inline-block; font-family: var(--font-mono); font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--text-eyebrow); margin-bottom: var(--s-5); white-space: nowrap;
}
.creed-title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1);
  line-height: 1.08; letter-spacing: var(--tracking-tight); color: var(--fg-strong); margin: 0; text-wrap: balance;
}
.creed-title strong { font-weight: 600; }
.creed-lead {
  font-family: var(--font-body); font-size: var(--fs-lead); line-height: 1.5;
  color: var(--text-muted); margin: var(--s-6) auto 0; max-width: 660px; text-wrap: pretty;
}
.creed-lead strong { color: var(--fg-strong); font-weight: 600; }
.creed-figure { margin: var(--s-14) auto 0; max-width: 920px; }
.creed-figure .etl { width: 100%; margin: 0; }
.creed-note {
  margin: var(--s-6) auto 0; font-family: var(--font-mono); font-size: var(--fs-caption);
  letter-spacing: 0.02em; color: var(--text-faint);
  display: flex; align-items: center; justify-content: center; gap: var(--s-2); text-align: center;
}
.creed-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 3px var(--c-success-soft); flex-shrink: 0; }
/* Dark variant (over --bg-dark) */
.creed-dark { background: var(--bg-dark); }
.creed-dark .creed-kicker { color: #7fb6ff; }
.creed-dark .creed-title, .creed-dark .creed-title strong { color: #fff; }
.creed-dark .creed-lead { color: var(--text-on-dark); }
.creed-dark .creed-lead strong { color: #fff; }
.creed-dark .creed-note { color: var(--text-on-dark-soft); }
.creed-dark .etl-col-title { color: rgba(255,255,255,0.4); }
.creed-dark .etl-col.mid .etl-col-title,
.creed-dark .etl-col.mid .etl-col-title .mk { color: #fff; }
.creed-dark .etl-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.creed-dark .etl-card .lbl { color: var(--fg-on-dark-strong); }
.creed-dark .etl-card .lines i { background: rgba(255,255,255,0.22); }
.creed-dark .etl-card .ci { color: #7fb6ff; }
.creed-dark .etl-divider { border-color: rgba(255,255,255,0.14); }
.creed-dark .etl-core { border: 1px solid rgba(48,129,219,0.3); box-shadow: 0 18px 60px rgba(0,0,0,0.5), 0 0 44px -12px rgba(48,129,219,0.5); }
.creed-dark .etl-dest { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--fg-on-dark-strong); }
.creed-dark .etl-dest svg { color: #7fb6ff; }
.creed-dark .etl-legend { color: var(--text-on-dark-soft); }
.creed-dark .etl { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); box-shadow: none; }

/* ── Personas / "à qui s'adresse" editorial index ───────────────────────── */
.va { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--s-16); align-items: start; }
.va-head .offer-kicker { margin-bottom: var(--s-5); }
.va-h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: var(--tracking-tight); line-height: 1.08; color: var(--fg-strong); margin: 0; font-size: var(--fs-h2); }
.va-h2 strong { font-weight: 600; }
.va-lead { color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.45; margin: var(--s-5) 0 0; text-wrap: pretty; }
.va-list { display: flex; flex-direction: column; }
.va-glabel { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-eyebrow); margin: var(--s-6) 0 var(--s-1); }
.va-glabel:first-child { margin-top: 0; }
.va-glabel .num { color: var(--c-blue); }
.va-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-5); align-items: center; padding: var(--s-4) 0; border-top: 1px solid var(--border); }
.va-n { font-family: var(--font-mono); font-size: var(--fs-body-sm); color: var(--text-faint); }
.va-role { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-size: 19px; color: var(--fg-strong); }
.va-desc { display: block; font-size: var(--fs-body); color: var(--text-muted); margin-top: 3px; line-height: 1.45; }
.va-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-md); background: rgba(48,129,219,0.08); color: var(--c-blue); display: flex; align-items: center; justify-content: center; }
.va-ic svg { width: 21px; height: 21px; }
.va-trio { border-left: 2px solid rgba(48,129,219,0.28); padding-left: var(--s-6); margin-left: 3px; }
.va-trio .va-row:first-child { border-top: none; }
.va-pill { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--c-blue); background: rgba(48,129,219,0.1); padding: 2px 7px; border-radius: var(--r-pill); }

/* ════════════════════════════════════════════════════════════════════════
   PRICING — product page treatment (blue accents + dark featured card with
   blurred decorative shapes). Applies to ace & stase pricing sections.
   ════════════════════════════════════════════════════════════════════════ */
.pricing-section.is-plain { background: var(--bg); }
.pricing-section .pricing-card h3 { font-size: 20px; font-weight: 500; }
.pricing-section .pricing-card .p-vol { font-size: var(--fs-small); }
.pricing-section .pf-list { font-size: var(--fs-body); }
.pricing-section .pricing-price { margin: 0; }
.pricing-section .pricing-price .amount { line-height: 1.1; }
.pricing-section .pf-list li::before { color: var(--c-blue); }
.pricing-section .pricing-price .amount { color: var(--fg-strong); }
.pricing-section .discount-badge { white-space: nowrap; }

/* Featured card — dark surface + blurred shapes (hero/footer canvas) */
.pricing-section .pricing-card.featured {
  background: var(--c-night); border: 1.5px solid var(--c-navy); color: #fff; overflow: hidden;
  box-shadow: 0 24px 60px -26px rgba(0,0,0,0.7), 0 0 0 1px rgba(48,129,219,0.22);
}
.pricing-section .pricing-card.featured .pc-shapes {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  filter: blur(48px); -webkit-filter: blur(48px);
}
.pricing-section .pricing-card.featured .pc-hex { position: absolute; width: 440px; height: auto; top: -20%; right: -30%; opacity: 0.5; }
.pricing-section .pricing-card.featured .pc-blob { position: absolute; border-radius: 50%; }
.pricing-section .pricing-card.featured .pc-blob.a { width: 360px; height: 250px; background: var(--c-orange); opacity: 0.20; top: -120px; left: -90px; }
.pricing-section .pricing-card.featured .pc-blob.b { width: 320px; height: 240px; background: var(--c-blue); opacity: 0.26; bottom: -150px; right: -90px; }
.pricing-section .pricing-card.featured > h3,
.pricing-section .pricing-card.featured > .p-vol,
.pricing-section .pricing-card.featured > .engagement,
.pricing-section .pricing-card.featured > .trial,
.pricing-section .pricing-card.featured > .pricing-price,
.pricing-section .pricing-card.featured > .pricing-per,
.pricing-section .pricing-card.featured > .pf-list,
.pricing-section .pricing-card.featured > .btn-primary,
.pricing-section .pricing-card.featured > .btn-start { position: relative; z-index: 1; }
.pricing-section .pricing-card.featured h3 { color: #fff; }
.pricing-section .pricing-card.featured .p-vol { color: rgba(255,255,255,0.5); }
.pricing-section .pricing-card.featured .pricing-price .amount { color: #fff; }
.pricing-section .pricing-card.featured .pricing-per { color: rgba(255,255,255,0.42); }
.pricing-section .pricing-card.featured .pf-list li { color: rgba(255,255,255,0.78); }
.pricing-section .pricing-card.featured .pf-list li::before { color: #7fb6ff; }
.pricing-section .pricing-card.featured .discount-badge { background: var(--c-orange); color: #fff; z-index: 2; }

/* White cards — shapes revealed on hover */
.pricing-section .pricing-card:not(.featured) { overflow: hidden; }
.pricing-section .pricing-card:not(.featured) .pc-shapes {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  filter: blur(46px); -webkit-filter: blur(46px); opacity: 0; transition: opacity 0.7s ease;
}
.pricing-section .pricing-card:not(.featured):hover .pc-shapes { opacity: 1; }
.pricing-section .pricing-card:not(.featured) .pc-hex { position: absolute; width: 360px; height: auto; top: -28%; right: -32%; opacity: 0.42; }
.pricing-section .pricing-card:not(.featured) .pc-blob { position: absolute; border-radius: 50%; }
.pricing-section .pricing-card:not(.featured) .pc-blob.a { width: 300px; height: 210px; background: var(--c-orange); opacity: 0.26; bottom: -120px; left: -80px; }
.pricing-section .pricing-card:not(.featured) .pc-blob.b { width: 280px; height: 200px; background: var(--c-blue); opacity: 0.24; top: -110px; left: 28%; }
.pricing-section .pricing-card:not(.featured) > h3,
.pricing-section .pricing-card:not(.featured) > .p-vol,
.pricing-section .pricing-card:not(.featured) > .engagement,
.pricing-section .pricing-card:not(.featured) > .trial,
.pricing-section .pricing-card:not(.featured) > .pricing-price,
.pricing-section .pricing-card:not(.featured) > .pricing-per,
.pricing-section .pricing-card:not(.featured) > .pf-list,
.pricing-section .pricing-card:not(.featured) > .btn-outline,
.pricing-section .pricing-card:not(.featured) > .btn-start { position: relative; z-index: 1; }
/* Slow continuous drift of the shapes on hover */
@keyframes pcDriftA { 0% { transform: translate(0,0); } 50% { transform: translate(26px,-20px); } 100% { transform: translate(0,0); } }
@keyframes pcDriftB { 0% { transform: translate(0,0); } 50% { transform: translate(-24px,18px); } 100% { transform: translate(0,0); } }
@keyframes pcDriftHex { 0% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-20px,16px) rotate(7deg); } 100% { transform: translate(0,0) rotate(0deg); } }
@media (prefers-reduced-motion: no-preference) {
  .pricing-section .pricing-card:hover .pc-blob.a { animation: pcDriftA 15s ease-in-out infinite; }
  .pricing-section .pricing-card:hover .pc-blob.b { animation: pcDriftB 19s ease-in-out infinite; }
  .pricing-section .pricing-card:hover .pc-hex { animation: pcDriftHex 23s ease-in-out infinite; }
}

/* Transition to the one-off formats */
.pp-transition { text-align: center; margin: var(--s-16) 0 0; }
.pp-transition .q { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); letter-spacing: var(--tracking-tight); color: var(--fg-strong); margin: 0; line-height: 1.6; }
.pp-transition .pp-sub { font-size: var(--fs-body); color: var(--text-muted); line-height: 1.55; margin: var(--s-2) 0 0; white-space: nowrap; }

/* One-off formats inset (alternative to the annual subscription) */
.a2-inset { position: relative; width: 62%; margin: var(--s-16) auto 0; background: var(--surface-sunk); border: 1px solid var(--border); border-radius: var(--r-3xl); padding: var(--s-8) var(--s-10); }
.pp-transition + .a2-inset { margin-top: var(--s-4); }
.a2-rows { display: flex; flex-direction: column; }
.a2-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s-8); align-items: center; padding: var(--s-6) 0; border-top: 1px solid var(--border); }
.a2-row:first-child { border-top: none; padding-top: var(--s-2); }
.a2-action { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-4); width: 196px; }
.a2-action .a2-price { justify-content: flex-end; }
.a2-action .btn-outline { width: 100%; justify-content: center; border-color: var(--border-strong); }
.a2-title { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.a2-title .badge-mono { white-space: nowrap; }
.a2-title h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: var(--tracking-tight); color: var(--fg-strong); margin: 2px 0 0; }
.a2-title p { margin: 0; font-size: var(--fs-body); color: var(--text-muted); line-height: 1.45; }
.a2-price { display: flex; align-items: baseline; gap: var(--s-2); }
.a2-price .from { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.a2-price .amount { font-family: var(--font-display); font-size: 28px; letter-spacing: var(--tracking-display); color: var(--fg-strong); }
.a2-price .per { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-faint); }

/* ── Product page responsive ────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .ui-placeholder, .ui-live, .partners-frame, .etl { width: 100%; margin-right: 0; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .etl { column-gap: 34px; }
}
@media (max-width: 1024px) { .a2-inset { width: 82%; } }
@media (max-width: 900px) {
  .data-block { grid-template-columns: 1fr; gap: var(--s-10); }
  .va { grid-template-columns: 1fr; gap: var(--s-10); }
  .va-trio { padding-left: var(--s-5); }
  .pp-transition .pp-sub { white-space: normal; }
}
@media (max-width: 760px) {
  .a2-inset { width: 100%; padding: var(--s-8) var(--s-6); }
  .a2-row { grid-template-columns: 1fr; gap: var(--s-3); }
  .a2-action { width: 100%; align-items: stretch; }
  .a2-action .a2-price { justify-content: flex-start; }
}
