/* =========================================================
   KINOS - Feuille de style globale
   Partagée par toutes les pages du site kinos-ai.eu
   ========================================================= */

:root {
    --bg-0: #050912;
    --bg-1: #0a1020;
    --bg-2: #0f1729;
    --bg-3: #141d36;
    --line: #1c2745;
    --line-soft: #182137;
    --line-hot: #2a3b6b;

    --ink-0: #f4f7fc;
    --ink-1: #c9d4ea;
    --ink-2: #8a98b8;
    --ink-3: #5a6788;

    --cyan: #4dd6ff;
    --cyan-soft: #1e4a64;
    --cyan-deep: #082a3a;

    --gold: #e8c87a;

    --eu: #0b3d91;
    --eu-star: #f5d800;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg-0);
    color: var(--ink-1);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  /* Grille de fond technique, très discrète */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
      linear-gradient(to right, rgba(77, 214, 255, 0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(77, 214, 255, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
  }

  /* Halo souverain en haut */
  body::after {
    content: "";
    position: fixed;
    top: -300px;
    right: -200px;
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(77, 214, 255, 0.08) 0%, transparent 60%);
  }

  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
  }

  /* ========================================================= */
  /* TOP BAR                                                     */
  /* ========================================================= */
  .topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(5, 9, 18, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border: 1px solid var(--cyan);
    display: grid;
    place-items: center;
    position: relative;
  }

  .brand-mark::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(77, 214, 255, 0.35);
  }

  .brand-mark::after {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
  }

  .brand-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--ink-0);
    letter-spacing: 0.06em;
  }

  .brand-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-left: 1px solid var(--line);
    padding-left: 14px;
    margin-left: 6px;
  }

  .nav {
    display: flex;
    gap: 32px;
  }

  .nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
  }

  .nav a:hover { color: var(--cyan); }

  .topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: background 0.2s ease;
  }

  .topbar-cta:hover { background: rgba(77, 214, 255, 0.08); }

  /* Sélecteur de langue */
  .lang-switch {
    display: inline-flex;
    border: 1px solid var(--line-hot);
    margin-left: 16px;
    overflow: hidden;
  }

  .lang-switch button {
    background: transparent;
    border: none;
    padding: 7px 11px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-2);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .lang-switch button:hover { color: var(--ink-0); }

  .lang-switch button.active {
    background: var(--cyan);
    color: var(--bg-0);
    font-weight: 500;
  }

  .topbar-right {
    display: flex;
    align-items: center;
  }

  /* ========================================================= */
  /* HERO                                                        */
  /* ========================================================= */
  .hero {
    padding: 80px 0 100px;
    position: relative;
    border-bottom: 1px solid var(--line);
  }

  .hero-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 56px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-3);
  }

  .hero-meta .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2.4s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 72px;
    align-items: start;
  }

  .hero-title {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: clamp(46px, 6.4vw, 88px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink-0);
    margin-bottom: 32px;
  }

  .hero-title em {
    font-style: italic;
    color: var(--cyan);
    font-weight: 400;
  }

  .hero-title .sub-mark {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 32px;
    font-style: normal;
  }

  /* Bandeau identité souveraine en tête de hero */
  .sov-stamp {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 9px 16px;
    border: 1px solid var(--cyan);
    background: rgba(77, 214, 255, 0.06);
    margin-bottom: 36px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-0);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    position: relative;
  }

  .sov-stamp .pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan);
    animation: pulse 2.4s ease-in-out infinite;
  }

  .sov-stamp .stars {
    color: var(--eu-star);
    letter-spacing: 0.32em;
    font-size: 10px;
  }

  .sov-stamp .sep {
    width: 1px;
    height: 14px;
    background: var(--line-hot);
  }

  /* Décomposition acronyme KINOS */
  .acronym {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }

  .acronym .letter {
    padding: 0 16px;
    border-right: 1px solid var(--line-soft);
    text-align: left;
  }

  .acronym .letter:first-child { padding-left: 0; }
  .acronym .letter:last-child { border-right: none; }

  .acronym .glyph {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 28px;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 8px;
  }

  .acronym .word {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--ink-0);
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .acronym .gloss {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  .hero-lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-1);
    margin-bottom: 32px;
    max-width: 620px;
    font-weight: 300;
  }

  .hero-lede strong {
    color: var(--ink-0);
    font-weight: 500;
  }

  .hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
  }

  .kw {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    padding: 5px 11px;
    border: 1px solid var(--line-hot);
    color: var(--ink-2);
    letter-spacing: 0.05em;
  }

  .kw.kw-hot {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(77, 214, 255, 0.05);
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }

  .btn-primary {
    background: var(--cyan);
    color: var(--bg-0);
    font-weight: 500;
  }

  .btn-primary:hover {
    background: #6fe0ff;
    transform: translateY(-2px);
  }

  .btn-ghost {
    background: transparent;
    color: var(--ink-0);
    border-color: var(--line-hot);
  }

  .btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
  }

  .btn .arrow { transition: transform 0.2s ease; }
  .btn:hover .arrow { transform: translateX(4px); }

  /* Panneau d'équation en hero */
  .eq-panel {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 28px;
    position: relative;
  }

  .eq-panel::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 24px;
    height: 24px;
    border-top: 1px solid var(--cyan);
    border-left: 1px solid var(--cyan);
  }

  .eq-panel::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 24px;
    height: 24px;
    border-bottom: 1px solid var(--cyan);
    border-right: 1px solid var(--cyan);
  }

  .eq-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-3);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .eq-block {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .eq-block:last-child { border-bottom: none; }

  .eq-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }

  .eq-math {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-size: 19px;
    color: var(--ink-0);
    line-height: 1.5;
    overflow-x: auto;
    white-space: nowrap;
  }

  .eq-math .v { color: var(--cyan); font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 0.78em; }
  .eq-math .op { color: var(--ink-2); font-style: normal; }

  .eq-foot {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-3);
    margin-top: 16px;
    line-height: 1.6;
  }

  /* ========================================================= */
  /* INDICATEURS                                                 */
  /* ========================================================= */
  .stats-band {
    border-bottom: 1px solid var(--line);
    background: var(--bg-1);
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    padding: 32px 28px;
    border-right: 1px solid var(--line);
  }

  .stat:last-child { border-right: none; }

  .stat-num {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 1;
    color: var(--ink-0);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }

  .stat-num .acc { color: var(--cyan); }

  .stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.5;
  }

  /* ========================================================= */
  /* SECTION COMMUNE                                             */
  /* ========================================================= */
  section.major { padding: 110px 0; border-bottom: 1px solid var(--line); }

  .sec-head {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    margin-bottom: 64px;
    align-items: baseline;
  }

  .sec-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding-top: 12px;
    position: relative;
  }

  .sec-num::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--cyan);
  }

  .sec-title {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink-0);
    max-width: 880px;
  }

  .sec-title em {
    font-style: italic;
    color: var(--cyan);
  }

  .sec-intro {
    max-width: 760px;
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ink-1);
    margin-bottom: 56px;
  }

  /* ========================================================= */
  /* SCIENCE BLOCK                                               */
  /* ========================================================= */
  .science {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .science-text h3 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 28px;
    color: var(--ink-0);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }

  .science-text p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink-1);
    margin-bottom: 18px;
  }

  .science-text p strong {
    color: var(--ink-0);
    font-weight: 500;
  }

  .science-text code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--cyan);
    background: rgba(77, 214, 255, 0.08);
    padding: 2px 6px;
    border: 1px solid var(--line-hot);
  }

  .science-eq {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 32px;
  }

  .science-eq-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
  }

  .eq-row {
    padding: 16px 0;
    border-bottom: 1px dashed var(--line-soft);
  }

  .eq-row:last-child { border-bottom: none; }

  .eq-row .lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }

  .eq-row .formula {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--ink-0);
    line-height: 1.5;
    overflow-x: auto;
  }

  .eq-row .formula .c { color: var(--cyan); font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 0.78em; }
  .eq-row .formula .o { color: var(--ink-2); font-style: normal; }
  .eq-row .formula .g { color: var(--gold); font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 0.78em; }

  /* ========================================================= */
  /* CAPABILITIES                                                */
  /* ========================================================= */
  .caps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .cap {
    background: var(--bg-0);
    padding: 36px 32px;
    position: relative;
    transition: background 0.3s ease;
  }

  .cap:hover {
    background: var(--bg-1);
  }

  .cap-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
  }

  .cap-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.1em;
  }

  .cap-status {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .cap-status .green-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
  }

  .cap-status .amber-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
  }

  .cap-title {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--ink-0);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
  }

  .cap-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-1);
    margin-bottom: 22px;
  }

  .cap-eq {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--cyan);
    padding: 10px 14px;
    background: rgba(77, 214, 255, 0.04);
    border-left: 2px solid var(--cyan);
    margin-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cap-eq .c { font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 0.8em; color: var(--ink-0); }

  .cap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .cap-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-2);
    padding: 3px 8px;
    border: 1px solid var(--line-hot);
    letter-spacing: 0.04em;
  }

  /* ========================================================= */
  /* ARCHITECTURE                                                */
  /* ========================================================= */
  .arch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .arch-text h3 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 30px;
    color: var(--ink-0);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 22px;
  }

  .arch-text p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink-1);
    margin-bottom: 18px;
  }

  .arch-list {
    list-style: none;
    margin-top: 28px;
  }

  .arch-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 14px;
    line-height: 1.6;
  }

  .arch-list li:last-child { border-bottom: 1px solid var(--line-soft); }

  .arch-list .layer {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-top: 4px;
  }

  .arch-list strong { color: var(--ink-0); font-weight: 500; }
  .arch-list .stack-detail { color: var(--ink-2); font-family: 'IBM Plex Mono', monospace; font-size: 12px; display: block; margin-top: 4px; }

  /* Diagramme architecture */
  .arch-svg-wrap {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 32px;
  }

  /* ========================================================= */
  /* PANNEAU VISUALISATION ANIMÉ                                 */
  /* ========================================================= */
  .viz-panel {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 0;
    overflow: hidden;
  }

  .viz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .viz-header .right {
    color: var(--ink-3);
    font-size: 10px;
  }

  .viz-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
  }

  .viz-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-right: 1px solid var(--line);
    padding: 14px 18px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
  }

  .viz-tab:last-child { border-right: none; }

  .viz-tab:hover { color: var(--ink-0); background: rgba(77, 214, 255, 0.03); }

  .viz-tab.active {
    color: var(--cyan);
    background: rgba(77, 214, 255, 0.06);
  }

  .viz-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
  }

  .viz-tab .tab-id {
    color: var(--cyan);
    font-weight: 500;
    margin-right: 8px;
    opacity: 0.7;
  }

  .viz-stage {
    position: relative;
    background: var(--bg-0);
  }

  .viz-stage canvas {
    display: block;
    width: 100%;
    height: 320px;
  }

  .viz-stage svg {
    display: block;
    width: 100%;
    height: 320px;
  }

  .viz-pane { display: none; }
  .viz-pane.active { display: block; }

  /* Overlay HUD sur le canvas */
  .viz-hud {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .viz-hud .hud-block {
    background: rgba(5, 9, 18, 0.7);
    border: 1px solid var(--line-hot);
    padding: 6px 10px;
    backdrop-filter: blur(4px);
  }

  .viz-hud .hud-val { color: var(--cyan); }

  /* Pied de panneau : barre de temps + légende */
  .viz-foot {
    border-top: 1px solid var(--line);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .viz-foot .legend {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .legend-grad {
    display: inline-block;
    width: 120px;
    height: 8px;
    background: linear-gradient(
      to right,
      #08233e 0%,
      #0e4876 14%,
      #167ca8 30%,
      #24b2c3 46%,
      #50d7a5 62%,
      #aae86e 78%,
      #f0dc5a 92%,
      #fff08c 100%
    );
    border: 1px solid var(--line);
  }

  .viz-progress {
    width: 200px;
    height: 4px;
    background: var(--line);
    position: relative;
    overflow: hidden;
  }

  .viz-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    width: 0%;
    transition: width 0.1s linear;
  }

  .arch-svg-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
  }

  /* ========================================================= */
  /* SOUVERAINETÉ EU                                             */
  /* ========================================================= */
  .sov-band {
    background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  }

  .sov-eu-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    background: rgba(11, 61, 145, 0.2);
    border: 1px solid rgba(245, 216, 0, 0.4);
    margin-bottom: 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-0);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .sov-eu-mark .stars {
    color: var(--eu-star);
    letter-spacing: 0.3em;
  }

  .sov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .sov-cell {
    background: var(--bg-0);
    padding: 36px 32px;
  }

  .sov-cell-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.14em;
    margin-bottom: 14px;
  }

  .sov-cell h4 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--ink-0);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }

  .sov-cell p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-1);
  }

  .sov-cell .compliance {
    margin-top: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.04em;
  }

  /* ========================================================= */
  /* CTA                                                         */
  /* ========================================================= */
  .cta {
    padding: 110px 0;
    border-bottom: 1px solid var(--line);
  }

  .cta-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .cta h2 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    color: var(--ink-0);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
  }

  .cta h2 em { font-style: italic; color: var(--cyan); }

  .cta p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-1);
    margin-bottom: 32px;
    max-width: 580px;
  }

  .targets {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 28px;
  }

  .targets-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
  }

  .targets ul {
    list-style: none;
  }

  .targets li {
    padding: 11px 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-1);
    border-bottom: 1px dashed var(--line-soft);
  }

  .targets li:last-child { border-bottom: none; }

  .targets li::before {
    content: "→ ";
    color: var(--cyan);
    font-family: 'IBM Plex Mono', monospace;
    margin-right: 6px;
  }

  /* ========================================================= */
  /* FOOTER                                                      */
  /* ========================================================= */
  footer {
    background: var(--bg-1);
    padding: 56px 0 32px;
    font-size: 13px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }

  .footer-brand-block .brand {
    margin-bottom: 18px;
  }

  .footer-tag {
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 360px;
  }

  .footer-col h5 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
    font-weight: 500;
  }

  .footer-col a {
    display: block;
    color: var(--ink-1);
    text-decoration: none;
    padding: 4px 0;
    font-size: 13px;
    transition: color 0.2s ease;
  }

  .footer-col a:hover { color: var(--cyan); }

  .footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--ink-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* Animations d'apparition */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* Responsive */
  @media (max-width: 980px) {
    .container { padding: 0 24px; }
    .hero-grid, .science, .arch-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .sec-head { grid-template-columns: 1fr; gap: 14px; }
    .stats, .caps-grid, .sov-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav { display: none; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .acronym { grid-template-columns: 1fr 1fr; }
    .acronym .letter { border-right: none; border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
    .sov-stamp { flex-wrap: wrap; padding: 10px 14px; font-size: 10px; }
  }

/* =========================================================
   Section "Pourquoi KINOS existe"
   ========================================================= */

  .why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 72px;
    align-items: start;
  }

  .why-prose h3 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 28px;
    color: var(--ink-0);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 22px;
  }

  .why-prose p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink-1);
    margin-bottom: 18px;
    max-width: 580px;
  }

  .why-prose p strong { color: var(--ink-0); font-weight: 500; }

  /* Encart IsoFind : ancrage historique */
  .origin-card {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 32px 36px;
    position: relative;
  }

  .origin-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
  }

  .origin-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 18px;
  }

  .origin-card h4 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--ink-0);
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
  }

  .origin-card p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-1);
    margin-bottom: 14px;
  }

  .origin-card p:last-child { margin-bottom: 0; }

  .origin-card .meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.06em;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
  }

  /* =========================================================
     Section "Ce que nous refusons"
     ========================================================= */

  .refuse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .refuse-cell {
    background: var(--bg-0);
    padding: 32px 32px;
    position: relative;
  }

  .refuse-glyph {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 28px;
    color: var(--cyan);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 18px;
    display: block;
  }

  .refuse-title {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--ink-0);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
  }

  .refuse-title .crossed {
    text-decoration: line-through;
    text-decoration-color: var(--cyan);
    text-decoration-thickness: 2px;
    color: var(--ink-3);
  }

  .refuse-body {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-1);
  }

  .refuse-tag {
    margin-top: 18px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--cyan);
  }

  /* =========================================================
     Section "Vision long terme"
     ========================================================= */

  .vision-band {
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  }

  .vision-statement {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 300;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--ink-0);
    max-width: 980px;
    margin-bottom: 56px;
  }

  .vision-statement em {
    font-style: italic;
    color: var(--cyan);
  }

  .vision-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
  }

  .vision-pillar {
    padding-top: 22px;
    border-top: 2px solid var(--cyan);
  }

  .vision-pillar h4 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--ink-0);
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .vision-pillar p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-1);
  }

  .vision-horizon {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    display: block;
  }

  /* Responsive pour les nouvelles sections */
  @media (max-width: 980px) {
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .refuse-grid { grid-template-columns: 1fr; }
    .vision-pillars { grid-template-columns: 1fr; gap: 28px; }
  }
