/* page_landing.css — Landing marketing SherpaPM (v2 — refonte 2026-05)
 * Extrait du bloc <style> inline de templates/pages/landing.html par CI fix.
 * Structure Cercle d'Or (Simon Sinek) : WHY > HOW > WHAT
 */
:root {
    /* ─── Couleurs alignées sur le design system SherpaPM ─── */

    /* Navy primary (brand-navy-deep + primary slate) */
    --navy-950: #0a2342;  /* --brand-navy-deep */
    --navy-900: #0f172a;  /* --primary */
    --navy-800: #1e293b;  /* --primary-light */
    --navy-700: #334155;  /* --primary-lighter */
    --navy-600: #475569;
    --navy-500: #64748b;
    --navy-400: #94a3b8;
    --navy-300: #cbd5e1;
    --navy-200: #e2e8f0;  /* --border */
    --navy-100: #f1f5f9;  /* --bg-subtle */
    --navy-50:  #f8fafc;  /* --bg */

    /* Blue accent (--accent + brand-enterprise-blue) */
    --gold-700: #1e40af;  /* --accent-dark */
    --gold-600: #184c99;  /* --brand-enterprise-blue-strong */
    --gold-500: #1f5fbf;  /* --brand-enterprise-blue */
    --gold-400: #2563eb;  /* --accent */
    --gold-300: #3b82f6;  /* --accent-light */
    --gold-200: #93c5fd;  /* --accent-border */
    --gold-100: #dbeafe;
    --gold-50:  #eff6ff;  /* --status-info-soft */

    /* Neutrals */
    --paper: #f8fafc;     /* --bg */
    --white: #ffffff;     /* --card-bg */
    --ink-900: #0f172a;   /* --text */
    --ink-700: #334155;   /* --text-secondary fort */
    --ink-500: #475569;   /* --text-secondary */
    --ink-400: #64748b;   /* --text-muted */
    --line: #e2e8f0;      /* --border */
    --line-soft: #f1f5f9; /* --border-light */

    --success: #16a34a;   /* --status-success */

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    --shadow-xs: 0 1px 2px rgba(15,27,53,.04);
    --shadow-sm: 0 2px 6px rgba(15,27,53,.06);
    --shadow-md: 0 8px 24px rgba(15,27,53,.08);
    --shadow-lg: 0 20px 50px rgba(15,27,53,.12);
    --shadow-gold: 0 10px 30px rgba(37,99,235,.22);

    --t: 200ms cubic-bezier(.4,0,.2,1);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--paper);
    color: var(--ink-900);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  ::selection { background: var(--navy-900); color: white; }

  a { color: inherit; text-decoration: none; }

  /* ─────────── NAV ─────────── */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t), background var(--t);
  }
  .nav.scrolled { border-bottom-color: var(--line); }
  .nav-inner {
    max-width: 1240px; margin: 0 auto;
    padding: 16px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; }
  .brand-mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--navy-900);
    position: relative;
    display: grid; place-items: center;
  }
  .brand-mark::after {
    content: ''; width: 12px; height: 12px;
    border: 2px solid var(--white); border-radius: 2px;
  }
  .brand .sherpa { color: var(--ink-900); }
  .brand .pm { color: var(--navy-600); }

  .nav-links { display: flex; gap: 6px; align-items: center; }
  .nav-links a {
    padding: 8px 14px; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 500; color: var(--ink-700);
    transition: var(--t);
    position: relative;
  }
  .nav-links a:hover { color: var(--navy-900); background: var(--navy-50); }
  .nav-links a.active { color: var(--navy-900); }
  .nav-links a.active::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; background: var(--gold-400); border-radius: 2px;
  }

  .nav-actions { display: flex; align-items: center; gap: 14px; }
  .link-login { font-size: 14px; color: var(--ink-700); text-decoration: underline; text-underline-offset: 4px; }
  .link-login:hover { color: var(--navy-900); }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border: 1px solid transparent;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
    cursor: pointer; transition: var(--t); white-space: nowrap;
    font-family: inherit;
  }
  .btn-primary { background: var(--navy-900); color: white; }
  .btn-primary:hover { background: var(--navy-800); box-shadow: var(--shadow-md); transform: translateY(-1px); }
  .btn-gold { background: var(--gold-500); color: white; }
  .btn-gold:hover { background: var(--gold-600); box-shadow: var(--shadow-gold); transform: translateY(-1px); }
  .btn-outline { background: white; color: var(--navy-900); border-color: var(--line); }
  .btn-outline:hover { border-color: var(--navy-900); }
  .btn-ghost { background: transparent; color: var(--ink-700); }
  .btn-ghost:hover { background: var(--navy-50); color: var(--navy-900); }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
  .btn .arrow { transition: transform var(--t); }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ─────────── HERO ─────────── */
  .hero {
    padding: 80px 32px 64px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(900px 400px at 80% -10%, rgba(37,99,235,.08), transparent 60%),
      radial-gradient(700px 500px at 10% 20%, rgba(10,35,66,.06), transparent 60%);
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1240px; margin: 0 auto;
    position: relative;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 8px;
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 12.5px; font-weight: 500; color: var(--ink-700);
    box-shadow: var(--shadow-xs);
  }
  .eyebrow .dot {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--gold-100); color: var(--gold-700);
    display: grid; place-items: center; font-size: 10px; font-weight: 700;
  }
  .eyebrow strong { font-weight: 600; color: var(--navy-900); }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(40px, 5.4vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    max-width: 14ch;
    color: var(--navy-950);
    text-wrap: balance;
  }
  .hero h1 .accent {
    display: inline-block;
    color: var(--navy-900);
    position: relative;
  }
  .hero h1 .accent::after {
    content: ''; position: absolute;
    left: 0; right: 0; bottom: 6px;
    height: 10px; background: var(--gold-200);
    z-index: -1; border-radius: 2px;
  }
  .hero p.lede {
    margin-top: 22px;
    font-size: 19px; line-height: 1.55; color: var(--ink-500);
    max-width: 56ch;
    text-wrap: pretty;
  }
  .hero-ctas {
    margin-top: 32px;
    display: flex; gap: 12px; flex-wrap: wrap;
  }
  .hero-meta {
    margin-top: 28px;
    display: flex; gap: 28px; flex-wrap: wrap;
    font-size: 13px; color: var(--ink-500);
  }
  .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-meta svg { color: var(--success); }

  .hero-visual {
    margin-top: 64px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
  }
  .hero-visual::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(250,251,253,.6));
  }
  .vis-toolbar {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--navy-50);
  }
  .vis-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-200); }
  .vis-title {
    margin-left: 8px; font-size: 13px; color: var(--ink-500); font-weight: 500;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .vis-pill {
    margin-left: auto; padding: 4px 12px; border-radius: var(--radius-pill);
    background: white; border: 1px solid var(--line);
    font-size: 12px; color: var(--navy-700); font-weight: 600;
    display: inline-flex; gap: 6px; align-items: center;
  }
  .vis-pill .live { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(15,143,93,.18); }

  .gantt {
    padding: 22px;
    display: grid; grid-template-columns: 200px 1fr; gap: 0;
    font-size: 13px;
  }
  .gantt-axis {
    grid-column: 2;
    display: grid; grid-template-columns: repeat(12, 1fr);
    margin-bottom: 14px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 8px;
    color: var(--ink-400); font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
  }
  .gantt-axis span { padding-left: 4px; }
  .gantt-row {
    display: contents;
  }
  .gantt-label {
    padding: 10px 14px 10px 0;
    color: var(--ink-700);
    border-top: 1px solid var(--line-soft);
    display: flex; align-items: center; gap: 8px;
  }
  .gantt-label .swatch {
    width: 8px; height: 8px; border-radius: 2px;
  }
  .gantt-track {
    border-top: 1px solid var(--line-soft);
    padding: 10px 0;
    position: relative;
    display: grid; grid-template-columns: repeat(12, 1fr);
  }
  .bar {
    grid-row: 1;
    height: 22px; border-radius: 5px;
    align-self: center;
    display: flex; align-items: center; padding: 0 10px;
    font-size: 11px; font-weight: 600; color: white;
    position: relative;
  }
  .bar.navy { background: var(--navy-700); }
  .bar.navy-l { background: var(--navy-500); }
  .bar.gold { background: var(--gold-500); }
  .bar.risk {
    background: repeating-linear-gradient(
      45deg, var(--gold-500), var(--gold-500) 6px, var(--gold-300) 6px, var(--gold-300) 12px
    );
    color: white;
  }
  .bar .ext {
    position: absolute; right: -42px; top: 0; bottom: 0;
    width: 40px; border-radius: 5px;
    background: repeating-linear-gradient(
      45deg, rgba(31,95,191,.22), rgba(31,95,191,.22) 4px, transparent 4px, transparent 8px
    );
    border: 1px dashed var(--gold-500);
  }
  .today {
    position: absolute; top: -22px; bottom: 0;
    width: 0; border-left: 2px dashed var(--navy-700);
    pointer-events: none;
  }
  .today::after {
    content: 'TODAY';
    position: absolute; top: -16px; left: -28px;
    font-size: 10px; font-weight: 700; color: var(--navy-700);
    font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em;
  }
  .alert-tag {
    margin-left: 8px; font-size: 11px; color: #b91c1c;
    background: #fee2e2; padding: 2px 8px; border-radius: var(--radius-pill); font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
    border: 1px solid #fecaca;
  }

  /* === Hero Gantt animations === */
  .hero-visual .vis-toolbar { opacity: 0; transform: translateY(-6px); }
  .hero-visual .gantt-axis  { opacity: 0; }
  .hero-visual .gantt-axis span { opacity: 0; transform: translateY(-4px); }
  .hero-visual .gantt-label { opacity: 0; transform: translateX(-8px); }
  .hero-visual .bar {
    transform: scaleX(0); transform-origin: left center;
    opacity: 0;
  }
  .hero-visual .today { opacity: 0; }
  .hero-visual .today::after { opacity: 0; }
  .hero-visual .alert-tag { opacity: 0; transform: scale(0.7); transform-origin: left center; }
  .hero-visual .insight { opacity: 0; transform: translateY(14px) scale(.96); }

  .hero-visual.play .vis-toolbar { animation: hvUp .5s ease both .1s; }
  .hero-visual.play .gantt-axis  { animation: fadeIn .3s ease both .4s; }
  .hero-visual.play .gantt-axis span:nth-child(1)  { animation: hvUp .3s ease both .45s; }
  .hero-visual.play .gantt-axis span:nth-child(2)  { animation: hvUp .3s ease both .50s; }
  .hero-visual.play .gantt-axis span:nth-child(3)  { animation: hvUp .3s ease both .55s; }
  .hero-visual.play .gantt-axis span:nth-child(4)  { animation: hvUp .3s ease both .60s; }
  .hero-visual.play .gantt-axis span:nth-child(5)  { animation: hvUp .3s ease both .65s; }
  .hero-visual.play .gantt-axis span:nth-child(6)  { animation: hvUp .3s ease both .70s; }
  .hero-visual.play .gantt-axis span:nth-child(7)  { animation: hvUp .3s ease both .75s; }
  .hero-visual.play .gantt-axis span:nth-child(8)  { animation: hvUp .3s ease both .80s; }
  .hero-visual.play .gantt-axis span:nth-child(9)  { animation: hvUp .3s ease both .85s; }
  .hero-visual.play .gantt-axis span:nth-child(10) { animation: hvUp .3s ease both .90s; }
  .hero-visual.play .gantt-axis span:nth-child(11) { animation: hvUp .3s ease both .95s; }
  .hero-visual.play .gantt-axis span:nth-child(12) { animation: hvUp .3s ease both 1.00s; }

  /* Rows: labels fade in first, then bars slide */
  .hero-visual.play .gantt-row:nth-child(2) .gantt-label { animation: labelIn .4s ease both 1.1s; }
  .hero-visual.play .gantt-row:nth-child(2) .bar         { animation: barGrow .65s cubic-bezier(.22,1,.36,1) both 1.2s; }
  .hero-visual.play .gantt-row:nth-child(3) .gantt-label { animation: labelIn .4s ease both 1.4s; }
  .hero-visual.play .gantt-row:nth-child(3) .bar         { animation: barGrow .65s cubic-bezier(.22,1,.36,1) both 1.5s; }
  .hero-visual.play .gantt-row:nth-child(4) .gantt-label { animation: labelIn .4s ease both 1.7s; }
  .hero-visual.play .gantt-row:nth-child(4) .bar.risk    { animation: barGrow .9s cubic-bezier(.22,1,.36,1) both 1.8s; }
  .hero-visual.play .gantt-row:nth-child(5) .gantt-label { animation: labelIn .4s ease both 2.1s; }
  .hero-visual.play .gantt-row:nth-child(5) .bar         { animation: barGrow .55s cubic-bezier(.22,1,.36,1) both 2.2s; }
  .hero-visual.play .gantt-row:nth-child(6) .gantt-label { animation: labelIn .4s ease both 2.4s; }
  .hero-visual.play .gantt-row:nth-child(6) .bar         { animation: barGrow .5s cubic-bezier(.22,1,.36,1) both 2.5s; }

  /* Today line and alert */
  .hero-visual.play .today          { animation: todayDrop .55s ease both 2s; }
  .hero-visual.play .today::after   { animation: fadeIn .3s ease both 2.4s; }
  .hero-visual.play .alert-tag      { animation: alertPop .5s cubic-bezier(.34,1.56,.64,1) both 2.8s; }
  .hero-visual.play .insight        { animation: insightIn .7s cubic-bezier(.22,1,.36,1) both 3.1s; }

  /* Highlight pulse on critical path after insight appears */
  .hero-visual.play .bar.navy-l,
  .hero-visual.play .bar.risk { position: relative; }
  .hero-visual.play .bar.risk::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37,99,235,0.6);
    animation: criticalPulse 1.6s ease-out 3.6s 2;
    pointer-events: none;
  }

  @keyframes hvUp {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes labelIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes barGrow {
    from { opacity: 0; transform: scaleX(0); }
    to   { opacity: 1; transform: scaleX(1); }
  }
  @keyframes todayDrop {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes alertPop {
    0%   { opacity: 0; transform: scale(0.6); }
    70%  { opacity: 1; transform: scale(1.12); }
    100% { opacity: 1; transform: scale(1); }
  }
  @keyframes insightIn {
    from { opacity: 0; transform: translateY(14px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes criticalPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.55); }
    100% { box-shadow: 0 0 0 14px rgba(37,99,235,0); }
  }

  /* Hero replay button */
  .hero-visual .hv-replay {
    position: absolute; top: 12px; right: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px;
    background: white;
    border: 1px solid var(--line);
    color: var(--navy-700);
    border-radius: var(--radius-pill);
    font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
    cursor: pointer; transition: var(--t);
    letter-spacing: 0.04em;
    z-index: 5;
  }
  .hero-visual .hv-replay:hover { border-color: var(--navy-700); color: var(--navy-950); }
  .hero-visual .hv-replay::before { content: '↻'; font-size: 13px; font-weight: 800; }

  /* Replay hint pulse — apparaît après la fin des animations */
  @keyframes replayHint {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.35); }
    50%       { box-shadow: 0 0 0 7px rgba(30, 64, 175, 0); }
  }
  .hv-replay.hint,
  .pc-replay.hint,
  .compet-replay.hint { animation: replayHint 1.4s ease-in-out infinite; }

  /* Floating insight card */
  .insight {
    position: absolute; right: 28px; bottom: 28px;
    background: var(--navy-900); color: white;
    padding: 16px 18px; border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(15,27,53,.32);
    max-width: 320px; font-size: 13px; line-height: 1.5;
    border: 1px solid var(--navy-700);
  }
  .insight strong { color: var(--gold-300); font-weight: 600; }
  .insight .head {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold-300); font-weight: 700;
  }
  .insight .head::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-400); box-shadow: 0 0 0 4px rgba(37,99,235,.22);
  }

  /* ─────────── SECTIONS ─────────── */
  section { padding: 96px 32px; }
  .container { max-width: 1240px; margin: 0 auto; }
  .section-head {
    max-width: 720px; margin: 0 auto 56px;
    text-align: center;
  }
  .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; background: var(--navy-50);
    color: var(--navy-700);
    border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .kicker.gold { background: var(--gold-50); color: var(--gold-700); }
  .section-head h2 {
    margin-top: 16px;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
    color: var(--navy-950); text-wrap: balance;
  }
  .section-head p {
    margin-top: 16px; font-size: 17px; color: var(--ink-500);
    text-wrap: pretty;
  }

  /* ─────────── LOGOS STRIP ─────────── */
  .strip { padding: 48px 32px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: white; }
  .strip-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 48px; justify-content: space-between; }
  .strip-label { font-size: 12px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; white-space: nowrap; }
  .strip-logos { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; justify-content: flex-end; flex: 1; }
  .strip-logo {
    height: 28px; padding: 0 14px;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--navy-400); font-weight: 600; font-size: 15px;
    opacity: .8;
  }
  .strip-logo .lm { width: 18px; height: 18px; border-radius: 4px; background: currentColor; opacity: .35; }

  /* ─────────── FEATURE SECTIONS (rich) ─────────── */
  .feat { padding: 96px 32px; }
  .feat.alt { background: var(--navy-100); }
  .feat .container { max-width: 1240px; margin: 0 auto; }

  .feat-block {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
  .feat-text { position: sticky; top: 88px; }
  .feat-text .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; background: var(--gold-50); color: var(--gold-600);
    border-radius: var(--radius-pill);
    font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .feat-text .kicker .mono { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; opacity: .8; font-weight: 600; }
  .feat-text h3 {
    margin-top: 18px;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
    color: var(--navy-950); text-wrap: balance;
  }
  .feat-text > p {
    margin-top: 16px; font-size: 16px; color: var(--ink-500); line-height: 1.6;
    text-wrap: pretty;
  }
  .feat-text > p.feat-sub {
    margin-top: 10px; font-size: 14.5px; color: var(--ink-600);
    padding-left: 12px; border-left: 2px solid var(--gold-200);
  }
  .feat-bullets { margin-top: 28px; display: grid; gap: 16px; list-style: none; padding: 0; }
  .feat-bullets li {
    display: grid; grid-template-columns: 28px 1fr; gap: 12px;
    align-items: flex-start;
    font-size: 14.5px; color: var(--ink-700); line-height: 1.5;
  }
  .feat-bullets li strong { display: block; color: var(--navy-950); font-weight: 700; font-size: 14.5px; margin-bottom: 2px; }
  .feat-bullets .num {
    flex-shrink: 0;
    width: 24px; height: 24px; border-radius: 6px;
    background: var(--gold-50); color: var(--gold-600);
    display: grid; place-items: center;
    font-size: 11px; font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
  }

  /* ───── AUDIT DASHBOARD MOCK ───── */
  .audit-mock {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  .audit-head {
    padding: 20px 24px; background: var(--navy-100);
    border-bottom: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
  }
  .audit-head h4 {
    font-size: 17px; font-weight: 700; color: var(--navy-950);
    display: flex; align-items: center; gap: 10px;
  }
  .audit-head h4 .qa {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    padding: 3px 9px; background: var(--navy-200); color: var(--navy-800);
    border-radius: var(--radius-sm); letter-spacing: 0.06em; font-weight: 700;
  }
  .audit-head .sub { font-size: 12.5px; color: var(--ink-400); margin-top: 4px; font-family: 'JetBrains Mono', monospace; }
  .audit-gauge { display: flex; align-items: center; gap: 14px; }
  .audit-gauge .label {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; background: #fef3c7; color: #92400e;
    border-radius: var(--radius-sm);
  }
  .audit-gauge .ring { position: relative; width: 66px; height: 66px; }
  .audit-gauge .ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
  .audit-gauge .ring .scoretxt {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px; font-weight: 800; color: var(--navy-950);
    line-height: 1;
  }
  .audit-gauge .ring .scoretxt .max { font-size: 9px; color: var(--ink-400); font-weight: 600; }

  .audit-tabs {
    display: flex; padding: 0 24px;
    border-bottom: 1px solid var(--line-soft);
    background: white; gap: 4px;
  }
  .audit-tabs .tab {
    padding: 13px 14px;
    font-size: 13px; font-weight: 600; color: var(--ink-500);
    border-bottom: 2px solid transparent;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .audit-tabs .tab.active { color: var(--gold-500); border-color: var(--gold-500); }
  .audit-tabs .tab .ic {
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    width: 18px; height: 18px; border-radius: 4px;
    background: var(--navy-100); color: var(--ink-500);
    display: grid; place-items: center; font-weight: 800;
  }
  .audit-tabs .tab.active .ic { background: var(--gold-100); color: var(--gold-600); }
  .audit-tabs .tab .badge {
    background: #ef4444; color: white;
    font-size: 10px; font-weight: 800;
    padding: 1px 7px; border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
  }

  .audit-kpi-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px; padding: 20px;
  }
  .audit-kpi {
    border: 1px solid var(--line); border-left: 4px solid var(--navy-300);
    border-radius: var(--radius-md);
    padding: 12px 14px; background: white;
  }
  .audit-kpi .head {
    display: flex; align-items: center; gap: 8px;
  }
  .audit-kpi .head .tag {
    font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
    padding: 2px 6px; border-radius: 3px;
    background: var(--navy-100); color: var(--navy-700); font-weight: 700; letter-spacing: 0.03em;
  }
  .audit-kpi .head .name { color: var(--navy-950); font-size: 12.5px; font-weight: 600; }
  .audit-kpi .val {
    margin-top: 8px;
    font-size: 24px; font-weight: 800; color: var(--navy-950);
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
    line-height: 1.1;
  }
  .audit-kpi .progress {
    margin-top: 8px;
    height: 3px; border-radius: 2px;
    background: var(--navy-100); overflow: hidden;
  }
  .audit-kpi .progress .fill { height: 100%; border-radius: 2px; background: var(--navy-400); }
  .audit-kpi .status {
    margin-top: 8px;
    font-size: 10.5px; font-weight: 700;
    padding: 3px 8px; border-radius: 4px;
    display: inline-block; letter-spacing: 0.02em;
  }
  .audit-kpi.good { border-left-color: #16a34a; }
  .audit-kpi.good .fill { background: #16a34a; }
  .audit-kpi.good .status { background: #dcfce7; color: #15803d; }
  .audit-kpi.warn { border-left-color: #f59e0b; }
  .audit-kpi.warn .fill { background: #f59e0b; }
  .audit-kpi.warn .status { background: #fef3c7; color: #92400e; }
  .audit-kpi.crit { border-left-color: #ef4444; }
  .audit-kpi.crit .fill { background: #ef4444; }
  .audit-kpi.crit .status { background: #fee2e2; color: #991b1b; }

  .audit-summary {
    margin: 0 20px 20px;
    padding: 14px 16px;
    background: var(--navy-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold-500);
    font-size: 13px;
  }
  .audit-summary h5 { font-size: 12.5px; font-weight: 700; color: var(--navy-950); margin-bottom: 6px; letter-spacing: 0.02em; }
  .audit-summary .line { color: var(--ink-700); margin-top: 3px; font-size: 12.5px; }
  .audit-summary .line.warn { color: #92400e; }
  .audit-summary .line.crit { color: #991b1b; font-weight: 600; }

  /* PLAN D'ACTION */
  .plan-action {
    margin-top: 22px;
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px 20px;
  }
  .plan-action h5 {
    font-size: 11.5px; font-weight: 800;
    color: var(--gold-600); margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .plan-action h5::before {
    content: 'A'; width: 18px; height: 18px;
    background: var(--gold-100); color: var(--gold-600); border-radius: 4px;
    display: grid; place-items: center;
    font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 800;
  }
  .plan-action ol {
    display: grid; gap: 10px; padding: 0; list-style: none;
    counter-reset: act;
  }
  .plan-action ol li {
    display: grid; grid-template-columns: 22px 1fr auto; gap: 10px;
    align-items: center;
    font-size: 13px; color: var(--ink-700);
    counter-increment: act;
  }
  .plan-action ol li::before {
    content: counter(act);
    width: 20px; height: 20px; border-radius: 5px;
    background: var(--gold-50); color: var(--gold-600);
    font-family: 'JetBrains Mono', monospace; font-weight: 800;
    display: grid; place-items: center; font-size: 11px;
  }
  .plan-action .impact {
    font-size: 11px; color: var(--success);
    font-family: 'JetBrains Mono', monospace; font-weight: 700;
    white-space: nowrap;
  }

  /* ───── PREDICTIVE: S-CURVE ───── */
  .predict-mock {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
  }
  .predict-mock .ph { font-size: 11.5px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-family: 'JetBrains Mono', monospace; margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
  .predict-mock .ph::before { content: ''; width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; }
  .predict-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    margin-bottom: 22px;
  }
  .predict-kpi {
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 10px 12px;
  }
  .predict-kpi .lab { font-size: 10px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
  .predict-kpi .v { font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 800; color: var(--navy-950); margin-top: 4px; line-height: 1; }
  .predict-kpi .v.warn { color: #b54708; }
  .predict-kpi .v.crit { color: #b42318; }
  .predict-kpi .sub { font-size: 10px; color: var(--ink-400); margin-top: 3px; font-family: 'JetBrains Mono', monospace; }

  .predict-chart {
    position: relative;
    height: 280px;
    background: linear-gradient(180deg, var(--navy-50), white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px 22px 14px 14px;
  }
  .predict-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }

  /* === Predict chart animation === */
  .predict-chart .pc-axes { opacity: 0; }
  .predict-chart .pc-curve {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
  }
  .predict-chart .reveal-rect { width: 0; }
  .predict-chart .pc-vline { stroke-dasharray: 100; stroke-dashoffset: 100; }
  .predict-chart .pc-dot { opacity: 0; transform: scale(0); transform-origin: center; transform-box: fill-box; }
  .predict-chart .pc-badge { opacity: 0; transform: translateY(-6px); transform-origin: center; transform-box: fill-box; }

  .predict-chart.playing .pc-axes { animation: fadeIn .4s ease both .1s; }

  .predict-chart.playing .pc-curve {
    animation: drawCurve 1.8s cubic-bezier(.65,.05,.36,1) both .5s;
  }
  .predict-chart.playing .reveal-rect {
    animation: revealArea 1.8s cubic-bezier(.65,.05,.36,1) both .5s;
  }

  /* Planned baseline */
  .predict-chart.playing .pc-planned .pc-vline {
    animation: drawLine .5s ease both 1.3s;
  }
  .predict-chart.playing .pc-planned .pc-badge {
    animation: badgePop .5s cubic-bezier(.34,1.56,.64,1) both 1.4s;
  }

  /* P50 */
  .predict-chart.playing .pc-p50 .pc-vline { animation: drawLine .5s ease both 1.9s; }
  .predict-chart.playing .pc-p50 .pc-dot   { animation: dotPop .5s cubic-bezier(.34,1.56,.64,1) both 2.1s; }
  .predict-chart.playing .pc-p50 .pc-badge { animation: badgePop .5s cubic-bezier(.34,1.56,.64,1) both 2.2s; }

  /* P80 */
  .predict-chart.playing .pc-p80 .pc-vline { animation: drawLine .5s ease both 2.5s; }
  .predict-chart.playing .pc-p80 .pc-dot   { animation: dotPop .5s cubic-bezier(.34,1.56,.64,1) both 2.7s; }
  .predict-chart.playing .pc-p80 .pc-badge { animation: badgePop .5s cubic-bezier(.34,1.56,.64,1) both 2.8s; }

  /* P90 */
  .predict-chart.playing .pc-p90 .pc-vline { animation: drawLine .5s ease both 3.1s; }
  .predict-chart.playing .pc-p90 .pc-dot   { animation: dotPop .5s cubic-bezier(.34,1.56,.64,1) both 3.3s; }
  .predict-chart.playing .pc-p90 .pc-badge { animation: badgePop .5s cubic-bezier(.34,1.56,.64,1) both 3.4s; }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes drawCurve {
    from { stroke-dashoffset: 100; }
    to   { stroke-dashoffset: 0; }
  }
  @keyframes revealArea {
    from { width: 0; }
    to   { width: 480px; }
  }
  @keyframes drawLine {
    from { stroke-dashoffset: 100; }
    to   { stroke-dashoffset: 0; }
  }
  @keyframes dotPop {
    0%   { opacity: 0; transform: scale(0); }
    70%  { opacity: 1; transform: scale(1.4); }
    100% { opacity: 1; transform: scale(1); }
  }
  @keyframes badgePop {
    0%   { opacity: 0; transform: translateY(-6px) scale(0.85); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Replay button on predict chart */
  .pc-replay {
    position: absolute; top: 14px; right: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px;
    background: white;
    border: 1px solid var(--line);
    color: var(--navy-700);
    border-radius: var(--radius-pill);
    font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
    cursor: pointer; transition: var(--t);
    letter-spacing: 0.04em;
    z-index: 2;
  }
  .pc-replay:hover { border-color: var(--navy-700); color: var(--navy-950); }
  .pc-replay::before { content: '↻'; font-size: 13px; font-weight: 800; }

  .predict-legend {
    display: flex; gap: 18px; margin-top: 14px; flex-wrap: wrap;
    font-size: 11.5px; color: var(--ink-500);
    font-family: 'JetBrains Mono', monospace;
  }
  .predict-legend span { display: inline-flex; align-items: center; gap: 7px; }
  .predict-legend .sw { width: 22px; height: 0; border-top: 2px solid var(--gold-400); }
  .predict-legend .sw.dash { border-top-style: dashed; border-color: var(--gold-500); }
  .predict-legend .sw.dot { border-top-style: dotted; border-color: var(--gold-700); border-top-width: 2.5px; }
  .predict-legend .sw.area { width: 16px; height: 10px; border: 1px solid var(--gold-300); background: rgba(31,95,191,.08); border-radius: 2px; }

  /* RISK SCORE TABLE */
  .risk-table {
    margin-top: 22px;
    border: 1px solid var(--navy-200); border-radius: var(--radius-md);
    overflow: hidden; background: white;
  }
  .risk-table .hdr {
    padding: 12px 14px; background: var(--navy-100);
    border-bottom: 1px solid var(--line);
    font-size: 12.5px; font-weight: 700; color: var(--navy-950);
    display: flex; justify-content: space-between; align-items: center;
  }
  .risk-table .hdr .total { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold-600); font-weight: 700; }
  .risk-table .row {
    padding: 10px 14px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--ink-700);
  }
  .risk-table .row + .row { border-top: 1px solid var(--line-soft); }
  .risk-table .row .pts { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 800; color: var(--gold-600); white-space: nowrap; }
  .risk-table .row .formula { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--ink-400); margin-left: 8px; }
  .risk-table .scale {
    padding: 11px 14px;
    background: var(--navy-50);
    border-top: 1px solid var(--line);
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    font-size: 11px; color: var(--ink-700);
  }
  .risk-table .scale span { display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; }
  .risk-table .scale .b {
    width: 20px; height: 20px; border-radius: 50%;
    display: grid; place-items: center; color: white;
    font-size: 10px; font-weight: 800;
  }
  .risk-table .scale .b.crit { background: #ef4444; }
  .risk-table .scale .b.high { background: #f59e0b; }
  .risk-table .scale .b.mod { background: #facc15; color: #422006; }

  /* ───── PROPAGATION BARS ───── */
  .prop {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
  }
  .prop-head { margin-bottom: 18px; }
  .prop-head h4 { font-size: 15px; font-weight: 700; color: var(--navy-950); }
  .prop-head .sub { font-size: 12px; color: var(--ink-400); margin-top: 4px; font-family: 'JetBrains Mono', monospace; }
  .prop-axis {
    display: grid; grid-template-columns: 180px 1fr 80px;
    gap: 12px;
    padding-bottom: 6px; margin-bottom: 8px;
    border-bottom: 1px dashed var(--line);
    font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-400);
  }
  .prop-axis .ticks { display: flex; justify-content: space-between; }
  .prop-row {
    display: grid; grid-template-columns: 180px 1fr 80px;
    gap: 12px; padding: 4px 0;
    align-items: center;
    font-size: 12px;
  }
  .prop-row .name {
    color: var(--ink-700); font-family: 'JetBrains Mono', monospace; font-size: 11px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .prop-row .barwrap {
    height: 17px; border-radius: 3px; background: var(--navy-50);
    position: relative; overflow: hidden;
  }
  .prop-row .bar {
    height: 100%; background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 7px; color: white;
    font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 800;
    border-radius: 3px;
  }
  .prop-row .bar.danger { background: linear-gradient(90deg, #f87171, #dc2626); }
  .prop-row .status {
    font-size: 10.5px; color: var(--ink-400);
    font-family: 'JetBrains Mono', monospace; white-space: nowrap;
  }
  .prop-row .status.late { color: #b42318; font-weight: 600; }

  /* ───── AGENTS GRID ───── */
  .agents-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  }
  .agent-card {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-md); padding: 18px;
    transition: var(--t);
  }
  .agent-card:hover { transform: translateY(-2px); border-color: var(--navy-300); box-shadow: var(--shadow-sm); }
  .agent-card .ah {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  }
  .agent-card .av {
    width: 34px; height: 34px; border-radius: 8px;
    display: grid; place-items: center;
    color: white; font-size: 11px; font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
  }
  .agent-card .av.a1 { background: var(--gold-500); }
  .agent-card .av.a2 { background: var(--navy-900); }
  .agent-card .av.a3 { background: var(--gold-600); }
  .agent-card .av.a4 { background: var(--navy-700); }
  .agent-card .av.a5 { background: var(--gold-400); }
  .agent-card .av.a6 { background: var(--navy-500); }
  .agent-card .nm { font-weight: 700; font-size: 14.5px; color: var(--navy-950); }
  .agent-card .ro { font-size: 11px; color: var(--ink-400); margin-top: 2px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
  .agent-card .desc { font-size: 13px; color: var(--ink-500); line-height: 1.5; }
  .agent-card .sample {
    margin-top: 12px; padding: 10px 12px;
    background: var(--navy-50); border-radius: var(--radius-sm);
    font-size: 12px; color: var(--navy-800);
    border-left: 3px solid var(--gold-400);
    line-height: 1.5;
  }
  .agent-card .sample strong { color: var(--navy-950); font-weight: 700; }
  .agent-card .sample .quote { color: var(--ink-500); font-style: italic; }
  .agent-card .pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.18); margin-left: auto; }

  /* ───── WHAT-IF SECTION : layout vertical ───── */
  .whatif-section .feat-block { grid-template-columns: 1fr; gap: 48px; }
  .whatif-section .feat-text { position: static; max-width: 900px; }
  .whatif-section .whatif-wrap { width: 100%; }

  /* ───── WHAT-IF TABLE ───── */
  .whatif {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  .whatif-head {
    padding: 18px 20px; background: var(--navy-100);
    border-bottom: 1px solid var(--line);
  }
  .whatif-head h4 { font-size: 15px; font-weight: 700; color: var(--navy-950); display: flex; align-items: center; gap: 10px; }
  .whatif-head h4 .qa { font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 3px 9px; background: var(--navy-200); color: var(--navy-800); border-radius: var(--radius-sm); font-weight: 700; }
  .whatif-head .sub { font-size: 12.5px; color: var(--ink-500); margin-top: 6px; line-height: 1.5; }

  .whatif-legend {
    padding: 14px 20px; background: #f8fafc;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px; color: var(--ink-600); line-height: 1.7;
  }
  .whatif-legend strong { color: var(--navy-950); font-weight: 700; }
  .whatif-legend em { font-style: italic; color: var(--ink-700); }
  .whatif-legend .lg-chip {
    font-family: 'JetBrains Mono', monospace;
    display: inline-block; padding: 1px 7px; border-radius: 4px;
    font-weight: 800; font-size: 11px; margin: 0 2px;
  }
  .whatif-legend .lg-up { background: #fee2e2; color: #991b1b; }
  .whatif-legend .lg-dn { background: #dcfce7; color: #15803d; }
  .whatif-legend .lg-flat { background: var(--navy-100); color: var(--ink-500); }

  .whatif table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .whatif th, .whatif td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--line-soft);
  }
  .whatif th {
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-500);
    background: white;
    vertical-align: top;
  }
  .whatif th .th-hint {
    display: block; font-size: 10px; font-weight: 500;
    text-transform: none; letter-spacing: 0;
    color: var(--ink-400); margin-top: 4px; font-style: italic;
  }
  .whatif td { vertical-align: top; }
  .whatif td:first-child { color: var(--navy-950); font-weight: 600; }
  .whatif td .sc-name {
    display: block; color: var(--navy-950); font-weight: 700;
    font-size: 13.5px; line-height: 1.3;
  }
  .whatif td .sc-desc {
    display: block; color: var(--ink-500); font-weight: 400;
    font-size: 11.5px; margin-top: 3px; line-height: 1.4;
  }
  .whatif td .sc-badge {
    display: inline-block; margin-top: 8px;
    font-size: 10px; font-weight: 800;
    padding: 3px 9px; border-radius: 4px;
    background: var(--success); color: white;
    letter-spacing: 0.04em; text-transform: uppercase;
  }
  .whatif tr.best { background: rgba(22,163,74,.06); }
  .whatif tr.best td:first-child { font-weight: 700; }
  .whatif tr.best .sc-name::before { content: '★ '; color: var(--success); font-weight: 800; }
  .whatif td .val { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--navy-900); }
  .whatif td .delta {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    padding: 2px 7px; border-radius: 4px; font-weight: 800;
    display: inline-block; margin-left: 6px;
  }
  .whatif .delta.up { background: #fee2e2; color: #991b1b; }
  .whatif .delta.dn { background: #dcfce7; color: #15803d; }
  .whatif .delta.flat { background: var(--navy-100); color: var(--ink-500); }
  .whatif tr:last-child td { border-bottom: 0; }
  .whatif-foot {
    padding: 14px 20px;
    background: var(--gold-50); border-top: 1px solid var(--gold-200);
    font-size: 12.5px; color: var(--gold-700);
    display: flex; align-items: center; gap: 10px;
  }
  .whatif-foot::before { content: '→'; font-family: 'JetBrains Mono', monospace; font-weight: 800; }

  /* ───── CONTRACT TIMELINE ───── */
  .contract {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
  }
  .contract-head { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .contract-head h4 { font-size: 15px; font-weight: 700; color: var(--navy-950); display: flex; align-items: center; gap: 10px; }
  .contract-head h4 .qa { font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 3px 9px; background: var(--navy-200); color: var(--navy-800); border-radius: var(--radius-sm); font-weight: 700; }
  .contract-head .meta { font-size: 11.5px; color: var(--ink-400); font-family: 'JetBrains Mono', monospace; }
  .contract-tl { position: relative; padding-left: 30px; }
  .contract-tl::before {
    content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px;
    width: 2px; background: var(--line);
  }
  .contract-item { position: relative; padding-bottom: 22px; }
  .contract-item:last-child { padding-bottom: 0; }
  .contract-item::before {
    content: ''; position: absolute; left: -28px; top: 4px;
    width: 20px; height: 20px; border-radius: 50%;
    background: white; border: 2px solid var(--navy-400);
  }
  .contract-item.ok::before { border-color: #16a34a; background: #16a34a; }
  .contract-item.warn::before { border-color: #f59e0b; background: #f59e0b; }
  .contract-item.crit::before { border-color: #ef4444; background: #ef4444; }
  .contract-item.future::before { background: white; border-color: var(--navy-300); }
  .contract-item .date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-400); letter-spacing: 0.04em; font-weight: 600; }
  .contract-item .title { font-size: 14px; font-weight: 700; color: var(--navy-950); margin-top: 3px; }
  .contract-item .desc { font-size: 12.5px; color: var(--ink-500); margin-top: 4px; line-height: 1.5; }
  .contract-item .tag {
    display: inline-block; margin-top: 8px;
    font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 4px;
    font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
  }
  .contract-item.ok .tag { background: #dcfce7; color: #15803d; }
  .contract-item.warn .tag { background: #fef3c7; color: #92400e; }
  .contract-item.crit .tag { background: #fee2e2; color: #991b1b; }
  .contract-item.future .tag { background: var(--navy-100); color: var(--ink-500); }

  @media (max-width: 1100px) {
    .feat-block { grid-template-columns: 1fr; gap: 36px; }
    .feat-text { position: static; }
    .audit-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .predict-kpis { grid-template-columns: repeat(2, 1fr); }
    .agents-grid { grid-template-columns: 1fr; }
    .prop-axis, .prop-row { grid-template-columns: 110px 1fr 64px; gap: 8px; }
    .whatif { overflow-x: auto; }
  }

  /* ───── TERRAIN <-> SIEGE ───── */
  .ts-mock {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
  }
  .ts-flow {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 18px; align-items: stretch;
  }
  .ts-panel {
    background: var(--navy-50);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    position: relative;
  }
  .ts-panel.field {
    background: linear-gradient(180deg, var(--gold-50), white);
    border-color: var(--gold-200);
  }
  .ts-panel .lab {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
  }
  .ts-panel .lab .ic {
    width: 28px; height: 28px; border-radius: 7px;
    background: var(--navy-900); color: white;
    display: grid; place-items: center;
    font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 800;
  }
  .ts-panel.field .lab .ic { background: var(--gold-500); }
  .ts-panel .lab .t { font-weight: 700; color: var(--navy-950); font-size: 14px; }
  .ts-panel .lab .sub { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; font-weight: 700; }
  .ts-card-list { display: grid; gap: 8px; }
  .ts-card {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 12px;
  }
  .ts-panel.field .ts-card { border-color: var(--gold-200); }
  .ts-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
  .ts-card .id { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--ink-400); font-weight: 700; letter-spacing: 0.02em; }
  .ts-card .tm { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--ink-400); font-weight: 600; }
  .ts-card .ttl { color: var(--navy-950); font-weight: 600; font-size: 12.5px; line-height: 1.4; }
  .ts-card .meta { color: var(--ink-500); font-size: 11.5px; margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
  .ts-card .stat {
    font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 3px;
    font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em;
  }
  .ts-card .stat.ok { background: #dcfce7; color: #15803d; }
  .ts-card .stat.warn { background: #fef3c7; color: #92400e; }
  .ts-card .stat.crit { background: #fee2e2; color: #991b1b; }
  .ts-card .stat.info { background: var(--gold-100); color: var(--gold-700); }
  .ts-card .photo {
    width: 100%; height: 70px;
    background:
      linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    border-radius: 4px;
    margin-top: 6px;
    position: relative; overflow: hidden;
  }
  .ts-card .photo::before {
    content: '🖼'; position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: 18px; color: rgba(255,255,255,.6);
  }
  .ts-card .photo .badge {
    position: absolute; bottom: 4px; left: 4px;
    background: rgba(10,35,66,.85); color: white;
    font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700;
    padding: 2px 5px; border-radius: 2px;
    letter-spacing: 0.03em;
  }

  /* Bridge column */
  .ts-bridge {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px;
    padding: 10px 4px;
    justify-content: center;
  }
  .ts-bridge .conn {
    width: 36px; height: 30px;
    border: 1.5px solid var(--gold-400);
    background: var(--gold-50);
    border-radius: 6px;
    display: grid; place-items: center;
    color: var(--gold-700);
    font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 800;
  }
  .ts-bridge .line {
    width: 2px; flex: 1; min-height: 28px;
    background: linear-gradient(180deg, var(--gold-400), var(--gold-200));
    border-radius: 1px;
    position: relative;
  }
  .ts-bridge .line::after,
  .ts-bridge .line::before {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%);
    width: 8px; height: 8px; background: var(--gold-500);
    border-radius: 50%;
  }
  .ts-bridge .line::before { top: 10%; }
  .ts-bridge .line::after { bottom: 10%; }
  .ts-bridge .arr {
    font-family: 'JetBrains Mono', monospace;
    color: var(--gold-600); font-weight: 800; font-size: 13px;
    letter-spacing: 0.04em;
  }
  .ts-latency {
    margin-top: 18px;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  }
  .ts-stat-card {
    background: var(--navy-900); color: white;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    position: relative; overflow: hidden;
  }
  .ts-stat-card .k {
    font-size: 10px; color: var(--gold-300);
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
  }
  .ts-stat-card .v {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px; font-weight: 800;
    margin-top: 4px; letter-spacing: -0.01em; line-height: 1.05;
  }
  .ts-stat-card .v .unit { font-size: 13px; opacity: .7; margin-left: 2px; }
  .ts-stat-card .s { font-size: 10.5px; color: var(--navy-300); margin-top: 2px; font-family: 'JetBrains Mono', monospace; }

  /* ───── COMPETITIVE MATRIX (SVG-based) ───── */
  .compet {
    background: var(--navy-950); color: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative; overflow: hidden;
  }
  .compet-head { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .compet-head .hd { font-size: 14px; font-weight: 700; color: white; display: flex; align-items: center; gap: 10px; }
  .compet-head .hd .qa { font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 3px 9px; background: var(--gold-500); color: white; border-radius: var(--radius-sm); font-weight: 700; letter-spacing: 0.06em; }
  .compet-head .sub { font-size: 11.5px; color: var(--navy-300); font-family: 'JetBrains Mono', monospace; }

  .compet-replay {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--navy-700);
    color: var(--gold-300);
    border-radius: var(--radius-pill);
    font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
    cursor: pointer; transition: var(--t);
    letter-spacing: 0.06em;
  }
  .compet-replay:hover { border-color: var(--gold-500); background: rgba(37,99,235,.10); }
  .compet-replay::before { content: '↻'; font-size: 14px; font-weight: 800; }

  .compet-svg-wrap {
    position: relative;
    background: var(--navy-900);
    border: 1px solid var(--navy-700);
    border-radius: var(--radius-md);
    padding: 12px;
  }
  .compet-svg { width: 100%; height: auto; display: block; }

  /* === Build-up animation (slowed for readability) === */
  .compet.playing .anim-axis  { animation: fadeUp .7s ease both .3s; }
  .compet.playing .anim-grid  { animation: fadeUp .55s ease both 1.0s; }
  .compet.playing .anim-c1    { animation: dotPop .6s cubic-bezier(.34,1.56,.64,1) both 1.5s; }
  .compet.playing .anim-c2    { animation: dotPop .6s cubic-bezier(.34,1.56,.64,1) both 2.0s; }
  .compet.playing .anim-c3    { animation: dotPop .6s cubic-bezier(.34,1.56,.64,1) both 2.5s; }
  .compet.playing .anim-c4    { animation: dotPop .6s cubic-bezier(.34,1.56,.64,1) both 3.0s; }
  .compet.playing .anim-c5    { animation: dotPop .6s cubic-bezier(.34,1.56,.64,1) both 3.5s; }
  .compet.playing .anim-zone  { animation: zoneIn 1s ease both 4.5s; }
  .compet.playing .anim-sherpa { animation: dotPop .7s cubic-bezier(.34,1.56,.64,1) both 5.6s; }
  .compet.playing .anim-pulse { animation: pulseRing 1.8s ease-out infinite 6.3s; opacity: 0; transform-origin: center; transform-box: fill-box; }
  .compet.playing .anim-callout { animation: fadeUp .7s ease both 6.4s; }
  .compet.playing .anim-progress { animation: progressBar 7s linear forwards .3s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes dotPop {
    0% { opacity: 0; transform: scale(0.2); transform-origin: center; transform-box: fill-box; }
    60% { opacity: 1; transform: scale(1.18); transform-origin: center; transform-box: fill-box; }
    100% { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; }
  }
  @keyframes zoneIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes pulseRing {
    0% { opacity: .55; transform: scale(0.6); transform-origin: center; transform-box: fill-box; }
    100% { opacity: 0; transform: scale(2.2); transform-origin: center; transform-box: fill-box; }
  }
  @keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
  }

  .compet-timeline {
    margin-top: 14px;
    background: var(--navy-900);
    border: 1px solid var(--navy-700);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: grid; gap: 8px;
  }
  .compet-timeline .bar {
    height: 4px; background: var(--navy-800); border-radius: 2px; overflow: hidden;
  }
  .compet-timeline .bar .fill {
    height: 100%; background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
    width: 0%;
    border-radius: 2px;
  }
  .compet-timeline .steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--navy-300);
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
  }
  .compet-timeline .steps span { display: flex; align-items: center; gap: 6px; }
  .compet-timeline .steps span::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--navy-600);
  }
  .compet.playing .steps span:nth-child(1)::before { animation: dotOn .3s forwards .3s; }
  .compet.playing .steps span:nth-child(2)::before { animation: dotOn .3s forwards 1.5s; }
  .compet.playing .steps span:nth-child(3)::before { animation: dotOn .3s forwards 4.5s; }
  .compet.playing .steps span:nth-child(4)::before { animation: dotOn .3s forwards 5.6s; }
  @keyframes dotOn {
    to { background: var(--gold-400); box-shadow: 0 0 0 3px rgba(217,165,46,.18); }
  }

  .compet-legend {
    margin-top: 16px;
    display: flex; gap: 28px; flex-wrap: wrap;
  }
  .compet-legend .item {
    display: flex; align-items: center; gap: 10px;
    font-size: 12.5px; color: var(--navy-200);
  }
  .compet-legend .item .sw {
    width: 14px; height: 14px; border-radius: 50%;
    background: #94a3b8;
  }
  .compet-legend .item .sw.gold {
    background: var(--gold-400); box-shadow: 0 0 0 3px rgba(37,99,235,.22);
  }
  .compet-legend .item strong { color: white; font-weight: 700; }

  @media (max-width: 1100px) {
    .ts-flow { grid-template-columns: 1fr; }
    .ts-bridge { flex-direction: row; padding: 4px 10px; }
    .ts-bridge .line { width: 100%; min-height: 0; height: 2px; background: linear-gradient(90deg, var(--gold-400), var(--gold-200)); }
    .ts-bridge .line::before { top: 50%; left: 10%; transform: translate(-50%,-50%); }
    .ts-bridge .line::after { top: 50%; left: auto; right: 10%; transform: translate(50%,-50%); }
  }

  /* ─────────── SECTORS ─────────── */
  .sectors-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  .sector {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 32px;
    position: relative; transition: var(--t);
    overflow: hidden;
  }
  .sector:hover { border-color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .sector::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gold-400); transform: scaleX(0); transform-origin: left;
    transition: transform 320ms cubic-bezier(.4,0,.2,1);
  }
  .sector:hover::before { transform: scaleX(1); }
  .sector-mark {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--navy-50); color: var(--navy-700);
    display: grid; place-items: center; margin-bottom: 18px;
  }
  .sector h3 { font-size: 19px; font-weight: 700; color: var(--navy-950); letter-spacing: -0.01em; }
  .sector p { margin-top: 8px; color: var(--ink-500); font-size: 14.5px; }
  .sector ul { margin-top: 16px; display: grid; gap: 6px; }
  .sector ul li {
    font-size: 13px; color: var(--ink-700);
    display: flex; align-items: center; gap: 8px;
    list-style: none;
  }
  .sector ul li::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: var(--gold-500);
  }

  /* ─────────── PRICING ─────────── */
  .pricing-toggle {
    display: inline-flex; padding: 4px; background: var(--navy-50);
    border-radius: var(--radius-pill); margin: 28px auto 0;
    border: 1px solid var(--line);
  }
  .pricing-toggle button {
    padding: 8px 18px; font: inherit; font-size: 13.5px; font-weight: 600;
    border: 0; background: transparent; cursor: pointer;
    border-radius: var(--radius-pill); color: var(--ink-700);
    transition: var(--t); display: inline-flex; align-items: center; gap: 8px;
  }
  .pricing-toggle button.on {
    background: white; color: var(--navy-900); box-shadow: var(--shadow-xs);
  }
  .save-pill {
    font-size: 11px; padding: 2px 8px;
    background: var(--gold-100); color: var(--gold-700);
    border-radius: var(--radius-pill); font-weight: 700;
  }

  .pricing-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-top: 48px;
    align-items: stretch;
  }
  .plan {
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex; flex-direction: column;
    position: relative;
    transition: var(--t);
  }
  .plan:hover { border-color: var(--navy-300); }

  .plan.featured {
    border-color: var(--navy-900);
    box-shadow: var(--shadow-md);
  }
  .plan.featured::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--navy-900) 0%, transparent 30%);
    padding: 1px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
  }
  .plan.gold {
    border-color: var(--gold-400);
  }
  .plan.gold::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--gold-400) 0%, transparent 30%);
    padding: 1px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
  }

  .plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--navy-900); color: white;
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 5px 14px; border-radius: var(--radius-pill);
  }

  .plan-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--navy-600);
  }
  .plan.gold .plan-label { color: var(--gold-600); }

  .plan-name {
    margin-top: 8px;
    font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
    color: var(--navy-950);
  }
  .plan-desc {
    margin-top: 10px;
    font-size: 13.5px; color: var(--ink-500); line-height: 1.55;
    min-height: 64px;
  }

  .plan-price {
    margin-top: 18px;
    display: flex; align-items: baseline; gap: 4px;
  }
  .plan-price .amount {
    font-size: 44px; font-weight: 700; letter-spacing: -0.03em;
    color: var(--navy-950); line-height: 1;
  }
  .plan.gold .plan-price .amount { color: var(--gold-600); }
  .plan-price .euro { font-size: 26px; font-weight: 700; color: inherit; }
  .plan-cadence {
    margin-top: 8px; font-size: 12.5px; color: var(--ink-500);
  }

  .plan-annual {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--navy-50);
    border: 1px solid var(--line);
    font-size: 12.5px; color: var(--ink-700);
    display: flex; align-items: center; gap: 8px;
  }
  .plan-annual .icon {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--gold-100); color: var(--gold-700);
    display: grid; place-items: center; font-size: 11px;
    flex-shrink: 0;
  }
  .plan-warn {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    font-size: 12.5px; color: var(--gold-700);
    display: flex; align-items: flex-start; gap: 8px;
  }
  .plan-warn::before {
    content: '!'; width: 18px; height: 18px; border-radius: 50%;
    background: var(--gold-400); color: white;
    display: grid; place-items: center; font-size: 11px; font-weight: 800;
    flex-shrink: 0;
  }

  .plan-includes {
    margin-top: 18px;
    padding: 14px; border-radius: var(--radius-md);
    background: var(--navy-50);
    border: 1px solid var(--line-soft);
  }
  .plan-includes .heading {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-500); margin-bottom: 10px;
  }
  .plan-includes .row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 0; font-size: 13px;
  }
  .plan-includes .row + .row { border-top: 1px solid var(--line-soft); }
  .plan-includes .row .k { color: var(--ink-700); }
  .plan-includes .row .v {
    font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 600;
    padding: 3px 8px; border-radius: var(--radius-sm);
    background: white; border: 1px solid var(--line); color: var(--navy-800);
    white-space: nowrap;
  }
  .plan-includes .row .v.no { color: var(--ink-400); }
  .plan-includes .row .v.unlimited { color: var(--navy-700); }
  .plan-includes .row .v.disc { color: var(--navy-600); }

  .plan-features { margin-top: 18px; display: grid; gap: 9px; }
  .plan-features li {
    list-style: none;
    font-size: 13.5px; color: var(--ink-700);
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.45;
  }
  .plan-features li::before {
    content: ''; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;
    background: var(--success);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat,
                linear-gradient(white,white);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat;
    flex-shrink: 0;
    /* fallback simpler */
  }
  .plan-features li {
    position: relative;
    padding-left: 24px;
  }
  .plan-features li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(15,143,93,.10); color: var(--success);
    display: grid; place-items: center;
    font-size: 11px; font-weight: 800;
    margin-top: 1px;
    -webkit-mask: none; mask: none;
  }

  .plan-cta { margin-top: auto; padding-top: 22px; }
  .plan-cta .btn { width: 100%; justify-content: center; }

  /* ─────────── COMPARE TABLE PREVIEW ─────────── */
  .compare-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 32px auto 0;
    padding: 12px 20px;
    background: white; border: 1px solid var(--line);
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
    color: var(--navy-900); cursor: pointer; transition: var(--t);
  }
  .compare-link:hover { border-color: var(--navy-900); transform: translateY(-1px); }

  /* ─────────── FAQ ─────────── */
  .faq-grid {
    display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
    max-width: 1240px; margin: 0 auto;
  }
  .faq-aside h2 {
    font-size: clamp(28px, 3vw, 38px); font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.1; color: var(--navy-950);
  }
  .faq-aside p { margin-top: 14px; color: var(--ink-500); font-size: 16px; }
  .faq-aside .btn { margin-top: 22px; }
  .faq-list { display: grid; gap: 0; }
  .faq-item {
    border-top: 1px solid var(--line);
    padding: 22px 0;
  }
  .faq-item:last-child { border-bottom: 1px solid var(--line); }
  .faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    font-size: 17px; font-weight: 600; color: var(--navy-950);
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: ''; width: 24px; height: 24px;
    background:
      linear-gradient(var(--navy-900),var(--navy-900)) center/12px 1.5px no-repeat,
      linear-gradient(var(--navy-900),var(--navy-900)) center/1.5px 12px no-repeat;
    transition: var(--t);
    flex-shrink: 0;
  }
  .faq-item[open] summary::after {
    background:
      linear-gradient(var(--navy-900),var(--navy-900)) center/12px 1.5px no-repeat;
    transform: rotate(180deg);
  }
  .faq-item p {
    margin-top: 12px; font-size: 15px; color: var(--ink-500); line-height: 1.6;
    max-width: 60ch;
  }

  /* ─────────── CTA ─────────── */
  .cta-final {
    margin: 0 32px 64px;
    background: var(--navy-950); color: white;
    border-radius: var(--radius-xl);
    padding: 80px 48px; text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-final::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(700px 300px at 80% -10%, rgba(59,130,246,.22), transparent 60%),
      radial-gradient(500px 300px at 20% 110%, rgba(31,95,191,.45), transparent 60%);
    pointer-events: none;
  }
  .cta-final-inner { position: relative; max-width: 640px; margin: 0 auto; }
  .cta-final h2 {
    font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.1; text-wrap: balance;
  }
  .cta-final h2 .gold { color: var(--gold-300); }
  .cta-final p { margin-top: 18px; font-size: 17px; color: var(--navy-300); }
  .cta-final-ctas { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .cta-final .btn-primary { background: var(--gold-500); color: white; }
  .cta-final .btn-primary:hover { background: var(--gold-400); }
  .cta-final .btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,.2); }
  .cta-final .btn-outline:hover { border-color: white; background: rgba(255,255,255,.05); }

  /* ─────────── FOOTER ─────────── */
  footer {
    background: white; border-top: 1px solid var(--line);
    padding: 64px 32px 32px;
  }
  .footer-inner { max-width: 1240px; margin: 0 auto; }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line);
  }
  .footer-grid h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--ink-400); margin-bottom: 18px;
  }
  .footer-grid ul { display: grid; gap: 10px; list-style: none; }
  .footer-grid a {
    font-size: 14px; color: var(--ink-700);
  }
  .footer-grid a:hover { color: var(--navy-900); }
  .footer-brand p { margin-top: 16px; color: var(--ink-500); font-size: 14px; max-width: 32ch; line-height: 1.55; }
  .footer-bottom {
    padding-top: 28px;
    display: flex; align-items: center; justify-content: space-between;
    color: var(--ink-400); font-size: 13px; flex-wrap: wrap; gap: 16px;
  }
  .footer-bottom .badges { display: flex; gap: 12px; }
  .footer-bottom .badge {
    padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill);
    font-size: 11.5px; font-weight: 600; color: var(--ink-700);
    display: inline-flex; align-items: center; gap: 6px;
  }

  /* ─────────── RESPONSIVE ─────────── */
  @media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(4, 1fr); }
    .b-big { grid-column: span 4; }
    .b-md  { grid-column: span 2; }
    .b-sm  { grid-column: span 2; }
    .b-lg  { grid-column: span 4; }
    .sectors-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .insight { right: 16px; bottom: 16px; max-width: 260px; font-size: 12px; }
  }
  @media (max-width: 1024px) {
    .nav-links { display: none; }
  }
  @media (max-width: 720px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; }
    .b-big, .b-md, .b-sm, .b-lg { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 64px 24px; }
    .hero { padding: 48px 24px 40px; }
    .strip-inner { flex-direction: column; gap: 20px; }
    .gantt { grid-template-columns: 120px 1fr; font-size: 12px; }
    .gantt-label { padding-right: 8px; font-size: 12px; }
    .insight { display: none; }
  }
