/* ============================================================
   Agence IA Toulouse, V2 (projet agence-ia-toulouse-v4)
   Feuille unique du site, classes préfixées he- (convention HETERACTIS-CMS),
   classes sv- pour les schémas SVG.

   Parti pris : un carnet de travail, pas une plaquette. Papier clair et chaud,
   encre bleu nuit, un seul accent bleu pour ce qui guide (liens, repères, l'IA dans
   les schémas), un ambre réservé à la vigilance. Titres en Space Grotesk, texte
   courant en Source Serif 4. Un fil conducteur : comprendre, décider, faire,
   marqué par trois pastilles (vide, à moitié pleine, pleine).
   Aucune police ni ressource externe, aucun JavaScript. Mode sombre automatique.
   ============================================================ */

@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/space-grotesk.woff2) format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/source-serif-4.woff2) format('woff2')}

:root{
  color-scheme:light dark;
  /* fonds */
  --fond:#F7F6F2;
  --fond-2:#EFEDE6;
  --surface:#FFFFFF;
  --trait:#DEDBD1;
  --trait-fort:#B3AE9F;
  /* textes */
  --titre:#0E1A33;
  --texte:#16223A;
  --texte-doux:#4B5567;
  /* accent : ce qui guide, et l'IA dans les schémas */
  --accent:#1D4ED8;
  --accent-fort:#1E40AF;
  --accent-vif:#2563EB;
  --accent-pale:#E5ECFB;
  --accent-sur:#FFFFFF;
  /* vigilance */
  --vigil:#9A4A0A;
  --vigil-vif:#D97706;
  --vigil-pale:#FBEFD9;
  /* point de départ : rouge de l'encadré « Un point de départ » (31/10/2026), contraste AA */
  --depart:#B91C1C;
  --depart-pale:#FEF2F2;
  /* bande sombre (appel, pied) */
  --bande:#0E1A33;
  --bande-2:#16264A;
  --bande-texte:#C8D3E6;
  --bande-titre:#FFFFFF;
  --bande-accent:#9DB8FF;
  /* préproduction */
  --preprod:#FFF4D6;
  --preprod-texte:#5C3B00;

  --ombre:0 1px 2px rgba(14,26,51,.06),0 10px 28px -16px rgba(14,26,51,.28);
  --f-titre:'Space Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-texte:'Source Serif 4',Georgia,'Times New Roman',serif;
  --cadre:1200px;
  --gouttiere:16px;
  --rayon:6px;
  --section:clamp(56px,8vw,112px);
}
@media (min-width:720px){:root{--gouttiere:32px}}
@media (prefers-color-scheme:dark){
  :root{
    --fond:#0C1322;
    --fond-2:#101A2D;
    --surface:#131E33;
    --trait:#24324C;
    --trait-fort:#3B4C6C;
    --titre:#F1F4FA;
    --texte:#DCE3EF;
    --texte-doux:#A5B1C6;
    --accent:#8EADFF;
    --accent-fort:#3C6BEB;
    --accent-vif:#6F95FF;
    --accent-pale:#1A2A4E;
    --accent-sur:#FFFFFF;
    --vigil:#F2B866;
    --vigil-vif:#F2A93B;
    --vigil-pale:#2E2412;
    --depart:#FCA5A5;
    --depart-pale:#2B1416;
    --bande:#070C17;
    --bande-2:#0E1830;
    --bande-texte:#B9C5DA;
    --bande-titre:#FFFFFF;
    --bande-accent:#9DB8FF;
    --preprod:#3A2A08;
    --preprod-texte:#FFE3A6;
    --ombre:0 1px 2px rgba(0,0,0,.3),0 12px 30px -16px rgba(0,0,0,.6);
  }
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:24px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{
  margin:0;background:var(--fond);color:var(--texte);
  font-family:var(--f-texte);font-size:1.125rem;line-height:1.65;
  font-optical-sizing:auto;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--titre);text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--accent-vif);outline-offset:3px;border-radius:2px}
h1,h2,h3,h4{font-family:var(--f-titre);color:var(--titre);margin:0;font-weight:600;letter-spacing:-.015em;text-wrap:balance}
h1{font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.05;letter-spacing:-.03em}
h2{font-size:clamp(1.65rem,3.2vw,2.45rem);line-height:1.12;letter-spacing:-.025em}
h3{font-size:1.22rem;line-height:1.28}
h4{font-size:1.05rem;line-height:1.3}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0}
strong,b{font-weight:650}
::selection{background:var(--accent-pale)}
abbr[title]{text-decoration:none}

.he-cadre{width:100%;max-width:var(--cadre);margin:0 auto;padding:0 var(--gouttiere)}
.he-mesure{max-width:68ch}
.he-visuellement-cache{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* ---------- Lien d'évitement, préproduction ---------- */
.he-evitement{position:absolute;left:var(--gouttiere);top:-100px;z-index:100;background:var(--titre);color:var(--fond);
  font-family:var(--f-titre);padding:10px 16px;border-radius:var(--rayon);text-decoration:none}
.he-evitement:focus{top:12px;color:var(--fond)}
.he-preprod{margin:0;padding:7px var(--gouttiere);background:var(--preprod);color:var(--preprod-texte);
  font-family:var(--f-titre);font-size:.86rem;line-height:1.35;text-align:center;border-bottom:1px solid var(--trait)}
.he-preprod span{font-weight:700;margin-right:.4em}

/* ---------- Boutons ---------- */
.he-bouton{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;
  font-family:var(--f-titre);font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none;border-radius:var(--rayon);
  background:var(--accent-fort);color:var(--accent-sur);border:2px solid var(--accent-fort);transition:background .2s,border-color .2s,color .2s}
.he-bouton:hover{background:var(--titre);border-color:var(--titre);color:var(--fond);text-decoration:none}
.he-bouton--second{background:transparent;color:var(--titre);border-color:var(--trait-fort)}
.he-bouton--second:hover{background:var(--surface);color:var(--titre);border-color:var(--titre)}
.he-bouton--clair{background:var(--bande-titre);border-color:var(--bande-titre);color:var(--bande)}
.he-bouton--clair:hover{background:var(--bande-accent);border-color:var(--bande-accent);color:var(--bande)}
.he-bouton--fantome{background:transparent;color:var(--bande-titre);border-color:rgba(255,255,255,.35)}
.he-bouton--fantome:hover{background:transparent;color:var(--bande-titre);border-color:var(--bande-titre)}
.he-bouton--petit{min-height:42px;padding:8px 16px;font-size:.95rem}
.he-actions{display:flex;flex-wrap:wrap;gap:12px 14px;align-items:center}
.he-lien-suite{display:inline-flex;align-items:center;gap:.4em;font-family:var(--f-titre);font-weight:600}
.he-lien-suite::after{content:"→";transition:transform .2s}
.he-lien-suite:hover::after{transform:translateX(3px)}

/* ---------- En-tête ---------- */
.he-entete{position:relative;z-index:20;background:var(--fond);border-bottom:1px solid var(--trait)}
.he-entete-in{display:flex;align-items:center;gap:12px 28px;padding-top:12px;padding-bottom:12px}
.he-marque{display:inline-flex;align-items:center;gap:12px;color:var(--titre);text-decoration:none;margin-right:auto}
.he-marque:hover{color:var(--titre);text-decoration:none}
.he-marque-logo{width:38px;height:38px;color:var(--accent-vif);flex:none}
.he-marque-nom{font-family:var(--f-titre);font-weight:700;font-size:1.14rem;line-height:1.05;letter-spacing:-.02em;display:flex;flex-direction:column}
.he-marque-nom small{font-weight:500;font-size:.78rem;letter-spacing:0;color:var(--texte-doux);margin-top:4px}
.he-nav ul{list-style:none;display:flex;gap:4px 24px}
.he-nav a{font-family:var(--f-titre);font-size:.98rem;font-weight:500;color:var(--texte-doux);text-decoration:none;padding:8px 0;
  border-bottom:2px solid transparent;white-space:nowrap}
.he-nav a:hover{color:var(--titre)}
.he-nav a[aria-current="page"]{color:var(--titre);border-bottom-color:var(--accent-vif)}
.he-entete-appel[aria-current="page"]{background:var(--titre);border-color:var(--titre);color:var(--fond)}

.he-menu{flex:none}
.he-menu summary{list-style:none;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 14px;cursor:pointer;
  font-family:var(--f-titre);font-weight:600;font-size:.98rem;color:var(--titre);border:1.5px solid var(--trait-fort);border-radius:var(--rayon);background:var(--surface)}
.he-menu summary::-webkit-details-marker{display:none}
.he-menu-icone{position:relative;width:18px;height:2px;background:currentColor;border-radius:2px}
.he-menu-icone::before,.he-menu-icone::after{content:"";position:absolute;left:0;width:18px;height:2px;background:currentColor;border-radius:2px;transition:transform .2s}
.he-menu-icone::before{top:-6px}
.he-menu-icone::after{top:6px}
.he-menu[open] summary{border-color:var(--titre)}
.he-menu[open] .he-menu-icone{background:transparent}
.he-menu[open] .he-menu-icone::before{transform:translateY(6px) rotate(45deg)}
.he-menu[open] .he-menu-icone::after{transform:translateY(-6px) rotate(-45deg)}
.he-menu-liste{position:absolute;left:0;right:0;top:100%;background:var(--fond);border-bottom:1px solid var(--trait-fort);
  box-shadow:var(--ombre);padding:6px var(--gouttiere) 18px}
.he-menu-liste ul{list-style:none;max-width:var(--cadre);margin:0 auto}
.he-menu-liste li + li{border-top:1px solid var(--trait)}
.he-menu-liste a{display:block;padding:13px 2px;font-family:var(--f-titre);font-weight:500;font-size:1.05rem;color:var(--titre);text-decoration:none}
.he-menu-liste a[aria-current="page"]{color:var(--accent);font-weight:700}
@media (max-width:1079px){.he-nav{display:none}}
@media (max-width:599px){.he-entete-appel{display:none}.he-marque-nom small{display:none}}
@media (min-width:1080px){.he-menu{display:none}}

/* ---------- Fil d'Ariane ---------- */
.he-ariane{border-bottom:1px solid var(--trait);background:var(--fond)}
.he-ariane ol{list-style:none;display:flex;flex-wrap:wrap;gap:2px 0;padding-top:9px;padding-bottom:9px;font-family:var(--f-titre);font-size:.88rem}
.he-ariane li{display:inline-flex;align-items:center;color:var(--texte-doux)}
.he-ariane li + li::before{content:"";width:6px;height:6px;margin:0 10px;border-top:1.5px solid var(--trait-fort);border-right:1.5px solid var(--trait-fort);transform:rotate(45deg)}
.he-ariane a{color:var(--texte-doux);text-decoration:none;padding:4px 0}
.he-ariane a:hover{color:var(--titre);text-decoration:underline}
.he-ariane a[aria-current="page"]{color:var(--titre);font-weight:600}

/* ---------- Sections ---------- */
.he-section{padding:var(--section) 0}
.he-section--surface{background:var(--surface);border-top:1px solid var(--trait);border-bottom:1px solid var(--trait)}
.he-section--fond-2{background:var(--fond-2)}
.he-section--serre{padding-top:calc(var(--section) * .55)}
.he-section--sans-haut{padding-top:0}
.he-surtitre{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;font-family:var(--f-titre);font-size:.8rem;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;color:var(--accent)}
.he-surtitre::before{content:"";width:22px;height:2px;background:currentColor}
.he-titre-section{max-width:26ch;margin-bottom:18px}
.he-chapeau{font-size:clamp(1.12rem,1.5vw,1.27rem);line-height:1.6;color:var(--texte-doux);max-width:62ch}
.he-intro-section{margin-bottom:clamp(32px,4.5vw,52px)}
.he-intro-section .he-chapeau{margin-bottom:0}
.he-texte p,.he-texte ul,.he-texte ol{max-width:68ch}
.he-texte h2{margin:1.6em 0 .55em}
.he-texte h3{margin:1.4em 0 .45em}
.he-texte > :first-child{margin-top:0}
.he-texte ul,.he-texte ol{margin:0 0 1.1em 1.2em}
.he-texte li{margin-bottom:.35em}

/* grilles */
.he-grille{display:grid;gap:clamp(18px,2.4vw,28px)}
/* V2.2 : un encadré ou un bloc de vigilance garde sa hauteur quand la colonne voisine s'allonge */
.he-grille > :is(.he-encadre,.he-vigilance){align-self:start}
@media (min-width:720px){
  .he-grille--2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .he-grille--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .he-grille--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1000px){
  .he-grille--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .he-grille--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.he-deux-temps{display:grid;gap:clamp(28px,4vw,64px)}
@media (min-width:960px){.he-deux-temps{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start}}

/* ---------- Tête des pages intérieures ---------- */
.he-tete-page{padding:clamp(36px,5.5vw,76px) 0 clamp(30px,4.5vw,56px);border-bottom:1px solid var(--trait);
  background:linear-gradient(180deg,var(--fond-2),var(--fond))}
.he-tete-page h1{max-width:22ch;margin-bottom:20px}
.he-tete-page .he-chapeau{margin-bottom:0}
.he-tete-page .he-actions{margin-top:26px}
.he-tete-reperes{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:22px 0 0}
.he-tete-reperes li{font-family:var(--f-titre);font-size:.86rem;font-weight:500;color:var(--titre);background:var(--surface);
  border:1px solid var(--trait);border-radius:100px;padding:5px 12px}

/* ---------- Les trois temps : pastilles ---------- */
.he-pastille{display:inline-block;width:14px;height:14px;border-radius:50%;border:2px solid var(--accent-vif);flex:none;vertical-align:-1px}
.he-pastille--decider{background:linear-gradient(90deg,var(--accent-vif) 50%,transparent 50%)}
.he-pastille--faire{background:var(--accent-vif)}

/* ---------- ACCUEIL ---------- */
.he-accueil-tete{position:relative;padding:clamp(36px,5.5vw,84px) 0 clamp(48px,6vw,88px);overflow:hidden}
.he-accueil-tete::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(var(--trait) 1px,transparent 1px);background-size:100% 36px;opacity:.38;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 85%);mask-image:linear-gradient(180deg,#000,transparent 85%)}
.he-accueil-in{position:relative;display:grid;gap:40px;align-items:start}
@media (min-width:1000px){.he-accueil-in{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px}}
.he-accueil-lieu{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 22px}
.he-accueil-lieu li{font-family:var(--f-titre);font-size:.86rem;font-weight:500;color:var(--titre);background:var(--surface);
  border:1px solid var(--trait);border-radius:100px;padding:5px 12px}
.he-accueil-tete h1{font-size:clamp(2.6rem,6.4vw,4.6rem);line-height:.98;margin-bottom:22px}
.he-accroche{font-family:var(--f-titre);font-weight:500;font-size:clamp(1.3rem,2.3vw,1.7rem);line-height:1.3;letter-spacing:-.015em;
  color:var(--titre);max-width:30ch;margin:0 0 22px}
.he-devise{display:inline-block;font-family:var(--f-titre);font-weight:600;font-size:1rem;color:var(--accent);
  border-left:3px solid var(--accent-vif);padding:2px 0 2px 12px;margin:0 0 22px}
.he-accueil-tete .he-chapeau{margin-bottom:30px}

/* le parcours en trois temps (tête d'accueil et page parcours) */
.he-parcours{background:var(--surface);border:1px solid var(--trait);border-radius:10px;box-shadow:var(--ombre);padding:clamp(20px,2.6vw,30px)}
.he-parcours-titre{font-family:var(--f-titre);font-size:1.28rem;line-height:1.25;font-weight:600;color:var(--titre);margin:0 0 8px}
.he-parcours-etiquette{margin-bottom:10px}
.he-parcours-aide{font-family:var(--f-titre);font-size:.92rem;line-height:1.5;color:var(--texte-doux);margin:0 0 18px}
.he-parcours ol{list-style:none;position:relative}
.he-parcours ol::before{content:"";position:absolute;left:12px;top:14px;bottom:30px;width:2px;background:linear-gradient(var(--accent-vif),var(--accent-pale))}
.he-parcours-etape{position:relative;padding:0 0 22px 44px}
.he-parcours-etape:last-child{padding-bottom:0}
.he-parcours-etape > .he-pastille{position:absolute;left:4px;top:5px;width:18px;height:18px;background-color:var(--surface)}
.he-parcours-etape > .he-pastille--decider{background:linear-gradient(90deg,var(--accent-vif) 50%,var(--surface) 50%)}
.he-parcours-etape > .he-pastille--faire{background:var(--accent-vif)}
.he-parcours-etape :is(h2,h3){font-size:1.15rem;margin:0 0 2px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.he-parcours-etape :is(h2,h3) small{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.he-parcours-etape p{font-size:1rem;line-height:1.5;color:var(--texte-doux);margin:0 0 8px}
.he-parcours-liens{list-style:none;display:flex;flex-wrap:wrap;gap:6px 8px}
.he-parcours-liens a{display:inline-block;font-family:var(--f-titre);font-size:.9rem;font-weight:500;text-decoration:none;color:var(--titre);
  background:var(--fond);border:1px solid var(--trait);border-radius:var(--rayon);padding:5px 10px}
.he-parcours-liens a:hover{border-color:var(--accent-vif);color:var(--accent)}
.he-parcours-pied{font-family:var(--f-titre);font-size:.9rem;color:var(--texte-doux);margin:18px 0 0;padding-top:14px;border-top:1px dashed var(--trait-fort)}

/* trois colonnes du parcours, en grand (page « Le parcours ») */
.he-trois-temps{display:grid;gap:20px;counter-reset:temps}
@media (min-width:960px){.he-trois-temps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
.he-temps{position:relative;background:var(--surface);border:1px solid var(--trait);border-top:4px solid var(--accent-vif);border-radius:var(--rayon);padding:24px 22px 22px}
.he-temps-tete{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.he-temps-tete .he-pastille{width:20px;height:20px}
.he-temps h2,.he-temps h3{font-size:1.45rem}
.he-temps-statut{font-family:var(--f-titre);font-size:.82rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin:0 0 10px}
.he-temps > p{color:var(--texte-doux);font-size:1.02rem}
.he-temps ul{list-style:none;display:grid;gap:10px;margin-top:14px}
.he-temps li{border-top:1px solid var(--trait);padding-top:10px}
.he-temps li a{font-family:var(--f-titre);font-weight:600}
.he-temps li span{display:block;font-size:.97rem;color:var(--texte-doux);line-height:1.5}

/* situations de départ */
.he-situations{display:grid;gap:18px}
@media (min-width:900px){.he-situations{grid-template-columns:repeat(3,minmax(0,1fr))}}
.he-situation{background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:24px 22px;display:flex;flex-direction:column}
.he-situation blockquote{margin:0 0 14px;font-family:var(--f-titre);font-size:1.2rem;font-weight:600;line-height:1.3;color:var(--titre)}
.he-situation blockquote::before{content:"« ";color:var(--accent)}
.he-situation blockquote::after{content:" »";color:var(--accent)}
.he-situation p{font-size:1.02rem;color:var(--texte-doux)}
.he-situation .he-lien-suite{margin-top:auto;font-size:.98rem}

/* deux leviers */
.he-leviers{display:grid;gap:20px}
@media (min-width:900px){.he-leviers{grid-template-columns:1fr 1fr}}
.he-levier{background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:28px 26px}
.he-levier h3{font-size:1.5rem;margin-bottom:10px}
.he-levier p{color:var(--texte-doux)}
.he-levier ul{list-style:none;display:grid;gap:8px;margin:16px 0 18px}
.he-levier li{position:relative;padding-left:22px;line-height:1.5;font-size:1.02rem}
.he-levier li::before{content:"";position:absolute;left:2px;top:.6em;width:8px;height:8px;border:2px solid var(--accent-vif);transform:rotate(45deg)}

/* avant / après */
.he-avant-apres{display:grid;gap:0;border:1px solid var(--trait);border-radius:var(--rayon);overflow:hidden;background:var(--surface)}
.he-avant-apres-ligne{display:grid;gap:0}
@media (min-width:760px){.he-avant-apres-ligne{grid-template-columns:1fr 1fr}}
.he-avant-apres-ligne + .he-avant-apres-ligne{border-top:1px solid var(--trait)}
.he-avant-apres-ligne > div{padding:16px 20px;font-size:1rem;line-height:1.5}
.he-avant-apres-ligne > div:first-child{color:var(--texte-doux)}
.he-avant-apres-ligne > div:last-child{background:var(--accent-pale);color:var(--titre)}
.he-avant-apres-ligne b{display:block;font-family:var(--f-titre);font-size:.78rem;letter-spacing:.07em;text-transform:uppercase;margin-bottom:4px;color:var(--texte-doux)}
.he-avant-apres-ligne > div:last-child b{color:var(--accent)}

/* ---------- Cartes ---------- */
.he-carte{background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:22px 22px 20px}
.he-carte h3{margin-bottom:8px}
.he-carte p{font-size:1.02rem;color:var(--texte-doux);line-height:1.55}
.he-carte p:last-child{margin-bottom:0}
.he-carte--lien{display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:border-color .2s,transform .2s}
.he-carte--lien:hover{border-color:var(--accent-vif);color:inherit;text-decoration:none}
.he-carte--lien h3{color:var(--titre)}
.he-carte--lien .he-carte-suite{margin-top:auto;padding-top:10px;font-family:var(--f-titre);font-weight:600;font-size:.95rem;color:var(--accent)}
.he-carte-num{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-bottom:12px;border-radius:50%;
  font-family:var(--f-titre);font-weight:700;font-size:.95rem;color:var(--accent);background:var(--accent-pale)}
.he-carte-etiquette{display:inline-block;margin-bottom:10px;font-family:var(--f-titre);font-size:.78rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--accent)}
.he-carte--externe .he-carte-suite::after{content:" ↗"}

/* listes */
.he-liste{list-style:none;display:grid;gap:9px;margin:0 0 1.1em}
.he-liste li{position:relative;padding-left:24px;line-height:1.55}
.he-liste li::before{content:"";position:absolute;left:3px;top:.62em;width:8px;height:8px;border:2px solid var(--accent-vif);transform:rotate(45deg)}
.he-liste--non li::before{border:none;transform:none;width:12px;height:12px;top:.5em;left:1px;
  background:linear-gradient(45deg,transparent 43%,var(--texte-doux) 43%,var(--texte-doux) 57%,transparent 57%),linear-gradient(-45deg,transparent 43%,var(--texte-doux) 43%,var(--texte-doux) 57%,transparent 57%)}
.he-liste--vigil li::before{border-color:var(--vigil-vif);transform:none;border-radius:50%;width:9px;height:9px}

/* encadrés */
.he-encadre{background:var(--surface);border:1px solid var(--trait);border-left:4px solid var(--accent-vif);border-radius:var(--rayon);padding:20px 22px;margin:0 0 1.2em}
.he-encadre > :last-child{margin-bottom:0}
.he-encadre h3,.he-encadre h2{font-size:1.15rem;margin-bottom:8px}
.he-vigilance{background:var(--vigil-pale);border:1px solid var(--trait);border-left:4px solid var(--vigil-vif);border-radius:var(--rayon);padding:20px 22px;margin:0 0 1.2em}
/* encadré « Un point de départ » : les ressources ne suffisent pas à elles seules (31/10/2026) */
.he-depart{background:var(--depart-pale);color:var(--texte);border:2px solid var(--depart);border-left-width:6px;border-radius:var(--rayon);padding:16px 20px;margin:18px 0 1.2em}
.he-depart p{margin:0}
.he-depart .he-depart-titre{font-family:var(--f-titre);font-weight:700;font-size:1.1rem;color:var(--depart);margin:0 0 6px}
.he-depart .he-depart-citation{margin-top:10px;font-style:italic}
.he-vigilance > :last-child{margin-bottom:0}
.he-vigilance h2,.he-vigilance h3{font-size:1.15rem;margin-bottom:8px;color:var(--titre)}
.he-vigilance-titre{display:flex;align-items:center;gap:10px}
.he-vigilance-titre::before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:none;border-radius:50%;
  background:var(--vigil-vif);color:#1A1204;font-family:var(--f-titre);font-weight:700;font-size:.85rem}
.he-note{font-family:var(--f-titre);font-size:.92rem;line-height:1.5;color:var(--texte-doux)}
.he-citation{margin:0;padding:6px 0 6px 20px;border-left:3px solid var(--accent-vif);font-family:var(--f-titre);font-size:clamp(1.2rem,2vw,1.45rem);
  font-weight:500;line-height:1.35;color:var(--titre)}
.he-sources{font-family:var(--f-titre);font-size:.9rem;color:var(--texte-doux);border-top:1px solid var(--trait);padding-top:12px;margin-top:22px}
.he-sources a{color:var(--texte-doux)}

/* étapes numérotées */
.he-etapes{list-style:none;display:grid;gap:16px;counter-reset:etape}
@media (min-width:900px){.he-etapes--ligne{grid-template-columns:repeat(var(--n,4),minmax(0,1fr))}}
.he-etapes > li{counter-increment:etape;position:relative;background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:20px 20px 18px}
.he-etapes > li::before{content:counter(etape);display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-bottom:10px;
  border-radius:50%;background:var(--titre);color:var(--fond);font-family:var(--f-titre);font-weight:700;font-size:.92rem}
.he-etapes h3{font-size:1.1rem;margin-bottom:6px}
.he-etapes p{font-size:1rem;line-height:1.5;color:var(--texte-doux);margin:0}

/* duo : ce que l'IA prépare / ce qui reste à vous */
.he-duo{display:grid;gap:16px}
@media (min-width:800px){.he-duo{grid-template-columns:1fr 1fr}}
.he-duo > div{border-radius:var(--rayon);padding:22px}
.he-duo-ia{background:var(--accent-pale);border:1px solid var(--trait)}
.he-duo-vous{background:var(--surface);border:1px solid var(--trait);border-top:3px solid var(--titre)}
.he-duo h3{font-size:1.15rem;margin-bottom:10px}
.he-duo .he-liste{margin:0}

/* taches métier */
.he-taches{display:grid;gap:14px}
@media (min-width:800px){.he-taches{grid-template-columns:1fr 1fr}}
.he-tache{background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:20px 20px 18px}
.he-tache h3{font-size:1.08rem;margin-bottom:6px}
.he-tache p{font-size:1rem;line-height:1.55;color:var(--texte-doux);margin:0 0 8px}
.he-tache p:last-child{margin:0}
.he-tache-vous{font-family:var(--f-titre);font-size:.9rem!important;color:var(--titre)!important}
.he-tache-vous b{color:var(--accent)}

/* premier pas */
.he-premier-pas{background:var(--surface);border:1px solid var(--trait);border-radius:10px;padding:clamp(22px,3vw,34px);box-shadow:var(--ombre)}
.he-premier-pas h2{font-size:clamp(1.4rem,2.4vw,1.8rem);margin-bottom:10px}
.he-premier-pas ol{list-style:none;counter-reset:pas;display:grid;gap:12px;margin:18px 0}
.he-premier-pas ol li{counter-increment:pas;position:relative;padding-left:40px;line-height:1.55}
.he-premier-pas ol li::before{content:counter(pas);position:absolute;left:0;top:0;display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:50%;border:2px solid var(--accent-vif);color:var(--accent);font-family:var(--f-titre);font-weight:700;font-size:.9rem}
.he-consigne{margin:16px 0;padding:14px 16px;background:var(--fond);border:1px dashed var(--trait-fort);border-radius:var(--rayon);
  font-family:var(--f-titre);font-size:.96rem;line-height:1.55;color:var(--titre)}
.he-consigne-titre{display:block;font-size:.78rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--texte-doux);margin-bottom:4px}

/* métiers */
.he-metiers{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.he-metiers a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 14px;background:var(--surface);
  border:1px solid var(--trait);border-radius:var(--rayon);font-family:var(--f-titre);font-weight:500;font-size:.98rem;color:var(--titre);text-decoration:none}
.he-metiers a::after{content:"→";color:var(--accent);transition:transform .2s}
.he-metiers a:hover{border-color:var(--accent-vif)}
.he-metiers a:hover::after{transform:translateX(3px)}
.he-metiers-schema{font-family:var(--f-titre);font-size:.75rem;font-weight:600;color:var(--accent);margin-left:auto}

/* questions fréquentes */
.he-qr-groupe + .he-qr-groupe{margin-top:44px}
.he-qr-groupe h2{font-size:clamp(1.35rem,2.2vw,1.7rem);margin-bottom:14px}
.he-qr{border-top:1px solid var(--trait)}
.he-qr:last-of-type{border-bottom:1px solid var(--trait)}
.he-qr summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 2px;
  font-family:var(--f-titre);font-weight:600;font-size:1.08rem;color:var(--titre)}
.he-qr summary::-webkit-details-marker{display:none}
.he-qr summary::after{content:"+";flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1.5px solid var(--trait-fort);
  border-radius:50%;font-size:1.1rem;color:var(--accent)}
.he-qr[open] summary::after{content:"−"}
.he-qr-r{padding:0 2px 18px;max-width:70ch;color:var(--texte)}
.he-qr-r p:last-child{margin-bottom:0}

/* portrait */
.he-portrait{display:grid;gap:28px;align-items:start}
@media (min-width:860px){.he-portrait{grid-template-columns:300px minmax(0,1fr);gap:48px}}
.he-portrait figure{margin:0}
.he-portrait img{width:100%;height:auto;border-radius:var(--rayon);border:1px solid var(--trait);filter:saturate(.92)}
.he-portrait figcaption{font-family:var(--f-titre);font-size:.88rem;color:var(--texte-doux);margin-top:8px}
.he-principes{list-style:none;display:grid;gap:12px;margin:20px 0}
.he-principes li{padding-left:16px;border-left:3px solid var(--accent-vif);line-height:1.55}
.he-principes b{font-family:var(--f-titre);color:var(--titre)}

/* ---------- Figures et schémas SVG ---------- */
.he-figure{margin:0;background:var(--surface);border:1px solid var(--trait);border-radius:10px;padding:clamp(8px,2.4vw,28px)}
.he-figure svg{width:100%;height:auto}
.he-figure figcaption{margin-top:14px;font-family:var(--f-titre);font-size:.92rem;line-height:1.5;color:var(--texte-doux)}
.he-figure figcaption b{color:var(--titre)}
.he-figure--large{padding:clamp(10px,2vw,24px)}
.he-legende{list-style:none;display:grid;gap:12px;counter-reset:legende}
@media (min-width:760px){.he-legende--2{grid-template-columns:1fr 1fr}}
.he-legende li{position:relative;padding-left:38px;line-height:1.5}
.he-legende li b{font-family:var(--f-titre);color:var(--titre)}
.he-legende-num{position:absolute;left:0;top:0;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;
  background:var(--titre);color:var(--fond);font-family:var(--f-titre);font-weight:700;font-size:.85rem}
.he-legende-num--ia{background:var(--accent-fort);color:#fff}
.he-legende-num--vigil{background:var(--vigil-vif);color:#1A1204}
.he-cles{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;font-family:var(--f-titre);font-size:.86rem;color:var(--texte-doux);margin:12px 0 0}
.he-cles li{display:inline-flex;align-items:center;gap:8px}
.he-cle{display:inline-block;width:14px;height:14px;border-radius:3px;border:1.5px solid var(--titre);background:var(--surface)}
.he-cle--ia{background:var(--accent-pale);border-color:var(--accent-vif)}
.he-cle--vous{background:var(--surface);border-color:var(--titre)}
.he-cle--vigil{background:var(--vigil-pale);border-color:var(--vigil-vif);border-radius:50%}
.he-schema-acces{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-family:var(--f-titre);font-weight:600;font-size:.95rem}
.he-schema-acces::before{content:"";width:16px;height:12px;border:1.5px solid currentColor;border-radius:2px}

/* classes des dessins (couleurs pilotées par les variables, donc mode sombre compris) */
/* contours d'abord (sans remplissage), remplissages ensuite : le remplissage l'emporte si les deux sont posés */
.sv-trait{stroke:var(--trait-fort);fill:none}
.sv-trait-leger{stroke:var(--trait);fill:none}
.sv-encre-trait{stroke:var(--titre);fill:none}
.sv-accent-trait{stroke:var(--accent-vif);fill:none}
.sv-vigil-trait{stroke:var(--vigil-vif);fill:none}
.sv-fond{fill:var(--surface)}
.sv-fond-2{fill:var(--fond-2)}
.sv-page{fill:var(--fond)}
.sv-encre{fill:var(--titre)}
.sv-doux{fill:var(--texte-doux)}
.sv-accent{fill:var(--accent-vif)}
.sv-accent-texte{fill:var(--accent)}
.sv-accent-pale{fill:var(--accent-pale)}
.sv-vigil{fill:var(--vigil-vif)}
.sv-vigil-texte{fill:var(--vigil)}
.sv-vigil-pale{fill:var(--vigil-pale)}
.sv-blanc{fill:#FFFFFF}
.sv-sur-encre{fill:var(--fond)}
.sv-sur-vigil{fill:#1A1204}
.sv-sur-accent{fill:#FFFFFF}
.sv-pointille{stroke-dasharray:4 5}
.sv-titre{font-family:var(--f-titre);font-weight:600}
.sv-texte{font-family:var(--f-titre);font-weight:400}
.sv-gras{font-weight:700}
.sv-milieu{text-anchor:middle}
.sv-fin{text-anchor:end}
.sv-maj{letter-spacing:.08em;text-transform:uppercase}

/* page de schéma */
.he-schema-tete{padding:clamp(28px,4vw,56px) 0 clamp(20px,3vw,32px)}
.he-schema-tete h1{font-size:clamp(1.9rem,4.2vw,3rem);max-width:24ch;margin-bottom:16px}
.he-schema-retour{display:inline-flex;align-items:center;gap:8px;font-family:var(--f-titre);font-weight:600;font-size:.95rem;margin-bottom:18px;text-decoration:none}
.he-schema-retour::before{content:"←"}
.he-schema-corps{padding-bottom:var(--section)}
.he-schema-explication{display:grid;gap:28px;margin-top:clamp(28px,4vw,48px)}
@media (min-width:960px){.he-schema-explication{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:48px}}
.he-schema-limites{background:var(--fond-2);border-radius:var(--rayon);padding:20px 22px}
.he-schema-limites h2{font-size:1.15rem;margin-bottom:8px}
.he-schema-limites p,.he-schema-limites li{font-size:1rem;color:var(--texte-doux)}

/* couloirs (schémas métier) : version HTML lisible, ajoutée sous le dessin */
.he-couloirs{list-style:none;display:grid;gap:12px;counter-reset:temps}
.he-couloir{counter-increment:temps;display:grid;gap:8px;background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:16px 18px}
@media (min-width:800px){.he-couloir{grid-template-columns:200px 1fr 1fr;gap:18px;align-items:start}}
.he-couloir h3{font-size:1.02rem;display:flex;gap:8px}
.he-couloir h3::before{content:counter(temps) ".";color:var(--accent)}
.he-couloir p{margin:0;font-size:.98rem;line-height:1.5}
.he-couloir-etiq{display:block;font-family:var(--f-titre);font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--texte-doux)}
.he-couloir-ia .he-couloir-etiq{color:var(--accent)}
.he-couloir-vigil{grid-column:1 / -1;font-size:.95rem!important;color:var(--vigil)!important;font-family:var(--f-titre)}

/* ---------- Tableaux ---------- */
.he-tableau-defile{overflow-x:auto;margin:0 0 1.3em;border:1px solid var(--trait);border-radius:var(--rayon);background:var(--surface)}
.he-tableau{width:100%;border-collapse:collapse;font-size:1rem;line-height:1.5}
.he-tableau caption{text-align:left;font-family:var(--f-titre);font-weight:600;padding:12px 14px 4px;color:var(--titre)}
.he-tableau th,.he-tableau td{text-align:left;vertical-align:top;padding:11px 14px;border-top:1px solid var(--trait)}
.he-tableau thead th{font-family:var(--f-titre);font-size:.88rem;font-weight:600;color:var(--texte-doux);background:var(--fond-2);border-top:none}
.he-tableau tbody th{font-family:var(--f-titre);font-weight:600;color:var(--titre)}

/* définitions (mentions) */
.he-def{display:grid;grid-template-columns:minmax(0,1fr);gap:4px 24px;margin:0 0 1.4em;background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:16px 18px}
@media (min-width:700px){.he-def{grid-template-columns:220px minmax(0,1fr)}}
.he-def dt{font-family:var(--f-titre);font-weight:600;color:var(--titre);font-size:.96rem}
.he-def dd{margin:0 0 8px}
.he-a-valider{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:100px;background:var(--vigil-pale);border:1px solid var(--vigil-vif);
  color:var(--vigil);font-family:var(--f-titre);font-size:.75rem;font-weight:600;vertical-align:2px;white-space:nowrap}

/* sommaire de page */
.he-sommaire{background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:16px 20px}
.he-sommaire p{font-family:var(--f-titre);font-weight:600;margin:0 0 8px;color:var(--titre)}
.he-sommaire ol{margin:0 0 0 1.2em;font-family:var(--f-titre);font-size:.96rem;display:grid;gap:4px}
@media (min-width:960px){.he-colonne-collante{position:sticky;top:24px}}
.he-avec-sommaire{display:grid;gap:32px}
@media (min-width:960px){.he-avec-sommaire{grid-template-columns:260px minmax(0,1fr);gap:56px;align-items:start}}

/* ---------- Formulaire ---------- */
.he-form{display:grid;gap:22px}
.he-form fieldset{border:1px solid var(--trait);border-radius:var(--rayon);background:var(--surface);padding:20px 20px 22px;margin:0;display:grid;gap:16px;min-width:0}
.he-form fieldset[disabled]{opacity:.78}
.he-form legend{font-family:var(--f-titre);font-weight:600;font-size:1.08rem;color:var(--titre);padding:0 6px}
.he-champ{display:grid;gap:6px}
.he-champs-2{display:grid;gap:16px}
@media (min-width:700px){.he-champs-2{grid-template-columns:1fr 1fr}}
.he-champ label{font-family:var(--f-titre);font-weight:600;font-size:.98rem;color:var(--titre)}
.he-champ label small,.he-aide{font-family:var(--f-titre);font-weight:400;font-size:.88rem;color:var(--texte-doux)}
.he-champ input,.he-champ select,.he-champ textarea{width:100%;min-height:46px;padding:10px 12px;font:inherit;font-size:1rem;color:var(--texte);
  background:var(--fond);border:1.5px solid var(--trait-fort);border-radius:var(--rayon)}
.he-champ textarea{min-height:120px;resize:vertical;line-height:1.5}
.he-champ input:focus,.he-champ select:focus,.he-champ textarea:focus{border-color:var(--accent-vif);outline:3px solid var(--accent-pale);outline-offset:0}
.he-case{display:flex;gap:12px;align-items:flex-start;font-size:1rem;line-height:1.5}
.he-case input{width:22px;height:22px;flex:none;margin-top:2px;accent-color:var(--accent-fort)}
.he-piege{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.he-form-info{font-size:.98rem;color:var(--texte-doux)}
.he-form-envoi{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.he-form-merci{background:var(--accent-pale);border:1px solid var(--accent-vif);border-radius:var(--rayon);padding:20px 22px}
.he-form-erreur{background:var(--vigil-pale);border:1px solid var(--vigil-vif);border-radius:var(--rayon);padding:16px 20px}
.he-bandeau-preprod{display:flex;gap:12px;align-items:flex-start;background:var(--preprod);color:var(--preprod-texte);border-radius:var(--rayon);
  padding:12px 16px;font-family:var(--f-titre);font-size:.94rem;line-height:1.45;margin:0 0 18px}
.he-bouton[disabled]{opacity:.55;cursor:not-allowed}

/* ---------- Appel de fin de page ---------- */
.he-appel{background:var(--bande);color:var(--bande-texte)}
.he-appel-in{display:grid;gap:26px;align-items:center}
@media (min-width:960px){.he-appel-in{grid-template-columns:minmax(0,1.3fr) auto;gap:56px}}
.he-appel h2{color:var(--bande-titre);margin-bottom:12px}
.he-appel p{margin:0;max-width:60ch;font-size:1.08rem}

/* ---------- Pied de page ---------- */
.he-pied{background:var(--bande);color:var(--bande-texte);border-top:1px solid var(--bande-2);font-family:var(--f-titre);font-size:.95rem}
.he-pied a{color:var(--bande-texte);text-decoration:none}
.he-pied a:hover{color:var(--bande-titre);text-decoration:underline}
.he-pied-in{display:grid;gap:36px;padding-top:56px;padding-bottom:40px}
@media (min-width:1000px){.he-pied-in{grid-template-columns:minmax(0,1fr) minmax(0,2.4fr);gap:56px}}
.he-pied-nom{font-weight:700;font-size:1.15rem;color:var(--bande-titre);margin-bottom:10px}
.he-pied-marque p{line-height:1.55}
.he-pied-devise{color:var(--bande-accent);font-weight:600}
.he-pied-liens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
@media (min-width:760px){.he-pied-liens{grid-template-columns:repeat(4,minmax(0,1fr))}}
.he-pied-titre{color:var(--bande-titre);font-weight:600;margin:0 0 10px}
.he-pied-liens ul{list-style:none;display:grid;gap:4px}
.he-pied-liens a{display:inline-block;padding:4px 0;line-height:1.4}
.he-pied-bas{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;padding-top:18px;padding-bottom:28px;border-top:1px solid var(--bande-2);font-size:.88rem}
.he-pied-legal{display:flex;flex-wrap:wrap;gap:4px 20px}
.he-pied-bienveillance{flex-basis:100%;margin:0}
.he-pied-bienveillance a{text-decoration:underline}

/* ---------- Divers ---------- */
.he-plan{display:grid;gap:28px}
@media (min-width:860px){.he-plan{grid-template-columns:repeat(3,minmax(0,1fr))}}
.he-plan h2{font-size:1.2rem;margin-bottom:10px}
.he-plan ul{list-style:none;display:grid;gap:4px;font-family:var(--f-titre);font-size:.98rem}
.he-plan a{display:inline-block;padding:3px 0}
.he-separateur{border:0;border-top:1px solid var(--trait);margin:clamp(28px,4vw,48px) 0}
.he-centre{text-align:center}
.he-mt{margin-top:clamp(28px,4vw,44px)}

@media print{
  .he-entete,.he-ariane,.he-appel,.he-pied,.he-preprod,.he-evitement{display:none}
  body{background:#fff;color:#000;font-size:11pt}
  .he-section{padding:16pt 0}
  a{color:#000}
}
.h3{font-size:1.22rem;line-height:1.28}

/* schémas larges : défilement horizontal sur petit écran (le dessin garde une taille lisible) */
.he-defile{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:6px}
.he-defile:focus-visible{outline:3px solid var(--accent-vif);outline-offset:2px}
@media (max-width:719px){
  .he-defile > svg{min-width:620px}
  .he-defile > svg[viewBox="0 0 820 512"]{min-width:720px}
  .he-defile > svg[viewBox="0 0 860 668"],.he-defile > svg[viewBox="0 0 860 520"],.he-defile > svg[viewBox="0 0 900 440"]{min-width:760px}
}
.he-schema-retour{display:flex;width:fit-content}
.he-schema-explication{align-items:start}

/* V2.1 : étiquettes de flux lisibles par-dessus un trait (halo de la couleur du fond) */
.sv-halo{paint-order:stroke;stroke:var(--surface);stroke-width:5px;stroke-linejoin:round}
.sv-halo tspan{paint-order:stroke;stroke:var(--surface);stroke-width:5px}
/* cas fictif */
.he-cas{display:inline-block;margin:14px 0 0;padding:8px 14px;border-radius:var(--rayon);background:var(--vigil-pale);border:1px solid var(--vigil-vif);
  font-family:var(--f-titre);font-size:.95rem;line-height:1.45;color:var(--titre);max-width:72ch}
.he-cas b{color:var(--vigil)}
.he-couloir-suite{grid-column:2 / -1;font-family:var(--f-titre);font-size:.95rem!important}
.he-couloir-suite .he-couloir-etiq{color:var(--titre)}
/* flux numérotés de l'exemple */
.he-flux{list-style:none;counter-reset:flux;display:grid;gap:6px 28px;margin:0}
@media (min-width:760px){.he-flux{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.he-flux{grid-template-columns:1fr 1fr 1fr}}
.he-flux li{counter-increment:flux;position:relative;padding-left:34px;font-size:1rem;line-height:1.45}
.he-flux li::before{content:counter(flux);position:absolute;left:0;top:1px;display:inline-flex;align-items:center;justify-content:center;
  min-width:24px;height:22px;padding:0 4px;border-radius:11px;background:var(--accent-pale);color:var(--accent);font-family:var(--f-titre);font-weight:700;font-size:.8rem}
.he-flux b{font-family:var(--f-titre);color:var(--titre)}
.he-pastille-ia{display:inline-flex;align-items:center;justify-content:center;width:24px;height:22px;border-radius:11px;background:var(--accent-fort);
  color:#fff;font-family:var(--f-titre);font-weight:700;font-size:.82rem;vertical-align:1px}
.he-cas-ia{background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:20px 22px}
.he-cas-ia h3{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.he-cas-ia dl{display:grid;gap:4px 14px;margin:0}
@media (min-width:640px){.he-cas-ia dl{grid-template-columns:150px minmax(0,1fr)}}
.he-cas-ia dt{font-family:var(--f-titre);font-weight:600;font-size:.9rem;color:var(--texte-doux)}
.he-cas-ia dd{margin:0 0 6px;font-size:1rem;line-height:1.5}
.he-cas-ia .he-cas-risque{color:var(--vigil)}

/* V2.1 : trois gains rapides */
.he-gains{list-style:none;display:grid;gap:16px;margin:0;counter-reset:gain}
@media (min-width:900px){.he-gains{grid-template-columns:repeat(3,minmax(0,1fr))}}
.he-gain{counter-increment:gain;background:var(--surface);border:1px solid var(--trait);border-top:4px solid var(--accent-vif);border-radius:var(--rayon);padding:20px 22px 18px;display:flex;flex-direction:column}
.he-gain h3{font-size:1.12rem;margin:0 0 8px;display:flex;gap:10px;align-items:baseline}
.he-gain h3::before{content:counter(gain);display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;border-radius:50%;
  background:var(--accent-pale);color:var(--accent);font-family:var(--f-titre);font-weight:700;font-size:.85rem}
.he-gain p{font-size:1rem;line-height:1.5;margin:0 0 8px}
.he-gain b{font-family:var(--f-titre);font-size:.9rem;color:var(--titre)}
.he-gain .he-gain-limite{margin-top:auto;padding-top:8px;border-top:1px dashed var(--trait-fort);color:var(--texte-doux)}
.he-gains-note{margin-top:14px}

/* V2.1 : alertes calmes */
.he-alertes{display:grid;gap:16px}
@media (min-width:900px){.he-alertes{grid-template-columns:repeat(2,minmax(0,1fr))}}
.he-alerte{background:var(--surface);border:1px solid var(--trait);border-left:4px solid var(--vigil-vif);border-radius:var(--rayon);padding:20px 22px}
.he-alerte h3{font-size:1.1rem;margin:0 0 8px;display:flex;gap:10px;align-items:baseline}
.he-alerte-num{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;border-radius:50%;
  background:var(--vigil-pale);color:var(--vigil);border:1px solid var(--vigil-vif);font-family:var(--f-titre);font-weight:700;font-size:.8rem}
.he-alerte p,.he-alerte li{font-size:1rem;line-height:1.5}
.he-alerte p{margin:0 0 10px}
.he-alerte-geste{background:var(--fond-2);border-radius:var(--rayon);padding:10px 12px}
.he-alerte-geste b,.he-alerte-dates b{font-family:var(--f-titre);color:var(--titre)}
.he-alerte-source{font-family:var(--f-titre);font-size:.9rem!important;color:var(--texte-doux);margin:0!important}
.he-alerte-dates{list-style:none;display:grid;gap:6px;margin:0 0 10px}
.he-alerte-dates li{padding-left:12px;border-left:2px solid var(--trait-fort)}
.he-garder-main{display:grid;gap:18px;background:var(--surface);border:1px solid var(--trait);border-top:4px solid var(--accent-vif);border-radius:var(--rayon);padding:22px}
@media (min-width:900px){.he-garder-main{grid-template-columns:1fr 1fr;gap:32px}}
.he-garder-main h3{font-size:1.1rem;margin:0 0 8px}
.he-garder-main p{font-size:1rem;line-height:1.55;margin:0}

/* V2.1 : la roue (accueil, parcours) */
.he-pastille--num{display:inline-flex;align-items:center;justify-content:center;background:var(--accent-vif)!important;color:var(--surface);
  font-family:var(--f-titre);font-weight:700;font-size:.7rem;line-height:1}
.he-pastille--cale{border-color:var(--vigil-vif);background:var(--vigil-pale)!important;border-radius:3px}
.he-parcours-etape--cale :is(h2,h3) small{color:var(--vigil)}
.he-idee-force{font-family:var(--f-titre);font-weight:600;font-size:1.05rem;line-height:1.45;color:var(--titre);background:var(--surface);
  border:1px solid var(--trait);border-left:4px solid var(--vigil-vif);border-radius:var(--rayon);padding:12px 16px;margin:0 0 22px;max-width:54ch}
.he-trois-temps--4{counter-reset:none}
@media (min-width:720px) and (max-width:1099px){.he-trois-temps--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.he-trois-temps--4{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}
.he-temps--cale{border-top-color:var(--vigil-vif)}
.he-temps--cale .he-temps-statut{color:var(--vigil)}
.he-roue-texte{list-style:none;display:grid;gap:10px;margin:0}
.he-roue-texte li{background:var(--surface);border:1px solid var(--trait);border-radius:var(--rayon);padding:12px 14px;font-size:1rem;line-height:1.5}
.he-roue-texte li b{font-family:var(--f-titre);color:var(--titre)}
.he-roue-texte .he-roue-cale{border-left:4px solid var(--vigil-vif)}
.he-etapes--5{--n:5}
@media (min-width:900px) and (max-width:1179px){.he-etapes--5{grid-template-columns:repeat(3,minmax(0,1fr))}}
.he-etapes--3{--n:3}
/* V2.1 : la roue garde des textes lisibles sur mobile (défilement horizontal) */
@media (max-width:719px){.he-defile > svg[viewBox="0 0 860 620"]{min-width:760px}}

/* V2.1 (brief accueil) : réponse immédiate sous le H1, cartes de services */
.he-reponse{font-family:var(--f-titre);font-weight:500;font-size:clamp(1.15rem,1.9vw,1.42rem);line-height:1.38;letter-spacing:-.01em;
  color:var(--titre);max-width:44ch;margin:0 0 22px}
.he-mb{margin-bottom:28px}
.he-services{display:grid;gap:16px}
@media (min-width:720px){.he-services{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.he-services{grid-template-columns:repeat(3,minmax(0,1fr))}}
.he-service{background:var(--surface);border:1px solid var(--trait);border-top:4px solid var(--accent-vif);border-radius:var(--rayon);
  padding:20px 22px 18px;display:flex;flex-direction:column}
.he-service h3{font-size:1.15rem;margin:0 0 10px;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.he-service p{font-size:1rem;line-height:1.5;margin:0 0 8px}
.he-service b{font-family:var(--f-titre);font-size:.9rem;color:var(--titre)}
.he-service--prepa{border-top-color:var(--trait-fort)}
.he-service-etat{font-family:var(--f-titre);font-size:.74rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--texte-doux);
  border:1px solid var(--trait-fort);border-radius:100px;padding:2px 8px}
.he-service-liens{list-style:none;display:flex;flex-wrap:wrap;gap:6px 8px;margin:auto 0 0;padding-top:10px}
.he-service-liens a{display:inline-block;font-family:var(--f-titre);font-size:.9rem;font-weight:500;text-decoration:none;color:var(--titre);
  background:var(--fond);border:1px solid var(--trait);border-radius:var(--rayon);padding:5px 10px}
.he-service-liens a:hover{border-color:var(--accent-vif);color:var(--accent)}

/* V2.1 (Search Console) : l'automatisation, carte mise en avant */
.he-service--vedette{background:var(--accent-pale);border-color:var(--accent-vif);border-top:5px solid var(--accent-fort)}
.he-service--vedette h3{font-size:1.25rem}
.he-service--vedette .he-service-liens a{background:var(--surface);border-color:var(--accent-vif);color:var(--accent);font-weight:600}

/* V2.1 (contre-revue d'Actis, 30/10) : indice de défilement des schémas larges, sous 600 px seulement. Là, chaque schéma
   déborde toujours de son cadre (largeur minimale de 620 px ou plus). Une mention écrite, qui reste à gauche pendant le
   défilement (masquée aux lecteurs d'écran : l'aria-label du cadre le dit déjà), et un fondu sur le bord droit, posé sur
   une colonne vide au bout du dessin pour ne rien cacher une fois arrivé au bout. Ni animation ni script. */
@media (max-width:599px){
  .he-defile:has(> svg){display:grid;grid-template-columns:auto 28px;row-gap:6px}
  .he-defile:has(> svg) > svg{grid-column:1;grid-row:2}
  .he-defile:has(> svg)::before{content:"Faites d\E9 filer \2192";content:"Faites d\E9 filer \2192" / "";grid-column:1 / -1;grid-row:1;justify-self:start;
    position:sticky;left:0;font-family:var(--f-titre);font-size:.875rem;font-weight:600;line-height:1.4;color:var(--texte-doux)}
  .he-defile:has(> svg)::after{content:"";grid-column:1 / -1;grid-row:2;justify-self:end;width:28px;position:sticky;right:0;
    pointer-events:none;background:linear-gradient(to right,transparent,var(--surface) 85%)}
}
@media (max-width:599px) and (forced-colors:active){.he-defile:has(> svg)::after{display:none}}
/* Message initial de l'accueil (07/11/2026) - les trois feux - source maquettes/complement-feux-agence.css */
.he-feu summary>span{flex:1}
.he-feu summary::before{content:"";flex:none;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 -2px 0 rgba(0,0,0,.18)}
.he-feu--go summary::before{background:#15803D}
.he-feu--pause summary::before{background:var(--vigil-vif)}
.he-feu--stop summary::before{background:var(--depart)}
.he-feu-mot{font-family:var(--f-titre);letter-spacing:.04em;margin-right:.35em}
.he-feu--go .he-feu-mot{color:#15803D}
.he-feu--pause .he-feu-mot{color:var(--vigil)}
.he-feu--stop .he-feu-mot{color:var(--depart)}
@media (prefers-color-scheme:dark){.he-feu--go summary::before{background:#22C55E}.he-feu--go .he-feu-mot{color:#4ADE80}.he-feu--pause .he-feu-mot{color:var(--vigil-vif)}.he-feu--stop .he-feu-mot{color:#F87171}}

/* « Ma disponibilité » : barre de répartition du temps et schéma en trois étapes (09/11/2026). HTML et CSS seuls, sans pourcentage écrit */
.he-dispo{border-left-width:6px}
.he-dispo-intro{font-size:1.15rem;margin-bottom:18px}
.he-dispo-temps{margin:0 0 20px}
.he-dispo-temps figcaption{font-family:var(--f-titre);font-weight:600;font-size:.95rem;color:var(--titre);margin:0 0 8px}
.he-dispo-barre{display:flex;gap:3px;height:22px;padding:3px;background:var(--surface);border:1px solid var(--trait-fort);border-radius:999px;overflow:hidden}
.he-dispo-part{display:block;height:100%;border-radius:999px;transform-origin:left center;animation:he-dispo-remplir .9s ease-out both}
.he-dispo-part--eco{flex:14 1 0;background:var(--accent-vif)}
.he-dispo-part--neuf{flex:1 1 0;min-width:14px;background:var(--vigil-vif);animation-delay:.5s}
@keyframes he-dispo-remplir{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.he-dispo-part{animation:none}}
.he-dispo-legende{display:grid;gap:6px;list-style:none;margin:10px 0 0;padding:0;font-family:var(--f-titre);font-size:.95rem;color:var(--texte)}
@media (min-width:720px){.he-dispo-legende{grid-template-columns:1fr 1fr;gap:20px}}
.he-dispo-legende li{display:flex;align-items:baseline;gap:10px}
.he-dispo-legende li::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;background:var(--accent-vif);transform:translateY(2px)}
.he-dispo-legende li.he-dispo-legende--neuf::before{background:var(--vigil-vif)}
.he-dispo-schema-titre{font-size:1.05rem;margin:22px 0 12px}
.he-dispo-pas{list-style:none;display:grid;gap:26px;margin:0 0 18px;padding:0;counter-reset:dispo}
@media (min-width:900px){.he-dispo-pas{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}}
.he-dispo-pas > li{counter-increment:dispo;position:relative;background:var(--fond);border:1px solid var(--trait);border-radius:var(--rayon);padding:16px 18px}
.he-dispo-pas > li::before{content:counter(dispo);display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-bottom:8px;border-radius:50%;background:var(--titre);color:var(--fond);font-family:var(--f-titre);font-weight:700;font-size:.92rem}
.he-dispo-pas > li:not(:last-child)::after{content:"";position:absolute;width:12px;height:12px;border-right:3px solid var(--accent);border-bottom:3px solid var(--accent);bottom:-19px;left:calc(50% - 8px);transform:rotate(45deg)}
@media (min-width:900px){.he-dispo-pas > li:not(:last-child)::after{bottom:auto;left:auto;top:calc(50% - 8px);right:-23px;transform:rotate(-45deg)}}
.he-dispo-pas strong{display:block;font-family:var(--f-titre);font-size:1.05rem;margin:0 0 4px;color:var(--titre)}
.he-dispo-pas p{font-size:1rem;line-height:1.5;color:var(--texte-doux);margin:0}
.he-dispo-pas a{font-weight:600}
.he-dispo-fin{margin:0;font-family:var(--f-titre);color:var(--titre)}

/* ============================================================
   Deux portes : « Faire un pré-audit » et « Le diagnostic » (10/11/2026)
   ============================================================ */
.he-portes{margin:0 0 1.4em}
.he-portes h2{margin-top:0}
.he-portes-grille{display:grid;gap:16px;margin-top:14px}
@media (min-width:700px){.he-portes-grille{grid-template-columns:1fr 1fr}}
.he-porte{background:var(--surface);border:1px solid var(--trait);border-top:4px solid var(--accent-vif);border-radius:var(--rayon);padding:18px 20px}
.he-porte h3{margin-top:0}
.he-porte .he-liste li{margin-bottom:.5em}

/* Avant le formulaire : la phrase de Sébastien Vidotto (10/11/2026) */
.he-avant-form{margin:0 0 1.6em}
.he-citation-seeb{margin:14px 0 0;padding:6px 0 6px 20px;border-left:3px solid var(--accent-vif)}
.he-citation-seeb blockquote{margin:0}
.he-citation-seeb blockquote p{font-family:var(--f-titre);font-size:clamp(1.1rem,2vw,1.3rem);font-weight:600;line-height:1.4;margin:0}
.he-citation-seeb figcaption{font-size:.95rem;margin-top:8px;opacity:.85}
.he-citation-seeb figcaption::before{content:"— "}
