/* La Boussole des Demarches : navigation persistante et espace accessible.
   Les liens et la page de confidentialite restent inchanges. */
html{scroll-padding-top:90px}
.site-header,.espace-page .site-header{
  position:sticky;top:0;z-index:110;height:72px;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid #d7e6f7;
  box-shadow:0 6px 22px rgba(16,55,103,.10);
}
.site-header .header-inner{gap:12px}
.site-header .brand-tagline{display:none}
.site-header .brand img.brand-logo-v42{width:238px;max-height:66px}
.site-header .main-nav{margin-left:auto}
.site-header .main-nav a.nav-local-space{display:none}
.header-space-cta{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;gap:7px;min-height:42px;padding:9px 13px;
  border:1px solid #bad4f0;border-radius:13px;
  background:#edf6ff;color:#164a85!important;
  font-size:13px;font-weight:800;line-height:1.15;
  text-decoration:none!important;white-space:nowrap;
  box-shadow:0 2px 8px rgba(22,77,139,.055);
  transition:background .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.header-space-cta svg{width:18px;height:18px;flex:0 0 18px}
.header-space-cta:hover,.header-space-cta:focus-visible{
  background:#dceeff;border-color:#7aafe3;box-shadow:0 3px 13px rgba(22,77,139,.15)
}
.header-space-cta[aria-current="page"]{background:#154e90;color:#fff!important;border-color:#154e90}
.header-space-cta[aria-current="page"]:hover,.header-space-cta[aria-current="page"]:focus-visible{background:#0a356a}
/* Dedicated legal headers carry the same permanent shortcut. */
.bdd-legal-head{
  position:sticky;top:0;z-index:110;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 6px 22px rgba(16,55,103,.10);
}
.bdd-legal-head .shell{min-height:72px;gap:12px;padding-block:6px}
.bdd-legal-head .bdd-legal-home{margin-left:auto}
.bdd-legal-head .header-space-cta{min-height:40px}
@media(max-width:1230px) and (min-width:931px){
  .site-header .brand img.brand-logo-v42{width:210px}
  .site-header .main-nav a{gap:4px;padding-inline:7px;font-size:12.5px}
  .site-header .main-nav svg{display:none}
}
@media(max-width:930px){
  .site-header,.espace-page .site-header{height:68px}
  .site-header .brand img.brand-logo-v42{width:188px;max-height:56px}
  .site-header .header-inner{gap:9px}
  .site-header .header-inner>.brand{order:1;margin-right:auto}
  .site-header .header-inner>.header-space-cta{order:2;margin-left:auto}
  .site-header .header-inner>.mobile-toggle{order:3;flex:0 0 43px;width:43px;height:43px;margin-left:0}
  .site-header .header-inner>.main-nav{order:4;top:68px;z-index:115;margin-left:0}
  .header-space-cta{min-height:42px}
}
@media(max-width:540px){
  .bdd-legal-head .bdd-legal-home{display:none}
  .bdd-legal-head .bdd-legal-brand{margin-right:auto}
  .bdd-legal-head .bdd-legal-brand img.brand-logo-v42{width:166px;max-height:52px}
  .bdd-legal-head .header-space-cta{margin-left:auto}
}
@media(max-width:430px){
  .site-header .brand img.brand-logo-v42{width:153px;max-height:48px}
  .site-header .header-inner{gap:6px}
  .site-header .header-inner>.mobile-toggle{flex-basis:41px;width:41px;height:41px}
  .header-space-cta{padding:9px 10px;gap:5px;font-size:12px;min-height:41px;border-radius:11px}
  .header-space-cta svg{width:16px;height:16px;flex-basis:16px}
  .bdd-legal-head .bdd-legal-brand img.brand-logo-v42{width:150px;max-height:45px}
}
@media(max-width:350px){
  .site-header .brand img.brand-logo-v42{width:125px;max-height:43px}
  .site-header .header-inner>.mobile-toggle{flex-basis:40px;width:40px}
  .header-space-cta{font-size:11.5px;padding:8px 8px;gap:4px}
  .bdd-legal-head .bdd-legal-brand img.brand-logo-v42{width:129px}
}
@media(prefers-reduced-motion:reduce){.header-space-cta{transition:none}}
@media print{.site-header,.bdd-legal-head{position:static;box-shadow:none}.header-space-cta{display:none!important}}
