/* Header/footer globaux (rendus par functions.php via ACF + menus natifs) —
   chargé sur tout le site, contrairement à landing-createurdeliberte.css qui
   ne concerne que la page d'accueil. */

:root{
  --cc-navy:#203468; --cc-navy-d:#16233f; --cc-green:#76BC21; --cc-green-d:#5f9c17; --cc-line:#e3e6ec;
  --cc-ink:#141a26; --cc-muted:#7c869b;
  --cc-serif:'Playfair Display', Georgia, serif;
  --cc-sans:'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Typographie par défaut du site : Playfair Display pour les titres,
   Plus Jakarta Sans pour le texte courant. */
body{ font-family:var(--cc-sans); }
h1, h2, h3, h4, h5, h6{ font-family:var(--cc-serif); }

/* HEADER */
#cc-gheader{
  position:sticky; top:0; z-index:999; background:rgba(255,255,255,.95); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--cc-line); font-family:'Plus Jakarta Sans',system-ui,sans-serif;
}
html{ scroll-behavior:smooth; }
#cc-gheader .cc-gh-toggle{ display:none; }
#cc-gheader .cc-gh-wrap{ max-width:1200px; margin:0 auto; padding:0 40px; display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; height:78px; gap:24px; position:relative; }
#cc-gheader .cc-gh-brand{ display:block; flex-shrink:1; min-width:0; font-weight:800; font-size:19px; color:var(--cc-navy); letter-spacing:-.01em; line-height:1; text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#cc-gheader .cc-gh-brand img{ display:block; max-height:44px; width:auto; }
#cc-gheader .cc-gh-brand small{ display:block; font-size:10px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--cc-green); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#cc-gheader .cc-gh-nav{ display:flex; flex-shrink:0; align-items:center; gap:28px; }
#cc-gheader .cc-gh-links{ display:flex; gap:24px; list-style:none; margin:0; padding:0; }
#cc-gheader .cc-gh-links a{ color:#41495b; text-decoration:none; font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; white-space:nowrap; }
#cc-gheader .cc-gh-links a:hover{ color:var(--cc-green); }
#cc-gheader .cc-gh-cta{ flex-shrink:0; background:var(--cc-green); color:#fff; font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; padding:13px 22px; text-decoration:none; white-space:nowrap; transition:.15s; }
#cc-gheader .cc-gh-cta:hover{ background:var(--cc-green-d); }
#cc-gheader .cc-gh-burger{ display:none; flex-shrink:0; flex-direction:column; gap:5px; cursor:pointer; width:26px; padding:8px 0; background:none; border:none; }
#cc-gheader .cc-gh-burger span{ display:block; height:2px; background:var(--cc-navy); }

/* Le hamburger (et le repli du menu) s'active dès que la largeur ne suffit
   plus pour tout tenir sur une ligne — pas seulement en dessous de 900px,
   pour éviter tout état intermédiaire cassé (logo/CTA qui s'entassent). */
@media(max-width:1024px){
  #cc-gheader .cc-gh-wrap{ padding:0 20px; }
  #cc-gheader .cc-gh-nav{ position:static; }
  #cc-gheader .cc-gh-links{ display:none; position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; gap:0; border-bottom:1px solid var(--cc-line); box-shadow:0 12px 24px -12px rgba(0,0,0,.15); padding:8px 0; }
  #cc-gheader .cc-gh-links li{ width:100%; }
  #cc-gheader .cc-gh-links a{ display:block; padding:14px 24px; }
  #cc-gheader .cc-gh-cta{ display:none; }
  #cc-gheader .cc-gh-burger{ display:flex; }
  #cc-gheader .cc-gh-toggle:checked ~ .cc-gh-wrap .cc-gh-links{ display:flex; }
  #cc-gheader .cc-gh-toggle:checked ~ .cc-gh-wrap .cc-gh-cta{ display:block; order:99; margin:8px 24px; text-align:center; }
}

@media(max-width:380px){
  #cc-gheader .cc-gh-brand small{ display:none; }
}

/* FOOTER */
#cc-gfooter{ background:var(--cc-ink); color:#96a0b5; font-size:14px; font-family:'Plus Jakarta Sans',system-ui,sans-serif; }
#cc-gfooter .cc-gf-wrap{ max-width:1200px; margin:0 auto; padding:64px 40px 32px; }
#cc-gfooter .cc-gf-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid #263149; }
#cc-gfooter .cc-gf-logo{ display:block; max-height:40px; width:auto; margin-bottom:4px; }
#cc-gfooter .cc-gf-name{ color:#fff; font-weight:800; font-size:20px; }
#cc-gfooter .cc-gf-name small{ display:block; font-size:10.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--cc-green); margin-top:4px; }
#cc-gfooter .cc-gf-sign{ margin-top:16px; font-size:13px; line-height:1.7; color:#7c869b; }
#cc-gfooter h5{ color:#fff; font-size:11.5px; text-transform:uppercase; letter-spacing:.16em; margin:0 0 16px; }
#cc-gfooter ul{ list-style:none; margin:0; padding:0; }
#cc-gfooter li{ padding:6px 0; }
#cc-gfooter a{ color:inherit; text-decoration:none; }
#cc-gfooter li a:hover{ color:var(--cc-green); }
#cc-gfooter .cc-gf-social{ display:flex; flex-wrap:wrap; gap:12px; list-style:none; margin:0; padding:0; }
#cc-gfooter .cc-gf-social li{ padding:0; }
#cc-gfooter .cc-gf-social a{ display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:#1c2740; color:#96a0b5; text-decoration:none; transition:.15s; }
#cc-gfooter .cc-gf-social svg{ width:18px; height:18px; }
#cc-gfooter .cc-gf-social a:hover{ background:var(--cc-green); color:#fff; }
#cc-gfooter .cc-gf-disclaimer{ padding-top:24px; font-size:12px; color:#5f6a80; line-height:1.7; max-width:900px; }
#cc-gfooter .cc-gf-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:20px; }
#cc-gfooter .cc-gf-privacy{ font-size:12px; color:#5f6a80; text-decoration:underline; }
#cc-gfooter .cc-gf-privacy:hover{ color:var(--cc-green); }
#cc-gfooter .cc-gf-copy{ font-size:12px; color:#5f6a80; }

@media(max-width:920px){ #cc-gfooter .cc-gf-grid{ grid-template-columns:1fr 1fr; } }

/* FIL D'ARIANE */
.cc-breadcrumb{ display:flex; justify-content:center; padding:20px 24px; background:#EFF3EE; }
.cc-breadcrumb__pill{
  display:inline-flex; align-items:center; gap:8px; margin:0; padding:10px 20px;
  list-style:none; background:#fff; border-radius:999px;
  box-shadow:0 2px 8px rgba(20,26,38,.08);
  font-family:var(--cc-sans); font-size:13.5px; font-weight:600;
}
.cc-breadcrumb__pill li{ display:flex; align-items:center; }
.cc-breadcrumb__pill a{ color:var(--cc-muted); text-decoration:none; }
.cc-breadcrumb__pill a:hover{ color:var(--cc-green); }
.cc-breadcrumb__pill span[aria-current]{ color:var(--cc-ink); }
.cc-breadcrumb__sep{ color:var(--cc-line); }

@media(max-width:640px){
  .cc-breadcrumb{ padding:14px 10px; }
  .cc-breadcrumb__pill{
    flex-wrap:wrap; row-gap:4px; width:100%; max-width:100%;
    border-radius:16px; padding:10px 16px; font-size:12.5px;
  }
  .cc-breadcrumb__pill li:last-child{ flex-basis:100%; }
  .cc-breadcrumb__pill li:last-child span[aria-current]{ display:block; white-space:normal; }
}
