/* Barre du haut et pied de page communs (source : app/habillage.py ; ne pas modifier ici, ce fichier est reecrit) */
:root{--cdh-h:96px}
.cdh-top,.cdh-foot{font-family:"Red Hat Text","Segoe UI",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;box-sizing:border-box}
.cdh-top *,.cdh-foot *{box-sizing:border-box}
.cdh-w{max-width:1160px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.cdh-top{position:sticky;top:0;z-index:40;background:#16294a;border-bottom:1px solid rgba(255,255,255,.12);color:#fff}
.cdh-top .cdh-w{display:flex;align-items:center;gap:20px;height:var(--cdh-h)}
.cdh-top a{color:#fff;text-decoration:none}
.cdh-top svg{display:block;flex:none}
.cdh-retour{flex:none;display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px 0 10px;border:1px solid rgba(255,255,255,.22);border-radius:10px;font:600 14px/1 "Red Hat Text","Segoe UI",system-ui,sans-serif;opacity:.9}
.cdh-retour:hover{opacity:1;border-color:rgba(255,255,255,.45)}
.cdh-retour svg{width:20px;height:20px}
.cdh-retour[hidden]{display:none}
.cdh-brand{display:flex;align-items:center;gap:16px;min-width:0;font:700 32px/1 "Red Hat Display","Segoe UI",system-ui,sans-serif;letter-spacing:-.03em;color:#fff;white-space:nowrap}
.cdh-top .cdh-brand svg{width:46px;height:46px}
.cdh-tel{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:8px;font:600 14px/1 "Red Hat Text","Segoe UI",system-ui,sans-serif;padding:11px 4px;opacity:.85;white-space:nowrap}
.cdh-tel svg{width:16px;height:16px}
.cdh-lien{flex:none;font:600 14px/1 "Red Hat Text","Segoe UI",system-ui,sans-serif;padding:11px 4px;opacity:.85;white-space:nowrap}
.cdh-tel:hover,.cdh-lien:hover{opacity:1}
.cdh-top a.cdh-cta{flex:none;display:inline-flex;align-items:center;padding:11px 16px;border-radius:10px;background:#f4c12f;color:#0e1c34;font:600 14px/1 "Red Hat Text","Segoe UI",system-ui,sans-serif;white-space:nowrap}
.cdh-top a.cdh-cta:hover{filter:brightness(1.05)}
.cdh-droite{flex:none;display:flex;align-items:center;gap:14px;min-width:0}
.cdh-droite a{color:#b3bfd1;font-size:14px}.cdh-droite a:hover{color:#fff}
.cdh-droite .qui{text-align:right;line-height:1.25;min-width:0}
.cdh-droite .qui b{display:block;font:600 14px/1.25 "Red Hat Text","Segoe UI",system-ui,sans-serif;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.cdh-droite .qui small{display:block;color:#b3bfd1;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.cdh-droite a.sortir{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.14)}
.cdh-droite a.sortir:hover{border-color:rgba(255,255,255,.35)}
.cdh-droite a.sortir svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cdh-foot{background:#0e1c34;color:#b3bfd1;font-size:14px;padding:32px 0}
.cdh-foot .cdh-w{display:flex;flex-wrap:wrap;gap:16px 24px;justify-content:space-between;align-items:center}
.cdh-foot .cdh-brand{font-size:16px;gap:12px}
.cdh-foot .cdh-brand svg{width:26px;height:26px}
.cdh-foot nav{display:flex;gap:10px 24px;flex-wrap:wrap;align-items:center}
.cdh-foot a{color:#b3bfd1;text-decoration:none}
.cdh-foot nav a:hover{color:#fff}
.cdh-foot .cdh-brand{color:#fff}
/* pages courtes : le pied reste en bas de l'ecran */
body[data-cdh-colle]{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body[data-cdh-colle]>main{flex:1 0 auto;width:100%}
/* espace client : la barre d'onglets se colle sous la barre du haut */
nav.onglets{top:var(--cdh-h)!important}
@media(max-width:860px){.cdh-retour span{display:none}.cdh-retour{padding:0;width:42px;justify-content:center}.cdh-top .cdh-w{gap:14px}}
@media(max-width:640px){.cdh-droite .qui{display:none}}
@media(max-width:520px){:root{--cdh-h:76px}.cdh-top .cdh-w{gap:8px}.cdh-brand{font-size:24px;gap:12px}.cdh-top .cdh-brand svg{width:36px;height:36px}
 .cdh-tel span,.cdh-long{display:none}.cdh-tel{padding:11px 6px}.cdh-lien{font-size:13px;margin-left:2px}.cdh-top a.cdh-cta{padding:10px 13px}
 .cdh-retour{width:38px;height:38px}}
@media(max-width:430px){.cdh-top:has(.cdh-retour:not([hidden])) .cdh-brand span{display:none}}
/* 07/11/2026 : le nom chevauchait le telephone ; s'il ne tient pas, seul le logo reste (habillage.js : cdh-court) */
.cdh-top .cdh-brand{overflow:hidden}.cdh-top .cdh-brand.cdh-court span{display:none}
@media(max-width:400px){.cdh-brand{font-size:20px;gap:8px}.cdh-top .cdh-brand svg{width:30px;height:30px}.cdh-lien{font-size:12.5px;padding:11px 2px}
 .cdh-tel{padding:11px 4px}.cdh-top a.cdh-cta{padding:9px 10px;font-size:13px}}
@media(max-width:340px){.cdh-brand{font-size:17px;gap:6px}.cdh-top .cdh-brand svg{width:24px;height:24px}.cdh-lien{font-size:12px}}
@media print{.cdh-top,.cdh-foot{display:none}}
/* 30/11/2026 : un sigle mene a sa note Repères (habillage.js, SIGLES) */
a.cdh-sigle{color:inherit;text-decoration:underline dotted;text-decoration-thickness:1.5px;text-underline-offset:3px;cursor:help}
a.cdh-sigle:hover{color:#16294a;text-decoration-style:solid}
