/* Base commune à toutes les pages : couleurs, typographie, largeur, en-tête,
   menu mobile, boutons et pied de page. Les sections viennent ensuite de
   home.css (accueil) ou site.css (guides et outils). */
:root{
  --navy:#0f1940; --blue:#2175d9; --blue-2:#1b62bb; --cream:#f7f5f0; --yellow:#f5b843; --sky:#7cc6f4;
  --ink:#0f1940; --text:#2a3152; --muted:#6b7086; --line:#d9dbe3; --white:#fff;
  --ok:#15803d; --warn:#b45309; --bad:#b91c1c;
  --wrap:1440px; --gut:24px; --hdr:76px;
}
*{box-sizing:border-box}
button,input,select,textarea{font-family:inherit}
html{scroll-behavior:smooth}
body{margin:0;font-family:Tahoma,Verdana,sans-serif;font-size:16px;color:var(--ink);background:var(--white);line-height:1.6;overflow-x:clip;-webkit-font-smoothing:antialiased}
a,a:hover{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,h4{font-weight:400;letter-spacing:-.01em;margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:5px;font:inherit;font-size:16px;cursor:pointer;border:2px solid transparent;background:var(--blue);color:#fff;transition:background .15s,color .15s,border-color .15s}
.btn:hover,.btn-blue:hover{background:var(--blue-2);color:#fff}
.btn-blue{background:var(--blue);color:#fff}
.btn-line,.btn.ghost{border-color:var(--blue);color:var(--blue);background:transparent}
.btn-line:hover,.btn.ghost:hover{background:var(--blue);color:#fff}
.btn-white,.btn.light{border-color:#fff;color:#fff;background:transparent}
.btn-white:hover,.btn.light:hover{background:#fff;color:var(--blue)}
.btn-block{display:flex;width:100%}

/* En-tête */
.top{background:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid #eceef3}
.top .wrap{display:flex;align-items:center;gap:24px;height:var(--hdr)}
.logo{display:flex;align-items:center;gap:10px;font-size:24px;color:var(--blue);letter-spacing:-.02em;flex:0 0 auto}
.logo img{width:45px;height:24px}
.top nav{display:flex;gap:4px;margin-left:12px}
.top nav>div{position:relative}
.top nav>div>a{display:block;padding:10px 12px;font-size:15px;color:var(--navy);border-radius:4px;white-space:nowrap}
.top nav>div:hover>a{background:var(--cream)}
.top nav .dd{display:none;position:absolute;top:100%;left:0;min-width:260px;background:#fff;border-radius:6px;box-shadow:0 14px 34px rgba(17,26,68,.14);padding:8px 0}
.top nav>div:hover .dd,.top nav>div:focus-within .dd{display:block}
.top nav .dd a{display:block;padding:9px 18px;font-size:14.5px}
.top nav .dd a:hover{background:var(--cream);color:var(--blue)}
/* Un lien gardait la couleur bleue du navigateur après un clic : on force le marine */
.top nav>div>a,.top nav>div>a:visited,.top nav>div>a:active,.top nav .dd a,.top nav .dd a:visited{color:var(--navy)}
.top nav .dd a:hover,.top nav .dd a:focus-visible{color:var(--blue)}
.icons .cta,.icons .cta:visited,.icons .cta:active{color:#fff}
.logo,.logo:visited{color:var(--blue)}
.account,.account:visited{color:var(--navy)}
/* Les boutons gardent leur couleur de texte, y compris une fois visités ou au clic */
.btn,.btn:visited,.btn:active,.btn-blue,.btn-blue:visited,.btn-blue:active,.drawer-cta,.drawer-cta:visited,.drawer-cta:active{color:#fff}
.btn-line,.btn-line:visited,.btn-line:active,.btn.ghost,.btn.ghost:visited{color:var(--blue)}
.btn-line:hover,.btn.ghost:hover{color:#fff}
.btn-white,.btn-white:visited,.btn-white:active,.btn.light,.btn.light:visited{color:#fff}
.btn-white:hover,.btn.light:hover{color:var(--blue)}
.btn-white-solid,.btn-white-solid:visited,.btn-white-solid:active{color:var(--navy)}
.icons{margin-left:auto;display:flex;align-items:center;gap:14px}
.account{display:grid;place-items:center;width:44px;height:44px;color:var(--navy)}
.account svg{width:27px;height:27px}
.icons .cta{padding:11px 18px;background:var(--blue);color:#fff;border-radius:5px;font-size:15px;white-space:nowrap}
.icons .cta:hover{background:var(--blue-2)}
.burger{display:none;align-items:center;justify-content:flex-end;width:24px;flex:0 0 24px;height:44px;margin:0;border:0;background:none;padding:0;color:var(--blue);cursor:pointer;-webkit-tap-highlight-color:transparent}
.burger .ic-open{width:24px;height:18px}
.burger .ic-close{width:18px;height:18px}
.burger .ic-close,.burger[aria-expanded="true"] .ic-open{display:none}
.burger[aria-expanded="true"] .ic-close{display:block}
.burger:focus-visible,.account:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}

/* Menu mobile : panneau pleine hauteur glissé sous l'en-tête */
.drawer{position:fixed;inset:0;z-index:45;background:#fff;color:var(--navy);overflow-y:auto;overscroll-behavior:contain;padding:calc(var(--hdr) + 8px) var(--gut) 40px;visibility:hidden;opacity:0;transform:translateY(-12px);transition:opacity .2s,transform .2s,visibility 0s .2s}
.drawer.open{visibility:visible;opacity:1;transform:none;transition:opacity .2s,transform .2s}
body.menu-open{overflow:hidden}
.drawer-links{padding:14px 0 4px}
.drawer-links a{display:block;font-size:16px;color:var(--navy);padding:9px 0}
.drawer-links a:hover{color:var(--blue)}
.drawer-cta{display:flex;align-items:center;justify-content:center;height:52px;margin-top:18px;border-radius:5px;background:var(--blue);color:#fff;font-size:16px}
.drawer-cta:hover{background:var(--blue-2)}
/* Menu mobile sur fond blanc : accordéons en marine (ceux du pied de page restent blancs sur marine) */
.drawer .acc details{border-bottom-color:var(--line)}
.drawer .acc summary::after{border-color:var(--navy)}
.drawer .acc details a{color:var(--muted)}
.drawer .acc details a:hover{color:var(--blue)}

/* Accordéons du menu mobile et du pied de page */
.acc details{border-bottom:1px solid rgba(255,255,255,.28)}
.acc summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;font-size:17px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"";flex:0 0 auto;width:9px;height:9px;margin-right:4px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s}
.acc details[open] summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.acc details a{display:block;padding:7px 0;color:#c9cee3;font-size:15px}
.acc details a:hover{color:#fff}
.acc details div{padding:0 0 14px}

/* Pied de page */
footer{background:var(--navy);color:#fff;padding:40px 0 56px}
footer .foot-brand{margin-top:44px}
footer .foot-logo{display:inline-flex;align-items:center;gap:10px;font-size:22px;color:#fff;margin:0 0 16px}
footer .foot-logo img{width:45px;height:24px}
footer .legal{margin:0;color:#9aa1bd;font-size:14px;line-height:1.6;max-width:720px}
footer .links{margin-top:24px}
footer .links a{display:block;color:#9aa1bd;font-size:15px;padding:7px 0}
footer .links a:hover{color:#fff}

@media (min-width:1000px){
  :root{--gut:40px}
  .drawer{display:none}
  footer .acc{display:grid;grid-template-columns:repeat(5,1fr);gap:32px}
  footer .acc details{border:0}
  footer .acc summary{pointer-events:none;font-size:16px;padding:0 0 12px}
  footer .acc summary::after{display:none}
  footer .acc details a{font-size:14.5px;padding:5px 0}
  footer .bottom{display:flex;justify-content:space-between;gap:40px;align-items:flex-end}
  footer .foot-brand{max-width:760px}
  footer .links{display:flex;gap:28px;margin:0}
  footer .links a{font-size:14.5px}
}
@media (min-width:1000px) and (max-width:1199px){
  .top nav>div>a{font-size:14px;padding:10px 8px}
  .logo{font-size:23px}
}
@media (max-width:999px){
  .top nav,.icons .cta{display:none}
  .burger{display:flex}
  .icons{gap:20px}
  .account{width:auto}
  .account{color:#5f6475}
}
@media (max-width:560px){
  :root{--gut:20px;--hdr:64px}
  .logo{font-size:21px}
  .logo img{width:39px;height:21px}
  .icons{gap:18px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}


/* Bannière d'appel à l'action, juste au-dessus du pied de page, sur toutes les pages */
.cta-band{background:var(--blue);color:#fff;padding:64px 0}
.cta-band .section-title{color:#fff;margin:0 0 12px;font-size:clamp(24px,2.8vw,34px);line-height:1.25;font-weight:400}
.cta-band p{margin:0 0 26px;font-size:17px;color:#e3ebfa;max-width:640px}
@media (max-width:560px){.cta-band{padding:48px 0}.cta-band .btn{display:flex;width:100%}}
