/* Takusai — feuille de style v2 (novembre 2026)
   Charte unique, clair et sombre. Polices auto-hébergées (Inter Tight, Inter, JetBrains Mono, licence SIL OFL 1.1). */

/* ---------- Polices ---------- */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-tight-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-tight-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-tight-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-tight-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/jetbrains-mono-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------- Thèmes ---------- */
:root{
  color-scheme:light;
  --bg:#F7F5F0;--surface:#FFFFFF;--surface2:#EFECE5;--line:#E2DED5;--line2:#D6D1C6;
  --text:#16233A;--muted:#4F5A6B;--faint:#5F6673;
  --accent:#17695B;--on-accent:#FFFFFF;--accent-soft:#E3F1EC;--accent-text:#17695B;
  --warm:#B9481F;--warm-soft:#FBE9E1;
  --panel:#16233A;--panel2:#1F2E48;--panel-line:#2C3B55;--panel-text:#F7F5F0;--panel-muted:#C3CBD8;--seve:#5FC4AE;
  --f-titre:"Inter Tight",Inter,system-ui,sans-serif;--f-texte:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--f-mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="clair"]){
    color-scheme:dark;
    --bg:#101215;--surface:#171A1F;--surface2:#1B1F25;--line:#2B3038;--line2:#3A404A;
    --text:#EDE9E2;--muted:#A9A49B;--faint:#8C877F;
    --accent:#5FD3B8;--on-accent:#08201A;--accent-soft:#12302A;--accent-text:#5FD3B8;
    --warm:#F0A070;--warm-soft:#3A2618;
    --panel:#0B0D10;--panel2:#171A1F;--panel-line:#2B3038;--panel-text:#EDE9E2;--panel-muted:#A9A49B;--seve:#5FD3B8;
  }
}
:root[data-theme="sombre"]{
  color-scheme:dark;
  --bg:#101215;--surface:#171A1F;--surface2:#1B1F25;--line:#2B3038;--line2:#3A404A;
  --text:#EDE9E2;--muted:#A9A49B;--faint:#8C877F;
  --accent:#5FD3B8;--on-accent:#08201A;--accent-soft:#12302A;--accent-text:#5FD3B8;
  --warm:#F0A070;--warm-soft:#3A2618;
  --panel:#0B0D10;--panel2:#171A1F;--panel-line:#2B3038;--panel-text:#EDE9E2;--panel-muted:#A9A49B;--seve:#5FD3B8;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--f-texte);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{max-width:100%}
a{color:var(--accent-text)}
a:hover{color:var(--text)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--f-titre);margin:0;letter-spacing:-.02em;text-wrap:balance}
p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--accent);color:var(--on-accent);padding:10px 16px;border-radius:8px;z-index:20}
.skip:focus{left:16px}
.mono{font-family:var(--f-mono)}
.surtitre{font-family:var(--f-mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Boutons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border-radius:999px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:background .2s,color .2s,border-color .2s}
.btn-plein{background:var(--accent);color:var(--on-accent)}
.btn-plein:hover{color:var(--on-accent);filter:brightness(1.08)}
.btn-ligne{border-color:var(--line2);color:var(--text);background:transparent;font-weight:500}
.btn-ligne:hover{border-color:var(--text);color:var(--text)}
.btn-petit{min-height:40px;padding:8px 16px;font-size:14px}
.btn-copier{font-family:var(--f-mono);font-weight:400;font-size:15px}

/* ---------- En-tête ---------- */
.entete{border-bottom:1px solid var(--line);position:relative;z-index:10;background:var(--bg)}
.entete-in{max-width:1200px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.logo:hover{color:var(--text)}
.logo-t{width:28px;height:28px;border-radius:8px;border:1.5px solid var(--accent);display:flex;align-items:center;justify-content:center;color:var(--accent-text)}
.logo-t svg{width:26px;height:26px;display:block}
.logo-nom{font-family:var(--f-titre);font-weight:600;font-size:21px;letter-spacing:-.01em}
.nav{display:flex;align-items:center;gap:24px;font-size:15px}
.nav a:not(.btn){color:var(--muted);text-decoration:none}
.nav a:not(.btn):hover,.nav a[aria-current="page"]{color:var(--text)}
.nav a[aria-current="page"]{font-weight:600}
.nav .btn{min-height:42px;padding:9px 18px;font-size:15px}
.outils{display:flex;align-items:center;gap:10px}
.theme-btn,.menu-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line2);background:transparent;color:var(--text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.theme-btn:hover,.menu-btn:hover{border-color:var(--text)}
.theme-btn .ico-soleil{display:none}
:root[data-theme="sombre"] .theme-btn .ico-lune{display:none}
:root[data-theme="sombre"] .theme-btn .ico-soleil{display:block}
@media (prefers-color-scheme:dark){:root:not([data-theme]) .theme-btn .ico-lune{display:none}:root:not([data-theme]) .theme-btn .ico-soleil{display:block}}
.menu-btn{display:none}
.menu-btn span{display:block;width:18px;height:2px;background:currentColor;margin:3px auto;border-radius:1px}
@media (max-width:960px){
  .menu-btn{display:inline-flex;flex-direction:column}
  .nav{position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 20px;display:none}
  .nav.ouvert{display:flex}
  .nav a:not(.btn){padding:14px 0;border-bottom:1px solid var(--line);font-size:17px}
  .nav .btn{margin-top:16px}
}

/* ---------- Sections ---------- */
.section{padding:104px 0}
.section-surface{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-ligne{border-top:1px solid var(--line)}
.tete-section{display:flex;flex-direction:column;gap:12px;max-width:780px;margin-bottom:40px}
.tete-section h2{font-weight:700;font-size:clamp(32px,4.4vw,46px);line-height:1.06;letter-spacing:-.025em}
.tete-section p{color:var(--muted)}
.tete-ligne{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:32px}
.tete-ligne h2{font-weight:700;font-size:clamp(30px,3.6vw,38px);letter-spacing:-.025em}
.lien-fort{font-weight:600}
@media (max-width:700px){.section{padding:72px 0}}

/* ---------- Mascotte ---------- */
.mascotte{display:block;overflow:visible}
.m-a{stroke:var(--accent)}
.m-af{fill:var(--accent)}
.m-corps{fill:var(--accent-soft);stroke:var(--accent)}
.m-manche{stroke:var(--faint)}
.m-pancarte{fill:var(--surface);stroke:var(--warm)}
.m-texte{fill:var(--warm);font-family:var(--f-mono);font-weight:500}
@keyframes tk-swing{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
.tk-swing{transform-box:view-box;transform-origin:128px 206px;animation:tk-swing 3.2s ease-in-out infinite}

/* ---------- Accueil : héros ---------- */
.hero{padding:96px 0 96px}
.hero-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:64px;align-items:center}
.hero-texte{display:flex;flex-direction:column;gap:28px}
.hero .mascotte{width:110px;height:138px;margin-bottom:-8px}
.hero h1{font-weight:700;font-size:clamp(42px,6vw,66px);line-height:1;letter-spacing:-.035em}
.hero-chapeau{font-size:20px;color:var(--muted);max-width:34em}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-note{font-family:var(--f-mono);font-size:13px;color:var(--faint)}
.flux{display:flex;flex-direction:column;font-family:var(--f-mono);font-size:13px}
.flux-bloc{border:1px solid var(--line);border-radius:12px;padding:18px 20px;display:flex;justify-content:space-between;gap:12px;color:var(--muted);background:var(--surface)}
.flux-bloc span:last-child{white-space:nowrap}
.flux-agents{border:0;background:var(--panel);color:var(--panel-text)}
.flux-agents span:last-child{color:var(--seve)}
.flux-fonds{border:1.5px solid var(--accent);padding:22px 20px;color:var(--text)}
.flux-fonds span:last-child{color:var(--accent-text)}
.flux-trait{width:1px;height:26px;background:var(--line2);margin-left:40px}
.flux-trait-seve{background:var(--seve)}
@media (max-width:700px){.hero{padding:56px 0 72px}.hero-grille{gap:48px}.hero-chapeau{font-size:18px}}

/* ---------- Démonstrateur ---------- */
.demo-grille{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}
.pilote{flex:1 1 340px;min-width:0;background:var(--bg);border:1px solid var(--line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:26px}
.pilote-titre{font-family:var(--f-mono);font-size:13px;color:var(--faint)}
.reglage{display:flex;flex-direction:column;gap:12px;border:0;margin:0;padding:0;min-width:0}
.reglage legend,.reglage-titre{font-weight:600;font-size:15px;padding:0;margin-bottom:12px}
.reglage label.reglage-titre{display:flex;justify-content:space-between;gap:12px;margin-bottom:0}
.reglage-valeur{font-family:var(--f-mono);color:var(--accent-text);font-weight:500}
.puces{display:flex;flex-wrap:wrap;gap:8px}
.puce{min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--muted);font:inherit;font-size:15px;cursor:pointer;text-align:left}
.puce:hover{border-color:var(--text);color:var(--text)}
.puce[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}
.puce[aria-pressed="true"]::before{content:"✓ "}
input[type=range]{width:100%;height:44px;accent-color:var(--seve);margin:0}
.btn-activer{margin-top:auto;min-height:54px;border:0;border-radius:999px;background:var(--accent);color:var(--on-accent);font:inherit;font-weight:700;font-size:17px;cursor:pointer}
.btn-activer:disabled{opacity:.75;cursor:progress}
.alerte{color:var(--warm);font-size:14px}
.ecran{flex:999 1 560px;min-width:0;background:var(--panel);color:var(--panel-text);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:24px}
.ecran-haut{display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.nuage{position:relative;flex:3 1 320px;min-width:240px;height:240px;border-radius:16px;background:var(--panel2);overflow:hidden}
.point{position:absolute;display:block;transition:left 1.1s ease,top 1.1s ease}
.point i{display:block;width:100%;height:100%;border-radius:50%;background:var(--panel-line);transition:background .6s ease,box-shadow .6s ease;animation:tk-float 4.2s ease-in-out infinite}
.point.allume i{background:var(--seve);box-shadow:0 0 10px rgba(95,211,184,.7)}
.point.allume.chaud i{background:#F0A070;box-shadow:0 0 10px rgba(240,160,112,.65)}
.amas{position:absolute;transform:translateX(-50%);font-family:var(--f-mono);font-size:11px;color:var(--panel-muted);white-space:nowrap;animation:tk-in .35s ease-out both}
.jauge-bloc{flex:2 1 220px;min-width:0;display:flex;flex-direction:column;gap:8px}
.jauge-titre{font-family:var(--f-mono);font-size:13px;color:var(--panel-muted)}
.jauge-pct{font-family:var(--f-mono);font-size:64px;line-height:1;color:var(--seve)}
.jauge{height:8px;border-radius:4px;background:var(--panel-line);overflow:hidden}
.jauge i,.agent-barre i{display:block;height:100%;width:0;background:var(--seve)}
.phase{font-size:14px;color:var(--panel-muted)}
.agents{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.agent{background:var(--panel2);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px}
.agent-haut{display:flex;align-items:center;justify-content:space-between;gap:8px}
.agent-robot{display:inline-flex;color:var(--panel-muted);opacity:.6}
.agent-robot svg{width:30px;height:30px}
.agent .yeux-ok,.agent .coche{display:none}
.agent.actif .agent-robot{color:var(--seve);opacity:1;animation:tk-bob .8s ease-in-out infinite}
.agent.actif .yeux-ok{display:inline}.agent.actif .yeux-veille{display:none}
.agent.fini .agent-robot{color:var(--seve);opacity:1}
.agent.fini .coche{display:inline}.agent.fini .yeux-veille{display:none}
.agent-statut{font-family:var(--f-mono);font-size:12px;color:var(--panel-muted)}
.agent.fini .agent-statut{color:var(--seve)}
.agent-nom{font-size:15px;font-weight:500}
.agent-barre{height:4px;border-radius:2px;background:var(--panel-line);overflow:hidden;display:block}
.compteurs{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.compteur{border:1px solid var(--panel-line);border-radius:12px;padding:12px 14px}
.compteur b{display:block;font-family:var(--f-mono);font-size:21px;font-weight:400}
.compteur span{font-size:13px;color:var(--panel-muted)}
.compteur-seve{border-color:var(--seve)}
.compteur-seve b{color:var(--seve)}
.journal{background:var(--panel2);border-radius:12px;padding:14px 16px;font-family:var(--f-mono);font-size:13px;color:var(--panel-muted);min-height:112px;display:flex;flex-direction:column;gap:6px;margin:0;list-style:none}
.journal li{animation:tk-in .35s ease-out both}
.ecran-note{font-size:13px;color:var(--panel-muted)}
.suite{margin-top:40px;display:flex;flex-direction:column;gap:28px;border:1px solid var(--line);border-radius:20px;padding:32px;background:var(--bg);animation:tk-in .35s ease-out both}
.suite[hidden]{display:none}
.suite-tete{display:flex;flex-direction:column;gap:8px}
.suite h3{font-size:32px;line-height:1.1}
.suite-tete p{color:var(--muted)}
.questions{display:flex;flex-wrap:wrap;gap:8px}
.question{min-height:44px;padding:10px 18px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--text);font:inherit;font-size:15px;cursor:pointer;text-align:left}
.question:hover{border-color:var(--text)}
.question[aria-pressed="true"]{border-color:var(--text);background:var(--text);color:var(--bg)}
.reponses{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.reponse{border:1px solid var(--warm);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:12px;background:var(--surface)}
.reponse-ok{border:1.5px solid var(--accent)}
.reponse-titre{font-family:var(--f-mono);font-size:12px;color:var(--warm)}
.reponse-ok .reponse-titre{color:var(--accent-text)}
.reponse-texte{font-size:19px;font-weight:500}
.reponse-source{font-size:14px;color:var(--muted)}
.reponse ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--warm)}
.reponse ul li::before{content:"⚠ "}
.reponse-ok ul{color:var(--accent-text)}
.reponse-ok ul li::before{content:"✓ "}
.criteres-titre{font-weight:600;margin-bottom:14px}
.criteres{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.critere{border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--surface)}
.critere b{display:block;font-weight:600}
.critere span{font-size:14px;color:var(--muted)}
.suite-fin{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px}
.suite-fin p{max-width:32em}
.note-fine{font-size:13px;color:var(--faint)}
@media (max-width:700px){.agents{grid-template-columns:repeat(2,minmax(0,1fr))}.pilote,.ecran,.suite{padding:20px}.jauge-pct{font-size:48px}.nuage{height:200px}.suite h3{font-size:26px}}

/* ---------- Offres ---------- */
.offres{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.offre{border:1px solid var(--line);border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:16px;background:var(--surface)}
.offre-phare{border:1.5px solid var(--accent)}
.offre-tag{align-self:flex-start;font-family:var(--f-mono);font-size:12px;color:var(--muted);border:1px solid var(--line2);padding:4px 10px;border-radius:999px}
.offre-phare .offre-tag{color:var(--on-accent);background:var(--accent);border-color:var(--accent)}
.offre h3{font-size:26px;line-height:1.15}
.offre p{color:var(--muted)}
.offre .offre-duree{margin-top:auto;font-family:var(--f-mono);font-size:14px;color:var(--text)}

/* ---------- Références ---------- */
.refs{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;align-items:stretch}
.ref{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface);display:flex;flex-direction:column}
.ref .scene{height:150px}
.ref-corps{padding:24px 24px 26px;display:flex;flex-direction:column;gap:14px}
.ref .ref-corps{flex:1}
.ref .puces-cles{margin-top:auto}
.ref-secteur{font-family:var(--f-mono);font-size:13px;letter-spacing:.08em;color:var(--accent-text)}
.ref h3{font-size:24px;line-height:1.15}
.ref-resultat{color:var(--muted)}
.puces-cles{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.puces-cles li{font-family:var(--f-mono);font-size:13px;padding:6px 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text)}
.ref-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--text);font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.ref-btn:hover{border-color:var(--text)}
.ref-btn svg{transition:transform .25s ease}
.ref-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.ref-detail{color:var(--muted);line-height:1.65;border-top:1px solid var(--line);padding-top:16px}
.ref-detail[hidden]{display:none}

/* ---------- Scènes robots ---------- */
.scene{background:var(--panel);display:flex;align-items:center;justify-content:center;overflow:hidden}
.scene svg{width:100%;height:100%;display:block}
.scene [fill="#1F2E48"]{fill:var(--panel2)}
.scene [stroke="#2C3B55"]{stroke:var(--panel-line)}
.scene [stroke="#C3CBD8"]{stroke:var(--panel-muted)}
.scene [fill="#C3CBD8"]{fill:var(--panel-muted)}
.scene [stroke="#5FC4AE"]{stroke:var(--seve)}
.scene [fill="#5FC4AE"]{fill:var(--seve)}
.scene text{font-family:var(--f-mono)}

/* ---------- Cartes d'articles ---------- */
.cartes{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.cartes-liste{grid-template-columns:repeat(auto-fill,minmax(300px,380px))}
@media (max-width:700px){.cartes-liste{grid-template-columns:1fr}}
.carte{text-decoration:none;color:var(--text);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;background:var(--surface);transition:border-color .2s,transform .2s}
.carte:hover{color:var(--text);border-color:var(--accent);transform:translateY(-2px)}
.carte[hidden]{display:none}
.carte .scene{height:170px}
.carte-corps{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px}
.carte-rub{font-family:var(--f-mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-text)}
.carte-titre{font-family:var(--f-titre);font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-.01em}
.carte-chapeau{font-size:15px;color:var(--muted)}

/* ---------- Contact ---------- */
.contact{padding:112px 0;background:var(--surface);border-top:1px solid var(--line)}
.contact-in{max-width:900px;margin:0 auto;padding:0 24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.contact .mascotte{width:84px;height:104px}
.contact h2{font-weight:700;font-size:clamp(34px,4.8vw,50px);line-height:1.04;letter-spacing:-.025em}
.contact p{color:var(--muted);font-size:19px}
.contact .actions{justify-content:center}
.contact-note{font-size:14px!important;color:var(--faint)!important}
@media (max-width:700px){.contact{padding:80px 0}}

/* ---------- Pied de page ---------- */
.pied{border-top:1px solid var(--line)}
.pied-in{max-width:1200px;margin:0 auto;padding:28px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:14px;color:var(--faint)}
.pied nav{display:flex;gap:20px;flex-wrap:wrap}
.pied a{color:var(--muted)}
.pied a:hover{color:var(--text)}

/* ---------- Pages intérieures ---------- */
.page-tete{padding:88px 0 48px}
.page-tete-in{max-width:900px;display:flex;flex-direction:column;gap:20px}
.page-tete h1{font-weight:700;font-size:clamp(38px,5.4vw,60px);line-height:1.02;letter-spacing:-.035em}
.page-chapeau{font-size:21px;color:var(--muted);max-width:36em}
@media (max-width:700px){.page-tete{padding:56px 0 32px}.page-chapeau{font-size:18px}}
.filtres{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.filtre{min-height:44px;padding:10px 18px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--text);font:inherit;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.filtre:hover{border-color:var(--text)}
.filtre b{font-family:var(--f-mono);font-weight:400;font-size:13px;color:var(--faint)}
.filtre[aria-pressed="true"]{background:var(--text);color:var(--bg);border-color:var(--text)}
.filtre[aria-pressed="true"] b{color:var(--bg);opacity:.75}
.liste-titre{font-family:var(--f-mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin:28px 0 20px}

/* ---------- Article ---------- */
.art-tete{max-width:760px;margin:0 auto;padding:64px 24px 32px;display:flex;flex-direction:column;gap:20px}
.retour{font-size:15px;font-weight:500;text-decoration:none}
.art-tete h1{font-weight:700;font-size:clamp(34px,5vw,52px);line-height:1.04;letter-spacing:-.03em}
.art-chapeau{font-size:21px;color:var(--muted)}
.art-barre{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;font-size:15px;line-height:1.4}
.art-signature{color:var(--muted)}
.art-outils{display:flex;flex-wrap:wrap;gap:8px}
.art-scene{margin:8px 0 4px}
.art-scene .scene{height:170px;border-radius:16px}
.art-scene .scene svg{height:100%}
@media (max-width:700px){.art-scene .scene{height:130px}.art-chapeau{font-size:18px}}
.prose{max-width:760px;margin:0 auto;padding:40px 24px 24px;font-size:18px;line-height:1.7}
.prose>*+*{margin-top:22px}
.prose h2{font-size:30px;line-height:1.15;margin-top:44px}
.prose h3{font-size:22px;line-height:1.25;margin-top:32px}
.prose ul,.prose ol{padding-left:24px}
.prose li+li{margin-top:10px}
.prose blockquote{margin-left:0;padding-left:20px;border-left:3px solid var(--accent);color:var(--muted)}
.prose .avertissement{font-size:15px;color:var(--faint);border:1px solid var(--line);border-radius:12px;padding:14px 18px;background:var(--surface)}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.table-scroll table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.table-scroll th,.table-scroll td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.table-scroll tr:last-child th,.table-scroll tr:last-child td{border-bottom:0}
.table-scroll thead th{font-weight:600;background:var(--surface2)}
.table-scroll tbody th{color:var(--muted);font-weight:500;width:34%}
.encart-demo{text-decoration:none;color:var(--panel-text);background:var(--panel);border-radius:18px;padding:26px 28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:36px 0!important}
.encart-demo:hover{color:var(--panel-text)}
.encart-demo .mascotte{width:54px;height:68px;flex:0 0 auto}
.encart-texte{display:flex;flex-direction:column;gap:6px;max-width:28em;flex:1 1 260px}
.encart-texte span:first-child{font-family:var(--f-mono);font-size:12px;color:var(--seve)}
.encart-texte span:last-child{font-family:var(--f-titre);font-size:22px;font-weight:600;line-height:1.25}
.encart-btn{background:var(--seve);color:#08201A;font-weight:600;font-size:15px;padding:12px 20px;border-radius:999px;white-space:nowrap}
.art-sources{border-top:1px solid var(--line);padding-top:20px;font-size:15px;line-height:1.5}
.art-sources h2{font-size:15px!important;font-family:var(--f-texte);font-weight:600;letter-spacing:0;margin:0 0 8px!important}
.art-sources ul{padding-left:20px}
.art-sources li+li{margin-top:6px}
.a-lire{padding:72px 0 96px;border-top:1px solid var(--line);margin-top:48px}

/* ---------- À propos ---------- */
.ap-cartes{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;max-width:1100px}
.ap-carte{border:1px solid var(--line);border-radius:18px;padding:28px;background:var(--surface);display:flex;flex-direction:column;gap:10px}
.ap-carte h2{font-size:24px;line-height:1.2}
.ap-carte p{color:var(--muted);font-size:16px}
.ap-carte .surtitre{font-size:12px}
.ap-methode{padding:80px 0;background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:80px}
.ap-methode-in{max-width:760px;margin:0 auto;padding:0 24px;display:flex;flex-direction:column;gap:22px;font-size:18px;line-height:1.65}
.ap-methode h2{font-weight:700;font-size:38px;line-height:1.1;letter-spacing:-.025em}
.ap-methode .fort{font-family:var(--f-titre);font-size:22px;font-weight:600}
.fondateur{padding:88px 0}
.fondateur-grille{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;margin-top:36px}
.fondateur-id{flex:0 0 240px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.medaillon{width:220px;height:220px;border-radius:50%;background:var(--accent-soft);overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.medaillon img{width:92%;height:auto;display:block}
.fondateur-nom{font-family:var(--f-titre);font-size:24px;font-weight:700;line-height:1.35}
.fondateur-role{color:var(--muted);font-size:16px}
.fondateur-texte{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:28px;font-size:18px;line-height:1.65}
.fondateur-texte h3{font-size:24px;margin-bottom:12px}

/* ---------- Pages légales et 404 ---------- */
.legal{padding-top:8px}
.legal h2{font-size:24px;margin-top:40px}
.erreur{padding:120px 0;text-align:center}
.erreur-in{display:flex;flex-direction:column;align-items:center;gap:22px}
.erreur .mascotte{width:120px;height:150px}
.erreur h1{font-size:clamp(36px,5vw,52px);font-weight:700}
.erreur p{color:var(--muted)}

/* ---------- Mouvement ---------- */
@keyframes tk-float{0%,100%{transform:translate(0,0)}33%{transform:translate(3px,-4px)}66%{transform:translate(-3px,2px)}}
@keyframes tk-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes tk-in{from{opacity:0}to{opacity:1}}
.js .apparition{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .apparition.vu{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .apparition{opacity:1;transform:none}
}
@media print{.entete,.pied,.contact,.encart-demo,.art-outils,.theme-btn{display:none}body{background:#fff;color:#000}}
