    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #ffffff;
      --bg-card: #ffffff;
      --bg-soft: #f4f6fb;
      --border: #e6e8f2;
      --border-mid: #d6dae9;
      --text: #0b1020;
      --text-muted: #56607b;
      --text-dim: #8a92a8;
      --accent: #5468ff;
      --accent-hover: #4150f0;
      --green: #0f9b66;
      --aura1: #5468ff;
      --aura2: #8b5cf6;
      --aura3: #19c39a;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
      font-size: 1rem;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

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

    /* ── Layout ── */
    .container { max-width: 1080px; margin: 0 auto; padding: 0 1.75rem; }

    /* ── Nav ── */
    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.5rem 0;
    }
    .nav-logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; }
    .nav-logo img { height: 1.6rem; width: auto; display: block; }
    .nav-links { display: flex; gap: 1.2rem; align-items: center; }
    .nav-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.15s; }
    .nav-links a:hover { color: var(--text); }
    .btn-primary {
      background: var(--accent);
      color: #fff;
      padding: 0.5rem 1.1rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: background 0.15s;
    }
    .btn-primary:hover { background: var(--accent-hover); color: #fff; }

    /* ── Hero ── */
    .hero { padding: 5rem 0 4rem; }
    .hero-label {
      letter-spacing: 0.2em;
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }
    .hero h1 {
      font-size: clamp(2.4rem, 5.4vw, 4rem);
      font-weight: 800;
      line-height: 1.06;
      letter-spacing: -0.025em;
      max-width: 18ch;
      margin-bottom: 1.5rem;
    }
    .hero p {
      font-size: 1.15rem;
      color: var(--text-muted);
      line-height: 1.7;
      max-width: 600px;
      margin-bottom: 2.5rem;
    }
    .hero-sub {
      font-size: 0.8rem;
      color: var(--text-dim);
      letter-spacing: 0.04em;
      font-weight: 500;
      margin-bottom: 1.8rem;
    }

    /* ── CTAs ── */
    .cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
    .btn-lg {
      display: inline-block;
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      transition: background 0.15s, border-color 0.15s;
    }
    .btn-lg.filled { background: var(--accent); color: #fff; }
    .btn-lg.filled:hover { background: var(--accent-hover); }
    .btn-lg.outline { border: 1px solid var(--border-mid); color: var(--text); }
    .btn-lg.outline:hover { border-color: var(--text-muted); }

    /* ── Feature cards ── */
    .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.2rem;
      margin: 4rem 0;
    }
    .card {
      padding: 1.4rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--bg-card);
    }
    .card-icon { font-size: 1.5rem; margin-bottom: 0.7rem; }
    .card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
    .card p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }

    /* ── Models ── */
    .models { border-top: 1px solid var(--border); padding-top: 2.5rem; margin-bottom: 3rem; }
    .models h2 { font-size: 1rem; color: var(--text-muted); font-weight: 600; margin-bottom: 1.2rem; }
    .model-list { display: flex; flex-direction: column; gap: 8px; }
    .model-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0.7rem 1rem;
      border: 1px solid var(--border);
      border-radius: 8px;
      flex-wrap: wrap;
    }
    .model-name {
      font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
      background: #070b1c;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      font-size: 0.82rem;
    }
    .badge {
      font-size: 0.68rem;
      font-weight: 700;
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
    }
    .badge.green { color: var(--green); background: #9fe7c015; }
    .badge.gray  { color: var(--text-muted); background: #7c8db515; }
    .badge.cloud { color: var(--accent-hover); background: #5468ff1a; }
    .model-desc { color: var(--text-dim); font-size: 0.82rem; }

    /* ── Code inline ── */
    code {
      font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
      background: #070b1c;
      border: 1px solid var(--border);
      padding: 0.05rem 0.35rem;
      border-radius: 4px;
      font-size: 0.85em;
      color: var(--text);
    }

    /* ── Footer ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 2rem 0 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.8rem;
    }
    footer span { color: var(--text-dim); font-size: 0.82rem; }
    .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
    .footer-links a { color: var(--text-dim); font-size: 0.82rem; transition: color 0.15s; }
    .footer-links a:hover { color: var(--text-muted); }

    /* ── Benchmark / Positionnement ── */
    .benchmark { margin: 3rem 0 3.5rem; }
    .section-label {
      letter-spacing: 0.15em;
      color: var(--text-dim);
      font-size: 0.72rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
      text-transform: uppercase;
    }
    .benchmark > h2 {
      font-size: clamp(1.55rem, 2.8vw, 2.2rem);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.018em;
      max-width: 16ch;
      margin-bottom: 0.7rem;
    }
    .benchmark > p {
      color: var(--text-muted);
      font-size: 1.02rem;
      line-height: 1.65;
      max-width: 650px;
      margin-bottom: 2.2rem;
    }
    .quality-banner {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.3rem;
      border: 1px solid var(--border-mid);
      border-radius: 10px;
      background: var(--bg-card);
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }
    .quality-score {
      font-size: 2rem;
      font-weight: 800;
      color: var(--green);
      line-height: 1;
    }
    .quality-info { flex: 1; min-width: 180px; }
    .quality-info strong { font-size: 0.9rem; display: block; margin-bottom: 0.2rem; }
    .quality-info span { color: var(--text-muted); font-size: 0.82rem; }
    .quality-equiv {
      font-size: 0.82rem;
      color: var(--text-muted);
      padding: 0.4rem 0.9rem;
      border: 1px solid var(--border);
      border-radius: 6px;
      white-space: nowrap;
    }
    .quality-equiv strong { color: var(--text); }

    /* Prix */
    .pricing-block { margin-bottom: 2rem; }
    .pricing-block h3 { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.8rem; }
    .price-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
    .price-table th {
      text-align: left;
      color: var(--text-dim);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0 0.8rem 0.5rem;
      border-bottom: 1px solid var(--border);
    }
    .price-table td {
      padding: 0.55rem 0.8rem;
      border-bottom: 1px solid var(--border);
      color: var(--text-muted);
      vertical-align: middle;
    }
    .price-table tr.ours td { color: var(--text); }
    .price-table tr.ours td:first-child { font-weight: 600; }
    .price-table td.num { font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; }
    .price-table td.sovereign { font-size: 0.78rem; }
    .price-note { color: var(--text-dim); font-size: 0.72rem; margin-top: 0.6rem; }

    /* Limitations */
    .limits-block h3 { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.8rem; }
    .limits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .limit-card {
      padding: 1rem 1.2rem;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-card);
    }
    .limit-card .card-title {
      font-size: 0.82rem;
      font-weight: 700;
      margin-bottom: 0.6rem;
    }
    .limit-card .card-title.ok { color: var(--green); }
    .limit-card .card-title.warn { color: #ffb86b; }
    .limit-card ul { padding-left: 1rem; }
    .limit-card li { color: var(--text-muted); font-size: 0.8rem; line-height: 1.7; }
    .limit-note {
      margin-top: 0.9rem;
      font-size: 0.78rem;
      color: var(--text-dim);
      line-height: 1.6;
    }

    @media (max-width: 600px) {
      .limits-grid { grid-template-columns: 1fr; }
      .quality-banner { flex-direction: column; align-items: flex-start; }
    }
    @media (max-width: 540px) {
      .model-row { flex-direction: column; align-items: flex-start; }
    }

    /* ── Visual polish ── */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(52rem 34rem at 82% -10%, #8b5cf61f, transparent 60%),
        radial-gradient(46rem 32rem at 6% -4%, #19c39a1c, transparent 58%),
        radial-gradient(60rem 40rem at 48% -12%, #5468ff18, transparent 60%);
      pointer-events: none;
    }

    /* Eyebrow pill */
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent-hover);
      background: #5468ff14;
      border: 1px solid #5468ff33;
      padding: 0.35rem 0.85rem;
      border-radius: 999px;
      margin-bottom: 1.4rem;
    }
    .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

    /* Hero stat strip */
    .hero-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      margin-top: 3.2rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      background: var(--border);
    }
    @media (max-width: 600px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
    .hero-stats .stat { background: var(--bg-card); padding: 1.1rem 1.25rem; }
    .hero-stats .big { font-size: 1.5rem; font-weight: 800; color: var(--text); line-height: 1.1; }
    .hero-stats .big .unit { font-size: 0.85rem; font-weight: 700; color: var(--accent-hover); }
    .hero-stats .lbl { font-size: 0.74rem; color: var(--text-muted); margin-top: 0.35rem; line-height: 1.4; }

    /* Card upgrade */
    .card { transition: transform 0.15s ease, border-color 0.15s ease; }
    .card:hover { transform: translateY(-3px); border-color: var(--border-mid); }
    .card-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.6rem;
      height: 2.6rem;
      border-radius: 10px;
      background: #5468ff14;
      border: 1px solid var(--border);
      margin-bottom: 0.9rem;
    }

    /* Highlighted "ours" row in the price table */
    .price-table tr.ours { background: #5468ff10; }

    /* Conformité pipeline */
    .pipeline {
      display: flex;
      align-items: stretch;
      gap: 0.35rem;
      flex-wrap: wrap;
      margin: 0 0 2rem;
    }
    .pipe-step {
      flex: 1;
      min-width: 88px;
      padding: 0.9rem 0.5rem;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-card);
      text-align: center;
    }
    .pipe-step .pi { font-size: 1.3rem; display: block; margin-bottom: 0.4rem; }
    .pipe-step .pt { font-size: 0.78rem; font-weight: 600; color: var(--text); display: block; }
    .pipe-step .ps { font-size: 0.68rem; color: var(--text-dim); margin-top: 0.15rem; display: block; }
    .pipe-step.guard { border-color: #9fe7c033; background: #9fe7c008; }
    .pipe-step.endpoint { border-color: #5468ff40; background: #5468ff12; }
    .pipe-arrow { align-self: center; color: var(--text-dim); font-size: 1.1rem; font-weight: 700; }

    /* Carbon comparison */
    .carbon-viz {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 1.6rem;
      align-items: center;
      padding: 1.7rem;
    }
    .carbon-bars { display: flex; flex-direction: column; gap: 1.1rem; }
    .carbon-row .cl { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.4rem; display: flex; justify-content: space-between; gap: 1rem; }
    .carbon-track { height: 15px; border-radius: 999px; background: #ffffff0a; overflow: hidden; }
    .carbon-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.3s cubic-bezier(.5,0,.2,1); }
    .carbon-fill.fr { background: linear-gradient(90deg, var(--green), #6fd6a0); }
    .carbon-fill.us { background: linear-gradient(90deg, #ff6b6b, #ffa06b); }
    .reveal.in .carbon-fill.fr { width: 15%; }
    .reveal.in .carbon-fill.us { width: 100%; transition-delay: 0.15s; }
    .carbon-side p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }
    @media (max-width: 600px) { .carbon-viz { grid-template-columns: 1fr; } }

    /* ══════════════════════════════════════════
       Nouvelle couche visuelle & interactive
       ══════════════════════════════════════════ */

    /* Fond animé : grille + halos qui dérivent */
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(60% 50% at 50% 0%, #000 0%, transparent 75%);
      -webkit-mask-image: radial-gradient(60% 50% at 50% 0%, #000 0%, transparent 75%);
      opacity: 0.4;
      pointer-events: none;
    }
    @media (prefers-reduced-motion: no-preference) {
      body::before { animation: drift 22s ease-in-out infinite alternate; }
    }
    @keyframes drift {
      from { transform: translate3d(0,0,0) scale(1); }
      to   { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
    }

    /* Reveal au scroll */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
      will-change: opacity, transform;
    }
    .reveal.in { opacity: 1; transform: none; }
    .reveal[data-delay="1"] { transition-delay: 0.08s; }
    .reveal[data-delay="2"] { transition-delay: 0.16s; }
    .reveal[data-delay="3"] { transition-delay: 0.24s; }
    @media (prefers-reduced-motion: reduce) {
      .reveal { opacity: 1; transform: none; transition: none; }
    }

    /* Breakout : composants plus larges que la colonne de texte */
    .breakout { max-width: 1080px; margin-left: auto; margin-right: auto; }

    /* ── Bandes de section (rythme façon Stripe) ── */
    .band { position: relative; padding: 3rem 0; }
    .band > * { position: relative; z-index: 1; }
    .band::before {
      content: ""; position: absolute; z-index: 0; top: 0; bottom: 0;
      left: 50%; transform: translateX(-50%); width: var(--vw, 100vw); pointer-events: none;
    }
    .band-soft::before {
      background: linear-gradient(180deg, #0a1124, #080c1b);
      border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    }
    .band-accent::before {
      background:
        radial-gradient(58rem 26rem at 50% -12%, #5468ff24, transparent 60%),
        radial-gradient(46rem 28rem at 88% 112%, #9fe7c016, transparent 60%),
        linear-gradient(180deg, #0a1426, #080f1f);
      border-top: 1px solid var(--border-mid); border-bottom: 1px solid var(--border-mid);
    }
    /* l'espacement vertical est porté par .band ; on neutralise les marges internes */
    .band > .container > section, .band > .container > div { margin-top: 0; margin-bottom: 0; }
    .band > .container > section:not(:last-child), .band > .container > div:not(:last-child) { margin-bottom: 3rem; }
    /* pas de marge résiduelle sous le dernier élément d'une bande (sinon vide gris) */
    .band > .container > section > :last-child, .band > .container > div > :last-child { margin-bottom: 0; }
    @media (max-width: 600px) { .band { padding: 2.25rem 0; } }

    /* ── Aperçu du portail (dashboard mock) ── */
    .dash {
      margin: 3.5rem 0 1rem;
      border: 1px solid var(--border-mid);
      border-radius: 16px;
      background: linear-gradient(180deg, #0c1226, #090d1c);
      box-shadow: 0 30px 80px -40px #000, 0 0 0 1px #ffffff05 inset;
      overflow: hidden;
    }
    .dash-top {
      display: flex; align-items: center; gap: 0.6rem;
      padding: 0.8rem 1.1rem;
      border-bottom: 1px solid var(--border);
      background: #0a0f1f;
    }
    .dash-dots { display: flex; gap: 6px; }
    .dash-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
    .dash-dots i:nth-child(1){ background:#ff5f57; } .dash-dots i:nth-child(2){ background:#febc2e; } .dash-dots i:nth-child(3){ background:#28c840; }
    .dash-url {
      margin-left: 0.4rem; font-size: 0.74rem; color: var(--text-dim);
      font-family: ui-monospace, monospace;
      background: #070b1c; border: 1px solid var(--border);
      padding: 0.2rem 0.7rem; border-radius: 6px;
    }
    .dash-live { margin-left: auto; font-size: 0.68rem; color: var(--green); display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; letter-spacing: 0.04em; }
    .dash-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); }
    @media (prefers-reduced-motion: no-preference) { .dash-live .pulse { animation: pulse 2s infinite; } }
    @keyframes pulse { 0%{box-shadow:0 0 0 0 #9fe7c066;} 70%{box-shadow:0 0 0 7px #9fe7c000;} 100%{box-shadow:0 0 0 0 #9fe7c000;} }

    .dash-body { padding: 1.3rem; display: grid; gap: 1.1rem; }
    .kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
    .kpi {
      border: 1px solid var(--border); border-radius: 12px;
      padding: 1rem 1.1rem; background: #0a1020;
    }
    .kpi .kl { font-size: 0.72rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.5rem; }
    .kpi .kv { font-size: 1.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
    .kpi .kd { font-size: 0.7rem; margin-top: 0.45rem; font-weight: 600; }
    .kpi .kd.up { color: var(--green); } .kpi .kd.down { color: #ff9a9a; }

    .dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.1rem; }
    .panel { border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; background: #0a1020; }
    .panel-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.9rem; }
    .panel-h h4 { font-size: 0.82rem; font-weight: 600; }
    .panel-h .sub { font-size: 0.7rem; color: var(--text-dim); }

    /* Aire (courbe conso) */
    .area-svg { width: 100%; height: 130px; display: block; overflow: visible; }
    .area-svg .grid-line { stroke: var(--border); stroke-width: 1; }
    .area-line { fill: none; stroke: var(--accent-hover); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
      stroke-dasharray: 1200; stroke-dashoffset: 1200; }
    .in .area-line { animation: draw 1.6s cubic-bezier(.5,0,.2,1) forwards; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    @media (prefers-reduced-motion: reduce) { .area-line { stroke-dashoffset: 0; animation: none; } }
    .area-dot { fill: var(--accent-hover); opacity: 0; }
    .in .area-dot { animation: fadein 0.4s ease 1.4s forwards; }
    @keyframes fadein { to { opacity: 1; } }

    /* Donut (usage par modèle) */
    .donut-wrap { display: flex; align-items: center; gap: 0.9rem; }
    .donut { --deg: 0deg; width: 100px; height: 100px; flex: none; border-radius: 50%;
      background: conic-gradient(var(--accent) 0 var(--p1), #5db0ff var(--p1) var(--p2), var(--green) var(--p2) 100%);
      -webkit-mask: radial-gradient(circle 32px at center, transparent 98%, #000 100%);
      mask: radial-gradient(circle 32px at center, transparent 98%, #000 100%);
      transform: rotate(-90deg) scale(0.6); opacity: 0;
      transition: transform 0.8s cubic-bezier(.2,.8,.2,1), opacity 0.6s ease;
    }
    .in .donut { transform: rotate(-90deg) scale(1); opacity: 1; }
    .donut-legend { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.72rem; flex: 1; min-width: 0; }
    .donut-legend .li { display: flex; align-items: center; gap: 0.45rem; color: var(--text-muted); white-space: nowrap; }
    .donut-legend .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
    .donut-legend b { color: var(--text); margin-left: auto; font-variant-numeric: tabular-nums; padding-left: 0.4rem; }

    /* Mini-table activité */
    .mini-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
    .mini-table th { text-align: left; color: var(--text-dim); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 0.6rem 0.5rem; }
    .mini-table td { padding: 0.5rem 0.6rem; border-top: 1px solid var(--border); color: var(--text-muted); }
    .mini-table td.num { font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; text-align: right; }
    .mini-table .mname { font-family: ui-monospace, monospace; color: var(--text); font-size: 0.74rem; }
    .tag-sov { font-size: 0.62rem; font-weight: 700; color: var(--green); background: #9fe7c012; padding: 0.1rem 0.4rem; border-radius: 4px; margin-left: 0.4rem; }
    .tag-cloud { font-size: 0.62rem; font-weight: 700; color: var(--accent-hover); background: #5468ff14; padding: 0.1rem 0.4rem; border-radius: 4px; margin-left: 0.4rem; }

    @media (max-width: 760px) {
      .dash-grid { grid-template-columns: 1fr; }
      .kpi-row { grid-template-columns: 1fr 1fr; }
      .dash-body { padding: 0.9rem; }
      .kpi { padding: 0.8rem 0.9rem; }
      .kpi .kv { font-size: 1.3rem; }
    }
    @media (max-width: 460px) {
      .kpi-row { grid-template-columns: 1fr; }
      .mini-table { font-size: 0.72rem; }
      .mini-table th, .mini-table td { padding-left: 0.35rem; padding-right: 0.35rem; }
      .mini-table th:nth-child(5), .mini-table td:nth-child(5) { display: none; }
      .mini-table td:nth-child(2) { display: none; }
      .mini-table th:nth-child(2) { display: none; }
    }

    /* ── Calculateur coût + carbone ── */
    .calc {
      border: 1px solid var(--border-mid); border-radius: 16px;
      background: linear-gradient(180deg, #0c1226, #090d1c);
      padding: 1.7rem; margin-top: 1.5rem;
    }
    .calc-control { margin-bottom: 1.6rem; }
    .calc-control label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.8rem; }
    .calc-control .cval { font-size: 1.15rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
    .calc-control .cval .u { font-size: 0.8rem; font-weight: 600; color: var(--accent-hover); }
    input[type="range"].slider {
      -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
      background: linear-gradient(90deg, var(--accent) var(--fill,30%), var(--border-mid) var(--fill,30%));
      outline: none; cursor: pointer;
    }
    input[type="range"].slider::-webkit-slider-thumb {
      -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
      background: #fff; border: 4px solid var(--accent); cursor: grab; box-shadow: 0 2px 10px #0008;
      transition: transform 0.1s;
    }
    input[type="range"].slider::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
    input[type="range"].slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: grab; }
    .calc-presets { display: flex; gap: 0.5rem; margin-top: 0.9rem; flex-wrap: wrap; }
    .calc-preset { font-size: 0.72rem; color: var(--text-muted); border: 1px solid var(--border); background: #0a1020; padding: 0.3rem 0.7rem; border-radius: 999px; cursor: pointer; transition: all 0.15s; }
    .calc-preset:hover { border-color: var(--border-mid); color: var(--text); }
    .calc-preset.active { border-color: var(--accent); color: var(--text); background: #5468ff14; }

    .calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .calc-card { border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; background: #0a1020; position: relative; }
    .calc-card.win { border-color: #9fe7c040; background: #9fe7c008; }
    .calc-card .cc-h { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.7rem; }
    .calc-card .cc-v { font-size: 1.7rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
    .calc-card .cc-v .u { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
    .calc-card .cc-s { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.5rem; }
    .calc-card .cc-badge { position: absolute; top: 0.9rem; right: 0.9rem; font-size: 0.62rem; font-weight: 700; color: var(--green); background: #9fe7c012; padding: 0.15rem 0.5rem; border-radius: 999px; }
    .calc-note { font-size: 0.72rem; color: var(--text-dim); margin-top: 1.1rem; line-height: 1.6; }
    @media (max-width: 680px) { .calc-out { grid-template-columns: 1fr; } }

    /* Table de prix scrollable sur mobile */
    .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    @media (max-width: 540px) { .table-scroll .price-table { min-width: 460px; } }

    /* ── Pipeline interactif (Conformité) ── */
    .flow { display: flex; align-items: stretch; gap: 0.35rem; flex-wrap: wrap; margin: 1.4rem 0 0.6rem; }
    .flow-step {
      flex: 1; min-width: 90px; padding: 0.9rem 0.5rem; border: 1px solid var(--border);
      border-radius: 12px; background: var(--bg-card); text-align: center; font: inherit; color: inherit;
      transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; position: relative;
    }
    button.flow-step { cursor: pointer; }
    .flow-step .pi { font-size: 1.3rem; display: block; margin-bottom: 0.4rem; }
    .flow-step .pt { font-size: 0.78rem; font-weight: 600; color: var(--text); display: block; }
    .flow-step .ps { font-size: 0.68rem; color: var(--text-dim); margin-top: 0.15rem; display: block; }
    .flow-step.endpoint { border-color: #5468ff33; background: #5468ff10; }
    button.flow-step:hover { transform: translateY(-2px); border-color: var(--border-mid); }
    button.flow-step.active {
      border-color: var(--accent); background: #5468ff1c;
      box-shadow: 0 0 0 1px var(--accent) inset, 0 14px 34px -18px var(--accent);
    }
    button.flow-step.active::after {
      content: ""; position: absolute; left: 50%; bottom: -0.6rem; transform: translateX(-50%);
      width: 0; height: 0;
      border-left: 9px solid transparent; border-right: 9px solid transparent;
      border-top: 9px solid var(--accent);
    }
    @media (prefers-reduced-motion: no-preference) { button.flow-step.active::after { transition: none; } }
    .flow-arrow { align-self: center; color: var(--text-dim); font-size: 1.1rem; font-weight: 700; }

    .flow-detail {
      border: 1px solid var(--border-mid); border-radius: 14px;
      background: linear-gradient(180deg, #0c1226, #090d1c); padding: 1.3rem 1.5rem; min-height: 116px;
    }
    .fd { display: none; }
    .fd.active { display: grid; grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: center; animation: fadein .32s ease; }
    .fd-ic { width: 3rem; height: 3rem; border-radius: 12px; background: #5468ff14; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex: none; }
    .fd-body h3 { font-size: 1rem; margin-bottom: 0.35rem; }
    .fd-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
    .fd-ex { display: flex; flex-direction: column; gap: 0.5rem; flex: none; }
    .ex-row { display: flex; align-items: center; gap: 0.5rem; font-family: ui-monospace, monospace; font-size: 0.72rem; white-space: nowrap; }
    .ex-row code { background: #070b1c; border: 1px solid var(--border); padding: 0.2rem 0.45rem; border-radius: 5px; color: var(--text-muted); }
    .ex-row .ex-out { color: var(--green); border-color: #9fe7c033; background: #9fe7c00d; }
    .ex-row .ex-out.block { color: #ff9a9a; border-color: #ff6b6b33; background: #ff6b6b0d; }
    .ex-row .ex-out.sov { color: var(--accent-hover); border-color: #5468ff44; background: #5468ff12; }
    .ex-arrow { color: var(--text-dim); }

    @media (max-width: 640px) {
      .fd.active { grid-template-columns: 1fr; gap: 0.9rem; }
      .fd-ic { width: 2.6rem; height: 2.6rem; }
    }

    /* ── Explorateur (RAG) ── */
    .xplor {
      display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 0.6rem;
      border: 1px solid var(--border-mid); border-radius: 16px;
      background: linear-gradient(180deg, #0c1226, #090d1c); padding: 0.7rem; margin: 1.4rem 0 1.1rem;
    }
    .xplor-menu { display: flex; flex-direction: column; gap: 3px; }
    .xplor-item { display: flex; gap: 0.7rem; align-items: center; text-align: left; width: 100%; padding: 0.65rem 0.7rem; border: 1px solid transparent; border-radius: 10px; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
    .xplor-item:hover { background: #ffffff05; }
    .xplor-item.active { background: #5468ff14; border-color: #5468ff40; }
    .xplor-item .xi-ic { font-size: 1.05rem; width: 1.9rem; height: 1.9rem; border-radius: 8px; background: #0a1020; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex: none; }
    .xplor-item.active .xi-ic { border-color: #5468ff55; }
    .xplor-item .xi-t { font-size: 0.82rem; font-weight: 600; color: var(--text); display: block; }
    .xplor-item .xi-s { font-size: 0.68rem; color: var(--text-dim); display: block; margin-top: 1px; }

    .xplor-detail { border-left: 1px solid var(--border); padding: 1.1rem 1.2rem; min-height: 230px; }
    .xd { display: none; }
    .xd.active { display: block; animation: fadein .3s ease; }
    .xd h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
    .xd p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.95rem; }
    .xd p:last-child { margin-bottom: 0; }
    .code-snip { font-family: ui-monospace, "Fira Code", monospace; font-size: 0.74rem; line-height: 1.65; background: #070b1c; border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1rem; overflow-x: auto; color: var(--text-muted); white-space: pre; }
    .code-snip .k { color: #5db0ff; } .code-snip .s { color: var(--green); } .code-snip .c { color: var(--text-dim); } .code-snip .p { color: var(--accent-hover); }

    @media (max-width: 700px) {
      .xplor { grid-template-columns: 1fr; }
      .xplor-menu { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
      .xplor-menu::-webkit-scrollbar { display: none; }
      .xplor-item { flex: none; width: auto; flex-direction: column; align-items: flex-start; min-width: 140px; max-width: 180px; }
      .xplor-item .xi-s { display: none; }
      .xplor-detail { border-left: none; border-top: 1px solid var(--border); min-height: 0; }
    }

    /* ══════════════════════════════════════════
       Aperçu du portail — maquette CLAIRE, multi-onglets, scrollytelling
       ══════════════════════════════════════════ */
    .dash-scroll { position: relative; margin-top: 3.5rem; }
    .dash-sticky { position: static; }

    /* Thème clair : la maquette se détache du fond sombre */
    .dash.light {
      margin: 0;
      background: #f5f6fb;
      border-color: #dfe3ef;
      color: #11162a;
      box-shadow: 0 46px 110px -50px rgba(4,8,24,.85), 0 0 0 1px #ffffff0d;
    }
    .dash.light .dash-top { background: #eaedf6; border-bottom-color: #dfe3ef; }
    .dash.light .dash-url { background: #fff; border-color: #e1e5f0; color: #818aa6; }
    .dash.light .dash-live { color: #0f9b66; }
    .dash.light .dash-live .pulse { background: #0f9b66; box-shadow: 0 0 0 0 #0f9b66; }
    .dash.light .kpi, .dash.light .panel { background: #fff; border-color: #e8eaf4; }
    .dash.light .kpi .kl { color: #8a92ab; }
    .dash.light .kpi .kv { color: #11162a; }
    .dash.light .kpi .kd.up { color: #0f9b66; }
    .dash.light .kpi .kd.down { color: #e0564f; }
    .dash.light .panel-h h4 { color: #11162a; }
    .dash.light .panel-h .sub { color: #9aa1b8; }
    .dash.light .area-svg .grid-line { stroke: #ecedf4; }
    .dash.light .area-line { stroke: #5468ff; }
    .dash.light .area-dot { fill: #5468ff; }
    .dash.light .donut { background: conic-gradient(#5468ff 0 var(--p1), #4f93e6 var(--p1) var(--p2), #0f9b66 var(--p2) 100%);
      -webkit-mask: radial-gradient(circle 32px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 32px at center, transparent 98%, #000 100%); }
    .dash.light .donut-legend .li { color: #5b6480; }
    .dash.light .donut-legend b { color: #11162a; }
    .dash.light .mini-table th { color: #9aa1b8; }
    .dash.light .mini-table td { color: #5b6480; border-top-color: #eef0f6; }
    .dash.light .mini-table .mname { color: #11162a; }
    .dash.light .tag-sov { color: #0f8a5f; background: #0f9b6618; }
    .dash.light .tag-cloud { color: #3f57e0; background: #5468ff14; }
    .dash.light .kv span { color: #9aa1b8 !important; }
    /* KPI carbone mis en avant + colonne CO₂ verte */
    .dash.light .kpi.co2-kpi { background: #0f9b660a; border-color: #0f9b6633; }
    .dash.light .kpi.co2-kpi .kv { color: #0f8a5f; }
    .dash.light .mini-table td:last-child { color: #0f8a5f; font-weight: 600; }
    /* Visualisation « émissions évitées » (remplace le donut) */
    .co2-bars { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.3rem; }
    .co2-row { display: flex; align-items: center; gap: 0.7rem; font-size: 0.76rem; }
    .co2-l { width: 118px; flex: none; color: #5b6480; }
    .co2-track { flex: 1; height: 13px; border-radius: 999px; background: #eef0f6; overflow: hidden; }
    .co2-fill { height: 100%; border-radius: 999px; }
    .co2-fill.ue { background: linear-gradient(90deg, #0f9b66, #34c08a); }
    .co2-fill.us { background: linear-gradient(90deg, #e0796b, #e6a172); }
    .co2-v { width: 46px; text-align: right; flex: none; color: #11162a; font-weight: 600; font-variant-numeric: tabular-nums; }
    .co2-cap { font-size: 0.76rem; color: #5b6480; margin-top: 0.85rem; line-height: 1.5; }
    .co2-cap strong { color: #0f8a5f; }
    /* Resserrement du panneau Usage pour tenir dans la scène */
    .dash.light .dash-body { padding: 0.95rem; gap: 0.85rem; }
    .dash.light .area-svg { height: 98px; }
    .dash.light .mini-table td { padding-top: 0.4rem; padding-bottom: 0.4rem; }
    .dash.light .mini-table th { padding-bottom: 0.4rem; }

    /* Onglets type navigateur */
    .dash-tabs { display: flex; gap: 0.3rem; padding: 0.45rem 0.7rem 0; background: #eaedf6; border-bottom: 1px solid #dfe3ef; overflow-x: auto; scrollbar-width: none; }
    .dash-tabs::-webkit-scrollbar { display: none; }
    .dash-tab { font: inherit; cursor: pointer; white-space: nowrap; border: 1px solid transparent; border-bottom: none; background: transparent; color: #7b84a0; font-size: 0.78rem; font-weight: 600; padding: 0.42rem 0.85rem; border-radius: 9px 9px 0 0; transition: background .15s, color .15s; }
    .dash-tab:hover { color: #11162a; }
    .dash-tab.active { background: #f5f6fb; color: #11162a; border-color: #dfe3ef; margin-bottom: -1px; }

    .dash-stage { background: #f5f6fb; }
    .dash-pane { background: #f5f6fb; }
    @media (min-width: 761px) {
      .dash-scroll { height: 255vh; }
      .dash-sticky { position: sticky; top: clamp(1rem, calc(50vh - 330px), 3.5rem); }
      .dash-stage { position: relative; height: 588px; overflow: hidden; }
      .dash-pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; overflow: auto; transition: opacity .4s ease; }
      .dash-pane.active { opacity: 1; visibility: visible; }
      @media (prefers-reduced-motion: reduce) { .dash-pane { transition: none; } }
    }
    @media (max-width: 760px) {
      .dash-pane { display: none; }
      .dash-pane.active { display: block; }
    }

    /* ── Pane Connaissances ── */
    .kb-pane { padding: 1.1rem; }
    .kb-bases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 0.9rem; }
    .kb-base { border: 1px solid #e8eaf4; border-radius: 10px; padding: 0.7rem 0.8rem; background: #fff; }
    .kb-base.active { border-color: #5468ff66; background: #5468ff0a; }
    .kb-base .kbb-h { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 700; color: #11162a; }
    .kb-base .kbb-s { font-size: 0.68rem; color: #9aa1b8; margin-top: 0.3rem; }
    .kb-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.9rem; }
    .kb-docs, .kb-graph { border: 1px solid #e8eaf4; border-radius: 12px; padding: 0.9rem 1rem; background: #fff; }
    .kb-table { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
    .kb-table th { text-align: left; color: #9aa1b8; font-weight: 600; font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0 0.5rem 0.5rem; }
    .kb-table td { padding: 0.42rem 0.5rem; border-top: 1px solid #eef0f6; color: #5b6480; vertical-align: middle; }
    .kb-table .kd-t { font-family: ui-monospace, monospace; color: #11162a; font-size: 0.74rem; }
    .ftag { display: inline-block; font-size: 0.64rem; font-weight: 600; color: #4a5878; background: #eef1f9; border: 1px solid #e3e7f2; border-radius: 5px; padding: 0.06rem 0.4rem; margin: 0 0.25rem 0.15rem 0; }
    .ftag.num { color: #11162a; font-variant-numeric: tabular-nums; }
    .kd-src { display: block; margin-top: 0.18rem; font-size: 0.62rem; font-weight: 600; color: #9aa1b8; }
    .kd-src b { color: #3f57e0; font-weight: 700; }
    /* Visuel « import automatique » */
    .imp { margin-top: 0.55rem; }
    .imp-srcs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
    .imp-chip { font-size: 0.74rem; font-weight: 600; color: #11162a; background: #fbfcff; border: 1px solid #e8eaf4; border-radius: 8px; padding: 0.4rem 0.6rem; }
    .imp-down { text-align: center; font-size: 0.7rem; font-weight: 700; color: #0f9b66; margin: 0.6rem 0; }
    .imp-base { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 700; color: #11162a; border: 1.4px solid #5468ff55; background: #5468ff0c; border-radius: 10px; padding: 0.6rem 0.75rem; }
    .imp-base .imp-tag { margin-left: auto; font-size: 0.62rem; font-weight: 700; color: #3f57e0; background: #5468ff14; border-radius: 999px; padding: 0.12rem 0.5rem; }
    .imp-note { font-size: 0.74rem; color: #5b6480; line-height: 1.55; margin-top: 0.7rem; }

    /* ── Pane Assistant ── */
    .chat-pane { padding: 1.1rem; height: 100%; position: relative; }
    .chat-scroll { height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 0.7rem; padding: 0 0.2rem 1.6rem 0; scroll-behavior: smooth; }
    .turn { display: flex; align-items: flex-end; gap: 0.5rem; }
    .turn.u { justify-content: flex-end; }
    .av { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.92rem; flex: none; }
    .av.u { background: #e7e9f2; }
    .av.a { background: #eaf0ff; border: 1px solid #d8e1fb; }
    .bub { max-width: 80%; padding: 0.6rem 0.82rem; border-radius: 15px; font-size: 0.82rem; line-height: 1.5; }
    .bub p { margin: 0 0 0.5rem; } .bub p:last-child { margin-bottom: 0; }
    .turn.u .bub { background: #5468ff; color: #fff; border-bottom-right-radius: 5px; }
    .turn.b .bub { background: #fff; border: 1px solid #e8eaf4; color: #11162a; border-bottom-left-radius: 5px; max-width: 86%; }
    .who { font-size: 0.66rem; font-weight: 700; color: #3f57e0; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.3rem; }
    .who::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0f9b66; }
    .chat-fade { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0; height: 52px; background: linear-gradient(transparent, #f5f6fb 80%); pointer-events: none; }
    .chat-hint { position: absolute; left: 0; right: 0; bottom: 0.5rem; text-align: center; font-size: 0.68rem; color: #9aa1b8; pointer-events: none; }
    .steps { display: flex; flex-direction: column; gap: 0.3rem; margin: 0.1rem 0 0.55rem; }
    .step { display: flex; align-items: center; gap: 0.45rem; font-size: 0.73rem; color: #5b6480; }
    .step code { background: #f1f3f9; border: 1px solid #e6e8f2; padding: 0.08rem 0.4rem; border-radius: 5px; color: #3f57e0; font-size: 0.7rem; }
    .step .stc { color: #0f9b66; font-weight: 800; }
    .corr { border: 1px solid #e8eaf4; border-radius: 10px; overflow: hidden; margin: 0.2rem 0 0.6rem; }
    .corr-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.7rem; font-size: 0.76rem; border-top: 1px solid #eef0f6; }
    .corr-row:first-child { border-top: none; }
    .corr-row span { color: #5b6480; flex: 1; }
    .corr-row b { color: #11162a; font-variant-numeric: tabular-nums; }
    .corr-row i { font-style: normal; font-size: 0.7rem; font-weight: 700; }
    .corr-row i.up { color: #0f9b66; } .corr-row i.down { color: #e0564f; }
    .src-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.1rem; }
    .src-chip { font-size: 0.66rem; color: #3f57e0; background: #5468ff12; border: 1px solid #5468ff22; border-radius: 999px; padding: 0.14rem 0.55rem; }

    /* Accroche sous la maquette (zone libre, change selon l'onglet) */
    .dash-claim { text-align: center; max-width: 580px; margin: 1.1rem auto 0; font-size: 0.95rem; line-height: 1.55; color: var(--text-muted); transition: opacity .3s ease; }
    .dash-claim strong { color: var(--text); }

    @media (max-width: 760px) {
      .kb-main { grid-template-columns: 1fr; }
      .kb-pane, .chat-pane { padding: 0.9rem; }
      .chat-scroll { padding-bottom: 1.6rem; }
    }

    /* ═══════════════════════════════════════════
       THÈME CLAIR — adaptations & accents couleur
       ═══════════════════════════════════════════ */
    /* Logo (SVG blanc → rendu foncé sur fond clair) */
    .nav-logo img { filter: brightness(0) saturate(100%); }
    .nav-links a { color: var(--text-muted); }

    /* CTA & accents vifs */
    .btn-lg.filled, .btn-primary { background: linear-gradient(118deg, var(--aura1), var(--aura2)); }
    .btn-lg.filled:hover, .btn-primary:hover { background: linear-gradient(118deg, var(--accent-hover), var(--aura2)); filter: saturate(1.08); }
    .eyebrow { background: #5468ff12; border-color: #5468ff2e; color: #4b40d6; }
    .section-label { color: var(--accent); }

    /* Cartes : ombre douce pour se détacher du blanc */
    .card, .limit-card, .quality-banner, .carbon-viz {
      background: #fff; border-color: var(--border);
      box-shadow: 0 1px 2px rgba(12,18,42,.04), 0 12px 30px -20px rgba(12,18,42,.16);
    }
    .card:hover { border-color: var(--border-mid); box-shadow: 0 1px 2px rgba(12,18,42,.05), 0 20px 44px -22px rgba(12,18,42,.22); }
    .card-icon { background: #5468ff10; border-color: #5468ff26; }
    .hero-stats { box-shadow: 0 14px 34px -24px rgba(12,18,42,.2); }

    /* Grands nombres : dégradé signature */
    .quality-score { background: linear-gradient(100deg, var(--aura1), var(--aura2) 60%, var(--aura3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .hero-stats .big { color: var(--text); }
    .hero-stats .big .unit { color: var(--accent); }

    /* Inline code & noms de modèle */
    code { background: #eef1f9; border-color: #e3e7f2; color: #3c4a73; }
    .model-name { background: #f1f3fb; color: var(--text); }
    .ex-row code { background: #eef1f9; }
    /* Bloc de code : terminal sombre conservé (contraste façon Stripe) */
    .code-snip { background: #0d1426; border-color: #25325280; color: #c5d0ef; }

    /* Explorateurs (Intégrations, RAG) */
    .xplor { background: #fff; border-color: var(--border); box-shadow: 0 1px 2px rgba(12,18,42,.04), 0 16px 40px -26px rgba(12,18,42,.2); }
    .xplor-item:hover { background: #f3f4fb; }
    .xplor-item.active { background: #5468ff12; border-color: #5468ff40; }
    .xplor-item .xi-ic { background: #f4f6fb; border-color: var(--border); }
    .xplor-item.active .xi-ic { border-color: #5468ff55; }
    .xplor-detail { border-left-color: var(--border); }

    /* Pipeline conformité */
    .flow-step { background: #fff; }
    .flow-step.endpoint { background: #5468ff0a; border-color: #5468ff2e; }
    .flow-detail { background: #fff; border-color: var(--border); box-shadow: 0 1px 2px rgba(12,18,42,.04), 0 16px 40px -26px rgba(12,18,42,.2); }
    .fd-ic { background: #5468ff10; border-color: var(--border); }
    .ex-row .ex-out { color: #0f8a5f; border-color: #0f9b6633; background: #0f9b660d; }
    .ex-row .ex-out.block { color: #d6453f; border-color: #e0564f33; background: #e0564f0d; }
    .ex-row .ex-out.sov { color: #4b40d6; border-color: #5468ff44; background: #5468ff12; }

    /* Calculateur */
    .calc { background: #fff; border-color: var(--border); box-shadow: 0 1px 2px rgba(12,18,42,.04), 0 20px 50px -30px rgba(12,18,42,.22); }
    .calc-preset { background: #f4f6fb; }
    .calc-preset.active { background: #5468ff12; border-color: var(--accent); }
    .calc-card { background: #fbfcff; }
    .calc-card.win { background: #0f9b660a; border-color: #0f9b6633; }
    input[type="range"].slider { background: linear-gradient(90deg, var(--accent) var(--fill,30%), #e3e7f2 var(--fill,30%)); }

    /* Limitations / empreinte carbone (anciens tons sombres) */
    .limit-card .card-title.warn { color: #d98324; }
    .carbon-track { background: #e9ecf5; }

    /* Maquette portail : ombre forte pour la détacher du blanc */
    .dash.light { box-shadow: 0 30px 80px -42px rgba(12,18,42,.42), 0 0 0 1px rgba(12,18,42,.05); }

    /* Bandes — version claire */
    .band-soft::before { background: linear-gradient(180deg, #f5f7fc, #eef1f9); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .band-accent::before {
      background:
        radial-gradient(56rem 26rem at 50% -16%, #8b5cf61f, transparent 60%),
        radial-gradient(46rem 28rem at 86% 116%, #19c39a1c, transparent 60%),
        radial-gradient(48rem 26rem at 10% 112%, #5468ff16, transparent 60%),
        linear-gradient(180deg, #fbfbff, #f3f1fe);
      border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    }
    /* ═══════════════════════════════════════════
       BENTO — grille de features dynamique (façon Stripe)
       ═══════════════════════════════════════════ */
    .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin: 4rem 0; }
    .tile {
      grid-column: span 2; padding: 1.5rem; border: 1px solid var(--border); border-radius: 16px;
      background: #fff; box-shadow: 0 1px 2px rgba(12,18,42,.04), 0 12px 30px -20px rgba(12,18,42,.16);
      display: flex; flex-direction: column; position: relative; overflow: hidden;
      transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    }
    .tile.w3 { grid-column: span 3; }
    .tile.w4 { grid-column: span 4; }
    .tile.w6 { grid-column: span 6; }
    .tile:hover { transform: translateY(-3px); border-color: var(--border-mid); box-shadow: 0 1px 2px rgba(12,18,42,.05), 0 24px 50px -22px rgba(12,18,42,.26); }
    .tile h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin: 0.75rem 0 0.4rem; }
    .tile p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }
    .tile-viz { margin-top: auto; padding-top: 1.2rem; }
    /* liseré dégradé qui se révèle au survol */
    .tile-visual::after {
      content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--aura1), var(--aura2), var(--aura3));
      transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
    }
    .tile-visual:hover::after { transform: scaleX(1); }

    /* Souverain — flux « reste en UE » */
    .sov-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
    .chipf { font-size: 0.74rem; font-weight: 600; padding: 0.38rem 0.6rem; border-radius: 9px; border: 1px solid var(--border); background: #fbfcff; color: var(--text); }
    .chipf.ok { border-color: #0f9b6644; background: #0f9b660d; color: #0f8a5f; }
    .chipf.no { border-color: #e0564f33; background: #e0564f0d; color: #c2453f; text-decoration: line-through; opacity: 0.8; }
    .arrf { color: var(--text-dim); font-weight: 700; }

    /* Agentique — mini-chat */
    .mini-chat { display: flex; flex-direction: column; gap: 0.5rem; }
    .mc-q { align-self: flex-end; background: var(--accent); color: #fff; font-size: 0.8rem; padding: 0.5rem 0.72rem; border-radius: 13px 13px 4px 13px; max-width: 82%; }
    .mc-a { align-self: flex-start; background: #fff; border: 1px solid var(--border); font-size: 0.8rem; padding: 0.55rem 0.72rem; border-radius: 13px 13px 13px 4px; color: var(--text); max-width: 92%; box-shadow: 0 6px 18px -12px rgba(12,18,42,.2); }
    .mc-badge { display: inline-block; font-size: 0.6rem; font-weight: 700; color: #0f8a5f; background: #0f9b6614; border-radius: 999px; padding: 0.1rem 0.45rem; margin-right: 0.4rem; vertical-align: middle; }

    /* À venir — tuile ghost pleine largeur */
    .tile.coming { flex-direction: row; align-items: center; gap: 1.2rem; background: linear-gradient(120deg, #fbfbff, #f4f2fe); border-style: dashed; }
    .tile.coming .card-icon { margin: 0; flex: none; }
    .tile.coming h3 { margin: 0 0 0.25rem; }
    .soon { font-size: 0.62rem; font-weight: 700; color: #6b5bd6; background: #8b5cf618; border: 1px solid #8b5cf633; border-radius: 999px; padding: 0.12rem 0.5rem; vertical-align: middle; margin-left: 0.4rem; letter-spacing: 0.05em; }

    @media (max-width: 900px) {
      .bento { grid-template-columns: repeat(2, 1fr); }
      .tile, .tile.w3, .tile.w4 { grid-column: span 1; }
      .tile.w6 { grid-column: span 2; }
    }
    @media (max-width: 560px) {
      .bento { grid-template-columns: 1fr; }
      .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: span 1; }
      .tile.coming { flex-direction: column; align-items: flex-start; }
    }
    /* Pipeline conformité — lecture « process linéaire » renforcée */
    .flow { position: relative; align-items: center; counter-reset: stepn; }
    .flow-step { counter-increment: stepn; }
    /* numéro d'étape dans chaque case */
    .flow-step::before {
      content: counter(stepn);
      position: absolute; top: 0.5rem; left: 0.6rem;
      width: 1.15rem; height: 1.15rem; border-radius: 50%;
      font-size: 0.64rem; font-weight: 800; color: var(--accent); background: #5468ff14;
      display: flex; align-items: center; justify-content: center;
    }
    /* endpoints = bornes (entrée / sortie), visuellement distincts des étapes configurables */
    .flow-step.endpoint { background: #fff; border-style: dashed; }
    .flow-step.endpoint::before { color: var(--text-dim); background: #eef0f6; }
    .flow-step.endpoint .pt { color: var(--text-muted); }
    /* étapes configurables = pleines, cliquables */
    button.flow-step { background: linear-gradient(180deg, #ffffff, #f7f8fd); }
    .flow-arrow { align-self: center; font-size: 0; }
    .flow-arrow::after { content: "→"; display: block; font-size: 1.55rem; font-weight: 800; line-height: 1; color: var(--accent); }

    /* ═══════════════════════════════════════════
       COMPOSANTS PARTAGÉS — barre de navigation
       ═══════════════════════════════════════════ */
    site-nav { display: block; position: relative; }
    .nav-wrap { max-width: 1080px; margin: 0 auto; padding: 1.15rem 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .nav-logo { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; color: var(--text); }
    .nav-links { display: flex; align-items: center; gap: 1.4rem; }
    .nav-links > a { color: var(--text-muted); font-size: 0.92rem; transition: color .15s; }
    .nav-links > a:hover, .nav-links > a.active { color: var(--text); }
    .nav-cta { color: #fff !important; }
    .nav-dd { position: relative; }
    .nav-dd-toggle { font: inherit; cursor: pointer; background: none; border: none; color: var(--text-muted); font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0; }
    .nav-dd-toggle:hover { color: var(--text); }
    .dd-caret { width: 0.95em; height: 0.95em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
    .nav-dd.open .dd-caret { transform: rotate(180deg); }
    .nav-dd-menu { position: absolute; top: calc(100% + 0.7rem); left: 0; min-width: 268px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 24px 60px -28px rgba(12,18,42,.28); padding: 0.45rem; display: none; flex-direction: column; gap: 2px; z-index: 60; }
    .nav-dd.open .nav-dd-menu { display: flex; }
    .nav-dd-menu a { display: flex; align-items: center; gap: 0.65rem; padding: 0.62rem 0.7rem; border-radius: 9px; font-size: 0.9rem; color: var(--text); }
    .nav-dd-menu a:hover { background: var(--bg-soft); }
    .nav-burger { display: none; flex-direction: column; gap: 4px; width: 38px; height: 34px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; }
    .nav-burger span { width: 17px; height: 2px; background: var(--text); border-radius: 2px; }
    @media (max-width: 880px) {
      .nav-burger { display: flex; }
      .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0.2rem; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 24px 50px -30px rgba(12,18,42,.3); padding: 0.8rem 1.75rem 1.3rem; display: none; z-index: 60; }
      .nav-links.open { display: flex; }
      .nav-dd-menu { position: static; display: flex; box-shadow: none; border: none; padding: 0.2rem 0 0.2rem 0.9rem; min-width: 0; }
      .nav-cta { margin-top: 0.5rem; text-align: center; }
    }

    /* ═══════════════════════════════════════════
       COMPOSANTS PARTAGÉS — pied de page
       ═══════════════════════════════════════════ */
    site-footer footer { display: block; border-top: 1px solid var(--border); margin-top: 0; padding: 3rem 0 2.5rem; }
    .footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 1.75rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 1.6rem; }
    .footer-brand .nav-logo { margin-bottom: 0.7rem; }
    .footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; max-width: 250px; }
    .footer-col h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); margin-bottom: 0.85rem; }
    .footer-col a { display: block; color: var(--text-muted); font-size: 0.88rem; padding: 0.28rem 0; transition: color .15s; }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom { max-width: 1080px; margin: 2.5rem auto 0; padding: 1.5rem 1.75rem 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; color: var(--text-dim); font-size: 0.82rem; }
    @media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; gap: 0.4rem; } }

    .newsletter-form { margin-top: 1.1rem; max-width: 280px; }
    .newsletter-form label { display: block; color: var(--text-dim); font-size: 0.76rem; line-height: 1.4; margin-bottom: 0.5rem; }
    .newsletter-row { display: flex; gap: 0.4rem; }
    .newsletter-row input[type="email"] { flex: 1; min-width: 0; background: var(--bg-soft); border: 1px solid var(--border-mid); border-radius: 8px; padding: 0.5rem 0.65rem; font-size: 0.84rem; color: var(--text); }
    .newsletter-row input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
    .newsletter-row button { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 0.5rem 0.85rem; font-size: 0.84rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s; }
    .newsletter-row button:hover { background: var(--accent-hover); }
    .newsletter-row button:disabled { opacity: 0.6; cursor: default; }
    .newsletter-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .newsletter-msg { margin: 0.5rem 0 0; font-size: 0.8rem; min-height: 1.1em; }
    .newsletter-msg.ok { color: var(--green); }
    .newsletter-msg.err { color: #d84343; }

    /* Page de fonctionnalité — en-tête deux colonnes (hiérarchie façon Stripe) */
    /* padding vertical seulement : on garde le padding horizontal du .container (alignement) */
    .feature-hero { padding-top: 4rem; padding-bottom: 2.75rem; }
    .feature-hero .eyebrow { margin-bottom: 1.2rem; }
    .feature-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 1.2rem; }
    .feature-hero p.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.65; max-width: 620px; margin-bottom: 2rem; }
    .feature-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

    /* Titres / chapôs de section — même style que la home (.benchmark > h2/p) */
    .section-title { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.018em; max-width: 22ch; margin-bottom: 0.7rem; }
    .section-lead { color: var(--text-muted); font-size: 1.02rem; line-height: 1.65; max-width: 650px; margin-bottom: 2.2rem; }
    /* espace titre → bento dans une bande (le bento y est neutralisé par défaut) */
    .band > .container > .bento { margin: 2rem 0 0; }

    /* Tuile-lien (cas d'usage) : « Découvrir → » qui glisse au survol */
    a.tile .uc-more { margin-top: auto; padding-top: 1.1rem; color: var(--accent); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.35rem; }
    a.tile .uc-more .ar { transition: transform .18s ease; }
    a.tile:hover .uc-more .ar { transform: translateX(4px); }

    /* ── Représentation d'une base de connaissance ── */
    .kbrep { border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(12,18,42,.04), 0 16px 40px -26px rgba(12,18,42,.2); padding: 1.3rem 1.4rem; max-width: 720px; }
    .kbrep-head { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 1rem; }
    .kbrep-head .kbrep-tag { margin-left: auto; font-size: 0.66rem; font-weight: 700; color: #0f8a5f; background: #0f9b6614; border-radius: 999px; padding: 0.2rem 0.6rem; }
    .kbrep-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .kbrep-doc { display: flex; align-items: center; gap: 0.5rem; padding: 0.62rem 0.72rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); font-size: 0.82rem; color: var(--text); }
    .kbrep-more { margin-top: 0.8rem; font-size: 0.78rem; color: var(--text-dim); }
    @media (max-width: 560px) { .kbrep-docs { grid-template-columns: 1fr; } }

    /* ── Hub de sortie : Astrolabe au centre → réutilisations ── */
    .outhub { position: relative; max-width: 780px; margin: 0 auto; }
    .outhub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
    .outhub-lines line { stroke: #c5cce0; stroke-width: 1.5; stroke-dasharray: 4 4; }
    .outhub-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 9.5rem; }
    .out-card { border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(12,18,42,.04), 0 14px 34px -24px rgba(12,18,42,.18); padding: 1.05rem 1.15rem; }
    .out-card .oc-ic { font-size: 1.35rem; }
    .out-card h4 { font-size: 0.95rem; font-weight: 700; margin: 0.45rem 0 0.3rem; }
    .out-card p { color: var(--text-muted); font-size: 0.84rem; line-height: 1.5; margin: 0; }
    .outhub-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 8.6rem; height: 8.6rem; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.25rem; padding: 0.5rem; background: linear-gradient(140deg, var(--aura1), var(--aura2)); color: #fff; box-shadow: 0 20px 46px -16px rgba(84,104,255,.55); }
    .outhub-core .ohc-ic { font-size: 1.5rem; }
    .outhub-core .ohc-t { font-weight: 700; font-size: 0.8rem; line-height: 1.25; }
    @media (max-width: 700px) {
      .outhub-grid { grid-template-columns: 1fr; gap: 0.9rem; }
      .outhub-core { position: static; transform: none; margin: 0 auto 1.4rem; }
      .outhub-lines { display: none; }
    }

    /* ── Pages légales (mentions légales / confidentialité / cookies) ──
       Contenu prose en thème clair, scopé sous .legal pour ne pas
       entrer en conflit avec les composants de la home. Le menu et le
       pied (site-nav / site-footer) gardent la largeur standard. */
    .legal { max-width: 820px; margin: 0 auto; padding: 0 1.75rem; }
    .legal .page-header { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2.8rem; }
    .legal .page-header .eyebrow { margin-bottom: 1rem; }
    .legal .page-header h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
    .legal .page-header .subtitle { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin-top: 0.7rem; max-width: 62ch; }
    .legal .sections { display: flex; flex-direction: column; gap: 2.5rem; padding-bottom: 4rem; }
    .legal section h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
    .legal p.body-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }
    .legal p.body-text + p.body-text { margin-top: 0.8rem; }
    .legal p.body-text strong { color: var(--text); }
    .legal dl { display: flex; flex-direction: column; gap: 0.6rem; }
    .legal .row { display: flex; gap: 1rem; }
    .legal .row dt { width: 13rem; flex-shrink: 0; font-size: 0.9rem; font-weight: 600; color: var(--text); }
    .legal .row dd { font-size: 0.9rem; color: var(--text-muted); }
    .legal ul.list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; padding-left: 0; }
    .legal ul.list li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; padding-left: 1.2rem; position: relative; }
    .legal ul.list li::before { content: "•"; position: absolute; left: 0.15rem; color: var(--accent); }
    .legal ul.list li strong { color: var(--text); }
    .legal .table-wrap { overflow-x: auto; }
    .legal table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
    .legal th { text-align: left; color: var(--text-dim); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 0 0.8rem 0.55rem; border-bottom: 1px solid var(--border); }
    .legal td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
    .legal td:first-child { color: var(--text); font-weight: 500; }
    .legal td code { font-family: ui-monospace, "Fira Code", monospace; font-size: 0.82rem; color: var(--text); }
    .legal .badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; }
    .legal .badge.exempt { color: var(--green); background: #0f9b6614; }
    .legal .info-box { padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft); font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
    .legal a.link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; transition: color 0.15s; }
    .legal a.link:hover { color: var(--accent-hover); }
    .legal .last-updated { font-size: 0.78rem; color: var(--text-dim); padding-bottom: 1rem; }
    @media (max-width: 600px) { .legal .row { flex-direction: column; gap: 0.15rem; } .legal .row dt { width: auto; } }

    /* ── En-tête de fonctionnalité à deux colonnes (texte + illustration) ── */
    .feature-hero.split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 3.5rem; align-items: center; padding-top: 3.5rem; }
    .feature-hero.split .fh-copy { min-width: 0; }
    .feature-hero.split h1 { max-width: 18ch; }
    .feature-hero.split p.lead { max-width: 34rem; }
    @media (max-width: 900px) {
      .feature-hero.split { grid-template-columns: 1fr; gap: 2.4rem; }
      .feature-hero.split .hero-art { order: 2; max-width: 540px; margin: 0 auto; width: 100%; }
    }

    /* ── Système d'illustrations (SVG inline, thème clair, palette accent) ── */
    .hero-art { width: 100%; }
    .hero-art svg { width: 100%; height: auto; display: block; overflow: visible; font-family: inherit; }
    .hero-art svg text { font-family: inherit; }
    /* surfaces */
    .ha-card { fill: #fff; stroke: var(--border); stroke-width: 1.5; }
    .ha-soft { fill: var(--bg-soft); stroke: var(--border); stroke-width: 1.5; }
    .ha-plain { fill: #fff; stroke: none; }
    .ha-accent { fill: var(--accent); }
    .ha-accent-2 { fill: var(--accent-hover); }
    .ha-accent-soft { fill: #5468ff14; stroke: #5468ff44; stroke-width: 1.5; }
    .ha-green { fill: var(--green); }
    .ha-green-soft { fill: #0f9b6612; stroke: #0f9b6644; stroke-width: 1.5; }
    .ha-warn { fill: #e0796b; }
    .ha-warn-soft { fill: #e0796b14; stroke: #e0796b44; stroke-width: 1.5; }
    .ha-fill-soft { fill: var(--bg-soft); stroke: none; }
    /* traits */
    .ha-line { stroke: #c5cce0; stroke-width: 1.5; fill: none; }
    .ha-dash { stroke: #c5cce0; stroke-width: 1.5; fill: none; stroke-dasharray: 4 4; }
    .ha-flow { stroke: var(--accent); stroke-width: 2; fill: none; }
    .ha-flow-g { stroke: var(--green); stroke-width: 2; fill: none; }
    .ha-stroke-bd { stroke: var(--border); stroke-width: 1.5; fill: none; }
    /* texte */
    .ha-t { fill: var(--text); font-weight: 700; }
    .ha-tm { fill: var(--text-muted); font-weight: 500; }
    .ha-td { fill: var(--text-dim); font-weight: 500; }
    .ha-tw { fill: #fff; font-weight: 700; }
    .ha-ta { fill: var(--accent-hover); font-weight: 700; }
    .ha-tg { fill: #0f8a5f; font-weight: 700; }
    .ha-mono { font-family: ui-monospace, "Fira Code", monospace; }
    /* ombre douce des cartes flottantes */
    .ha-shadow { filter: drop-shadow(0 14px 30px rgba(12, 18, 42, 0.12)); }
    /* pulsation discrète (respecte prefers-reduced-motion) */
    @keyframes ha-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
    .ha-pulse { animation: ha-pulse 2.4s ease-in-out infinite; transform-origin: center; }
    @keyframes ha-dashmove { to { stroke-dashoffset: -16; } }
    .ha-flowdash { stroke: var(--accent); stroke-width: 2; fill: none; stroke-dasharray: 5 5; animation: ha-dashmove 1.1s linear infinite; }
    @media (prefers-reduced-motion: reduce) { .ha-pulse, .ha-flowdash { animation: none; } }

    /* ── Bandeau de consentement (cookies de mesure) ── */
    .consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 1px 2px rgba(12,18,42,.05), 0 24px 50px -18px rgba(12,18,42,.32); }
    .consent-txt { flex: 1 1 320px; margin: 0; font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }
    .consent-txt strong { color: var(--text); }
    .consent-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
    .consent-link:hover { color: var(--accent-hover); }
    .consent-actions { display: flex; gap: 0.6rem; margin-left: auto; }
    .consent-btn { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1.05rem; border-radius: 9px; cursor: pointer; border: 1px solid var(--border-mid); transition: background .15s, border-color .15s, color .15s; }
    .consent-btn.ghost { background: #fff; color: var(--text-muted); }
    .consent-btn.ghost:hover { background: var(--bg-soft); color: var(--text); }
    .consent-btn.solid { background: var(--accent); color: #fff; border-color: var(--accent); }
    .consent-btn.solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
    /* Bouton « modifier mon consentement » dans la page cookies */
    .consent-reset { font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--accent); background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
    .consent-reset:hover { color: var(--accent-hover); }
    @media (max-width: 520px) { .consent-actions { width: 100%; } .consent-btn { flex: 1; } }
