/* ==================================================================
   CIVIS-CI — Feuille de style commune (base, header, footer, hero…)
   Partagée par toutes les pages. Le CSS spécifique à chaque page se
   trouve dans assets/css/<page>.css.
   ================================================================== */

:root{
    --orange: #E0651E;
    --orange-deep: #B84F0F;
    --orange-soft: #FCEBD8;
    --green: #2C6E3F;
    --green-deep: #1B4A2A;
    --green-darkest: #0F2D1A;
    --green-soft: #E1ECDF;
    --cream: #F4EFE3;
    --paper: #FFFCF5;
    --ink: #0F2D1A;
    --ink-2: #4A5550;
    --ink-3: #8A938E;
    --rule: rgba(15,45,26,.15);
    /* logo dot palette */
    --d1:#E0651E; --d2:#2C6E3F; --d3:#C2A33B; --d4:#A24A48;
    --d5:#7B8FB8; --d6:#D88FB1; --d7:#8FAA61; --d8:#5C3D2E;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
    font-family:'Archivo', system-ui, sans-serif;
    color:var(--ink);
    background:var(--paper);
    font-size:16px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{margin:0; line-height:1.05; letter-spacing:-0.02em; font-weight:800}
p{margin:0}
a{color:inherit; text-decoration:none}
img{max-width:100%}
.serif{font-family:'Newsreader', Georgia, serif; font-weight:500; letter-spacing:-0.01em}
.wrap{max-width:1320px; margin:0 auto; padding:0 36px}
.mono{font-family:'JetBrains Mono', monospace; letter-spacing:0.04em}

/* === PILL TAG === */
.pill-tag{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'JetBrains Mono', monospace;
    font-size:11px; letter-spacing:.14em; text-transform:uppercase;
    padding:6px 12px; border:1px solid currentColor; border-radius:999px;
}
.pill-tag .dot{ width:7px; height:7px; border-radius:50%; background:currentColor; }

/* === BUTTONS === */
.btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:14px 22px; border-radius:999px;
    font-weight:700; font-size:14px; letter-spacing:0.01em;
    border:1.5px solid transparent; cursor:pointer;
    transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    font-family:inherit;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--orange); color:#fff}
.btn-primary:hover{background:var(--orange-deep)}
.btn-dark{background:var(--ink); color:var(--paper)}
.btn-dark:hover{background:var(--green-deep)}
.btn-outline{background:transparent; color:currentColor; border-color:currentColor}
.btn-outline:hover{background:currentColor; color:var(--paper)}
/* Variantes à couleur fixe : le texte du survol reste lisible (pas de style inline qui écrase le :hover) */
.btn-outline-dark{background:transparent; color:var(--ink); border-color:var(--ink)}
.btn-outline-dark:hover{background:var(--ink); color:#fff}
.btn-outline-light{background:transparent; color:#fff; border-color:rgba(255,255,255,.6)}
.btn-outline-light:hover{background:#fff; color:var(--ink)}
.btn-light{background:#fff; color:var(--ink); border-color:#fff}
.arrow-svg{width:16px; height:16px}

/* === ANNOUNCE BAR === */
.announce{
    background:var(--orange); color:#fff; font-size:13px;
    text-align:center; padding:10px 16px; letter-spacing:0.02em;
}
.announce strong{font-weight:700}
.announce a{text-decoration:underline; text-underline-offset:3px; margin-left:8px; font-weight:600}

/* === HEADER === */
header.site{
    background:var(--paper); border-bottom:1px solid var(--rule);
    position:sticky; top:0; z-index:50;
}
header.site .wrap{ display:flex; align-items:center; justify-content:space-between; height:96px; }
.brand{display:flex; align-items:center; gap:14px}
.brand img{height:60px; width:auto; display:block}
/* === BOUTON HAMBURGER === */
.nav-toggle{
    display:inline-flex; align-items:center; gap:9px;
    background:var(--ink); color:#fff; border:0; cursor:pointer;
    padding:10px 16px; border-radius:999px;
    font-family:inherit; font-size:13.5px; font-weight:700;
    transition:background .2s ease;
}
.nav-toggle:hover{ background:var(--green-deep); }
.nav-toggle-bars{ display:inline-flex; flex-direction:column; gap:3px; width:18px; }
.nav-toggle-bars span{ height:2px; background:currentColor; border-radius:2px; }

/* === DRAWER (panneau latéral de navigation) === */
.nav-drawer{ position:fixed; inset:0; z-index:200; visibility:hidden; }
.nav-drawer.is-open{ visibility:visible; }
.nav-overlay{ position:absolute; inset:0; background:rgba(8,20,12,.55); opacity:0; transition:opacity .3s ease; }
.nav-drawer.is-open .nav-overlay{ opacity:1; }
.nav-panel{
    position:absolute; top:0; right:0; height:100%;
    width:min(430px, 92vw);
    background:var(--green-darkest); color:#fff;
    display:flex; flex-direction:column;
    transform:translateX(100%);
    transition:transform .34s cubic-bezier(.4,0,.2,1);
    box-shadow:-30px 0 60px -30px rgba(0,0,0,.5);
}
.nav-drawer.is-open .nav-panel{ transform:translateX(0); }
.nav-panel-head{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 22px; border-bottom:1px solid rgba(255,255,255,.12);
}
.nav-panel-brand img{ height:40px; filter:brightness(0) invert(1); display:block; }
.nav-close{
    width:42px; height:42px; border-radius:50%;
    border:1px solid rgba(255,255,255,.25); background:transparent; color:#fff;
    display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
}
.nav-close:hover{ background:rgba(255,255,255,.1); }

/* accordéon */
.nav-acc{ flex:1; overflow-y:auto; padding:6px 0; }
.nav-acc ul{ list-style:none; margin:0; padding:0; }
.nav-acc-item{ border-bottom:1px solid rgba(255,255,255,.08); }
.nav-acc-trigger, .nav-acc-link{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
    background:transparent; border:0; cursor:pointer; text-align:left;
    font-family:inherit; font-size:16px; font-weight:600; color:#fff;
    padding:17px 24px; line-height:1.25; text-decoration:none;
}
.nav-acc-trigger:hover, .nav-acc-link:hover{ color:#F3C39B; }
.nav-acc-trigger.active, .nav-acc-link.active{ color:var(--orange); }   /* vous êtes ici */
.nav-acc-trigger .chev{ flex-shrink:0; display:inline-flex; transition:transform .25s ease; color:rgba(255,255,255,.6); }
.nav-acc-item.is-open .nav-acc-trigger .chev{ transform:rotate(180deg); }
.nav-acc-trigger.active .chev{ color:var(--orange); }
.nav-acc-panel{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.nav-acc-item.is-open .nav-acc-panel{ max-height:640px; }
.nav-acc-panel ul{ padding:0 0 12px; }
.nav-acc-panel a{
    display:block; padding:9px 24px;
    font-size:14px; font-weight:400; color:rgba(255,255,255,.72); line-height:1.4;
}
.nav-acc-panel a:hover{ color:#fff; }
.nav-acc-panel a.nav-sub-all{ color:var(--orange); font-weight:600; }
.nav-acc-panel a.nav-sub-all:hover{ color:#F3C39B; }
.nav-acc-panel a.is-current{ color:var(--orange); font-weight:600; }     /* sous-section en cours */

.nav-panel-foot{ padding:18px 22px 24px; border-top:1px solid rgba(255,255,255,.12); }

/* bloque le défilement de la page quand le menu est ouvert */
body.nav-open{ overflow:hidden; }

/* === POPUP VIDÉO (lightbox) === */
.video-modal{ position:fixed; inset:0; z-index:300; display:none; align-items:center; justify-content:center; padding:24px; }
.video-modal.is-open{ display:flex; }
.video-modal-overlay{ position:absolute; inset:0; background:rgba(8,20,12,.82); }
.video-modal-dialog{ position:relative; width:min(960px, 100%); }
.video-modal-frame{ position:relative; padding-top:56.25%; background:#000; border-radius:14px; overflow:hidden; box-shadow:0 40px 90px -30px rgba(0,0,0,.7); }
.video-modal-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-modal-close{
    position:absolute; top:-16px; right:-16px; width:44px; height:44px; border-radius:50%;
    background:#fff; color:var(--ink); border:0; cursor:pointer;
    display:flex; align-items:center; justify-content:center; z-index:2;
    box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.video-modal-close:hover{ background:var(--orange); color:#fff; }
@media (max-width: 560px){ .video-modal-close{ top:-12px; right:0; } }
.header-cta{display:flex; gap:10px; align-items:center}
.icon-btn{
    width:42px; height:42px; border-radius:50%; border:1.5px solid var(--ink);
    display:inline-flex; align-items:center; justify-content:center; cursor:pointer; background:transparent;
}
.icon-btn:hover{background:var(--ink); color:var(--paper)}

/* === CHAMP DE RECHERCHE (en-tête, centré) === */
.header-search{
    flex:1; max-width:520px; margin:0 32px;
    display:flex; align-items:center; gap:10px;
    height:48px; padding:0 18px;
    background:#fff; border:1.5px solid var(--rule); border-radius:999px;
    transition:border-color .18s ease, box-shadow .18s ease;
}
.header-search:focus-within{ border-color:var(--orange); box-shadow:0 0 0 3px rgba(224,101,30,.12); }
.header-search svg{ width:18px; height:18px; color:var(--ink-3); flex-shrink:0; }
.header-search input{
    flex:1; min-width:0; border:0; outline:0; background:transparent;
    font-family:inherit; font-size:14.5px; color:var(--ink);
}
.header-search input::placeholder{ color:var(--ink-3); }
/* masque la croix native de type=search pour rester sobre */
.header-search input::-webkit-search-decoration,
.header-search input::-webkit-search-cancel-button{ -webkit-appearance:none; }

/* champ de recherche dans le drawer (mobile) — masqué par défaut */
.nav-search{ display:none; align-items:center; gap:10px; margin:14px 22px 4px; padding:0 16px; height:46px;
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); border-radius:999px; }
.nav-search svg{ width:17px; height:17px; color:rgba(255,255,255,.6); flex-shrink:0; }
.nav-search input{ flex:1; min-width:0; border:0; outline:0; background:transparent; color:#fff; font-family:inherit; font-size:14.5px; }
.nav-search input::placeholder{ color:rgba(255,255,255,.5); }

/* === PAGE DE RECHERCHE === */
.search-page-form{ display:flex; align-items:center; gap:10px; background:#fff; border:1.5px solid var(--rule); border-radius:999px; padding:6px 6px 6px 18px; }
.search-page-form:focus-within{ border-color:var(--orange); box-shadow:0 0 0 3px rgba(224,101,30,.12); }
.search-page-form svg{ width:18px; height:18px; color:var(--ink-3); flex-shrink:0; }
.search-page-form input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font-family:inherit; font-size:15px; color:var(--ink); }
.search-note{ margin-top:32px; color:var(--ink-2); font-size:15.5px; line-height:1.6; }
.search-links{ list-style:none; padding:0; margin:16px 0 0; display:flex; flex-wrap:wrap; gap:10px; }
.search-links a{ display:inline-block; padding:9px 16px; border:1px solid var(--rule); border-radius:999px; font-size:14px; font-weight:600; color:var(--ink); }
.search-links a:hover{ background:var(--ink); color:#fff; }

/* ================================================================
   COMPOSANTS DE CONTENU RÉUTILISABLES (pages internes)
   Utilisés par Observatoire, Ressources, Actualités…
   ================================================================ */
.intro-lead{ font-size:17px; color:var(--ink-2); line-height:1.6; max-width:820px; margin-bottom:36px; }
.bg-cream{ background:var(--cream); }
.bg-paper{ background:var(--paper); }

/* listes à puces (point orange) */
.feature-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.feature-list li{ position:relative; padding-left:24px; color:var(--ink-2); font-size:15.5px; line-height:1.6; }
.feature-list li::before{ content:""; position:absolute; left:0; top:9px; width:8px; height:8px; border-radius:50%; background:var(--orange); }
.feature-list li strong{ color:var(--ink); font-weight:700; }
.feature-cols{ columns:2; column-gap:48px; }
.feature-cols li{ break-inside:avoid; margin-bottom:14px; }

/* grille de cartes blanches */
.card-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:18px; }
.card-grid.cols-2{ grid-template-columns:repeat(auto-fit, minmax(340px,1fr)); }
.info-card{ background:#fff; border:1px solid var(--rule); border-radius:18px; padding:26px 28px; display:flex; flex-direction:column; gap:12px; transition:transform .22s ease, box-shadow .22s ease; }
.info-card:hover{ transform:translateY(-3px); box-shadow:0 24px 50px -30px rgba(15,45,26,.3); }
.info-card .tag{ align-self:flex-start; font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--orange-deep); background:var(--orange-soft); padding:5px 10px; border-radius:999px; }
.info-card h3{ font-family:'Newsreader',serif; font-size:21px; font-weight:600; line-height:1.2; }
.info-card p{ color:var(--ink-2); font-size:14.5px; line-height:1.6; }
.info-card .meta{ font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--ink-3); letter-spacing:.06em; margin-top:auto; }
.info-card .read{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--ink); display:inline-flex; gap:6px; margin-top:4px; }
.info-card .read:hover{ color:var(--orange); }

/* indicateurs (KPI) */
.kpi-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:16px; }
.kpi-card{ background:var(--cream); border:1px solid var(--rule); border-radius:18px; padding:26px; display:flex; flex-direction:column; gap:6px; }
.kpi-card .k{ font-family:'JetBrains Mono',monospace; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.kpi-card .v{ font-family:'Newsreader',serif; font-size:40px; font-weight:600; color:var(--green); line-height:1.05; letter-spacing:-0.02em; }
.kpi-card .s{ font-size:13px; color:var(--ink-2); line-height:1.5; margin-top:2px; }

/* encart (callout) */
.callout{ background:var(--green-deep); color:#fff; border-radius:20px; padding:38px 40px; }
.callout.warn{ background:var(--orange); }
.callout h3{ font-family:'Newsreader',serif; font-size:26px; font-weight:600; margin-bottom:12px; }
.callout > p{ color:rgba(255,255,255,.9); font-size:15px; line-height:1.6; margin-bottom:12px; max-width:760px; }
.callout .feature-list li{ color:rgba(255,255,255,.92); }
.callout .feature-list li::before{ background:#fff; }

/* article (détail public) */
.article-detail{ max-width:760px; margin:0 auto; }
.article-cover-img{ width:100%; border-radius:18px; border:1px solid var(--rule); margin-bottom:32px; display:block; }
.article-chapo{ font-family:'Newsreader', serif; font-size:21px; line-height:1.5; color:var(--ink); margin-bottom:28px; font-weight:500; }
.article-body-content{ font-size:17px; line-height:1.75; color:var(--ink-2); }
.article-body-content > *{ margin-bottom:20px; }
.article-body-content h2{ font-size:30px; margin:40px 0 14px; color:var(--ink); }
.article-body-content h3{ font-size:23px; margin:32px 0 12px; color:var(--ink); }
.article-body-content a{ color:var(--orange-deep); text-decoration:underline; text-underline-offset:3px; }
.article-body-content ul, .article-body-content ol{ padding-left:24px; }
.article-body-content li{ margin-bottom:8px; }
.article-body-content blockquote{ border-left:4px solid var(--orange); padding:6px 0 6px 20px; margin:24px 0; font-family:'Newsreader', serif; font-style:italic; font-size:20px; color:var(--ink); }
.article-tags{ margin-top:32px; display:flex; flex-wrap:wrap; gap:8px; }
.article-tag{ background:var(--cream); border:1px solid var(--rule); border-radius:999px; padding:6px 13px; font-size:13px; color:var(--ink-2); font-family:'JetBrains Mono', monospace; }
/* partage */
.article-share{ margin-top:30px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.article-share .share-label{ font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); margin-right:4px; }
.share-btn{ width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff; transition:transform .18s ease, opacity .18s ease; }
.share-btn svg{ width:18px; height:18px; }
.share-btn:hover{ transform:translateY(-2px); opacity:.9; }
.share-btn.fb{ background:#1877F2; }
.share-btn.x{ background:#0F2D1A; }
.share-btn.in{ background:#0A66C2; }
.share-btn.wa{ background:#25D366; }

/* navigation article précédent / suivant */
.article-nav{ margin-top:24px; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.art-nav-link{ display:flex; flex-direction:column; gap:6px; padding:20px 22px; border:1px solid var(--rule); border-radius:16px; background:#fff; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.art-nav-link:hover{ transform:translateY(-2px); box-shadow:0 20px 40px -28px rgba(15,45,26,.35); border-color:var(--orange); }
.art-nav-link.next{ text-align:right; }
.art-nav-link .ann-dir{ font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--orange); }
.art-nav-link .ann-title{ font-family:'Newsreader', serif; font-size:17px; font-weight:600; color:var(--ink); line-height:1.3; }

.article-foot{ margin-top:32px; padding-top:28px; border-top:1px solid var(--rule); }

@media (max-width: 640px){
    .article-nav{ grid-template-columns:1fr; }
    .art-nav-link.next{ text-align:left; }
}
.info-card h3 a:hover{ color:var(--orange); }

/* === AGENDA (liste publique) === */
.agenda-list{ display:flex; flex-direction:column; gap:14px; }
.agenda-item{ display:grid; grid-template-columns:92px 1fr auto; gap:26px; align-items:center; background:#fff; border:1px solid var(--rule); border-radius:18px; padding:22px 28px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.agenda-item:hover{ transform:translateY(-2px); box-shadow:0 22px 44px -30px rgba(15,45,26,.35); border-color:var(--orange); }
.agenda-date{ text-align:center; display:flex; flex-direction:column; line-height:1; }
.agenda-date .d{ font-family:'Newsreader', serif; font-size:42px; font-weight:600; color:var(--green); letter-spacing:-0.02em; }
.agenda-date .m{ font-family:'JetBrains Mono', monospace; font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--orange); margin-top:4px; }
.agenda-date .y{ font-size:12px; color:var(--ink-3); margin-top:2px; }
.agenda-format{ display:inline-flex; align-items:center; gap:8px; font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--green); margin-bottom:8px; }
.agenda-format .dot{ width:8px; height:8px; border-radius:50%; background:var(--orange); }
.agenda-body h3{ font-family:'Newsreader', serif; font-size:22px; font-weight:600; line-height:1.2; }
.agenda-meta{ display:flex; flex-wrap:wrap; gap:16px; margin-top:8px; font-size:14px; color:var(--ink-2); }
.agenda-go{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--ink); white-space:nowrap; }
.agenda-item:hover .agenda-go{ color:var(--orange); }
.agenda-list.past .agenda-item{ opacity:.75; }
.agenda-list.past .agenda-date .d{ color:var(--ink-3); }

/* === DÉTAIL ÉVÉNEMENT === */
.event-hero-meta{ display:flex; flex-wrap:wrap; gap:16px; margin-top:18px; color:rgba(255,255,255,.85); font-size:15px; }
.event-past-note{ display:inline-block; background:var(--cream); border:1px solid var(--rule); border-radius:999px; padding:6px 16px; font-size:13px; color:var(--ink-2); margin-bottom:20px; }
.event-cta-box{ margin-top:32px; background:var(--green-deep); color:#fff; border-radius:18px; padding:26px 30px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.event-cta-box strong{ font-size:17px; }
.event-cta-box p{ color:rgba(255,255,255,.8); margin-top:4px; font-size:14px; }

@media (max-width:600px){
    .agenda-item{ grid-template-columns:70px 1fr; }
    .agenda-go{ display:none; }
    .agenda-date .d{ font-size:34px; }
}

/* note discrète */
.muted-note{ margin-top:22px; font-size:13px; color:var(--ink-3); font-style:italic; display:flex; gap:10px; align-items:flex-start; }
.muted-note::before{ content:"ℹ"; font-style:normal; }

/* documents téléchargeables (générique) */
.dl-list{ display:grid; grid-template-columns:repeat(auto-fit, minmax(330px,1fr)); gap:14px; }
.dl-item{ display:flex; align-items:center; gap:18px; background:#fff; border:1px solid var(--rule); border-radius:14px; padding:18px 20px; transition:transform .2s ease, box-shadow .2s ease; }
.dl-item:hover{ transform:translateY(-2px); box-shadow:0 20px 40px -28px rgba(15,45,26,.35); }
.dl-item .ic{ width:46px; height:46px; border-radius:11px; flex-shrink:0; background:var(--orange-soft); color:var(--orange-deep); display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-weight:600; font-size:11px; border:1px solid rgba(184,79,15,.2); }
.dl-item .dl-info{ flex:1; }
.dl-item .t{ font-weight:700; font-size:15px; line-height:1.3; }
.dl-item .m{ font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--ink-3); margin-top:3px; }
.dl-item .dl-go{ width:38px; height:38px; border-radius:50%; flex-shrink:0; border:1.5px solid var(--ink); color:var(--ink); display:flex; align-items:center; justify-content:center; }
.dl-item:hover .dl-go{ background:var(--ink); color:#fff; }

/* médias (vidéos / photos) */
.media-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:18px; }
.media-card{ background:#fff; border:1px solid var(--rule); border-radius:18px; overflow:hidden; transition:transform .22s ease, box-shadow .22s ease; }
.media-card:hover{ transform:translateY(-3px); box-shadow:0 24px 50px -30px rgba(15,45,26,.3); }
.media-thumb{ aspect-ratio:16/9; background:repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 14px), linear-gradient(150deg,#2C6E3F,#14331f); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.85); }
.media-thumb svg{ width:46px; height:46px; opacity:.9; }
.media-thumb.alt{ background:repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px), linear-gradient(150deg,#b8a373,#8a7a52); }
.media-body{ padding:18px 20px; }
.media-body h4{ font-family:'Newsreader',serif; font-size:18px; font-weight:600; line-height:1.25; }
.media-body .meta{ font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--ink-3); margin-top:8px; letter-spacing:.04em; }

/* bloc d'abonnement (newsletter) clair */
.subscribe{ background:var(--green-deep); color:#fff; border-radius:20px; padding:40px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.subscribe .sub-txt h3{ font-family:'Newsreader',serif; font-size:26px; font-weight:600; }
.subscribe .sub-txt p{ color:rgba(255,255,255,.8); margin-top:8px; font-size:14.5px; max-width:460px; }
.subscribe form{ display:flex; gap:0; border:1px solid rgba(255,255,255,.25); border-radius:999px; overflow:hidden; min-width:300px; }
.subscribe input{ background:transparent; border:0; padding:14px 18px; color:#fff; font-family:inherit; font-size:14px; flex:1; outline:none; }
.subscribe input::placeholder{ color:rgba(255,255,255,.5); }
.subscribe button{ background:var(--orange); color:#fff; border:0; padding:0 24px; font-weight:700; cursor:pointer; font-family:inherit; font-size:13.5px; }

@media (max-width: 700px){
    .feature-cols{ columns:1; }
    .callout, .subscribe{ padding:28px 24px; }
}

/* === PAGE HERO (pages internes) === */
.page-hero{ background:var(--green-darkest); color:#fff; position:relative; overflow:hidden; }
.page-hero-bg{
    position:absolute; inset:0;
    background:
            repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px),
            linear-gradient(180deg, #173d24, #0a2014);
}
.page-hero-bg::before{
    content:""; position:absolute; inset:0;
    background:
            radial-gradient(circle at 80% 20%, rgba(224,101,30,.22), transparent 45%),
            radial-gradient(circle at 15% 90%, rgba(44,110,63,.4), transparent 50%);
}
.dots-orb{
    position:absolute; right:-160px; top:50%; transform:translateY(-50%);
    width:560px; height:560px; pointer-events:none; opacity:.55;
}
.dots-orb svg{width:100%; height:100%; display:block}
.page-hero-inner{ position:relative; padding:72px 0 80px; max-width:900px; }
.breadcrumb{
    display:flex; gap:10px; align-items:center;
    font-family:'JetBrains Mono', monospace;
    font-size:12px; letter-spacing:.08em; text-transform:uppercase;
    color:rgba(255,255,255,.55); margin-bottom:28px;
}
.breadcrumb a:hover{color:#fff}
.breadcrumb .sep{opacity:.4}
.page-hero h1{
    font-size:clamp(48px, 6vw, 84px);
    font-weight:800; letter-spacing:-0.035em; line-height:0.98; margin-bottom:24px;
}
.page-hero h1 .serif{ font-style:italic; font-weight:500; color:#F3C39B; }
.page-hero .lead{ font-size:18px; color:rgba(255,255,255,.78); max-width:640px; line-height:1.55; }

/* === SUBNAV === */
.subnav{ background:var(--cream); border-bottom:1px solid var(--rule); position:sticky; top:96px; z-index:40; }
.subnav .wrap{ display:flex; gap:8px; overflow-x:auto; }
.subnav a{ padding:18px 16px; font-size:13.5px; font-weight:600; color:var(--ink-2); white-space:nowrap; border-bottom:2px solid transparent; }
.subnav a:hover{color:var(--ink)}
.subnav a.active{color:var(--orange); border-bottom-color:var(--orange)}

/* === SECTION (pages internes) === */
section.block{padding:88px 0; position:relative}
.section-head{ margin-bottom:48px; max-width:780px; }
.section-head .num{
    font-family:'JetBrains Mono', monospace; font-size:13px; color:var(--ink-3);
    letter-spacing:.12em; display:block; margin-bottom:18px;
}
.section-head h2{ font-size:clamp(34px, 4vw, 52px); line-height:1.02; }
.section-head h2 .serif{font-style:italic}
.section-head p.intro{ margin-top:22px; font-size:17px; color:var(--ink-2); line-height:1.6; }

/* === FOOTER === */
footer{
    background:var(--green-darkest); color:rgba(255,255,255,.7);
    padding:96px 0 32px; font-size:14px; border-top:1px solid rgba(255,255,255,.12);
}
.footer-big{
    display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap:48px;
    padding-bottom:64px; border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand img{height:66px; width:auto; filter:brightness(0) invert(1)}
.footer-brand p{margin-top:20px; max-width:340px; color:rgba(255,255,255,.65); font-size:14px}
.newsletter{ margin-top:28px; display:flex; gap:0; border:1px solid rgba(255,255,255,.2); border-radius:999px; overflow:hidden; max-width:100%; }
.newsletter input{ background:transparent; border:0; padding:14px 18px; color:#fff; font-family:inherit; font-size:13.5px; flex:1; min-width:0; outline:none; }
.newsletter input::placeholder{color:rgba(255,255,255,.4)}
.newsletter button{ background:var(--orange); color:#fff; border:0; padding:0 22px; font-weight:700; cursor:pointer; font-family:inherit; font-size:13px; }
footer h4{ font-family:'Archivo', sans-serif; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:#fff; font-weight:700; margin-bottom:22px; }
footer ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px}
footer ul a{color:rgba(255,255,255,.65)}
footer ul a:hover{color:#fff}
.footer-bottom{ margin-top:32px; display:flex; justify-content:space-between; align-items:center; color:rgba(255,255,255,.4); font-size:12.5px; }
.footer-bottom .socials{display:flex; gap:10px}
.socials a{ width:36px; height:36px; border:1px solid rgba(255,255,255,.2); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); font-size:12px; font-weight:700; }
.socials a:hover{background:#fff; color:var(--ink)}

/* === RESPONSIVE COMMUN === */
@media (max-width: 1000px){
    .footer-big{grid-template-columns:1fr 1fr}
    .footer-bottom{flex-direction:column; gap:14px; text-align:center}
}
@media (max-width: 820px){
    .header-search{display:none}         /* la recherche passe dans le menu */
    .nav-search{display:flex}
}
@media (max-width: 600px){
    .header-don{display:none}            /* le don reste accessible dans le menu */
    .nav-toggle-label{display:none}
    .nav-toggle{padding:11px 13px}

    /* marges latérales réduites sur téléphone */
    .wrap{ padding:0 20px; }

    /* en-tête moins haut sur téléphone (le logo reste plus grand qu'avant) */
    header.site .wrap{ height:76px; }
    .brand img{ height:46px; }
    .subnav{ top:76px; }

    /* footer en une seule colonne, centré et plus aéré */
    footer{ padding:56px 0 28px; }
    .footer-big{ grid-template-columns:1fr; gap:32px; padding-bottom:40px; text-align:center; }
    .footer-brand{ display:flex; flex-direction:column; align-items:center; }
    .footer-brand img{ margin:0 auto; }
    .footer-brand p{ max-width:none; }
    .newsletter{ max-width:380px; margin-left:auto; margin-right:auto; width:100%; }
    footer ul{ align-items:center; }
}

/* garde-fou : aucun débordement horizontal (clip n'altère pas le position:sticky) */
html, body{ overflow-x:clip; max-width:100%; }
