/* Chrome public Finance (login, register, pages déconnectées).
   Ne s'applique que si .ws-pub-head est présent : l'espace connecté n'est pas touché. */
body:has(.ws-pub-head){
  background:#181A20;
  color:#E6E8EF;
}
.ws-pub-head{
  position:sticky;top:0;z-index:40;background:#181A20;border-bottom:1px solid #2B3139;
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color:#E6E8EF;
}
.ws-pub-head .wrap{max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.ws-pub-head .hd-in{display:flex;align-items:center;gap:20px;min-height:72px}
.ws-pub-head .brand{display:flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap;font-size:19px;font-family:"Space Grotesk",sans-serif;font-weight:700;color:#fff}
.ws-pub-head .brand img.ws-logo{height:34px;width:auto;display:block}
.ws-pub-head .nav{display:flex;align-items:center;gap:26px;flex:1}
.ws-pub-head .nav a{text-decoration:none;font-size:15px;font-family:"Space Grotesk",sans-serif;min-height:44px;display:inline-flex;align-items:center;color:#848E9C}
.ws-pub-head .nav a:hover,.ws-pub-head .nav a[aria-current]{color:#fff}
.ws-pub-head .hd-act{display:flex;align-items:center;gap:12px;margin-left:auto;white-space:nowrap}
.ws-pub-head .login{color:#fff;text-decoration:none;font-size:14px;font-weight:600;font-family:"Space Grotesk",sans-serif;padding:10px 16px;min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box;border:1px solid #3E4650;border-radius:12px;background:#1E2329}
.ws-pub-head .hd-cta{color:#05060A;text-decoration:none;font-size:14px;font-weight:600;font-family:"Space Grotesk",sans-serif;padding:10px 16px;min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box;border-radius:12px;background:linear-gradient(90deg,#FCBB01,#DFC065)}
body:has(.ws-pub-head) .nav-check{position:absolute;left:0;top:0;width:1px;height:1px;margin:0;opacity:0;overflow:hidden}
.ws-pub-head .burger{display:none}
.ws-pub-head .burger-btn,.ws-pub-head .nav-close{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:44px;height:44px;margin:0;box-sizing:border-box;cursor:pointer;color:#fff;border:1px solid #3E4650;border-radius:12px;background:#1E2329}
.ws-pub-head .nav-overlay{display:none;position:fixed;inset:0;z-index:45;background:rgba(0,0,0,.55);margin:0;border:0;cursor:pointer}
.ws-pub-head .nav-panel{display:none;position:fixed;inset:0;z-index:50;background:#181A20;padding:24px 18px 32px;box-sizing:border-box;overflow:auto;flex-direction:column;gap:8px}
.ws-pub-head .nav-panel-h{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-bottom:16px}
.ws-pub-head .nav-panel nav{display:flex;flex-direction:column;gap:4px}
.ws-pub-head .nav-panel nav a{display:flex;align-items:center;min-height:44px;padding:0 12px;text-decoration:none;color:#E6E8EF;font-size:17px;font-family:"Space Grotesk",sans-serif;border-radius:12px}
.ws-pub-head .nav-panel nav a:hover{color:#fff;background:#1E2329}
.ws-pub-head .nav-panel .login,.ws-pub-head .nav-panel .hd-cta{width:100%;justify-content:center;margin-top:8px;box-sizing:border-box}
body:has(.ws-pub-head .nav-check:checked),body:has(#ws-nav-check:checked):has(.ws-pub-head){overflow:hidden}
body:has(#ws-nav-check:checked) .ws-pub-head .nav-overlay{display:block}
body:has(#ws-nav-check:checked) .ws-pub-head .nav-panel{display:flex}
@media(max-width:1100px){
  .ws-pub-head .nav{display:none}
  .ws-pub-head .hd-act .hd-cta{display:none}
  .ws-pub-head .burger-btn{display:inline-flex}
}
@media(max-width:760px){
  .ws-pub-head .hd-in{gap:8px;min-height:64px}
  .ws-pub-head .brand{font-size:17px}
  .ws-pub-head .brand img.ws-logo{height:28px}
  .ws-pub-head .wrap{padding:0 18px}
}
@media(max-width:360px){
  .ws-pub-head .brand{font-size:15px}
  .ws-pub-head .brand img.ws-logo{height:24px}
  .ws-pub-head .login{padding:8px 10px;font-size:12px}
}
/* Revue 11h44 (17.11) : « Fermer » = croix SVG centrée dans la cible 44 × 44 (le mot débordait de la pastille). */
.ws-pub-head .nav-close{padding:0;overflow:hidden;flex:none}
.ws-pub-head .nav-close svg{display:block;flex:none}
.ws-pub-head .burger-btn:hover,.ws-pub-head .nav-close:hover{border-color:#FCBB01;color:#FCBB01}
.ws-pub-head .nav-close:focus-visible,.ws-pub-head .burger-btn:focus-visible{outline:2px solid #FCBB01;outline-offset:2px}
/* Revue 11h44 (17.11) : case CGU de l'inscription. brand.css (W46.4 B4) passait ces liens en pastilles inline-flex 44 px
   à 390 px : « et la » orphelin, virgule détachée. Liens dans une phrase = liens en ligne (exception WCAG 2.5.8) ;
   la case et tout le libellé restent la zone cliquable. Même sélecteur, chargé après brand.css. */
@media (max-width: 390px) {
  label[for="regConsent"] a{display:inline;min-width:0;min-height:0;padding:0;overflow-wrap:normal;text-decoration:underline;text-underline-offset:2px}
  label[for="regConsent"]{line-height:1.6}
}
/* Le bouton burger n'est visible que sous 1100 px (ci-dessus). Masqué par défaut sur grand écran. */
@media(min-width:1101px){
  .ws-pub-head .burger-btn{display:none}
}

/* 23.11.2026 (Cédric 08:51) : en-tête et pied de page publics = noir exact du menu de l'app connectée.
   Menu connecté (entete.css, header.ws-as-header) : rgba(10,10,10,.8) sur le fond de l'app #0A0A0A => rendu #0A0A0A.
   Couleurs de texte, liens, icônes et logo inchangées (contraste AA vérifié sur #0A0A0A). Pages connectées non concernées (.ws-pub-head absent). */
.ws-pub-head{background:#0A0A0A}
.ws-pub-head .nav-panel{background:#0A0A0A}
body:has(.ws-pub-head) footer.ws-foot{background:#0A0A0A}
