/* cc971wp-static 5.9.1 */
/* En-tête du site Challenge Consulting971 sur les pages Mon Projet Péyi Mes Aides (classes ccsh-, sans conflit avec la plateforme) */
.ccsh{--ccsh-navy:#06335d;--ccsh-blue:#075fa8;--ccsh-line:#d8e6ee;--ccsh-yellow:#ffc51b;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(7,95,168,.09);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ccsh-navy);position:relative;z-index:60;color-scheme:light}
/* Diagnostic : le body a une marge navigateur (8px) + un retrait latéral ; l’en-tête passe pleine largeur */
.ccsh--bleed{margin:-8px calc(-8px - max(16px,env(safe-area-inset-right,0px))) 0 calc(-8px - max(16px,env(safe-area-inset-left,0px)))}
.ccsh *{box-sizing:border-box}
/* Neutralise les styles génériques des pages (header, nav, a) */
header.ccsh{display:block;padding:0;gap:0;border-bottom:1px solid rgba(7,95,168,.09);flex-wrap:nowrap}
.ccsh nav.ccsh-menu{background:none;border:0;border-radius:0;padding:0}
.ccsh .ccsh-menu a{color:var(--ccsh-navy)}
.ccsh a{text-decoration:none;color:inherit}
.ccsh-in{width:min(1200px,calc(100% - 38px));margin:auto;min-height:94px;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center}
.ccsh-brand{display:inline-flex}.ccsh-brand img{height:68px;width:auto;display:block}
.ccsh-menu{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;font-weight:850;font-size:1rem;line-height:1.4}
.ccsh-menu a{padding:10px 0;position:relative;min-height:44px;display:inline-flex;align-items:center}
.ccsh-menu a:after{content:"";position:absolute;left:0;right:100%;bottom:2px;height:3px;background:var(--ccsh-yellow);border-radius:99px;transition:right .2s}
.ccsh-menu a:hover:after{right:0}
.ccsh-actions{display:flex;gap:10px;align-items:center}
.ccsh-chip{padding:10px 13px;border:1px solid var(--ccsh-line);border-radius:999px;font-weight:900;color:var(--ccsh-blue)!important;font-size:.82rem;line-height:1.4;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;background:#fff}
.ccsh-chip[aria-current="page"]{border-color:var(--ccsh-blue)}
.ccsh-chip.ccsh-in-li:before{content:"in";display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#0a66c2;color:#fff;margin-right:7px;font-size:.72rem}
.ccsh a:focus-visible,.ccsh button:focus-visible{outline:3px solid var(--ccsh-yellow);outline-offset:3px}
.ccsh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ccsh-toggle{display:none}
/* PC : une seule ligne, comme l'accueil */
@media (min-width:1181px){
  .ccsh-in{width:min(1320px,calc(100% - 28px));grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(10px,1.2vw,18px)}
  .ccsh-brand img{height:60px}
  .ccsh .ccsh-menu{flex-wrap:nowrap;gap:clamp(8px,1.1vw,22px);white-space:nowrap;font-size:clamp(.76rem,.85vw,.92rem)}
  .ccsh .ccsh-menu a{white-space:nowrap}
  .ccsh-actions{flex-wrap:nowrap}
  .ccsh-chip{font-size:clamp(.74rem,.7vw,.8rem);padding:10px clamp(9px,.8vw,13px)}
}
@media (max-width:1180px){
  .ccsh-in{grid-template-columns:1fr auto;gap:8px 12px;padding:8px 0;min-height:66px}
  .ccsh-brand img{height:50px}
  .ccsh-toggle{display:inline-flex;align-items:center;gap:10px;justify-self:end;min-height:44px;padding:10px 14px;border-radius:12px;border:1px solid var(--ccsh-line);background:#fff;color:var(--ccsh-navy);font:800 .92rem/1 inherit;font-family:inherit;cursor:pointer}
  .ccsh-bars,.ccsh-bars:before,.ccsh-bars:after{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;position:relative;transition:transform .2s}
  .ccsh-bars:before,.ccsh-bars:after{content:"";position:absolute;left:0}
  .ccsh-bars:before{top:-6px}.ccsh-bars:after{top:6px}
  .ccsh.open .ccsh-bars{background:transparent}
  .ccsh.open .ccsh-bars:before{transform:translateY(6px) rotate(45deg)}
  .ccsh.open .ccsh-bars:after{transform:translateY(-6px) rotate(-45deg)}
  .ccsh-menu,.ccsh-actions{display:none}
  .ccsh.open .ccsh-menu{display:flex;grid-column:1/-1;flex-direction:column;align-items:stretch;gap:0}
  .ccsh.open .ccsh-menu a{padding:12px 6px;border-top:1px solid var(--ccsh-line)}
  .ccsh.open .ccsh-actions{display:flex;grid-column:1/-1;flex-wrap:wrap;padding:6px 0 12px}
}
@media (max-width:420px){.ccsh-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
@media print{.ccsh{display:none}}
