/* Les polices, hébergées par le site (partie B, 3.4 et 3.5 ; arbitrages AM-28 et AM-29). Fabriqué par
   outils/polices.py (npm run polices) : ne pas modifier à la main. Lilita One : le TTF d'origine, tel quel (le nom
   réservé de sa licence) ; Nunito Sans : WOFF2 réduits au jeu de outils/polices/jeu.txt.
   Sa graisse 600 : le fichier officiel, celui de la maquette (outils/polices.py, VOIE_600). */
@font-face{font-family:"Lilita One";src:url("/ressources/polices/LilitaOne-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("/ressources/polices/nunito-sans-500.woff2") format("woff2");font-weight:300 500;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("/ressources/polices/nunito-sans-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("/ressources/polices/nunito-sans-700.woff2") format("woff2");font-weight:700 900;font-display:swap}
/* Le repli de Nunito Sans : Arial réglée sur sa largeur et ses hauteurs, posé dans les piles du premier écran,
   pour que l'arrivée de la police ne fasse pas bouger la page. Lilita One n'a pas de repli. */
@font-face{font-family:"Nunito Sans repli";src:local("Arial");font-weight:300 500;size-adjust:101.12%;ascent-override:99.98%;descent-override:34.91%;line-gap-override:0.00%}
@font-face{font-family:"Nunito Sans repli";src:local("Arial Bold"),local("Arial-BoldMT");font-weight:600;size-adjust:94.91%;ascent-override:106.53%;descent-override:37.19%;line-gap-override:0.00%}
@font-face{font-family:"Nunito Sans repli";src:local("Arial Bold"),local("Arial-BoldMT");font-weight:700 900;size-adjust:96.89%;ascent-override:104.35%;descent-override:36.43%;line-gap-override:0.00%}
/* Fabriqué par outils/jetons.mjs : le bloc :root de tokens.css de l'export, octet pour octet. Ne pas modifier à la main. */
:root{
  --bg:#FFF9EE;--sf:#FFFFFF;--sb:#E2EDFA;--sw:#F2DFC0;--tx:#203650;--mu:#53657A;--ol:#203650;--sh:#203650;
  --ac:#245FFF;--ah:#1747D1;--oa:#FFFFFF;--ln:#1747D1;--er:#E85A34;--eb:#FCE3D8;--oe:#203650;--fo:#245FFF;
  --ok:#23684F;--okb:#E6F1EB;--wa:#875518;--wab:#FBF0D8;--da:#AD3545;--dab:#FBEAEC;--li:#C5D5E8;--de:#7296B8;
  --pl:#203650;--pf:#FFFFFF;--pa:#245FFF;--pw:#F2DFC0;--dis:#E2EDFA;--dist:#53657A;--hl:#245FFF;
  --nuit:#16263D;--surnuit:#FFF9EE;
  --ease:cubic-bezier(.2,0,0,1);--ease-pose:cubic-bezier(.3,1.35,.5,1);
  color-scheme:light;
}
/* Hi Bobby : le site.css de l'export (02-prototype/assets/site.css), adapté au site (état cible, point 7).
   Retirés : les jetons (dans jetons.css) et les @font-face (dans polices.css).
   Renommés : [vu] en [data-vu], [pret] en [data-pret], l'élément hb-trait en la classe .hb-trait. Ajouté : le repli « Nunito Sans repli » dans la pile de body
   (polices.css ; partie B, 3.5).
   Adaptés aux pièces interactives (état cible 02, AD-1 et AD-13 ; amendements AM-4 et AM-5) : les liens et les boutons
   des pièces (une classe hb-bibliotheque- ou hb-graphe-) sortent des quatre règles qui repeignent un lien ou un bouton
   bloqué, par un :where(:not(…)) qui ne change pas leur poids ; les autres liens et boutons ne changent pas. L'Akinator
   de « Parler à Bobby » s'en défend seul, par des règles plus lourdes de sa feuille : le site n'ajoute pas hb-akinator-
   (son CONTRAT.md, partie 1 ; état cible 07, L-11).
   Retirés aussi : l'interrupteur clair / sombre et ses deux états : le site n'a que le clair (remarque 1 de Gabriel).
   Le reste est tel quel. */
/* Le clair seul (arbitrage AC-8) : après les jetons, « only light » ; la règle de jetons.css (color-scheme:light) reste
   en repli pour un navigateur qui ne lit pas « only ». Un appareil réglé en sombre voit les mêmes pixels. */
:root{color-scheme:only light}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:104px}
body{margin:0;background:var(--bg);color:var(--tx);font-family:"Nunito Sans","Nunito Sans repli",system-ui,sans-serif;font-weight:500;
  font-size:clamp(16px,calc(14.4px + .3vw),18px);line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0}
a{color:var(--ln);text-underline-offset:3px}
a:hover:where(:not([class*="hb-bibliotheque-"],[class*="hb-graphe-"])){color:var(--hl)}
/* Le lien dans une phrase : encre, gras, souligné de cobalt. Le lien seul porte son rond fléché (style en ligne). */
a:not([style]):where(:not([class*="hb-bibliotheque-"],[class*="hb-graphe-"])){color:var(--tx);font-weight:700;text-decoration:underline;text-decoration-color:var(--hl);text-decoration-thickness:2px;text-underline-offset:4px;transition:color 180ms var(--ease)}
a:not([style]):where(:not([class*="hb-bibliotheque-"],[class*="hb-graphe-"])):hover{color:var(--hl)}
/* Le pied de page : des mots simples ; le trait n'apparaît qu'au survol */
footer nav a:not([style]){font-weight:600;text-decoration-color:transparent;transition:color 180ms var(--ease),text-decoration-color 180ms var(--ease)}
footer nav a:not([style]):hover{color:var(--tx);text-decoration-color:var(--hl)}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus{outline:none}
:focus-visible{outline:3px solid var(--fo);outline-offset:4px;border-radius:10px}
::placeholder{color:var(--mu);opacity:1}
::selection{background:var(--sb)}
summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
details[open]>summary [data-plus]{transform:rotate(45deg)}
[data-plus]{transition:transform 180ms var(--ease)}

/* Liste (MATIERE, hb.css) */
[data-list]{list-style:none;margin:12px 0;padding:0;display:grid;gap:8px;text-align:left}
[data-list]:first-child{margin-top:0}
[data-list]:last-child{margin-bottom:0}
[data-list]>li{position:relative;margin:0;padding-left:26px;text-wrap:pretty}
[data-list]>li::before{content:"";position:absolute;left:4px;top:calc(.5lh - 5px);width:10px;height:10px;border-radius:50%;background:var(--pa)}
[data-list="coche"]>li{padding-left:30px}
[data-list="coche"]>li::before{left:0;top:calc(.5lh - 10px);width:20px;height:20px;border-radius:0;background:var(--ok);
  -webkit-mask:var(--hbm) center/contain no-repeat;mask:var(--hbm) center/contain no-repeat}
[data-list="coche"]{--hbm:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.5 7 13.5 15 4.5' fill='none' stroke='%23FFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* Images-clés (MATIERE, hb.css) */
@keyframes hb-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes hb-fade{from{opacity:0}to{opacity:1}}
@keyframes hb-pop{from{opacity:0;transform:translateY(8px) scale(.92)}to{opacity:1;transform:none}}
@keyframes hb-sheet{from{transform:translateY(100%)}to{transform:none}}
@keyframes hb-drop{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}

/* États : la page en cours dans le menu, l'accent du titre */
[aria-current="page"]>[data-mot]{box-shadow:0 3px 0 var(--hl)}
[aria-pressed="true"]>[data-case]{background:var(--ac);color:#FFFFFF}
:root[data-accent="non"] [data-accent]{color:inherit!important}
button[aria-disabled="true"]:where(:not([class*="hb-bibliotheque-"],[class*="hb-graphe-"])){opacity:.45;cursor:not-allowed;box-shadow:none!important;transform:translateY(4px)}
@media (max-width:719px){[data-rang-tel]{display:flex!important;flex-direction:row!important;justify-content:center!important;flex-wrap:wrap}
  [data-paire]{flex-wrap:nowrap!important;justify-content:flex-start!important;gap:66px!important;padding-left:max(0px,calc(50% - 128px));min-height:84px}
  [data-paire]>.hb-trait{min-width:24px!important;flex:0 0 24px!important}}

/* Le bouton à flèche : au survol la couleur passe (180 ms) et la flèche avance ; à l'appui il s'enfonce de 4 px (120 ms) */
[data-fleche]{transition:transform 180ms var(--ease)}
[data-cta]:hover [data-fleche],[data-cta]:focus-visible [data-fleche]{transform:translateX(5px)}
[data-cta]:active [data-fleche]{transform:translateX(2px)}

/* Écrans : ce que le style en ligne ne sait pas dire */
@media (max-width:1099px){[data-ordi]{display:none!important}}
@media (min-width:1100px){[data-mob]{display:none!important}}
@media (min-width:720px){[data-tel-seul]{display:none!important}}
@media (max-width:1079px){[data-pile-l]{display:flex!important;flex-direction:column!important;align-items:center!important}[data-pile-l]>:not(.hb-trait){flex:0 0 auto!important;max-width:100%}[data-pile-l]>[data-lieu]{align-self:stretch}[data-pile-l]>p[data-lieu]{margin:16px 0 8px}}
@media (max-width:719px){
  [data-pile]{flex-direction:column!important;align-items:stretch!important}
  [data-pile="centre"]{align-items:center!important}
  [data-pile]>:not(.hb-trait){flex:0 0 auto!important;max-width:100%}
  [data-pile="inverse"]{flex-direction:column-reverse!important}
  [data-tel-cache]{display:none!important}
  [data-grille-tel]{grid-template-columns:minmax(0,1fr)!important}
  [data-marche]{margin-bottom:0!important;min-height:0!important}
  [data-droit]{transform:none!important}
  [data-panneau-parler]{left:0!important;right:0!important;bottom:0!important;width:auto!important;max-height:88vh!important;
    border-radius:28px 28px 0 0!important;border-bottom-width:0!important;box-shadow:none!important;animation-name:hb-sheet!important}
}
/* Où ça tourne : trois zones dans un cadre ; le regard de Bobby traverse la frontière, rien ne sort de chez vous */
[data-regard]{position:absolute;z-index:2;top:50%;left:calc(-1*(var(--pz) + var(--couloir)));transform:translate(-50%,-50%);display:flex;align-items:center}
[data-loupe]{left:-16px;top:-28px;z-index:3!important}
[data-lien-zone]{position:absolute;z-index:2;left:0;top:50%;transform:translate(-50%,-50%)}
[data-lien-rang]{position:absolute;z-index:2;left:calc(-1*var(--pz));top:50%;transform:translate(-50%,-50%)}
[data-prise]{position:absolute;z-index:2;left:calc(-1*var(--pz2));top:50%;transform:translate(-50%,-50%)}
/* Les cadres à zones. Trois zones : l'une sous l'autre sous 900 px. Deux zones : côte à côte jusqu'au téléphone. */
@media (max-width:899px){
  [data-lieux]:not([data-duo]){grid-template-columns:minmax(0,1fr)!important;--couloir:0px!important}
  [data-lieux]:not([data-duo])>div{padding-bottom:46px!important}
  [data-lieux]:not([data-duo]) [data-lien-zone]{left:50%;top:0}
  [data-lieux]:not([data-duo]) [data-tel-cache]{display:none!important}
  [data-lieux]:not([data-duo]) [data-tel-seul]{display:inline!important}
  [data-illus-regard]{position:static!important}
  [data-regard]{left:50%;top:0}
  [data-loupe]{left:-10px}
  [data-lien-rang]{left:50%;top:0}
  [data-prise]{left:50%;top:calc(-1*var(--pt2))}
}
@media (max-width:719px){
  [data-lieux][data-duo]{grid-template-columns:minmax(0,1fr)!important;--couloir:0px!important}
  [data-lieux][data-duo]>div{padding-bottom:46px!important}
  [data-lieux][data-duo] [data-lien-zone]{left:50%;top:0}
  [data-lieux][data-duo] [data-tel-cache]{display:none!important}
  [data-lieux][data-duo] [data-tel-seul]{display:inline!important}
}
/* À la tablette (720 à 899 px), chaque zone d'un cadre à trois zones devient une rangée : le dessin à gauche, les mots à droite */
@media (min-width:720px) and (max-width:899px){
  [data-trio]>div:not([data-bande]){grid-template-columns:minmax(0,300px) minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:clamp(22px,4.4vw,44px)!important;row-gap:8px!important;align-items:center;padding-top:44px!important;padding-bottom:40px!important}
  [data-trio]>div:not([data-bande])>:nth-last-child(2){grid-column:1;grid-row:1/span 2;align-self:center!important;justify-self:center!important}
  [data-trio]>div:not([data-bande])>p:last-child{grid-column:2;grid-row:1/span 2;align-self:center;border-top:0!important;padding-top:0!important}
  [data-trio]>div:not([data-bande])>:nth-last-child(3):not([data-lien-zone]){grid-column:2;grid-row:1;align-self:end}
  [data-trio]>div:not([data-bande])>:nth-last-child(3):not([data-lien-zone])~p:last-child{grid-row:2;align-self:start}
  [data-trio]>div:not([data-bande])>:last-child:not(p){grid-column:2;grid-row:1/span 2;justify-self:start!important}
  [data-trio]>div:not([data-bande])>h3:nth-last-child(2){grid-column:2;justify-self:start!important}
  [data-trio]>div:not([data-bande])>h3:nth-last-child(2)+*{grid-column:1;justify-self:center!important}
}
/* Les questions du bas (data-faq-grille) : leur mosaïque est dans composants.css, avec BlocQuestions */
/* Sous le capot : les filtres du graphe ; un type caché s'éteint */
[data-filtre]{transition:opacity 180ms var(--ease)}
[data-filtre]:hover{background:rgba(255,249,238,.12)!important}
[data-filtre][aria-pressed="false"]{opacity:.5}
[data-filtre][aria-pressed="false"] [data-pt]{background:transparent!important}
/* La vie d'un agent : sept étapes en boucle. Quatre colonnes, deux rangs, les ronds fléchés aux jonctions ; en une colonne quand la place manque */
[data-boucle]>div{position:relative}
[data-fl]{position:absolute;z-index:2;transform:translate(-50%,-50%)}
[data-fl="g"]{left:0;top:29px}
[data-fl="h"]{left:calc(100% - 29px);top:0}
[data-fl="r"]{left:29px;top:0}
[data-fl="d"]{left:100%;top:29px}
/* l'agent fait le tour du circuit, une fois, puis rejoint la dernière case */
@keyframes tour-boucle{
  0%{left:7%;top:29px;opacity:0}
  5%{left:7%;top:29px;opacity:1}
  36%{left:calc(100% - 29px);top:29px;opacity:1}
  46%{left:calc(100% - 29px);top:calc(50% + 29px);opacity:1}
  92%{left:13%;top:calc(50% + 29px);opacity:1}
  100%{left:13%;top:calc(50% + 29px);opacity:0}
}
[data-boucle][data-vu]>[data-agent]{animation:tour-boucle 5.2s linear .6s 1 both}
/* la pellicule : on la fait défiler, sans barre */
[data-pellicule]{scrollbar-width:none;-ms-overflow-style:none}
[data-pellicule]::-webkit-scrollbar{display:none}
[data-pellicule]:focus-visible{outline-offset:-3px}
@media (max-width:899px){
  [data-boucle]{grid-template-columns:minmax(0,1fr)!important}
  [data-boucle]>div{grid-column:auto!important;grid-row:auto!important;padding-top:70px!important}
  [data-boucle] [data-rail],[data-boucle]>[data-agent]{display:none!important}
  [data-boucle]{grid-template-rows:none!important}
  [data-boucle] [data-fl]{left:50%!important;top:0!important}
  [data-boucle] [data-fl="r"]{display:none!important}
  [data-boucle] [data-tel-cache]{display:none!important}
  [data-boucle] [data-tel-seul]{display:inline!important}
}
/* Ce que relie chaque fil : l'agent au centre tant que les deux colonnes de côté ont la place ; en dessous, un rail :
   l'agent en tête, un fil qui descend, et chaque carte accrochée au fil par son point */
@media (max-width:799px){
  [data-fils]{grid-template-columns:minmax(0,1fr)!important;row-gap:16px!important}
  [data-fils]>*{grid-column:auto!important;grid-row:auto!important}
  [data-fils]>[data-agent-centre]{flex-direction:row!important;justify-content:flex-start!important;gap:16px!important;padding:14px 18px!important;text-align:left!important;border-radius:26px!important}
  [data-fils]>div:not([data-agent-centre]){margin-left:36px;padding:14px 18px 16px!important}
  [data-fils] [data-fil]{left:-24px!important;right:auto!important;top:-26px!important;bottom:-3px!important;width:0!important;height:auto!important;margin:0!important;border-top:0!important;border-left:3px solid var(--ol)!important}
  [data-fils]>div:last-child>[data-fil]{bottom:50%!important}
  [data-fils]>div>span[aria-hidden]:not([data-fil]){left:-34.5px!important;right:auto!important;top:50%!important;margin:-12px 0 0!important}
}
/* Sous le capot, Bobby, le titre des compteurs et les quatre tuiles. À 1000 px et plus, la rangée de la maquette, en
   style en ligne. De 720 à 999 px, sans trou bleu : la même rangée, Bobby à gauche, à sa droite le titre puis les quatre tuiles
   deux par deux. Sous 720 px, le bloc de droite s'efface (display:contents) et Bobby, le titre et les tuiles se rangent
   dans une colonne centrée, les tuiles deux par deux, et le pictogramme du titre devant sa première ligne, centrée
   avec elle. Ces règles ne touchent pas à la taille de Bobby (170, 160 sous 720 px : Bobby.astro, tailleTel). */
@media (max-width:999px){
  [data-capot-titre]{text-wrap:balance}
  [data-compteurs]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:720px) and (max-width:999px){[data-capot-compteurs]{flex-wrap:nowrap!important}}
@media (max-width:719px){
  [data-capot-compteurs]{display:grid!important;grid-template-columns:minmax(0,1fr);justify-items:center}
  [data-capot-compteurs]>[data-capot-droite]{display:contents!important}
  [data-capot-titre]{display:block!important;text-align:center}
  [data-capot-titre]>span{display:inline-flex!important;vertical-align:middle;margin-right:10px}
  [data-capot-compteurs] [data-compteurs]{grid-column:1/-1;justify-self:stretch}
}
/* La vie d'un agent, l'anneau : l'agent fait un tour, une fois, quand le schéma entre à l'écran */
@keyframes tour{from{transform:rotate(-380deg)}}
@keyframes tour-droit{from{transform:translate(-50%,-50%) rotate(380deg)}}
[data-anneau][data-vu] [data-jeton]{animation:tour 3.6s cubic-bezier(.45,0,.25,1) .5s backwards}
[data-anneau][data-vu] [data-jeton-tete]{animation:tour-droit 3.6s cubic-bezier(.45,0,.25,1) .5s backwards}
/* La vie d'un agent, le fil : en une colonne quand la place manque ; le point de chaque étape monte au coin de sa carte */
@media (max-width:899px){
  [data-zig]{grid-template-columns:minmax(0,1fr)!important}
  [data-zig]>*{grid-column:auto!important;grid-row:auto!important}
  [data-zig]>.hb-trait,[data-zig] [data-fil]{display:none!important}
  [data-zig]>div{margin-top:24px!important}
  [data-zig] [data-noeud]{left:auto!important;right:36px!important;top:0!important;transform:translateY(-50%)!important}
  [data-zig]>div>span[style*="top:-12px"]{left:-12px!important;right:auto!important}
}
/* La bibliothèque : le métier s'ouvre, les agents de tâche tiennent à leur chef d'orchestre par un fil */
[aria-expanded="true"] [data-plus]{transform:rotate(45deg)}
[data-hors="oui"]{opacity:.55;box-shadow:none!important}
/* La bibliothèque en deux colonnes : le métier choisi ; au téléphone, les métiers défilent en ligne et les agents en une colonne */
[data-metier][aria-current="true"]{background:var(--ol)!important;color:var(--bg)!important}
[data-mur]{scrollbar-width:none;-ms-overflow-style:none}
[data-mur]::-webkit-scrollbar{display:none}
[data-mur]:focus-visible{outline-offset:-3px}
@media (max-width:899px){
  [data-deux-colonnes]{grid-template-columns:minmax(0,1fr)!important}
  [data-nav-metiers]{position:static!important;flex-direction:row!important;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none}
  [data-nav-metiers]::-webkit-scrollbar{display:none}
  [data-nav-metiers]>button{flex:none;max-width:260px}
}
[data-peigne]{display:block}
[data-peigne][hidden]{display:none}
[data-peigne][data-seul="oui"]{width:0!important}
@media (max-width:719px){[data-peigne]{width:0!important}}
[data-branche]>div:last-child::before{content:"";position:absolute;left:-3px;top:50%;bottom:0;width:3px;margin-top:2px;background:var(--sf)}
/* Le tiroir d'un agent : à droite à l'ordinateur ; au téléphone, un panneau qui monte du bas */
@keyframes hb-tiroir{from{transform:translateX(100%)}to{transform:none}}
@media (max-width:719px){
  [data-tiroir]{top:auto!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;max-height:88vh!important;border-left-width:0!important;border-top:3px solid var(--ol)!important;border-radius:28px 28px 0 0!important;overflow:hidden;animation-name:hb-sheet!important}
}
/* La bibliothèque, les deux accès face à face : l'un sous l'autre quand la place manque, Bobby entre les deux */
@media (max-width:899px){[data-acces]{grid-template-columns:minmax(0,1fr)!important}}
/* Le pied de page au doigt : des lignes de 44 px */
@media (max-width:999px){footer nav{gap:0!important}footer nav a{display:flex;align-items:center;min-height:44px}footer nav p{margin-bottom:6px}}
/* Le choix entre propositions (maquette) */
[data-choix][aria-pressed="true"]{background:var(--ol)!important;color:var(--bg)!important;border-style:solid!important;border-color:var(--ol)!important}
/* Proposition A des strates : les coulisses et la scène ; l'une sous l'autre tant que les trois salles n'ont pas la place */
@media (max-width:1179px){
  [data-coulisses]{grid-template-columns:minmax(0,1fr)!important}
  [data-coulisses]>div{padding-bottom:46px!important}
  [data-coulisses] [data-prise]{left:50%;top:calc(-1*var(--pt2))}
  [data-coulisses] [data-tel-cache]{display:none!important}
  [data-coulisses] [data-tel-seul]{display:inline!important}
}
/* Proposition B des strates : une ligne, cinq arrêts ; couchée à l'ordinateur, debout au téléphone */
[data-ligne]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:auto auto 1fr auto}
[data-arret]{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;justify-items:center;text-align:center}
[data-arret]>[data-nom]{align-self:end;padding:0 6px 12px}
[data-arret]>[data-point]{justify-self:stretch;display:flex;justify-content:center;padding:6px 0 10px;background:linear-gradient(var(--ac),var(--ac)) left 50% top calc(50% - 2px)/100% 6px no-repeat}
[data-arret]:first-child>[data-point]{background-image:linear-gradient(90deg,transparent 50%,var(--ac) 50%)}
[data-arret="fin"]>[data-point]{background-image:linear-gradient(90deg,var(--ac) 50%,transparent 50%)}
[data-arret]>[data-grappe]{justify-self:stretch;padding:18px 6px 0}
[data-legende="a"]{grid-column:1/span 3;grid-row:4}
[data-legende="b"]{grid-column:4/span 2;grid-row:4}
@media (max-width:1239px){
  [data-ligne]{grid-template-columns:minmax(0,600px)!important;grid-template-rows:none!important;justify-content:center}
  [data-arret]{grid-column:1!important;grid-row:auto!important;grid-template-columns:60px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;justify-items:start;text-align:left}
  [data-arret]>[data-nom]{grid-column:2;grid-row:1;align-self:center;padding:0;min-height:54px;display:flex;align-items:center}
  [data-arret]>[data-point]{grid-column:1;grid-row:1/span 2;align-items:flex-start;padding:0;background:linear-gradient(var(--ac),var(--ac)) center top/6px 100% no-repeat}
  [data-arret]:first-child>[data-point]{background:linear-gradient(var(--ac),var(--ac)) center bottom/6px calc(100% - 24px) no-repeat}
  [data-arret="fin"]>[data-point]{background:linear-gradient(var(--ac),var(--ac)) center top/6px 24px no-repeat}
  [data-arret]>[data-grappe]{grid-column:2;grid-row:2;justify-self:start;padding:8px 0 26px}
  [data-arret]>[data-grappe]>span{justify-content:flex-start!important;margin-left:0!important}
  [data-arret="fin"]>[data-grappe]>span{align-items:flex-start!important}
  [data-legende]{grid-column:1!important;grid-row:auto!important;margin:8px 4px 26px!important}
}
/* La scène (Bobby suit, puis vous) : debout à l'ordinateur et au téléphone, couchée à la tablette, où la zone prend toute la largeur */
[data-cote]{display:none}
@media (min-width:720px) and (max-width:1179px){
  [data-scene]{flex-direction:row!important;gap:clamp(20px,4vw,48px)!important;padding-top:6px}
  [data-scene] [data-bas]{display:none}
  [data-scene] [data-cote]{display:inline}
}
@media (max-width:719px){[data-quatre]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Les strates (Studio) : au téléphone, une seule colonne, chaque légende sous ses strates */
@media (max-width:899px){[data-strates]{grid-template-columns:minmax(0,1fr)!important}[data-strates]>*{grid-column:1!important;grid-row:auto!important;border-left:0!important}}
/* Les strates (Studio), de 1 à 2 : le rond fléché seul, entier (remarque 18) ; « → » côte à côte, « ↓ » sous 720 px,
   où [data-pile] passe en colonne */
[data-lien-strates]{margin:0 5px}
[data-lien-strates] [data-sens="bas"]{display:none}
@media (max-width:719px){[data-lien-strates]{margin:6px 0}[data-lien-strates] [data-sens="cote"]{display:none}[data-lien-strates] [data-sens="bas"]{display:inline}}
/* Academy, « À la fin, vos équipes savent… » : quatre cartes en quatre colonnes, puis deux, puis une ; jamais trois
   puis une seule */
[data-savoirs]{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:999px){[data-savoirs]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:519px){[data-savoirs]{grid-template-columns:minmax(0,1fr)}}
/* Chaque système dans son coin (Studio) : une vraie animation, jouée une fois (et au bouton). Les cinq systèmes
   se tiennent d'abord en rang, puis chacun part dans son coin ; les exports passent, les chiffres divergent. */
@keyframes sys-part{
  0%,32%{transform:translate(var(--dx),var(--dy)) rotate(0deg);outline-color:transparent;box-shadow:0 0 0 var(--sh)}
  37%{transform:translate(calc(var(--dx) - 4px),var(--dy)) rotate(-1.5deg);outline-color:transparent}
  42%{transform:translate(calc(var(--dx) + 4px),var(--dy)) rotate(1.5deg);outline-color:transparent}
  47%{transform:translate(var(--dx),var(--dy)) rotate(0deg);outline-color:transparent;box-shadow:0 0 0 var(--sh)}
  86%{outline-color:transparent}
}
@keyframes papier-va{0%,45%{opacity:0;transform:translateX(-46px) rotate(0deg)}}
@keyframes papier-vient{0%,55%{opacity:0;transform:translateX(46px) rotate(0deg)}}
@keyframes diff-pose{0%,78%{opacity:0;transform:scale(.3)}}
[data-eclat][data-vu] [data-sys]{animation:sys-part 2.8s cubic-bezier(.3,1.25,.45,1) backwards}
[data-eclat][data-vu] [data-va]{animation:papier-va 3.2s cubic-bezier(.2,0,0,1) backwards}
[data-eclat][data-vu] [data-vient]{animation:papier-vient 3.6s cubic-bezier(.2,0,0,1) backwards}
[data-eclat][data-vu] [data-diff]{animation:diff-pose 4s cubic-bezier(.3,1.35,.5,1) backwards}
[data-eclat][data-vu] [data-plus-outil]{animation:diff-pose 3.6s cubic-bezier(.3,1.35,.5,1) backwards}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:1ms!important;animation-delay:0ms!important;transition-duration:1ms!important}
}
/* Hi Bobby : les composants du design system en classes hb-<nom>, leurs états, les éléments remplacés,
   l'interrupteur, les formulaires (état cible, point 7). Chargé en dernier. Les valeurs sont celles des styles en ligne
   de l'export (01-design-system/composants/, Hi Bobby.dc.html), recopiées.
   Les liens portent une classe et pas de style en ligne : site.css leur donne a:not([style]) (gras, souligné) ; chaque
   composant qui est un lien remet donc sa couleur et son soulignement, sur a et sur a:hover.
   Les piles de Nunito Sans du premier écran (le menu) portent son repli (polices.css ; partie B, 3.5) ; Lilita One n'a
   pas de repli (arbitrage AM-29). */

/* ---------- Le survol et la pression : la table fermée (état cible, point 7), 13 classes ---------- */
@media (hover:hover){
  .hb-survol-sb:hover{background:var(--sb)!important}
  .hb-survol-ah:hover{background:var(--ah)!important}
  .hb-survol-sb-monte:hover{background:var(--sb)!important;transform:translateY(-3px)!important}
  .hb-survol-bg:hover{background:var(--bg)!important}
  .hb-survol-sw:hover{background:var(--sw)!important}
  .hb-survol-monte:hover{transform:translateY(-4px)!important}
  .hb-survol-hl:hover{color:var(--hl)!important}
  .hb-survol-sf:hover{background:var(--sf)!important}
}
.hb-appui-3-1:active{transform:translateY(3px)!important;box-shadow:0 1px 0 var(--sh)!important}
.hb-appui-3-2:active{transform:translateY(3px)!important;box-shadow:0 2px 0 var(--sh)!important}
.hb-appui-4-2:active{transform:translateY(4px)!important;box-shadow:0 2px 0 var(--sh)!important}
.hb-appui-3:active{transform:translateY(3px)!important}
.hb-appui-2-1:active{transform:translateY(2px)!important;box-shadow:0 1px 0 var(--sh)!important}

/* ---------- Les commandes ne se sélectionnent pas ----------
   La sélection (un double clic près du logo, ou un appui long au téléphone) pouvait prendre le mot du logo, « Hi », et
   le peindre du fond de ::selection (site.css). Le logo, les boutons, le bouton « Menu » du téléphone et la bulle sont
   des commandes, pas du texte à lire : ils ne se sélectionnent plus, sans reflet d'appui du téléphone. La barre
   et la bande qui l'entoure, l'en-tête en entier, sont aussi une commande : un double clic sur le bord vide de la
   barre, ou sur la bande, prenait le mot voisin, celui du menu ou du titre ; dans Chromium (mesuré le 23/11/2026, à
   390 et 1440 px, barre en haut de page et collée), il n'en prend plus. Le logo, le bouton de l'en-tête et le bouton
   « Menu » sont dans l'en-tête ; le reflet d'appui reste sur eux seuls (il s'hérite : sur l'en-tête, il toucherait le
   menu).
   Le panneau du menu ouvert du téléphone revient à auto, jamais à text (text rend « Agents » sélectionnable au
   double clic). Dans Chromium (mesuré le 23/11/2026), son texte se sélectionne comme avant, d'un glisser avec Alt sur
   un lien, et un geste parti de son vide ne prend plus rien. Limite qui reste, non mesurée : selon la norme, auto sous
   un parent none vaut none, donc Firefox, et peut-être Safari, rendent ce panneau non sélectionnable. Le texte des
   pages et le pied restent sélectionnables ; les choix de l'Akinator restent ceux de la pièce.
   Aucune autre propriété. */
.hb-entete,:is(a,button).hb-bouton-principal,:is(a,button).hb-bouton-secondaire,a.hb-bulle{-webkit-user-select:none;user-select:none}
.hb-menu-tel-panneau{-webkit-user-select:auto;user-select:auto}
a.hb-entete-nom,:is(a,button).hb-bouton-principal,:is(a,button).hb-bouton-secondaire,.hb-menu-tel-bouton,a.hb-bulle{
  -webkit-tap-highlight-color:transparent}

/* ---------- Les boutons (bouton-principal.html, bouton-secondaire.html) ---------- */
:is(a,button).hb-bouton-principal,:is(a,button).hb-bouton-secondaire{display:inline-flex;align-items:center;justify-content:center;min-height:56px;
  padding:0 28px;border-radius:18px;border:3px solid var(--ol);box-shadow:0 6px 0 var(--sh);font:400 22px/1 'Lilita One',sans-serif;
  text-decoration:none;transition:transform 120ms var(--ease),box-shadow 120ms var(--ease)}
:is(a,button).hb-bouton-principal,:is(a,button).hb-bouton-principal:hover{background:var(--ac);color:var(--oa);text-decoration:none}
:is(a,button).hb-bouton-secondaire,:is(a,button).hb-bouton-secondaire:hover{background:var(--sw);color:var(--tx);text-decoration:none}
/* le bouton de l'en-tête : plus petit (en-tete-et-menu.html ligne 18) */
:is(a,button).hb-bouton-principal.hb-bouton-entete{min-height:48px;padding:0 20px;border-radius:16px;box-shadow:0 4px 0 var(--sh);font-size:19px;white-space:nowrap}
/* le bouton du menu du téléphone (Hi Bobby.dc.html ligne 65) */
:is(a,button).hb-bouton-principal.hb-bouton-menu-tel{margin:8px 4px 6px;font-size:21px}

/* ---------- La page en cours dans le menu : le mot souligné, aussi sur l'entrée du haut d'une sous-page ---------- */
[aria-current="true"]>[data-mot]{box-shadow:0 3px 0 var(--hl)}

/* ---------- L'en-tête (en-tete-et-menu.html ; Hi Bobby.dc.html lignes 26 à 68) ---------- */
/* La bande au-dessus de la barre, autour de ses coins et sous son ombre a le fond de la page : rien de ce qui défile
   dessous ne s'y voit (remarque 16 ; 05, I-16). Les 4 px du bas, rendus par la marge négative, ne déplacent rien. */
.hb-entete{position:relative;z-index:40;padding:12px clamp(12px,3vw,32px) 4px;margin-bottom:-4px;background:var(--bg);transition:none;backface-visibility:hidden}
/* La barre, à toutes les largeurs (remarque 16, étendue le 23/11/2026 : « c'est la navbar qui mange le héros »). Sans
   JavaScript, et tant que le héros est à l'écran, elle est un élément normal en haut de page et défile avec elle :
   elle ne passe jamais sur le héros. Au-delà, menu.js la colle en haut de l'écran (data-colle : sticky, sa place reste
   réservée, rien ne bouge) et la cache quand on descend, la montre quand on remonte (data-cache) ; elle ne glisse que
   collée (transition:none hors de là : « réduire les animations », qui ramène toute durée à 1 ms dans site.css, n'y
   crée aucune transition ; collée, la sienne passe à 1 ms). backface-visibility:hidden la garde sur sa propre couche,
   comme quand elle était toujours sticky : sans elle, le lissage du texte de la barre change de quelques pixels au
   premier écran (mesuré le 23/11/2026) ; elle ne fait pas de l'en-tête le bloc du voile (position:fixed). */
.hb-entete[data-colle]{position:sticky;top:0;transition:transform 240ms var(--ease)}
.hb-entete[data-cache]{transform:translateY(-100%)}
/* menu ouvert, ou focus du clavier dedans : la barre en place tout de suite, sans glissement. Sinon le transform
   enfermerait le voile (position:fixed) dans l'en-tête, hors de l'écran, et le focus ferait défiler la page.
   Deux règles : un navigateur qui ne lit pas l'une garde l'autre ; sans :has, menu.js remet la barre. Le menu
   seulement sous 1100 px, où il se montre (sans JavaScript, un menu resté ouvert puis l'écran élargi ne compte pas). */
@media (max-width:1099px){.hb-entete:has(details[data-menu-tel][open]){transform:none;transition:none}}
.hb-entete:has(:focus-visible){transform:none;transition:none}
/* le focus du clavier qui entre dans l'en-tête collée : elle est déjà à l'écran, la page ne défile pas pour elle
   (scroll-padding-top, plus bas que la barre, la faisait juger hors de vue) ; normale, la page remonte juste jusqu'à
   elle */
html:has(.hb-entete :focus-visible){scroll-padding-top:0}
.hb-entete-barre{position:relative;max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:6px 14px;padding:8px 10px 8px 22px;
  background:var(--sf);border:3px solid var(--ol);border-radius:24px;box-shadow:0 4px 0 var(--sh)}
a.hb-entete-nom,a.hb-entete-nom:hover{display:inline-flex;align-items:center;gap:6px;font:400 28px/1 'Lilita One',sans-serif;color:var(--tx);
  text-decoration:none;white-space:nowrap;margin-left:-10px}
.hb-entete-espace{flex:1 1 0}
.hb-menu{display:flex;align-items:stretch;gap:2px}
.hb-deroulant{position:relative;display:flex}
a.hb-menu-lien,a.hb-menu-lien:hover{display:flex;flex-direction:column;gap:3px;padding:7px 14px;border-radius:14px;text-decoration:none;color:var(--tx);font-weight:inherit}
.hb-menu-mot{font:700 17px/1.2 'Nunito Sans','Nunito Sans repli',sans-serif;align-self:flex-start}
.hb-menu-fleche{font-size:12px}
.hb-menu-ligne{font:500 13px/1.25 'Nunito Sans','Nunito Sans repli',sans-serif;color:var(--mu);white-space:nowrap}
/* le sous-menu : caché, ouvert au survol et au focus de son bloc ; Échap le ferme (data-ferme, menu.js) */
.hb-sous-menu{display:none;position:absolute;top:100%;left:0;padding-top:12px}
.hb-deroulant:hover>.hb-sous-menu,.hb-deroulant:focus-within>.hb-sous-menu{display:block}
.hb-deroulant[data-ferme]>.hb-sous-menu{display:none}
.hb-sous-menu-cadre{min-width:220px;padding:8px;display:flex;flex-direction:column;gap:2px;background:var(--sf);border:3px solid var(--ol);
  border-radius:18px;box-shadow:0 6px 0 var(--sh);animation:hb-drop 180ms var(--ease) both}
a.hb-sous-menu-lien,a.hb-sous-menu-lien:hover{padding:11px 14px;border-radius:12px;font:700 17px/1.2 'Nunito Sans','Nunito Sans repli',sans-serif;color:var(--tx);text-decoration:none}
/* le menu du téléphone (remarque 21 ; 05, I-21) : un details, son bouton « Menu » / « Fermer », son panneau sous la
   barre ; quatre blocs séparés du trait pointillé de la maison, le mot, sa ligne, ses sous-entrées marquées d'un même
   point ; « Parler à Bobby » détaché. Ouvert : un voile sombre sur toute la page derrière, sous la barre ; c'est un
   pseudo-élément du summary, donc un appui le ferme, avec ou sans JavaScript ; la page derrière ne défile pas. */
.hb-menu-tel-bouton{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:16px;
  border:3px solid var(--ol);background:var(--sw);color:var(--tx);box-shadow:0 4px 0 var(--sh);font:400 19px/1 'Lilita One',sans-serif}
.hb-menu-tel-fermer{display:none}
.hb-menu-tel[open] .hb-menu-tel-ouvrir{display:none}
.hb-menu-tel[open] .hb-menu-tel-fermer{display:inline}
.hb-menu-tel[open]>summary::before{content:"";position:fixed;inset:0;z-index:-1;background:color-mix(in srgb,var(--nuit) 62%,transparent);
  cursor:default;animation:hb-fade 180ms var(--ease) both}
/* « réduire les animations » : la règle de site.css (*) ne touche pas les pseudo-éléments ; le voile arrive sans fondu */
@media (prefers-reduced-motion:reduce){.hb-menu-tel[open]>summary::before{animation:none}}
.hb-menu-tel-panneau{position:absolute;left:-3px;right:-3px;top:calc(100% + 10px);padding:6px 10px 12px;background:var(--sf);
  border:3px solid var(--ol);border-radius:24px;box-shadow:0 6px 0 var(--sh);animation:hb-drop 240ms var(--ease) both;
  max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px);overflow-y:auto;overscroll-behavior:contain}
.hb-menu-tel-bloc{display:flex;flex-direction:column;gap:2px;padding:8px 0}
.hb-menu-tel-bloc+.hb-menu-tel-bloc{border-top:3px dashed var(--ol)}
a.hb-menu-tel-lien,a.hb-menu-tel-lien:hover{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;
  min-height:60px;padding:7px 12px;border-radius:16px;text-decoration:none;color:var(--tx);font-weight:inherit}
.hb-menu-tel-mot{font:400 24px/1.15 'Lilita One',sans-serif;justify-self:start}
.hb-menu-tel-ligne{grid-column:1;font:500 15px/1.3 'Nunito Sans','Nunito Sans repli',sans-serif;color:var(--mu)}
/* le rond fléché de la maison (le lien seul) : un dessin, sans mot */
a.hb-menu-tel-lien::after{content:"→";content:"→"/"";grid-column:2;grid-row:1/span 2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;
  border-radius:50%;border:3px solid var(--ol);background:var(--ac);color:var(--oa);font:700 15px/1 'Nunito Sans','Nunito Sans repli',sans-serif}
a.hb-menu-tel-sous,a.hb-menu-tel-sous:hover{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;border-radius:14px;
  text-decoration:none;color:var(--tx);font:700 18px/1.25 'Nunito Sans','Nunito Sans repli',sans-serif}
a.hb-menu-tel-sous::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:var(--pa)}
.hb-menu-tel [aria-current="page"]{background:var(--sb)}
:is(a,button).hb-bouton-principal.hb-bouton-menu-tel{display:flex;margin:10px 2px 0;font-size:21px}
/* à la tablette, les quatre blocs en deux colonnes, dans l'ordre du document */
@media (min-width:640px){
  .hb-menu-tel-blocs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-menu-tel-bloc:nth-child(even){border-left:3px dashed var(--ol);padding-left:12px}
  .hb-menu-tel-bloc:nth-child(odd){padding-right:12px}
  .hb-menu-tel-bloc:nth-child(2){border-top:0}
}

/* ---------- Le pied de page (pied-de-page.html) ---------- */
.hb-pied{padding:0 clamp(12px,3vw,32px) clamp(100px,12vw,120px)}
.hb-pied-cadre{max-width:1180px;margin:0 auto;padding:clamp(28px,4vw,48px) clamp(20px,4vw,48px) clamp(22px,3vw,32px);background:var(--sw);
  border:3px solid var(--ol);border-radius:clamp(28px,4vw,44px);box-shadow:0 8px 0 var(--sh)}
.hb-pied-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(24px,4vw,56px)}
.hb-pied-tete{display:flex;flex-direction:column;gap:10px}
.hb-pied-phrase{font:400 clamp(24px,2.8vw,34px)/1.08 'Lilita One',sans-serif;text-wrap:balance}
.hb-pied-signature{max-width:30em;text-wrap:pretty}
.hb-pied-colonnes{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:20px}
.hb-pied-nav{display:flex;flex-direction:column;gap:8px}
.hb-pied-titre{font:400 19px/1.2 'Lilita One',sans-serif}
.hb-pied-bas{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;margin-top:clamp(22px,3vw,32px);
  padding-top:18px;border-top:3px dashed var(--ol);font-size:15px}
.hb-pied-reglages{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px}
.hb-pied-langue{display:flex;align-items:center;gap:8px}
.hb-pied-fr{padding:3px 12px;border-radius:999px;background:var(--ol);color:var(--sw);font:700 14px/1.4 'Nunito Sans',sans-serif}

/* ---------- La bulle « Parler à Bobby » (bulle-parler-a-bobby.html) : couleurs fixes autour de Bobby ---------- */
a.hb-bulle,a.hb-bulle:hover{position:fixed;right:clamp(12px,2vw,24px);bottom:clamp(12px,2vw,24px);z-index:50;display:flex;align-items:center;gap:10px;
  padding:0;border:0;background:none;text-decoration:none;color:var(--tx);border-radius:999px}
.hb-bulle-mot{padding:11px 16px;border-radius:999px;background:var(--sf);border:3px solid var(--ol);box-shadow:0 4px 0 var(--sh);
  font:400 18px/1 'Lilita One',sans-serif;color:var(--tx)}
.hb-bulle-tete{display:flex;border-radius:50%;background:#FFF9EE;border:3px solid #203650;box-shadow:0 5px 0 #203650}
/* le menu du téléphone ouvert : la bulle s'efface, pour ne jamais se poser sur son panneau ; seulement sous 1100 px,
   où le menu se montre (sans JavaScript, un menu resté ouvert puis l'écran élargi ne cache pas la bulle) */
@media (max-width:1099px){
  body:has(details[data-menu-tel][open]) .hb-bulle{display:none}
  /* le menu ouvert : la page derrière ne défile pas et reste à sa place (le corps passe son overflow à la fenêtre) */
  body:has(details[data-menu-tel][open]){overflow:hidden}
  /* et le focus qui passe sur le bouton du menu, dans la barre collée, ne la fait pas défiler (scroll-padding-top) */
  html:has(details[data-menu-tel][open]){scroll-padding-top:0}
}

/* ---------- Le héros (heros.html) ---------- */
.hb-heros{padding:clamp(18px,3vw,32px) clamp(12px,3vw,32px) 0}
.hb-heros-cadre{position:relative;overflow:hidden;max-width:1180px;margin:0 auto;display:flex;flex-direction:column;align-items:center;
  gap:clamp(16px,2.4vw,26px);padding:clamp(44px,8vw,104px) clamp(18px,5vw,72px);text-align:center;background:var(--sb);
  border:3px solid var(--ol);border-radius:clamp(28px,4vw,44px);box-shadow:0 8px 0 var(--sh)}
.hb-orn.hb-heros-rayons{position:absolute;left:50%;bottom:0;width:max(150%,1100px);height:auto;aspect-ratio:1;transform:translate(-50%,50%);
  color:var(--bg);opacity:.5;pointer-events:none}
.hb-heros-titre{position:relative;max-width:13em;font:400 clamp(40px,6.6vw,86px)/1.02 'Lilita One',sans-serif;text-wrap:balance}
.hb-heros-ligne{position:relative;max-width:34em;font-size:clamp(18px,1.8vw,23px);line-height:1.45;text-wrap:pretty}
.hb-heros-boutons{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:16px 14px;margin-top:6px}

/* ---------- Bobby (état cible, point 6) : la place a sa taille dès le HTML ; sa pastille, le fond de sa place ---------- */
.hb-bobby{display:inline-block;flex:none;box-sizing:border-box;line-height:0;vertical-align:middle;width:var(--hb-bobby-largeur);
  height:var(--hb-bobby-cote);padding:var(--hb-bobby-marge);border-radius:var(--hb-bobby-rayon)}
@media (max-width:719px){
  .hb-bobby{width:var(--hb-bobby-largeur-tel);height:var(--hb-bobby-cote-tel);padding:var(--hb-bobby-marge-tel);border-radius:var(--hb-bobby-rayon-tel)}
}
.hb-bobby>svg{display:block;overflow:visible}
.hb-bobby>svg{width:100%;height:100%}
.hb-bobby[data-fond="ciel"]{--fond-bobby:var(--sb)}
.hb-bobby[data-fond="creme"]{--fond-bobby:#F2DFC0}
.hb-bobby[data-fond="papier"]{--fond-bobby:#FFF9EE}
.hb-bobby[data-fond="blanc"]{--fond-bobby:#FFFFFF}
.hb-bobby[data-fond="surface"]{--fond-bobby:var(--sf)}
.hb-bobby[data-hb-bobby-monte]{background:var(--fond-bobby,transparent)}
/* La bulle vivante : sa tête tourne à peine autour du
   point (725, 380) de son cadre (770 unités), celui où bobby.js tourne une tête seule : deux balancements lents, 1,875°
   sur 7,3 s et 1,125° sur 11,9 s (les poids 0,5 et 0,3 de la dérive de bobby.js, leur somme portée à 3° : une tête qui
   bouge à peine, visible mais à peine), et le souffle de la tête
   seule de bobby.js (2,34 unités sur 770, 3,6 s). Chacun part de zéro. Seulement sous le marqueur de
   src/scripts/bulle.js, sans « réduire les animations » ; à l'arrêt, en pause ; après une minute sans geste, le script
   retire le marqueur et ramène la tête au repos en douceur.
   Les animations tournent la place (span.hb-bobby, un élément HTML), pas le <svg> : rotate et translate animés sur un
   élément SVG ne passent pas au compositeur du navigateur (environ 80 recalculs de style par seconde, mesurés). Le
   dessin remplit la boîte de contenu de la place : le pivot est donc la marge plus 49,35 % et 52,6 % du dessin
   (380 / 770 et 405 / 770), et le souffle 0,304 % de la hauteur du dessin. Le pivot est posé hors du marqueur : la
   tête qui revient au repos tourne encore autour de lui. */
@media (prefers-reduced-motion:no-preference){
  .hb-bulle .hb-bobby{--hb-bulle-m:var(--hb-bobby-marge);
    transform-origin:calc(var(--hb-bulle-m) + (100% - 2 * var(--hb-bulle-m)) * .4935) calc(var(--hb-bulle-m) + (100% - 2 * var(--hb-bulle-m)) * .526)}
  [data-hb-bulle-vit] .hb-bobby{animation:hb-bulle-a 7.3s infinite,hb-bulle-b 11.9s infinite,hb-bulle-s 3.6s infinite}
  [data-hb-bulle-vit=pause] .hb-bobby{animation-play-state:paused}
}
@media (prefers-reduced-motion:no-preference) and (max-width:719px){.hb-bulle .hb-bobby{--hb-bulle-m:var(--hb-bobby-marge-tel)}}
@keyframes hb-bulle-a{0%{rotate:0deg;animation-timing-function:ease-out}25%{rotate:1.875deg;animation-timing-function:ease-in-out}
  75%{rotate:-1.875deg;animation-timing-function:ease-in}to{rotate:0deg}}
@keyframes hb-bulle-b{0%{transform:rotate(0deg);animation-timing-function:ease-out}25%{transform:rotate(1.125deg);animation-timing-function:ease-in-out}
  75%{transform:rotate(-1.125deg);animation-timing-function:ease-in}to{transform:rotate(0deg)}}
@keyframes hb-bulle-s{0%{translate:0 0;animation-timing-function:ease-out}25%{translate:0 calc((100% - 2 * var(--hb-bulle-m)) * -.00304);animation-timing-function:ease-in-out}
  75%{translate:0 calc((100% - 2 * var(--hb-bulle-m)) * .00304);animation-timing-function:ease-in}to{translate:0 0}}

/* ---------- Les pictogrammes et les ornements (état cible, point 8) ---------- */
.hb-picto{display:inline-block;flex:none;overflow:visible}
.hb-orn{display:inline-block;flex:none;width:var(--hb-orn-taille,48px);height:var(--hb-orn-taille,48px);overflow:visible}
@keyframes hb-check{from{stroke-dashoffset:40}to{stroke-dashoffset:0}}
.hb-orn-coche{animation:hb-check 240ms cubic-bezier(.2,0,0,1) both}
@media (prefers-reduced-motion:reduce){.hb-orn-coche{animation:none}}

/* ---------- Le trait d'un schéma : la classe HBTrait de hb-site.js, :host devenu .hb-trait ---------- */
.hb-trait{display:flex;align-items:center;justify-content:center;position:relative;flex:1 1 44px;min-width:40px;min-height:24px;align-self:center;
  color:var(--ol);line-height:1.2}
.hb-trait[data-accent]{color:var(--hl)}
.hb-trait .w{display:flex;align-items:center;width:100%;clip-path:inset(0);transition:clip-path .6s cubic-bezier(.2,0,0,1)}
.hb-trait .l{flex:1;height:0;border-top:3px solid currentColor}
.hb-trait[data-tirets] .l{border-top-style:dashed}
.hb-trait .t{display:none;width:0;height:0;flex:none;border:7px solid transparent}
.hb-trait[data-fin="fin"] .t.f,.hb-trait[data-fin="deux"] .t.f,.hb-trait[data-fin="debut"] .t.d,.hb-trait[data-fin="deux"] .t.d{display:block}
.hb-trait .t.f{border-left:11px solid currentColor;border-right:0}
.hb-trait .t.d{border-right:11px solid currentColor;border-left:0}
.hb-trait .m{position:absolute;left:50%;bottom:calc(50% + 10px);transform:translateX(-50%);white-space:nowrap;text-align:center;
  font:700 15px/1.2 "Nunito Sans",sans-serif;color:var(--tx)}
.hb-trait[data-pret]:not([data-vu]) .w{clip-path:inset(0 100% 0 0)}
.hb-trait[data-pret][data-retour]:not([data-vu]) .w{clip-path:inset(0 0 0 100%)}
/* la flèche en pastille : un rond cobalt au bout du trait */
.hb-trait[data-rond] .w{padding-bottom:5px}
.hb-trait[data-rond] .l{border-top-width:5px}
.hb-trait[data-rond] .t{box-sizing:border-box;width:42px;height:42px;border:3px solid var(--ol)!important;border-radius:50%;background:var(--ac);
  box-shadow:0 4px 0 var(--sh);align-items:center;justify-content:center;color:#FFFFFF;font:700 21px/1 "Nunito Sans",sans-serif}
.hb-trait[data-rond][data-fin="fin"] .t.f,.hb-trait[data-rond][data-fin="deux"] .t.f,.hb-trait[data-rond][data-fin="debut"] .t.d,
.hb-trait[data-rond][data-fin="deux"] .t.d{display:flex}
.hb-trait[data-rond] .t.f::before{content:"\2192"}
.hb-trait[data-rond] .t.d::before{content:"\2190"}
/* debout : toujours avec data-v */
.hb-trait[data-v]{flex-direction:column;min-height:48px;min-width:24px;flex:0 0 auto}
.hb-trait[data-v] .w{flex-direction:column;width:auto;height:100%;min-height:48px}
.hb-trait[data-v] .l{width:0;height:auto;min-height:26px;border-top:0;border-left:3px solid currentColor}
.hb-trait[data-v][data-tirets] .l{border-left-style:dashed}
.hb-trait[data-v] .t.f{border:7px solid transparent;border-top:11px solid currentColor;border-bottom:0}
.hb-trait[data-v] .t.d{border:7px solid transparent;border-bottom:11px solid currentColor;border-top:0}
.hb-trait[data-v] .m{left:calc(50% + 14px);bottom:auto;top:50%;transform:translateY(-50%);text-align:left}
.hb-trait[data-v][data-pret]:not([data-vu]) .w{clip-path:inset(0 0 100% 0)}
.hb-trait[data-v][data-pret][data-retour]:not([data-vu]) .w{clip-path:inset(100% 0 0 0)}
.hb-trait[data-v][data-rond] .l{border-left-width:5px}
.hb-trait[data-v][data-rond] .t.f::before{content:"\2193"}
.hb-trait[data-v][data-rond] .t.d::before{content:"\2191"}
/* debout au téléphone, sauf data-h */
@media (max-width:719px){
  .hb-trait:not([data-h]){flex-direction:column;min-height:48px;min-width:24px;flex:0 0 auto}
  .hb-trait:not([data-h]) .w{flex-direction:column;width:auto;height:100%;min-height:48px}
  .hb-trait:not([data-h]) .l{width:0;height:auto;min-height:26px;border-top:0;border-left:3px solid currentColor}
  .hb-trait:not([data-h])[data-tirets] .l{border-left-style:dashed}
  .hb-trait:not([data-h]) .t.f{border:7px solid transparent;border-top:11px solid currentColor;border-bottom:0}
  .hb-trait:not([data-h]) .t.d{border:7px solid transparent;border-bottom:11px solid currentColor;border-top:0}
  .hb-trait:not([data-h]) .m{left:calc(50% + 14px);bottom:auto;top:50%;transform:translateY(-50%);text-align:left}
  .hb-trait:not([data-h])[data-pret]:not([data-vu]) .w{clip-path:inset(0 0 100% 0)}
  .hb-trait:not([data-h])[data-pret][data-retour]:not([data-vu]) .w{clip-path:inset(100% 0 0 0)}
  .hb-trait:not([data-h])[data-rond] .l{border-left-width:5px}
  .hb-trait:not([data-h])[data-rond] .t.f::before{content:"\2193"}
  .hb-trait:not([data-h])[data-rond] .t.d::before{content:"\2191"}
}
/* debout sous 1080 px avec data-l */
@media (max-width:1079px){
  .hb-trait[data-l]{flex-direction:column;min-height:48px;min-width:24px;flex:0 0 auto}
  .hb-trait[data-l] .w{flex-direction:column;width:auto;height:100%;min-height:48px}
  .hb-trait[data-l] .l{width:0;height:auto;min-height:26px;border-top:0;border-left:3px solid currentColor}
  .hb-trait[data-l][data-tirets] .l{border-left-style:dashed}
  .hb-trait[data-l] .t.f{border:7px solid transparent;border-top:11px solid currentColor;border-bottom:0}
  .hb-trait[data-l] .t.d{border:7px solid transparent;border-bottom:11px solid currentColor;border-top:0}
  .hb-trait[data-l] .m{left:calc(50% + 14px);bottom:auto;top:50%;transform:translateY(-50%);text-align:left}
  .hb-trait[data-l][data-pret]:not([data-vu]) .w{clip-path:inset(0 0 100% 0)}
  .hb-trait[data-l][data-pret][data-retour]:not([data-vu]) .w{clip-path:inset(100% 0 0 0)}
  .hb-trait[data-l][data-rond] .l{border-left-width:5px}
  .hb-trait[data-l][data-rond] .t.f::before{content:"\2193"}
  .hb-trait[data-l][data-rond] .t.d::before{content:"\2191"}
}
@media (prefers-reduced-motion:reduce){.hb-trait .w{clip-path:none!important;transition:none}}

/* ---------- L'apparition d'un bloc : la classe HBVu de hb-site.js, ::slotted(*) devenu > * ---------- */
[data-hb-vu]{display:block}
@keyframes hb-vu-monte{from{opacity:0;transform:translateY(18px)}}
@keyframes hb-vu-pose{from{opacity:0;transform:scale(.84)}}
@keyframes hb-vu-glisse{from{opacity:0;transform:translateX(-22px)}}
@keyframes hb-vu-eclate{from{opacity:.15;transform:translate(var(--dx,0),var(--dy,0)) scale(.82)}}
[data-hb-vu][data-pret]:not([data-vu])>*{opacity:0}
[data-hb-vu][data-vu]>*{animation:hb-vu-monte .4s cubic-bezier(.2,0,0,1) backwards}
[data-hb-vu][data-vu][data-effet="pose"]>*{animation-name:hb-vu-pose;animation-timing-function:cubic-bezier(.3,1.35,.5,1)}
[data-hb-vu][data-vu][data-effet="glisse"]>*{animation-name:hb-vu-glisse}
[data-hb-vu][data-vu][data-effet="eclate"]>*{animation-name:hb-vu-eclate;animation-duration:.7s}
[data-hb-vu][data-vu]>:nth-child(2){animation-delay:70ms}
[data-hb-vu][data-vu]>:nth-child(3){animation-delay:140ms}
[data-hb-vu][data-vu]>:nth-child(4){animation-delay:210ms}
[data-hb-vu][data-vu]>:nth-child(5){animation-delay:280ms}
[data-hb-vu][data-vu]>:nth-child(6){animation-delay:350ms}
[data-hb-vu][data-vu]>:nth-child(7){animation-delay:420ms}
[data-hb-vu][data-vu]>:nth-child(8){animation-delay:490ms}
[data-hb-vu][data-vu]>:nth-child(9){animation-delay:560ms}
[data-hb-vu][data-vu][data-effet="eclate"]>*{animation-delay:0ms}
@media (prefers-reduced-motion:reduce){[data-hb-vu]>*{opacity:1!important;animation:none!important}}

/* ---------- Les questions (question-reponse.html, bloc-questions.html ; agents.html pour la forme repliable) ---------- */
.hb-qr{min-width:0;display:flex;flex-direction:column;gap:10px;padding:clamp(18px,2.4vw,28px);background:var(--sf);border:3px solid var(--ol);
  border-radius:26px;box-shadow:0 6px 0 var(--sh)}
.hb-qr-question{font:400 clamp(21px,2.2vw,27px)/1.15 'Lilita One',sans-serif;text-wrap:balance}
.hb-qr-reponse{font-size:clamp(16px,1.25vw,18px);line-height:1.6;text-wrap:pretty}
.hb-qr-repli{background:var(--sf);border:3px solid var(--ol);border-radius:18px;box-shadow:0 4px 0 var(--sh)}
.hb-qr-repli-question{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;
  font:400 19px/1.25 'Lilita One',sans-serif}
.hb-qr-plus{flex:none;font:700 26px/1 'Nunito Sans',sans-serif;color:var(--hl)}
.hb-qr-repli-reponse{padding:0 18px 16px}
.hb-bloc-questions{max-width:1180px;margin:0 auto;padding:0 clamp(16px,4vw,40px)}
.hb-bloc-questions-tete{display:flex;align-items:center;gap:14px;margin-bottom:clamp(24px,3.4vw,40px)}
.hb-bloc-questions-titre{font:400 clamp(30px,4.2vw,48px)/1.05 'Lilita One',sans-serif;text-wrap:balance}
/* La mosaïque (06-CORRECTIONS-PAGES.md, R5 ; AC-22) : une colonne sous 900 px, dans l'ordre de la fiche ; à 900 px et
   plus, la place de chaque carte que BlocQuestions calcule depuis la fiche (--hb-qr-colonne, --hb-qr-rangee). La bande
   de Bobby, sous les questions, haute de son seul contenu ; en colonne au téléphone. */
.hb-bloc-questions-grille{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(14px,1.8vw,20px)}
@media (min-width:900px){
  .hb-bloc-questions-grille{grid-template-columns:repeat(var(--hb-qr-colonnes,3),minmax(0,1fr))}
  .hb-bloc-questions-grille>[data-qr]{grid-column:var(--hb-qr-colonne,auto);grid-row:var(--hb-qr-rangee,auto)}
  .hb-bloc-questions-bande{grid-row:var(--hb-qr-rangee,auto)}
}
.hb-bloc-questions-bande{grid-column:1/-1;min-width:0;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;
  justify-content:center;gap:16px 36px;padding:clamp(20px,2.8vw,32px) clamp(18px,3.4vw,44px);text-align:center;
  background:var(--sb);border:3px solid var(--ol);border-radius:clamp(28px,4vw,44px);box-shadow:0 8px 0 var(--sh)}
.hb-bloc-questions-bande-etalee{justify-content:space-between;gap:18px clamp(20px,4vw,56px);text-align:left}
@media (max-width:719px){.hb-bloc-questions-bande:not(.hb-bloc-questions-bande-etalee){flex-direction:column}}
/* serrée à 720 px et plus : la bande prend la largeur de son
   contenu, centrée sous les questions, Bobby et son bouton côte à côte ; au téléphone, toute la largeur */
@media (min-width:720px){.hb-bloc-questions-bande{justify-self:center}}

/* ---------- L'encadré d'un paragraphe (06-CORRECTIONS-PAGES.md, R2 et R3 ; AC-23) : la forme du bandeau de la
   bibliothèque de la page Agents, fond --sb, sur toute la largeur du conteneur ; le paragraphe garde sa police ---------- */
.hb-encadre{padding:clamp(18px,2.6vw,28px) clamp(18px,3.4vw,44px);background:var(--sb);border:3px solid var(--ol);
  border-radius:clamp(26px,3.6vw,40px);box-shadow:0 8px 0 var(--sh)}

/* ---------- La carte d'un cas, avant et après (carte-cas-avant-apres.html, l'article) ---------- */
.hb-carte-cas{display:flex;flex-direction:column;gap:6px;padding:20px 18px 18px;background:var(--sf);border:3px solid var(--ol);border-radius:26px;
  box-shadow:0 6px 0 var(--sh)}
.hb-carte-cas-titre{display:flex;align-items:center;gap:10px;font:400 22px/1.1 'Lilita One',sans-serif}
.hb-carte-cas-chiffre{font:400 clamp(34px,3.7vw,46px)/1.05 'Lilita One',sans-serif;color:var(--hl);white-space:nowrap}
.hb-carte-cas-legende{font:700 15px/1.35 'Nunito Sans',sans-serif;color:var(--mu)}
.hb-carte-cas-avant{display:flex;flex-direction:column;gap:4px;margin-top:12px;padding:10px 12px;background:var(--bg);border:3px dashed var(--mu);
  border-radius:16px}
.hb-carte-cas-mot{font:700 12px/1.3 'Nunito Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase}
.hb-carte-cas-avant .hb-carte-cas-mot{color:var(--mu)}
.hb-carte-cas-avant-texte{font:700 15px/1.4 'Nunito Sans',sans-serif;color:var(--mu)}
.hb-carte-cas-fleche{align-self:center;font:700 20px/1 'Nunito Sans',sans-serif}
.hb-carte-cas-apres{display:flex;flex-direction:column;gap:4px;margin-bottom:auto;padding:10px 12px;background:var(--okb);border:3px solid var(--ol);
  border-radius:16px;box-shadow:0 4px 0 var(--sh)}
.hb-carte-cas-apres-texte{font:400 19px/1.22 'Lilita One',sans-serif}

/* ---------- La carte d'un agent (carte-agent.html), la fiche d'un métier (fiche-metier.html), les badges ---------- */
.hb-carte-agent{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;background:var(--sf);
  border:3px solid var(--ol);border-radius:22px;box-shadow:0 5px 0 var(--sh);text-align:left;color:var(--tx);
  transition:transform 120ms var(--ease),box-shadow 120ms var(--ease)}
a.hb-carte-agent,a.hb-carte-agent:hover{color:var(--tx);text-decoration:none;font-weight:inherit}
.hb-carte-agent-tete{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.hb-etiquette{padding:3px 10px;border-radius:14px;background:var(--sw);border:2px solid var(--ol);font:700 12px/1.4 'Nunito Sans',sans-serif;
  text-wrap:balance}
.hb-carte-agent-nom{font:400 20px/1.15 'Lilita One',sans-serif;text-wrap:balance}
.hb-carte-agent-ligne{flex:1;font-size:15px;line-height:1.45;color:var(--mu);text-wrap:pretty}
.hb-badge{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:0 12px 0 10px;border-radius:999px;border:2px solid var(--ol);
  font:700 14px/1 'Nunito Sans',sans-serif;white-space:nowrap}
.hb-badge-point{width:10px;height:10px;border-radius:50%}
.hb-badge-gratuit{background:var(--okb);color:var(--tx)}
.hb-badge-gratuit .hb-badge-point{background:var(--ok)}
.hb-badge-relie{background:var(--ac);color:var(--oa)}
.hb-badge-relie .hb-badge-point{background:#FFFFFF}
.hb-badge-petit{min-height:28px;padding:0 11px 0 9px;font-size:13px}
.hb-badge-petit .hb-badge-point{width:9px;height:9px}
/* l'étiquette « Bientôt » d'un guide pas encore écrit (Guides) */
.hb-bientot{align-self:flex-start;padding:3px 12px;border-radius:999px;background:var(--sw);border:2px solid var(--ol);color:var(--tx);
  font:700 13px/1.4 'Nunito Sans',sans-serif}
.hb-fiche-metier{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:18px 18px 16px;border:3px solid var(--ol);
  border-radius:26px;background:var(--sf);box-shadow:0 6px 0 var(--sh);text-align:left;color:var(--tx);
  transition:transform 120ms var(--ease),box-shadow 120ms var(--ease)}
a.hb-fiche-metier,a.hb-fiche-metier:hover{color:var(--tx);text-decoration:none;font-weight:inherit}
.hb-fiche-metier-tete{align-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:10px}
.hb-fiche-metier-picto{flex:none;display:flex;padding:7px;background:var(--sw);border:3px solid var(--ol);border-radius:16px}
.hb-fiche-metier-compte{font:700 15px/1.2 'Nunito Sans',sans-serif;color:var(--mu);white-space:nowrap}
.hb-fiche-metier-nom{font:400 clamp(20px,2.1vw,24px)/1.12 'Lilita One',sans-serif;text-wrap:balance}
.hb-fiche-metier-badges{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px;padding-top:4px}

/* ---------- Le cadre à zones (cadre-a-zones.html) ; site.css le replie (data-lieux, data-trio, data-duo) ---------- */
.hb-cadre-zones{display:grid;grid-template-rows:1fr auto;border:3px solid var(--ol);border-radius:clamp(28px,4vw,44px);box-shadow:0 8px 0 var(--sh);
  overflow:hidden}
.hb-zone{grid-row:span 2;display:grid;grid-template-rows:subgrid;row-gap:20px;padding:clamp(44px,4.8vw,58px) clamp(16px,2.4vw,32px) clamp(22px,3vw,30px)}
.hb-zone-texte{padding-top:16px;border-top:3px dashed var(--ol);font-size:clamp(16px,1.25vw,18px);line-height:1.55;text-wrap:pretty;font-weight:600}

/* ---------- La pellicule (pellicule.html) : cartes à couleurs fixes, faites pour une section « nuit » ---------- */
/* contain:inline-size : la rangée prend la largeur de son conteneur et ne l'élargit jamais, même dans une grille */
.hb-pellicule{display:flex;gap:16px;margin:clamp(12px,1.6vw,16px) 0;padding:0 clamp(14px,2.4vw,28px);overflow-x:auto;scroll-snap-type:x proximity;
  scroll-padding-left:clamp(14px,2.4vw,28px);contain:inline-size}
.hb-pellicule>*{flex:0 0 clamp(250px,29vw,330px);scroll-snap-align:start;min-width:0}
/* La carte claire sur la section « nuit » : ses couleurs fixes (pellicule.html ligne 3). Le style en ligne de l'export y
   reposait aussi les jetons à leur valeur claire, pour le sombre : le site n'a plus que le clair, ils partent (AC-6). */
.hb-pellicule-carte{display:flex;flex-direction:column;gap:14px;padding:20px 20px 24px;border-radius:18px;background:#FFF9EE;color:#203650}
/* la carte cobalt : le blanc est donné aux éléments eux-mêmes (l'export y reposait --mu à blanc ; aucun jeton ne se
   repose plus : le site n'a que le clair, AC-6) */
.hb-pellicule-carte-accent{background:#245FFF;color:#FFFFFF}
.hb-pellicule-carte-tete{display:flex;align-items:center;justify-content:space-between}
.hb-pellicule-numero{font:400 clamp(52px,6vw,76px)/.9 'Lilita One',sans-serif;color:#245FFF}
.hb-pellicule-carte-accent .hb-pellicule-numero{color:#FFFFFF}
.hb-pellicule-picto{display:flex;padding:8px;background:#FFFFFF;border:3px solid #203650;border-radius:18px;box-shadow:0 4px 0 #203650}
.hb-pellicule-texte{font-size:clamp(16px,1.25vw,18px);line-height:1.55;text-wrap:pretty}
.hb-pellicule-carte-accent .hb-pellicule-texte{font-weight:600}
.hb-pellicule-titre{display:block;margin-bottom:4px;font:400 clamp(24px,2.5vw,30px)/1.15 'Lilita One',sans-serif}
/* les deux boutons « L'étape d'avant », « L'étape d'après » (sous-le-capot.html lignes 244 à 247) : cachés sans
   JavaScript ; au bout de la rangée, aria-disabled (site.css : opacité, sans ombre, enfoncé) */
.hb-pellicule-boutons{display:flex;justify-content:flex-end;gap:10px}
.hb-pellicule-boutons[hidden]{display:none}
.hb-pellicule-bouton{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;
  border-radius:50%;background:var(--ac);border:3px solid #FFF9EE;color:#FFFFFF;font:700 22px/1 'Nunito Sans',sans-serif;
  transition:transform 120ms var(--ease)}
.hb-pellicule-bouton[aria-disabled="true"]{cursor:not-allowed}
@media (hover:hover){.hb-pellicule-bouton[aria-disabled="true"]:hover{background:var(--ac)!important}}

/* ---------- Les compteurs (compteurs.html) : tuiles claires à couleurs fixes ; comme pour la pellicule, les jetons que
   l'export y reposait à leur valeur claire (compteurs.html ligne 3) partent avec le sombre (AC-6) ---------- */
.hb-compteurs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,1.2vw,14px)}
.hb-compteur{min-width:0;display:flex;
  flex-direction:column;gap:6px;padding:14px 14px 16px;background:#FFF9EE;color:#203650;border-radius:20px}
.hb-compteur-nombre{display:flex;flex-direction:column;font:400 clamp(34px,3.8vw,48px)/1 'Lilita One',sans-serif}
.hb-compteur-avant{min-height:20px;font-size:clamp(15px,1.4vw,18px);line-height:20px}
.hb-compteur-libelle{font:700 15px/1.35 'Nunito Sans',sans-serif;text-wrap:pretty}

/* ---------- La bande des logos (bande-de-logos.html) : pastille blanche fixe, logo jamais recoloré ---------- */
.hb-logos{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:14px 12px;margin-top:clamp(18px,3vw,32px)}
.hb-logo{display:flex;flex-direction:column;align-items:center;gap:6px;font:700 13px/1.2 'Nunito Sans',sans-serif}
.hb-logo-pastille{display:flex;align-items:center;justify-content:center;width:124px;height:58px;padding:0 14px;background:#FFFFFF;
  border:3px solid var(--ol);border-radius:16px}
.hb-logo-pastille>img{display:block;width:auto;height:auto} /* width et height du HTML donnent la proportion ; max-height la taille */
/* un outil sans logo (Microsoft 365, arbitrage AC-24) : son nom dessiné dans la pastille, tiré de data-nom, à l'encre
   fixe sur le blanc ; le nom lu est celui de dessous. 13 px : « Microsoft 365 » tient sur une ligne dans les 90 px de
   la pastille (12 px au téléphone, dans ses 80 px à 390 px) */
.hb-logo-nom{color:#203650;font:700 13px/1.15 'Nunito Sans',sans-serif;text-align:center}
.hb-logo-nom::before{content:attr(data-nom)}
/* la bande des outils de Connect (remarques 7 et 17 de Gabriel) : une grille, toutes les pastilles égales ; six sur une
   rangée à 1000 px et plus (six pastilles de 124 px et cinq écarts de 12 px : 804 px, que le héros n'a qu'à partir de
   964 px), deux rangées de trois dessous ; au téléphone, trois colonnes souples, pastilles basses, logos plus petits */
.hb-logos-outils{display:grid;grid-template-columns:repeat(6,124px);justify-content:center}
@media (max-width:999px){.hb-logos-outils{grid-template-columns:repeat(3,124px)}}
@media (max-width:719px){
  .hb-logos-outils{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;width:100%;max-width:420px}
  .hb-logos-outils .hb-logo{min-width:0;gap:5px;font-size:12px}
  .hb-logos-outils .hb-logo-pastille{width:100%;height:48px;padding:0 8px;border-radius:14px}
  .hb-logos-outils .hb-logo-pastille>img{max-height:22px!important}
  .hb-logos-outils .hb-logo-nom{font-size:12px}
}
.hb-logos-grand{gap:16px 18px;margin-top:0}
.hb-logos-grand .hb-logo{gap:8px;font-size:14px}
.hb-logos-grand .hb-logo-pastille{width:132px;height:64px;padding:0 16px;border-radius:18px}

/* ---------- Le bandeau « stop » (bandeau-stop.html) : la tête sur sa pastille claire ---------- */
.hb-bandeau-stop{margin-top:clamp(28px,4vw,48px);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(18px,3.4vw,44px);
  padding:clamp(24px,3.6vw,44px) clamp(20px,4.4vw,64px);background:var(--er);border:3px solid var(--ol);border-radius:clamp(28px,4vw,44px);
  box-shadow:0 8px 0 var(--sh)}
.hb-bandeau-stop-tete{flex:none;display:flex;padding:28px;border-radius:50%;background:#FFF9EE}
.hb-bandeau-stop-tete>img{display:block;width:124px;height:auto}
.hb-bandeau-stop-texte{flex:1 1 300px;max-width:16em;font:400 clamp(30px,4.4vw,56px)/1.06 'Lilita One',sans-serif;color:var(--oe);text-wrap:balance}
/* un pictogramme barré (agents.html lignes 165 et 166) : sa case claire, le trait d'encre à 45° */
.hb-picto-barre{position:relative;display:flex;padding:12px;background:var(--sf);border:3px solid var(--ol);border-radius:20px;
  box-shadow:0 5px 0 var(--sh);overflow:hidden}
.hb-picto-barre-trait{position:absolute;left:50%;top:50%;width:118%;height:6px;margin:-3px 0 0 -59%;border-radius:3px;background:var(--ol);
  transform:rotate(-45deg);box-shadow:0 0 0 2px var(--sf)}

/* ---------- Les formulaires, la forme seulement (état cible, point 10) ---------- */
.hb-formulaire{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.hb-champ{display:flex;flex-direction:column;gap:6px;align-self:stretch;max-width:36em}
.hb-champ>label{font:700 16px/1.35 'Nunito Sans',sans-serif}
.hb-champ :is(input,textarea,select){min-height:48px;padding:10px 14px;background:var(--sf);color:var(--tx);border:3px solid var(--ol);border-radius:14px;
  font:500 17px/1.4 'Nunito Sans',sans-serif}
.hb-champ textarea{min-height:120px;resize:vertical}
.hb-champ-case{flex-direction:row;align-items:flex-start;gap:10px}
.hb-champ-case>input{flex:none;width:24px;height:24px;min-height:0;margin:2px 0 0;accent-color:var(--ac)}
.hb-champ-case-mots{display:flex;flex-direction:column;gap:6px}
.hb-champ-case-mots>label{font:700 16px/1.35 'Nunito Sans',sans-serif}
.hb-champ-aide{font-size:15px;color:var(--mu)}
/* les boutons radio : un fieldset sans cadre, sa légende comme un libellé, un choix par ligne */
.hb-champ-radios{margin:0;padding:0;border:0;min-width:0;gap:10px}
.hb-champ-radios>legend{padding:0;margin-bottom:6px;font:700 16px/1.35 'Nunito Sans',sans-serif}
.hb-champ-radio{display:flex;align-items:center;gap:10px}
.hb-champ-radio>input{flex:none;width:22px;height:22px;min-height:0;margin:0;accent-color:var(--ac)}
.hb-champ-radio>label{font-size:16px;line-height:1.4}
.hb-formulaire-envoyer:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.hb-formulaire-etat{font-weight:700}

/* ---------- Une pièce interactive montée cache sa version simple, qui reste dans le HTML (état cible, point 9) ---------- */
[data-hb-module][data-hb-monte] + [data-hb-repli]{display:none}

/* ---------- La version simple de la bibliothèque : chaque agent en entier (état cible 02, IP-9) ----------
   Le dessin des cartes d'avant (le bandeau du chef, la carte d'un agent de tâche), plus la liste de ses champs. */
.hb-agent-repli-place-chef{grid-column:1/-1;display:flex;min-width:0}
.hb-agent-repli-place{position:relative;display:flex;min-width:0;padding-top:14px}
.hb-agent-repli{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px;background:var(--sf);
  border:3px solid var(--ol);border-radius:18px;box-shadow:0 4px 0 var(--sh);color:var(--tx);text-align:left}
.hb-agent-repli-chef{flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:10px 16px;width:100%;padding:16px 18px;border-radius:22px;
  background:var(--sb);box-shadow:0 5px 0 var(--sh)}
.hb-agent-repli-picto{flex:none;display:flex;padding:8px;border-radius:50%;background:var(--sf);border:3px solid var(--ol)}
.hb-agent-repli-texte{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:6px}
.hb-agent-repli-role{font:700 12px/1.3 'Nunito Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--mu)}
.hb-agent-repli-nom{font:400 20px/1.15 'Lilita One',sans-serif;text-wrap:balance}
.hb-agent-repli-nom-chef{font-size:clamp(21px,2.2vw,26px);line-height:1.1}
.hb-agent-repli-ligne{font-size:15px;line-height:1.45;color:var(--mu);text-wrap:pretty}
.hb-agent-repli-chef .hb-agent-repli-ligne{font-size:16px;color:var(--tx)}
.hb-agent-champs{display:grid;gap:2px;margin:2px 0 0;font-size:14px;line-height:1.4}
.hb-agent-champs>dt{margin-top:6px;font:700 12px/1.3 'Nunito Sans',sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--mu)}
.hb-agent-champs>dd{margin:0;text-wrap:pretty}
.hb-agent-champs>dd>.hb-badge{margin-top:2px}
.hb-agent-outils{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 6px}
.hb-agent-outils>li{padding:2px 9px;border:2px solid var(--ol);border-radius:12px;background:var(--bg);font-size:13px;line-height:1.35}

/* ---------- Les pièces interactives : le repli de Nunito Sans dans leurs piles (état cible 02 ; arbitrage AM-35) ----------
   Adaptation notée, dans le site, jamais dans les copies. Les feuilles des pièces écrivent "Nunito Sans",system-ui :
   tant que Nunito Sans n'est pas arrivée, leur texte prend la police du système, plus large, et la page saute quand
   elle arrive (la barre de la bibliothèque passe de deux lignes à une à 360 px : 0,0465 de décalage, essai 22). Les
   éléments qui posent Nunito Sans dans les feuilles de la bibliothèque et du graphe prennent ici le repli du site
   (polices.css), réglé sur sa largeur. Seule la pile change ; la taille et la graisse restent celles de la pièce. Le
   poids (0,1,1) passe devant la classe de la pièce, chargée après. L'Akinator nomme lui-même ce repli dans ses piles :
   le site n'ajoute aucune classe hb-akinator- (son CONTRAT.md, partie 1 ; arbitrage AC-39). */
html :is(.hb-bibliotheque, .hb-bibliotheque-recherche, .hb-bibliotheque-choix-bouton, .hb-bibliotheque-compte,
  .hb-bibliotheque-fiche-compte, .hb-bibliotheque-pastille, .hb-bibliotheque-retour-fleche, .hb-bibliotheque-section-compte,
  .hb-bibliotheque-chef-role, .hb-bibliotheque-tiroir, .hb-bibliotheque-tiroir-metier, .hb-bibliotheque-tiroir-role,
  .hb-bibliotheque-bloc-titre, .hb-bibliotheque-outil, .hb-bibliotheque-fleche, .hb-graphe,
  .hb-graphe-filtre, .hb-graphe-bulle){font-family:"Nunito Sans","Nunito Sans repli",system-ui,sans-serif}
