/* =============================================================
   Fondation Habyarimana — feuille de style
   Charte graphique FHPP v1.0 (novembre 2026)
     Bleu Habyarimana #1E4998 — logo, titres, liens, boutons
     Bleu Nuit #0E2A5A — grands aplats, en-têtes de page, pied
     Encre #111111 — texte courant
     Ocre Aube #BF7F22 — accent seulement (< 5 % de la surface),
       un seul bouton ocre par page : « Soutenir »
     Ivoire #F3F0E8 / Blanc — fonds
   Titres : Montserrat · Texte : Source Serif 4
   ============================================================= */
:root {
  --blue: #1E4998; --navy: #0E2A5A; --ink: #111111;
  --ocre: #BF7F22; --ocre-text: #94601A; --ocre-light: #E8B35A; --ocre-pale: #F5E6CC;
  --ivory: #F3F0E8; --paper: #FFFFFF; --line: #CFCAC0; --rule: #E4E0D6; --muted: #666666;
  --maxw: 1140px; --gap: clamp(1rem, 3vw, 2.5rem); --radius: 2px;
  --shadow: 0 1px 2px rgba(14,42,90,.06), 0 8px 24px rgba(14,42,90,.07);
  --display: "Montserrat", "Arial", sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.eyebrow { font-family: var(--display); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ocre-text); margin: 0 0 .8rem; }
.kicker { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .4rem; }
.lede { font-size: 1.15rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 1.6rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 2px solid var(--blue); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.05rem; line-height: 1.1; flex-shrink: 0; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 90px; height: 36px; object-fit: contain; }
.brand small { display: block; font-family: var(--display); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.menu { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.menu a { font-family: var(--display); text-decoration: none; color: var(--ink); font-size: .84rem; font-weight: 600; padding-block: .3rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu a:hover { color: var(--blue); border-color: var(--blue); }
.menu a.active { color: var(--blue); border-color: var(--blue); }
.menu .menu-cta a { border: 0; padding: .55rem 1.1rem; color: #fff; }
.menu .menu-cta a:hover { color: #fff; }
.menu-search a { display: inline-flex; align-items: center; padding: .35rem; border-radius: 50%; color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero .container { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 2.5rem; align-items: center; }
.hero .eyebrow { color: var(--ocre-light); }
.hero h1 { color: #fff; margin-bottom: .25em; }
.hero .dates { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ocre-light); margin-bottom: 1.2rem; letter-spacing: .02em; }
.hero p { color: rgba(255,255,255,.88); max-width: 52ch; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-portrait { position: relative; display: grid; place-items: center; }
.hero-portrait img { position: relative; width: min(100%, 460px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }

/* ---------- Boutons ---------- */
.btn { display: inline-block; padding: .7rem 1.35rem; border-radius: var(--radius); font-weight: 700; font-size: .9rem; border: 2px solid transparent; cursor: pointer; transition: .15s; font-family: var(--display); line-height: 1.3; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--ivory); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
/* Un seul bouton ocre par page : « Soutenir » (en-tête) */
.btn-support { background: #9C6619; color: #fff; font-size: 1.02rem; }
.btn-support:hover { background: #85570F; color: #fff; }

/* ---------- Sections ---------- */
section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: 0; text-align: left; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--ivory); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.9); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .eyebrow { color: var(--ocre-light); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.split-wide { display: grid; grid-template-columns: 1.5fr .9fr; gap: 3rem; align-items: start; }
.cta-row { margin: -.5rem 0 2rem; }

/* Cartes de navigation (accueil) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.cards-img { margin-top: 2.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: .18s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.card { border-top: 3px solid var(--blue); }
.card:hover { transform: translateY(-3px); border-color: var(--blue); }
.card-media { display: block; aspect-ratio: 16/9; background: var(--ivory); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.3rem 1.4rem 1.4rem; }
.card h3 { margin-bottom: .35em; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--blue); text-decoration: none; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Cartes d'articles */
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s; }
.pcard:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard-media { display: block; position: relative; aspect-ratio: 16/9; background: var(--ivory); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 1.1rem 1.25rem 1.25rem; }
.pcard.noimg { border-top: 3px solid var(--blue); background: var(--ivory); }
.pcard.noimg .pcard-body { padding-top: 1.4rem; }
.pcard.noimg .pcard-x { -webkit-line-clamp: 7; }
.pcard.noimg h3::before { content: "\201C"; font-family: var(--text); color: var(--blue); font-size: 2.2rem; line-height: 0; margin-right: .2rem; vertical-align: -0.9rem; }
.pcard h3 { font-size: 1.1rem; margin-bottom: .4em; }
.pcard h3 a { color: var(--navy); text-decoration: none; }
.pcard h3 a:hover { color: var(--blue); text-decoration: none; }
.pcard-x { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Listes d'actualités */
.news { display: grid; gap: 1.2rem; }
.news-item { display: grid; grid-template-columns: 84px 1fr; gap: 1.2rem; align-items: start; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-date { font-family: var(--display); text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: .5rem .3rem; }
.news-date .d { font-size: 1.5rem; font-weight: 700; display: block; line-height: 1; }
.news-date .m { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ocre-light); display: block; }
.news-date .y { font-size: .68rem; color: rgba(255,255,255,.6); display: block; font-family: var(--display); }
.news-item h3 { font-size: 1.12rem; margin-bottom: .25em; }
.news-item h3 a { color: var(--navy); text-decoration: none; }
.news-item h3 a:hover { color: var(--blue); }
.news-item p { color: var(--muted); font-size: .94rem; margin: 0; }
.group { margin-bottom: 3.2rem; }
.group:last-child { margin-bottom: 0; }

/* Sous-navigation */
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.subnav a { font-family: var(--display); text-decoration: none; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink); background: var(--paper); }
.subnav a small { color: var(--muted); font-weight: 400; margin-left: .2rem; }
.subnav a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.subnav a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* Citation */
.quote { border-left: 4px solid var(--ocre); padding: .4rem 0 .4rem 1.4rem; margin-bottom: 2rem; }
.quote blockquote { font-family: var(--text); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-style: italic; color: var(--ink); margin: 0 0 .6rem; line-height: 1.35; }
.quote cite { color: var(--muted); font-style: normal; font-size: .9rem; }

/* Vidéo (YouTube, chargée au clic) */
.video { margin: 1.5rem 0; }
.video-frame, .yt { position: relative; display: block; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: .2s; }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt iframe, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%,-50%); background: rgba(14,42,90,.92); border-radius: 12px; }
.play::after { content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%,-50%); border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.play.small { width: 46px; height: 32px; border-radius: 8px; }
.play.small::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.video figcaption { font-family: var(--display); font-weight: 500; font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.video-grid .video { margin: 0; }
.video.short .yt { aspect-ratio: 9/16; max-height: 420px; }
.video.short .yt img { object-fit: cover; }
.shorts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem; }
.shorts-grid .video { margin: 0; }
.vcard h3 { font-size: 1.02rem; margin: .2rem 0 0; }
.vcard h3 a { color: var(--navy); text-decoration: none; }
.vcard h3 a:hover { color: var(--blue); text-decoration: none; }
.vcard .kicker { margin: .7rem 0 0; }
.channel { display: flex; gap: 1.4rem; align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2rem; flex-wrap: wrap; }
.channel-avatar { width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 0 0 3px var(--blue); }
.channel p { margin-bottom: .8rem; }
.channel .btn { margin-right: .5rem; margin-bottom: .3rem; }

/* Chronologie */
.periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.period { text-decoration: none; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: .18s; }
.period:hover { text-decoration: none; border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.period-media { display: block; aspect-ratio: 4/3; background: var(--ivory); }
.period-media img { width: 100%; height: 100%; object-fit: cover; }
.period-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .3rem; }
.period-body strong { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.period-x { color: var(--muted); font-size: .86rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 44px; top: 0; bottom: 0; width: 3px; background: var(--blue); border-radius: 3px; }
.tl-item { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; margin-bottom: 1.6rem; }
.tl-marker { position: relative; }
.tl-marker span { position: sticky; top: 90px; display: grid; place-items: center; width: 92px; height: 34px; border-radius: 999px; background: var(--navy); color: var(--ocre-light); font-family: var(--display); font-weight: 700; font-size: .95rem; box-shadow: 0 0 0 4px var(--paper); }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); max-width: 760px; }
.tl-date { font-family: var(--display); color: var(--blue); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .3rem; }
.tl-card h3 { font-size: 1.3rem; }
.tl-card img { border-radius: var(--radius); margin: .6rem 0 1rem; max-height: 440px; object-fit: cover; width: 100%; }
.tl-desc p:last-child { margin-bottom: 0; }

/* Page intérieure */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(2.2rem, 5vw, 3.6rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: -36px; width: 340px; aspect-ratio: 5/2; pointer-events: none; background: url(../assets/img/arbre-ivoire.png) no-repeat center / contain; opacity: .15; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--ocre-light); }
.page-hero h1 { color: #fff; margin: 0; max-width: 24ch; }
.hero-lede { color: rgba(255,255,255,.85); max-width: 62ch; margin: 1rem 0 0; font-size: 1.05rem; }
.breadcrumb { font-family: var(--display); font-size: .84rem; color: rgba(255,255,255,.72); margin-bottom: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb span { opacity: .5; margin-inline: .2rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; }
.prose { max-width: 72ch; min-width: 0; }
.prose h2 { margin-top: 1.8em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.5em; }
.prose > p:first-of-type { font-size: 1.08rem; }
.prose img { border-radius: var(--radius); margin: 1.2rem 0; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-family: var(--display); font-weight: 500; font-size: .86rem; color: var(--muted); margin-top: .5rem; }
.prose blockquote { border-left: 4px solid var(--ocre); margin: 1.5rem 0; padding: .3rem 0 .3rem 1.3rem; font-family: var(--text); font-size: 1.12rem; font-style: italic; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose audio, .prose video { width: 100%; margin: .5rem 0 1rem; border-radius: var(--radius); }
.prose table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; vertical-align: top; }
.lead-img img { margin: 0 0 1.6rem; }
.side { display: grid; gap: 1.4rem; position: sticky; top: 90px; }
.side-box { background: var(--ivory); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); }
.side-box.accent { background: var(--navy); color: rgba(255,255,255,.88); border-color: var(--navy); }
.side-box.accent h3, .side-box.accent h3 a { color: #fff; }
.bg-navy .btn-outline, .side-box.accent .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.bg-navy .btn-outline:hover, .side-box.accent .btn-outline:hover { background: #fff; border-color: #fff; color: var(--navy); }
.side-box.accent .kicker { color: var(--ocre-light); }
.side-box img { border-radius: var(--radius); margin-bottom: 1rem; }
.side-box h3 { font-size: 1.15rem; }
.side-box p { font-size: .93rem; }
.side-box .btn { margin-top: .3rem; }
.side-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; font-size: .92rem; }
.side-list a { color: var(--ink); text-decoration: none; }
.side-list a:hover { color: var(--blue); text-decoration: underline; }
.side-list a.current { color: var(--blue); font-weight: 600; }
.side-list small { color: var(--muted); }
.side-meta { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.5; }

/* Galerie & visionneuse */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin: 1.5rem 0; }
.g-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--ivory); }
.g-item img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .25s; }
.g-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,17,15,.94); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* Liste audio & PDF */
.playlist { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.playlist ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.playlist li { border-top: 1px solid var(--line); padding-top: .9rem; }
.track-head { display: flex; align-items: baseline; gap: .7rem; font-size: .93rem; margin-bottom: .3rem; flex-wrap: wrap; }
.track-n { color: var(--ocre-text); font-family: var(--display); font-weight: 700; }
.track-head small { color: var(--muted); }
.pdf iframe { width: 100%; height: 75vh; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }

/* Dons */
.donate { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.donate h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.bank { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 1.4rem 1.6rem; border-left: 4px solid var(--ocre); font-size: .95rem; }
.bank dt { font-family: var(--display); font-weight: 600; color: var(--ink); margin-bottom: .8rem; font-size: 1.05rem; }
.bank dd { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.bank dd span { font-family: var(--display); display: inline-block; min-width: 110px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tweet-wrap { margin-top: 1rem; }

/* Formulaires & recherche */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form label { font-family: var(--display); display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea, .form select, .search input { font: inherit; font-size: 1rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus, .search input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form button { justify-self: start; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-hp { position: absolute; left: -9999px; }
.form .choices { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; display: grid; gap: .5rem; margin: 0; }
.form .choices legend { font-family: var(--display); font-weight: 600; font-size: .9rem; padding: 0 .3rem; }
.form label.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.form label.check input { width: auto; margin-top: .2rem; }
.form-status { margin: 0; padding: .8rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.form-status.ok { background: #E7F1E6; color: #1E4D22; }
.form-status.err { background: #F8E7E4; color: #7A2318; }
.form-mail p:first-child { font-size: 1.05rem; }
.search-state { color: var(--muted); }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; }
.search { margin-bottom: 1rem; }
.search input { font-size: 1.15rem; padding: .9rem 1.1rem; }
mark { background: var(--ocre-pale); color: inherit; padding: 0 .1em; }

/* Paroles du Président (accueil) */
.paroles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.parole { margin: 0; background: var(--paper); border-top: 3px solid var(--ocre); padding: 1.3rem 1.4rem 1.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.parole blockquote { margin: 0; font-family: var(--text); font-style: italic; font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.parole figcaption { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }

/* Galeries légendées, graphiques, notes de source */
.gallery-captioned { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
.gallery-captioned figure { margin: 0; }
.gallery-captioned .g-item { aspect-ratio: 4/3; background: var(--ivory); }
.gallery-captioned .g-item img { object-fit: contain; }
.gallery-captioned figcaption { font-family: var(--display); font-weight: 500; font-size: .8rem; line-height: 1.4; color: var(--muted); margin-top: .45rem; }
.chart { margin: 1.5rem 0 2rem; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .ax { font-family: var(--display); font-size: 12px; fill: var(--muted); }
.chart .lab { font-family: var(--display); font-size: 13px; font-weight: 700; fill: var(--ink); }
.chart polyline { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .s1 { stroke: var(--blue); } .chart circle.s1, .chart text.s1 { fill: var(--blue); stroke: none; }
.chart .s2 { stroke: var(--navy); stroke-dasharray: 6 4; } .chart circle.s2, .chart text.s2 { fill: var(--navy); stroke: none; }
.chart .bar { fill: var(--blue); opacity: .4; } .chart .bar.hi { opacity: 1; }
.chart .val { font-family: var(--display); font-size: 13px; font-weight: 600; fill: var(--ink); }
.chart figcaption { font-family: var(--display); font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.source-note { margin-top: 2.5rem; padding: 1rem 1.2rem; background: var(--ivory); border: 1px solid var(--line); font-size: .9rem; line-height: 1.55; }
.source-note p { margin: 0 0 .5rem; } .source-note p:last-child { margin: 0; }
.omission { color: var(--muted); }
.tl-src { font-family: var(--display); font-size: .78rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding-block: 3rem 1.5rem; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer p { font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.foot-grid a { color: rgba(255,255,255,.8); font-size: .92rem; text-decoration: none; }
.foot-logo { width: 170px; height: auto; margin-bottom: 1.2rem; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.7); font-family: var(--display); }

/* ---------- Responsive ---------- */
.site-header .container { max-width: 1320px; }
@media (max-width: 1280px) { .menu { gap: .75rem; } .menu a { font-size: .8rem; } .brand small { display: none; } }
@media (max-width: 1120px) {
  .menu { position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gap) 1rem; transform: translateY(-130%); visibility: hidden; transition: transform .25s, visibility 0s .25s; box-shadow: var(--shadow); max-height: calc(100vh - 66px); overflow: auto; }
  .menu.open { transform: translateY(0); visibility: visible; transition: transform .25s; }
  .menu li { border-bottom: 1px solid var(--line); }
  .menu a { display: block; padding: .8rem 0; font-size: 1rem; }
  .menu-search a { border-radius: 0; }
  .menu li.menu-cta { border-bottom: 0; padding-top: .8rem; }
  .menu .menu-cta a { display: inline-block; padding: .7rem 1.35rem; }
  .nav-toggle { display: block; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .split-wide, .article-layout, .donate { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .hero-portrait img { width: min(70%, 320px); }
  .side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .news-item { grid-template-columns: 66px 1fr; gap: .9rem; }
  .news-date .d { font-size: 1.25rem; }
  .foot-grid, .form .grid2 { grid-template-columns: 1fr; }
  .timeline::before { left: 16px; }
  .tl-item { grid-template-columns: 1fr; gap: .4rem; padding-left: 40px; }
  .tl-marker span { position: static; width: auto; height: auto; padding: .15rem .7rem; box-shadow: none; display: inline-grid; margin-left: -40px; }
  .brand small { display: none; }
}
@media print { .site-header, .site-footer, .side, .pager, .subnav { display: none; } body { background: #fff; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
