/* ==========================================================================
   Africa Wake Up — feuille de style principale
   ========================================================================== */
:root {
	--bg: #fbf7f1;
	--bg-alt: #f3ebdf;
	--surface: #ffffff;
	--text: #1b1a17;
	--muted: #5d574e;
	--line: #e5dccd;
	--brand: #e2601a;
	--brand-2: #f4a52a;
	--brand-ink: #b8460c;
	--green: #1f7a4d;
	--red: #a8322a;
	--night: #0d1424;
	--night-2: #17223a;
	--land-1: #2a1d16;
	--land-2: #140e0b;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(27,26,23,.06), 0 8px 24px rgba(27,26,23,.07);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--max: 1200px;
	--narrow: 760px;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #0d1424;
	--bg-alt: #121c31;
	--surface: #17223a;
	--text: #f1ece4;
	--muted: #b3ab9f;
	--line: #26334f;
	--brand: #f47a2e;
	--brand-ink: #ffb070;
	--shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0d1424;
		--bg-alt: #121c31;
		--surface: #17223a;
		--text: #f1ece4;
		--muted: #b3ab9f;
		--line: #26334f;
		--brand: #f47a2e;
		--brand-ink: #ffb070;
		--shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
		color-scheme: dark;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.center { text-align: center; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: var(--narrow); }
@media (min-width: 768px) { .container { padding: 0 32px; } .container--narrow { max-width: calc(var(--narrow) + 64px); } }

/* Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width .1s linear; }

/* Boutons */
.btn {
	display: inline-flex; align-items: center; gap: .4em; justify-content: center;
	padding: .7em 1.2em; border-radius: 999px; border: 2px solid transparent;
	font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .9em 1.5em; font-size: 1.02rem; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-ink); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--text); background: transparent; }
.btn--ghost:hover { color: var(--brand); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { color: var(--brand-ink); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* En-tête */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand__logo { width: 38px; height: 38px; color: var(--text); }
.brand__text { font: 600 1.15rem/1 var(--serif); letter-spacing: -.01em; }
.brand__text strong { color: var(--brand); font-weight: 800; }
.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: .5rem .65rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--bg-alt); color: var(--brand-ink); }
.site-header__tools { display: flex; align-items: center; gap: 4px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin-right: 4px; }
.lang-switch a { padding: .25rem .6rem; border-radius: 999px; font: 600 .8rem/1.2 var(--font); color: var(--muted); text-decoration: none; }
.lang-switch a.is-current { background: var(--text); color: var(--bg); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--bg-alt); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
.nav-toggle { display: none; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; margin: 2px 0; transition: transform .2s, opacity .2s; }
.search-panel { border-top: 1px solid var(--line); padding: 14px 0; background: var(--bg); }
.search-panel form, .search-form { display: flex; gap: 8px; }
.search-panel input, .search-form input {
	flex: 1; min-width: 0; padding: .75em 1em; border-radius: 999px; border: 1px solid var(--line);
	background: var(--surface); color: var(--text); font: inherit;
}

@media (max-width: 1180px) {
	.nav-toggle { display: inline-grid; }
	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line);
		padding: 8px 16px 20px; max-height: calc(100vh - 68px); overflow-y: auto; margin: 0; box-shadow: var(--shadow);
	}
	.nav-open .main-nav { display: block; }
	.main-nav .menu { flex-direction: column; }
	.main-nav a { padding: .8rem .6rem; font-size: 1.05rem; }
	.site-header__tools { margin-left: auto; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
}
.nav-search { display: none; }
@media (max-width: 1180px) { .nav-search { display: flex; margin-top: 12px; } }
@media (max-width: 460px) {
	.site-header__inner { gap: 8px; }
	.brand__text { font-size: 1rem; }
	.brand__logo { width: 30px; height: 30px; }
	.icon-btn { width: 36px; height: 36px; }
	[data-search-toggle] { display: none; }
	.lang-switch a { padding: .25rem .5rem; }
}

/* Hero */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(180deg, #0b1222 0%, #1d2442 38%, #6b2f3a 72%, #e2601a 100%);
	padding: clamp(72px, 12vw, 150px) 0 clamp(150px, 18vw, 230px);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.hero__sun { position: absolute; width: min(560px, 110vw); left: 50%; bottom: -16%; opacity: .92; transform: translateX(-50%); animation: rise 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero__rays { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.hero__land { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 14vw, 200px); }
.hero__content { position: relative; text-align: center; max-width: 880px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font: 600 .8rem/1.2 var(--font); color: var(--brand-2); margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 800; color: #fff; margin-bottom: .35em; }
.hero__title em { font-style: italic; color: #ffcf70; }
.hero__lead { text-shadow: 0 1px 12px rgba(11,18,34,.85); font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 680px; margin: 0 auto 2rem; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
@keyframes rise { from { transform: translate(-50%, 30%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__sun, .hero__rays { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section__head { margin-bottom: 32px; }
.section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0; }
.section__lead { color: var(--muted); margin: .5rem 0 0; max-width: 620px; }
.section--figures { background: var(--night); color: #f1ece4; }
.section--figures .section__lead { color: #b3ab9f; }
.section--themes, .section--related { background: var(--bg-alt); }

/* Chiffres */
.figures { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.figure { background: var(--night-2); border: 1px solid #26334f; border-radius: var(--radius); padding: 24px; color: #f1ece4; }
.figure__num { font: 800 clamp(2.4rem, 5vw, 3.2rem)/1 var(--serif); color: #ffb347; margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.figure__suffix, .figure__prefix { font-size: .55em; color: #f4a52a; }
.figure__label { margin: 0 0 .8rem; font-size: 1rem; }
.figure__src { margin: 0; font-size: .78rem; color: #8f8778; }
.page-article--figures .figures { margin-bottom: 40px; }

/* Cartes */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s ease; }
.card:hover { transform: translateY(-3px); }
.card__media { display: block; aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__title { font-size: 1.28rem; margin: 0; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a:hover { color: var(--brand-ink); }
.card__excerpt { color: var(--muted); margin: 0; font-size: .96rem; }
.card__meta { margin: auto 0 0; padding-top: .4rem; font-size: .82rem; color: var(--muted); }
.tag {
	align-self: flex-start; display: inline-block; font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em;
	color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: .45em .7em; border-radius: 999px; text-decoration: none;
}
.feature { display: grid; gap: 24px; margin-bottom: 24px; }
.card--feature .card__media { flex: 1; aspect-ratio: auto; min-height: 240px; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.6fr 1fr; } }
.card--feature .card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature__side { display: grid; gap: 24px; }
.card--compact .card__excerpt { display: none; }

/* Thèmes */
.themes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.theme-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .4rem; min-height: 170px;
	padding: 22px; border-radius: var(--radius); color: #fff; text-decoration: none; transition: transform .2s ease;
}
.theme-card:hover { transform: translateY(-3px); color: #fff; }
.theme-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(255,255,255,.14); }
.theme-card__name { font: 700 1.3rem/1.2 var(--serif); }
.theme-card__desc { font-size: .9rem; opacity: .9; }
.theme-card__count { margin-top: auto; font-size: .8rem; font-weight: 600; opacity: .85; }
.theme-card--0 { background: linear-gradient(135deg, #b8460c, #e2601a); }
.theme-card--1 { background: linear-gradient(135deg, #1f5f46, #2f8f5b); }
.theme-card--2 { background: linear-gradient(135deg, #2b2d63, #4b4fa8); }
.theme-card--3 { background: linear-gradient(135deg, #7a2430, #b13a3a); }
.theme-card--4 { background: linear-gradient(135deg, #8a5a00, #c98a12); }
.theme-card--5 { background: linear-gradient(135deg, #0f4c5c, #1b7f8c); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.chip { padding: .4em .9em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.chip:hover { border-color: var(--brand); color: var(--brand-ink); }

/* Chronologie */
.timeline { list-style: none; margin: 0 0 32px; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand-2), var(--brand)); }
.timeline__item { position: relative; padding: 0 0 28px 44px; }
.timeline__item::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.timeline__year { display: inline-block; font: 700 .85rem/1 var(--font); color: var(--brand-ink); letter-spacing: .04em; margin-bottom: .4rem; }
.timeline__body h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.timeline__body p { margin: 0; color: var(--muted); }
.section--timeline .timeline { margin-bottom: 24px; }

/* Citation */
.section--quote { background: linear-gradient(135deg, #b8460c, #e2601a 55%, #f4a52a); color: #fff; }
.big-quote { margin: 0; text-align: center; }
.big-quote p { font: 800 clamp(2rem, 6vw, 3.8rem)/1.1 var(--serif); margin: 0 0 .5rem; }
.big-quote cite { font-style: normal; font-weight: 600; opacity: .9; }

/* Panneaux quiz / agir */
.split { display: grid; gap: 24px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { border-radius: 20px; padding: clamp(28px, 4vw, 44px); }
.panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.panel--quiz { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel--act { background: linear-gradient(135deg, #17223a, #0d1424); color: #f1ece4; border: 1px solid #26334f; }
.panel--act p { color: #cfc7bb; }

/* Article */
.article__head, .page-head { padding: clamp(40px, 6vw, 72px) 0 24px; }
.article__title, .page-head__title { font-size: clamp(2rem, 5vw, 3.2rem); margin: .6rem 0 .8rem; }
.article__lead, .page-head__lead { font-size: 1.2rem; color: var(--muted); }
.article__meta { color: var(--muted); font-size: .9rem; }
.article__cover { margin: 0 auto 40px; }
.article__cover img { width: 100%; border-radius: 18px; aspect-ratio: 16/9; object-fit: cover; }

.prose { font-size: 1.08rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.6em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--brand); font: 600 1.2rem/1.5 var(--serif); }
.prose .keyfact, .prose .box {
	background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--brand-2);
	border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow);
}
.prose .keyfact strong { display: block; font: 800 2rem/1.1 var(--serif); color: var(--brand-ink); }
.prose .debate { display: grid; gap: 16px; }
@media (min-width: 700px) { .prose .debate { grid-template-columns: 1fr 1fr; } }
.prose .debate > div { background: var(--bg-alt); border-radius: 12px; padding: 18px 20px; }
.prose .debate h4 { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-ink); margin: 0 0 .5em; }
.prose .debate ul { margin: 0; }
.prose .sources { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1em; margin-top: 2.5em; }
.prose .sources h2, .prose .sources h3 { font-size: 1rem; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .5em; }
.prose .sources li { margin: .25em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6em .7em; text-align: left; }
.prose th { background: var(--bg-alt); }
.prose .wp-block-button__link { background: var(--brand); color: #fff; border-radius: 999px; text-decoration: none; padding: .7em 1.2em; display: inline-block; }

/* Partage */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.share__label { font-weight: 700; margin-right: 4px; }
.share__btn { padding: .45em .9em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 .85rem/1.2 var(--font); text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: var(--brand); color: var(--brand-ink); }
.share__btn--whatsapp { background: #1f8f4e; color: #fff; border-color: #1f8f4e; }
.share__btn--whatsapp:hover { color: #fff; background: #187a42; }
.tags a { font-size: .85rem; margin-right: 6px; }

/* Pagination */
.pagination, .navigation.pagination { margin-top: 40px; display: flex; justify-content: center; }
.pagination .nav-links, .pagination { gap: 6px; flex-wrap: wrap; }
.page-numbers { display: inline-block; padding: .5em .9em; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--text); background: var(--surface); }
.page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Quiz */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); margin-bottom: 32px; }
.quiz__progress { height: 6px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.quiz__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width .3s; }
.quiz__count { font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.quiz__q { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: .4rem 0 1.2rem; }
.quiz__answers { display: grid; gap: 10px; }
.quiz__answer {
	text-align: left; width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line);
	background: var(--bg); color: var(--text); font: 500 1rem/1.4 var(--font); cursor: pointer; transition: border-color .15s, background .15s;
}
.quiz__answer:hover:not([disabled]) { border-color: var(--brand); }
.quiz__answer.is-correct { border-color: #1f7a4d; background: color-mix(in srgb, #1f7a4d 14%, var(--bg)); }
.quiz__answer.is-wrong { border-color: #a8322a; background: color-mix(in srgb, #a8322a 12%, var(--bg)); }
.quiz__answer[disabled] { cursor: default; }
.quiz__feedback { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); }
.quiz__feedback strong { display: block; margin-bottom: .2rem; }
.quiz__score { font: 800 clamp(3rem, 10vw, 5rem)/1 var(--serif); color: var(--brand); margin: .2em 0; }
.quiz__end { text-align: center; }
.quiz__end .btn { margin: 4px; }

/* Formulaire */
.contact-form { margin: 24px 0 48px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.notice { padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.notice--ok { background: color-mix(in srgb, #1f7a4d 15%, var(--bg)); color: var(--text); }
.notice--err { background: color-mix(in srgb, #a8322a 15%, var(--bg)); color: var(--text); }

/* Commentaires */
.comments { margin: 32px 0 64px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--line); padding: 16px 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-meta { font-size: .85rem; color: var(--muted); }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.4em; font: 600 1rem var(--font); cursor: pointer; }

/* 404 */
.big-404 { font: 800 clamp(5rem, 18vw, 9rem)/1 var(--serif); color: var(--brand); margin: 0; }
.page-head--404 .search-form { max-width: 480px; margin: 0 auto 24px; }
.empty { color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--night); color: #cfc7bb; margin-top: 0; }
.kente {
	height: 10px;
	background: repeating-linear-gradient(90deg, #e2601a 0 40px, #f4a52a 40px 60px, #1f7a4d 60px 100px, #0d1424 100px 108px, #a8322a 108px 148px, #f4a52a 148px 160px);
}
.site-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #f1ece4; text-decoration: none; }
.site-footer a:hover { color: #ffb347; }
.site-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__title { font: 700 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; color: #ffb347; margin-bottom: 1rem; }
.charter { font-size: .9rem; border-left: 3px solid #f4a52a; padding-left: 12px; color: #f1ece4; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid #26334f; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Alignements WordPress */
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   v1.1 — Membres, Live, Dons, Données, Jeunesse
   ========================================================================== */
:root { --c-a: #e2601a; --c-b: #2f6fb0; }
:root[data-theme="dark"] { --c-a: #e86a22; --c-b: #4f8fd6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --c-a: #e86a22; --c-b: #4f8fd6; } }
.section--figures { --c-a: #e86a22; --c-b: #4f8fd6; }

.btn--sm { padding: .5em .95em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--don { background: transparent; border-color: var(--brand); color: var(--brand-ink); }
.btn--don:hover { background: var(--brand); color: #fff; }
.btn--don svg { margin-right: 2px; }
.member-btn { overflow: hidden; }
.member-avatar { width: 28px; height: 28px; border-radius: 50%; }
.nav-don { display: none; margin: 12px 0 0; }
.kicker--dark { color: var(--brand-ink); }
.kicker--dark a { color: inherit; text-decoration: none; }
.section__lead--center { margin-left: auto; margin-right: auto; }
.section--tight { padding-top: 16px; }
.section__title--sm { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 8px; }
.link-arrow--light { color: #ffb347; }
.link-arrow--light:hover { color: #ffd08a; }
.small { font-size: .9rem; }

@media (max-width: 1180px) {
	.nav-don { display: block; }
}
@media (max-width: 1180px) { .hide-sm { display: none; } }
@media (max-width: 460px) {
	[data-theme-toggle] { display: none; }
}

/* Bannière live */
.live-banner {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; justify-content: center;
	padding: 14px 16px; background: #a8322a; color: #fff; text-decoration: none; font-weight: 600;
}
.live-banner:hover { color: #fff; background: #93281f; }
.live-banner__k { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; opacity: .9; }
.live-banner__t { font-family: var(--serif); font-size: 1.1rem; }
.live-banner__d { opacity: .9; }
.live-banner__go { text-decoration: underline; text-underline-offset: 3px; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255,59,48,.7); animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }

/* Jeunesse */
.section--youth { background: var(--bg-alt); }
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; font: 800 1.1rem/1 var(--serif); margin-bottom: 12px; }
.step h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.step p { color: var(--muted); }

/* Graphiques */
.data-charts { margin: 48px 0 8px; }
.data-charts--dark { color: #f1ece4; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 20px; font-size: .9rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw--a { background: var(--c-a); } .sw--b { background: var(--c-b); }
.paradoxes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.paradox { margin: 0; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.section--figures .paradox { background: var(--night-2); border-color: #26334f; }
.paradox__title, .trend__title { font: 700 1.1rem/1.3 var(--serif); margin-bottom: 14px; }
.bar-row { margin-bottom: 12px; outline-offset: 4px; }
.bar-row__track { height: 14px; border-radius: 4px; background: color-mix(in srgb, currentColor 8%, transparent); overflow: hidden; }
.bar { display: block; height: 100%; width: var(--w); border-radius: 0 4px 4px 0; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.bar--a { background: var(--c-a); } .bar--b { background: var(--c-b); }
.js .reveal .bar { width: 0; } .js .reveal.is-in .bar { width: var(--w); }
.bar-row__label { margin: 6px 0 0; font-size: .92rem; }
.bar-row__label strong { font-variant-numeric: tabular-nums; }
.paradox__src, .trend__note { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.section--figures .paradox__src { color: #8f8778; }
.trends { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 24px; }
.trend { margin: 0; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.trend__bars { display: flex; align-items: flex-end; gap: 14px; height: 190px; margin-top: auto; border-bottom: 1px solid var(--line); padding-top: 8px; }
.col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.col__val { font: 700 .95rem/1 var(--font); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.col__bar { width: 100%; max-width: 64px; height: var(--h); background: color-mix(in srgb, var(--c-b) 55%, var(--surface)); border-radius: 4px 4px 0 0; transition: height 1s cubic-bezier(.2,.7,.2,1); }
.col__bar.is-hl { background: var(--c-a); }
.js .reveal .col__bar { height: 0; } .js .reveal.is-in .col__bar { height: var(--h); }
.col__lab { position: relative; top: 26px; height: 0; font-size: .8rem; color: var(--muted); text-align: center; white-space: nowrap; }
.trend__note { margin-top: 34px; }
.chart-tip { position: absolute; z-index: 300; display: none; max-width: 260px; padding: 8px 10px; border-radius: 8px; background: #0d1424; color: #f1ece4; font-size: .82rem; line-height: 1.35; box-shadow: 0 6px 20px rgba(0,0,0,.3); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bar, .col__bar { transition: none; } }

/* Panneaux x3 */
@media (min-width: 980px) { .split--3 { grid-template-columns: repeat(3, 1fr); } }
.panel--don { background: linear-gradient(135deg, #b8460c, #e2601a); color: #fff; }
.panel--don p { color: rgba(255,255,255,.9); }

/* Espace membre */
.auth { display: grid; gap: 24px; margin-bottom: 40px; }
@media (min-width: 880px) { .auth { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.auth__col { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); }
.auth__col h2 { font-size: 1.5rem; }
.auth__col--join { border-top: 5px solid var(--brand); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.member-form .field small { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.check label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
#awu-login p { margin-bottom: 14px; }
#awu-login label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
#awu-login input[type=text], #awu-login input[type=password] { width: 100%; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
#awu-login .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
#awu-login .button-primary { width: 100%; padding: .85em 1.2em; border-radius: 999px; border: 0; background: var(--text); color: var(--bg); font: 600 1rem var(--font); cursor: pointer; }
.dash__hello { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.dash__hello img { border-radius: 50%; }
.dash__hello h2 { margin: 0 0 .2rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.dash__hello p { margin: 0; color: var(--muted); }
.dash__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.dash__card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.dash__card:hover { transform: translateY(-2px); color: var(--brand-ink); }
.dash__card strong { font: 700 1.15rem/1.2 var(--serif); }
.dash__card span { color: var(--muted); font-size: .9rem; }
.dash__card--don { background: linear-gradient(135deg, #b8460c, #e2601a); color: #fff; border: 0; }
.dash__card--don span, .dash__card--don:hover { color: #fff; }
.dash__links { margin-top: 24px; }

/* Forum (bbPress) */
.forum-notice { background: var(--bg-alt); border-left: 4px solid var(--brand-2); border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; }
.forum-notice p { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.forum-wrap #bbpress-forums { font-size: 1rem; }
#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results, #bbpress-forums ul.bbp-lead-topic { border: 1px solid var(--line) !important; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { background: var(--bg-alt) !important; border-color: var(--line) !important; color: var(--text); font-weight: 700; }
#bbpress-forums div.odd, #bbpress-forums ul.odd, #bbpress-forums div.even, #bbpress-forums ul.even, #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic { background: var(--surface) !important; border-color: var(--line) !important; color: var(--text); }
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { background: var(--bg-alt) !important; border-color: var(--line) !important; }
#bbpress-forums a.bbp-forum-title, #bbpress-forums a.bbp-topic-permalink { font: 700 1.1rem/1.3 var(--serif); color: var(--text); text-decoration: none; }
#bbpress-forums .bbp-forum-content, #bbpress-forums .bbp-topic-meta, #bbpress-forums .bbp-forum-info .bbp-forum-content { color: var(--muted); }
#bbpress-forums fieldset.bbp-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
#bbpress-forums fieldset.bbp-form legend { font: 700 1.1rem var(--serif); padding: 0 6px; }
#bbpress-forums input[type=text], #bbpress-forums textarea, #bbpress-forums select { width: 100%; max-width: 100%; padding: .7em .9em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
#bbpress-forums .bbp-submit-wrapper button, #bbpress-forums button.button, #bbpress-forums .button.submit { background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: .7em 1.3em; font: 600 .95rem var(--font); cursor: pointer; }
#bbpress-forums div.bbp-template-notice { border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); }
#bbpress-forums div.bbp-template-notice p, #bbpress-forums div.bbp-template-notice li { font-size: .95rem; }
#bbpress-forums .bbp-breadcrumb { font-size: .9rem; }
#bbpress-forums .bbp-reply-content, #bbpress-forums .bbp-topic-content { font-size: 1rem; color: var(--text); }
#bbpress-forums img.avatar { border-radius: 50%; }
@media (max-width: 640px) { #bbpress-forums li.bbp-forum-topic-count, #bbpress-forums li.bbp-forum-reply-count, #bbpress-forums li.bbp-topic-voice-count, #bbpress-forums li.bbp-topic-reply-count { display: none; } #bbpress-forums li.bbp-forum-info, #bbpress-forums li.bbp-topic-title { width: 65%; } }

/* Don */
.donate-hero { background: linear-gradient(180deg, #0b1222, #3a1f2c 70%, #6b2f3a); color: #fff; padding: clamp(48px, 8vw, 96px) 0 64px; margin-bottom: 40px; }
.donate-hero__title { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.donate-hero__lead { color: rgba(255,255,255,.86); font-size: 1.1rem; max-width: 620px; margin: 0 auto 28px; }
.donate-card { background: var(--surface); color: var(--text); border-radius: 20px; padding: clamp(22px, 4vw, 34px); max-width: 520px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); text-align: left; }
.donate-card__label { font-weight: 700; margin-bottom: 12px; }
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin-bottom: 16px; }
.amount { display: block; text-align: center; padding: 14px 8px; border-radius: 12px; border: 2px solid var(--line); color: var(--text); text-decoration: none; font: 800 1.25rem/1 var(--serif); transition: border-color .15s, background .15s; }
.amount:hover, .amount.is-pop { border-color: var(--brand); color: var(--brand-ink); }
.amount.is-pop { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.donate-card__secure { font-size: .85rem; color: var(--muted); margin: 0; }
.donate-card__soon { font-weight: 600; text-align: center; margin: 0; }
.donate-box { margin: 8px 0 40px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-alt); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.donate-box p { margin: 0; font-weight: 600; }

/* Live */
.live-hero { background: radial-gradient(ellipse at top, #3a1f2c, #0b1222 70%); color: #fff; padding: clamp(48px, 8vw, 90px) 0 56px; margin-bottom: 40px; text-align: center; }
.live-hero .container { max-width: 960px; }
.live-hero__title { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.live-hero__lead { color: rgba(255,255,255,.86); font-size: 1.12rem; max-width: 680px; margin: 0 auto 24px; }
.live-date { font-weight: 600; color: #ffcf70; }
.countdown { display: flex; justify-content: center; gap: 12px; margin: 20px 0 28px; flex-wrap: wrap; }
.countdown__u { min-width: 78px; padding: 14px 10px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.countdown__u b { display: block; font: 800 2.2rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.countdown__u small { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; opacity: .8; }
.countdown__now { font: 800 1.5rem var(--serif); color: #ffcf70; }
.video { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; margin: 24px 0; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.donate-box .btn, .live-actions .btn, .hero__cta .btn { white-space: normal; }
