/* =====================================================================
   Bounkani News — feuille de style du site public
   Charte : _FILES/bounkani-news-identite/LISEZMOI.md
   Brun = couleur principale (titres, textes forts, fonds sombres)
   Orange = accent (boutons, soulignés, éléments graphiques — pas de texte courant)
   ===================================================================== */

:root {
    --bn-brun: #4A1A08;
    --bn-orange: #DD8508;
    --bn-creme: #FBF6EE;
    --bn-blanc: #FFFFFF;

    --ink: #2B1206;            /* texte courant */
    --ink-soft: #5E4538;       /* texte secondaire */
    --muted: #7D675A;
    --line: #EADFCF;
    --surface: #FFFFFF;
    --surface-warm: var(--bn-creme);
    --brun-deep: #33120A;
    --orange-soft: #FCEBD2;

    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 1px 2px rgba(74, 26, 8, .06), 0 6px 20px rgba(74, 26, 8, .07);
    --container: 1240px;
    --gutter: 16px;
    --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --rubrique: var(--bn-orange);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bn-blanc);
    -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bn-brun); }
h1, h2, h3, h4 { color: var(--bn-brun); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-weight: 800; letter-spacing: -.01em; }
h3 { font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--bn-orange); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bn-brun); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; color: #fff; }
.hp-field { position: absolute; left: -9999px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon--inline { width: 1em; height: 1em; vertical-align: -.15em; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}
/* Orange + brun : contraste suffisant (texte brun sur fond orange) */
.btn--primary { background: var(--bn-orange); color: var(--bn-brun); }
.btn--primary:hover { background: var(--bn-brun); color: #fff; }
.btn--outline { border-color: var(--bn-brun); color: var(--bn-brun); background: transparent; }
.btn--outline:hover { background: var(--bn-brun); color: #fff; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: transparent; color: var(--bn-brun); cursor: pointer;
}
.icon-btn:hover { background: var(--bn-creme); }

.flash { margin: 16px 0; padding: 12px 16px; border-radius: var(--radius-sm); border-left: 4px solid; background: var(--bn-creme); }
.flash--success { border-color: #3C7A2E; }
.flash--error { border-color: #B8321F; }
.flash--warning { border-color: var(--bn-orange); }

/* ---------- Bandeau motif (inspiré des motifs géométriques Koulango) ---------- */
.motif-band {
    height: 8px;
    background:
        linear-gradient(135deg, var(--bn-orange) 25%, transparent 25%) -6px 0 / 12px 8px,
        linear-gradient(225deg, var(--bn-orange) 25%, transparent 25%) -6px 0 / 12px 8px,
        var(--bn-creme);
}
.motif-band--dark {
    background:
        linear-gradient(135deg, var(--bn-orange) 25%, transparent 25%) -6px 0 / 12px 8px,
        linear-gradient(225deg, var(--bn-orange) 25%, transparent 25%) -6px 0 / 12px 8px,
        var(--brun-deep);
}

/* ---------- En-tête ---------- */
.topbar { background: var(--bn-brun); color: #F3E6D6; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__date { margin: 0; }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links a:hover { color: var(--bn-orange); }
.topbar__links > a, .topbar__links .social-links { display: none; }

.social-links { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; transition: background .15s, color .15s; }
.social-links--small a { width: 28px; height: 28px; }
.social-links--small .icon { width: 16px; height: 16px; }
.social-links--footer a { background: rgba(255,255,255,.08); color: #fff; }
.social-links--footer a:hover { background: var(--bn-orange); color: var(--bn-brun); }
.social-links--large a { width: 44px; height: 44px; background: var(--bn-creme); color: var(--bn-brun); }
.social-links--large a:hover { background: var(--bn-orange); }

.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { flex: 1; display: flex; justify-content: center; }
.brand img { width: 180px; height: auto; }
.masthead__search { display: none; }
.masthead__search-toggle { margin-left: auto; }

.site-header.search-open .masthead__search {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    padding: 12px var(--gutter); background: #fff; box-shadow: var(--shadow);
}
.masthead { position: relative; }
.masthead__search input {
    flex: 1; min-width: 0; padding: 10px 16px; border: 2px solid var(--line); border-right: 0;
    border-radius: 999px 0 0 999px; background: var(--bn-creme); color: var(--ink);
}
.masthead__search input:focus { outline: none; border-color: var(--bn-orange); }
.masthead__search button {
    padding: 0 16px; border: 0; border-radius: 0 999px 999px 0;
    background: var(--bn-orange); color: var(--bn-brun); cursor: pointer;
}

/* Navigation : tiroir latéral sur mobile */
.main-nav {
    position: fixed; inset: 0 20% 0 0; z-index: 50; overflow-y: auto;
    background: var(--bn-brun); color: #fff;
    transform: translateX(-105%); transition: transform .25s ease;
    padding: 72px 0 24px;
}
.nav-open .main-nav { transform: none; box-shadow: 0 0 0 100vmax rgba(26, 8, 2, .5); }
.nav-open { overflow: hidden; }
.main-nav .container { padding: 0; }
.main-nav__list { list-style: none; }
.main-nav__item { position: relative; border-bottom: 1px solid rgba(255,255,255,.08); }
.main-nav__link { display: flex; align-items: center; gap: 6px; padding: 14px 20px; font-weight: 600; color: #fff; }
.main-nav__link:hover, .main-nav__link.is-active { color: var(--bn-orange); }
.main-nav__expand {
    position: absolute; right: 8px; top: 6px; width: 40px; height: 40px;
    border: 0; background: transparent; color: #fff; cursor: pointer;
}
.main-nav__expand .icon { transition: transform .2s; }
.main-nav__item.is-expanded .main-nav__expand .icon { transform: rotate(180deg); }
.main-nav__sub { display: none; list-style: none; padding: 0 0 10px; background: rgba(0,0,0,.15); }
.main-nav__item.is-expanded .main-nav__sub { display: block; }
.main-nav__sub a { display: block; padding: 9px 20px 9px 36px; color: #EBDCCB; font-size: 15px; }
.main-nav__sub a:hover, .main-nav__sub a.is-active { color: var(--bn-orange); }

/* Bandeau Flash Info */
.ticker { background: var(--bn-creme); border-bottom: 1px solid var(--line); font-size: 15px; }
.ticker__inner { display: flex; align-items: stretch; gap: 0; padding: 0; }
.ticker__label {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    padding: 9px 14px; background: var(--bn-orange); color: var(--bn-brun);
    font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .04em;
}
.ticker__label:hover { color: var(--bn-brun); background: #E99A2A; }
.ticker__viewport { overflow: hidden; flex: 1; position: relative; mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 32px), transparent); }
.ticker__track {
    display: flex; gap: 40px; list-style: none; white-space: nowrap; width: max-content;
    padding: 9px 16px; animation: ticker 45s linear infinite;
}
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__track a { color: var(--bn-brun); font-weight: 500; }
.ticker__track a:hover { text-decoration: underline; text-decoration-color: var(--bn-orange); }
.ticker__track time { color: var(--bn-orange); font-weight: 800; margin-right: 6px; filter: brightness(.8); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker__track { animation: none; overflow-x: auto; }
    html { scroll-behavior: auto; }
}

/* ---------- Étiquettes, titres de section ---------- */
.rubrique-label {
    display: inline-block; margin-bottom: 6px;
    font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
    color: var(--bn-brun);
    padding-left: 10px; border-left: 3px solid var(--rubrique);
}
a.rubrique-label:hover { color: var(--rubrique); filter: brightness(.85); }

.section-title {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px;
    margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--line); position: relative;
}
.section-title::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 72px; height: 4px;
    background: var(--rubrique); border-radius: 2px;
}
.section-title h2 { margin: 0; font-size: 24px; }
.section-title h2 a:hover { color: var(--rubrique); }
.section-title__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; color: var(--bn-brun); }
.section-title__more:hover { color: var(--bn-orange); }
.section-title__more .icon { width: 1em; height: 1em; }
.section-title__subnav { display: none; list-style: none; gap: 16px; font-size: 14px; color: var(--ink-soft); }
.section-title__subnav a:hover { color: var(--bn-brun); text-decoration: underline; text-decoration-color: var(--rubrique); }
.section-title--light { border-color: rgba(255,255,255,.15); }
.section-title--light h2, .section-title--light .section-title__more { color: #fff; }
.section-title--light .section-title__more:hover { color: var(--bn-orange); }

/* ---------- Cartes ---------- */
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__media {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius);
    aspect-ratio: 16 / 10; background: var(--bn-creme);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media > img { transform: scale(1.03); }
.card__title { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.card__title a { background: linear-gradient(var(--bn-orange), var(--bn-orange)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.card__title a:hover { background-size: 100% 2px; color: var(--bn-brun); }
.card__excerpt { margin: 6px 0 0; color: var(--ink-soft); font-size: 16px; }
.card__meta { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.card__body { min-width: 0; }

.media-placeholder {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(221,133,8,.12), transparent 60%),
        var(--bn-creme);
}
.media-placeholder img { width: 22%; max-width: 72px; height: auto; opacity: .55; transform: none !important; }
.media-placeholder--dark { background: var(--brun-deep); }

.card--hero .card__media { aspect-ratio: 16 / 9; }
.card--hero .card__title { font-size: clamp(24px, 4.2vw, 38px); font-weight: 800; }
.card--hero .card__excerpt { font-size: 18px; }

.card--side { flex-direction: row; gap: 14px; }
.card--side .card__media { flex: 0 0 38%; aspect-ratio: 4 / 3; }
.card--side .card__title { font-size: 17px; }

.card--compact { padding: 14px 0; border-bottom: 1px solid var(--line); }
.card--compact:last-child { border-bottom: 0; }
.card--compact .card__title { font-size: 17px; }

.card--list .card__title { font-size: 22px; font-weight: 800; }

.card--video .card__media { aspect-ratio: 16 / 9; background: var(--brun-deep); }
.player-trigger {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0;
    background: transparent; cursor: pointer; display: block;
}
.player-trigger > img, .player-trigger > video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; pointer-events: none; }
.player-trigger:hover > img, .player-trigger:hover > video { transform: scale(1.03); }
.player-trigger:hover .play-badge, .player-trigger:focus-visible .play-badge { transform: scale(1.1); background: #fff; }
.play-badge { transition: transform .2s, background .2s; }
.player-trigger:focus-visible { outline: 3px solid var(--bn-orange); outline-offset: -3px; }
.card__media.is-playing { background: #000; }
.player-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.play-badge {
    position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bn-orange); color: var(--bn-brun); box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.play-badge .icon { width: 20px; height: 20px; margin-left: 2px; }
.duration-badge {
    position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px;
    background: rgba(26, 8, 2, .8); color: #fff; font-size: 13px; font-weight: 600;
}

/* ---------- Grilles et mises en page ---------- */
.grid { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
.stack { display: grid; gap: 20px; }
.stack--list { gap: 32px; }
.section-spacing { padding-top: 32px; padding-bottom: 48px; }

.headlines { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 32px; }
.headlines__side { display: grid; gap: 18px; align-content: start; }

.layout-with-sidebar { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 40px; }
.sidebar { display: grid; gap: 28px; align-content: start; }

.widget { background: var(--bn-creme); border-radius: var(--radius); padding: 20px; }
.widget__title {
    font-size: 18px; margin-bottom: 14px; padding-bottom: 8px;
    border-bottom: 3px solid var(--bn-orange); display: inline-block;
}
.widget--newsletter p { color: var(--ink-soft); font-size: 15px; }

.most-read__list { list-style: none; counter-reset: rank; }
.most-read__list li {
    counter-increment: rank; position: relative; padding: 12px 0 12px 44px;
    border-bottom: 1px solid var(--line); line-height: 1.35;
}
.most-read__list li:last-child { border-bottom: 0; }
.most-read__list li::before {
    content: counter(rank); position: absolute; left: 0; top: 8px;
    font-size: 30px; font-weight: 800; color: var(--bn-orange); line-height: 1;
}
.most-read__list a { font-weight: 600; color: var(--bn-brun); }
.most-read__list a:hover { text-decoration: underline; text-decoration-color: var(--bn-orange); }
.most-read__rubrique { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* Bloc rubrique de la page d'accueil */
.rubrique-block { padding-top: 16px; padding-bottom: 40px; }
.rubrique-block__grid { display: grid; gap: 20px; }

/* Bande vidéos */
.videos-band { background: var(--bn-brun); color: #fff; padding: 40px 0 48px; margin-top: 16px; }
.videos-band .card__title a { color: #fff; }
.videos-band .card__title a:hover { color: #fff; }
.videos-band .card__meta { color: #D9C4B3; }

/* Tags */
.tags-block { padding-top: 40px; padding-bottom: 40px; }
.tags-block__title { font-size: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: var(--bn-creme); border: 1px solid var(--line);
    font-size: 14px; font-weight: 500; color: var(--bn-brun);
}
.tag:hover { background: var(--bn-orange); border-color: var(--bn-orange); color: var(--bn-brun); }

/* ---------- En-têtes de page (listes) ---------- */
.page-header { background: var(--bn-creme); padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.page-header__title { font-size: clamp(28px, 5vw, 44px); margin: 6px 0 8px; }
.page-header[style*="--rubrique"] .page-header__title { border-left: 6px solid var(--rubrique); padding-left: 14px; }
.page-header__intro { max-width: 720px; color: var(--ink-soft); font-size: 18px; margin: 0; }
.page-header--dark { background: var(--bn-brun); border: 0; }
.page-header--dark .page-header__title, .page-header--dark .breadcrumb a { color: #fff; }
.page-header--dark .page-header__intro { color: #E4D3C3; }
.page-header--hero { text-align: center; padding: 48px 0 40px; }
.page-header__logo { width: min(360px, 80%); height: auto; margin: 0 auto 12px; }
.page-header__slogan { font-size: 20px; font-weight: 500; color: var(--bn-brun); margin: 0; }

.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--bn-brun); text-decoration: underline; }

.chip-list { display: flex; gap: 8px; list-style: none; margin-top: 18px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip {
    display: inline-block; white-space: nowrap; padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--bn-brun);
}
.chip:hover { border-color: var(--rubrique); }
.chip.is-active { background: var(--bn-brun); border-color: var(--bn-brun); color: #fff; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; font-weight: 600; }
.pagination a { padding: 10px 18px; border: 2px solid var(--bn-brun); border-radius: 999px; color: var(--bn-brun); }
.pagination a:hover { background: var(--bn-brun); color: #fff; }
.pagination__info { color: var(--muted); font-weight: 500; }

.empty-state { text-align: center; padding: 64px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state img { opacity: .8; }
.empty-state p { color: var(--ink-soft); max-width: 520px; }
.empty-state--inline { padding: 40px 16px; background: var(--bn-creme); border-radius: var(--radius); }

/* ---------- Article ---------- */
.article { min-width: 0; }
.article__header .breadcrumb { margin-bottom: 14px; }
.article__title { font-size: clamp(28px, 5.2vw, 46px); margin-bottom: 14px; }
.article__lead { font-size: 20px; line-height: 1.5; color: var(--ink-soft); font-weight: 500; margin-bottom: 18px; }
.article__meta { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
.article__meta p { margin: 0 0 4px; }
.article__byline strong { color: var(--bn-brun); }
.article__header { margin-bottom: 28px; }
.article__figure { margin: 24px 0; }
.article__figure img { width: 100%; border-radius: var(--radius); }
.article__figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); border-left: 3px solid var(--rubrique); padding-left: 10px; }
.article__tags { margin: 28px 0; }
.article__footer { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.article__footer p { font-weight: 600; color: var(--bn-brun); margin-bottom: 10px; }

.prose { font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.prose a { color: var(--bn-brun); text-decoration: underline; text-decoration-color: var(--bn-orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { height: auto; border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose blockquote {
    margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--bn-orange);
    font-size: 21px; font-weight: 500; color: var(--bn-brun);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }

.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 40px;
    border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font-size: 14px; font-weight: 600; color: var(--bn-brun); cursor: pointer;
}
.share__btn .icon { width: 18px; height: 18px; }
.share__btn--whatsapp { background: #25D366; border-color: #25D366; color: #0B3D1E; }
.share__btn--facebook { background: #1877F2; border-color: #1877F2; color: #fff; }
.share__btn--whatsapp:hover, .share__btn--facebook:hover { filter: brightness(.92); color: inherit; }
.share__btn--facebook:hover { color: #fff; }
.share__btn--x:hover, .share__btn--copy:hover { border-color: var(--bn-brun); }

.related { padding-top: 8px; padding-bottom: 48px; }
.layout-with-sidebar > section > .card--list { margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }

/* Vidéo */
.video-stage { background: var(--brun-deep); padding: 20px 0; }
.video-player { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; max-width: 1000px; margin: 0 auto; }
.video-player iframe, .video-player video { width: 100%; height: 100%; border: 0; }
.video-player video { object-fit: contain; }

/* Recherche */
.search-form { display: flex; gap: 8px; max-width: 640px; margin: 12px 0 14px; }
.search-form input {
    flex: 1; min-width: 0; padding: 12px 18px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.search-form input:focus { outline: none; border-color: var(--bn-orange); }
.search-form--center { margin: 12px auto; width: 100%; }
.search-videos { margin-bottom: 40px; }

/* À propos */
.about { display: grid; gap: 48px; padding-top: 40px; padding-bottom: 56px; }
.about h2 { font-size: 28px; }
.about__intro { max-width: 760px; }
.about__region { background: var(--bn-creme); border-radius: var(--radius); padding: 28px 24px; }
.about__region > p { max-width: 820px; font-size: 18px; }
.key-figures { display: grid; gap: 16px; margin: 24px 0 0; }
.key-figures div { background: #fff; border-radius: var(--radius); padding: 18px 20px; border-top: 4px solid var(--bn-orange); }
.key-figures dt { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.key-figures dd { margin: 2px 0 4px; font-size: 34px; font-weight: 800; color: var(--bn-brun); }
.key-figures p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.rubrique-tile {
    display: block; height: 100%; padding: 22px; border-radius: var(--radius); background: #fff;
    border: 1px solid var(--line); border-top: 5px solid var(--rubrique); transition: box-shadow .2s, transform .2s;
}
.rubrique-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rubrique-tile h3 { font-size: 20px; }
.rubrique-tile p { color: var(--ink-soft); font-size: 15px; }
.rubrique-tile ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.rubrique-tile li { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--bn-creme); color: var(--bn-brun); }
.about__contact { text-align: center; }
.about__contact .social-links { justify-content: center; margin-top: 16px; }

/* ---------- Newsletter ---------- */
.newsletter-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
    flex: 1 1 220px; min-width: 0; padding: 12px 18px; border-radius: 999px;
    border: 2px solid var(--line); background: #fff; color: var(--ink);
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--bn-orange); }
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-form__message { margin: 8px 0 0; font-size: 14px; min-height: 1.2em; }
.newsletter-form__message.is-success { color: #2F6B22; font-weight: 600; }
.newsletter-form__message.is-error { color: #A3281A; font-weight: 600; }
.newsletter-form--sidebar .btn { width: 100%; }

.newsletter-band { background: var(--bn-orange); color: var(--bn-brun); padding: 36px 0; }
.newsletter-band__inner { display: grid; gap: 20px; align-items: center; }
.newsletter-band h2 { font-size: clamp(22px, 3.5vw, 30px); margin-bottom: 6px; }
.newsletter-band p { margin: 0; max-width: 560px; }
.newsletter-band input[type="email"] { border-color: transparent; }
.newsletter-band .btn--primary { background: var(--bn-brun); color: #fff; }
.newsletter-band .btn--primary:hover { background: var(--brun-deep); }
.newsletter-band .newsletter-form__message.is-success, .newsletter-band .newsletter-form__message.is-error { color: var(--bn-brun); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--brun-deep); color: #D9C4B3; font-size: 15px; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.site-footer__brand img { width: 240px; height: auto; margin-bottom: 14px; }
.site-footer__brand p { max-width: 380px; }
.site-footer h3 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer__links { list-style: none; display: grid; gap: 8px; }
.site-footer__links a:hover, .site-footer__contact a:hover { color: var(--bn-orange); }
.site-footer__contact { list-style: none; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--bn-orange); margin-top: 3px; width: 18px; height: 18px; }
.site-footer__contact--light { justify-content: center; color: var(--ink-soft); margin: 16px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer__contact--light a { color: var(--bn-brun); font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 14px; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer__bottom p { margin: 0; }

/* Mobile : cartes des grilles en vignettes horizontales, comme un fil d'actualité */
@media (max-width: 639px) {
    .grid .card--default { flex-direction: row; gap: 14px; }
    .grid .card--default .card__media { flex: 0 0 36%; aspect-ratio: 1 / 1; }
    .grid .card--default .card__title { font-size: 17px; }
    .grid .card--default .card__excerpt { display: none; }
    .grid { gap: 20px; }
}

/* =====================================================================
   Tablette
   ===================================================================== */
@media (min-width: 640px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .topbar__links > a { display: inline; }
    .topbar__links .social-links { display: flex; }
    .key-figures { grid-template-columns: repeat(3, 1fr); }
    .card--list { display: grid; grid-template-columns: 42% 1fr; gap: 20px; align-items: start; }
    .newsletter-band__inner { grid-template-columns: 1.2fr 1fr; }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   Ordinateur
   ===================================================================== */
@media (min-width: 960px) {
    body { font-size: 17px; }
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }

    .masthead__inner { min-height: 96px; gap: 32px; }
    .masthead__menu, .masthead__search-toggle { display: none; }
    .brand { flex: 0 0 auto; justify-content: flex-start; }
    .brand img { width: 260px; }
    .masthead__search { display: flex; margin-left: auto; width: 340px; }
    .site-header.search-open .masthead__search { position: static; padding: 0; box-shadow: none; }

    /* Navigation horizontale avec sous-menus au survol */
    .main-nav { position: sticky; top: 0; inset: auto; transform: none; padding: 0; overflow: visible; z-index: 40; }
    .main-nav .container { padding: 0 var(--gutter); }
    .main-nav__list { display: flex; flex-wrap: nowrap; justify-content: space-between; }
    .main-nav__item { border: 0; }
    .main-nav__link { padding: 14px 8px; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; }
    .main-nav__link:hover, .main-nav__link.is-active { color: #fff; border-bottom-color: var(--rubrique, var(--bn-orange)); }
    .main-nav__expand { display: none; }
    .main-nav__sub {
        display: block; position: absolute; left: 0; top: 100%; min-width: 240px; z-index: 45;
        background: #fff; padding: 8px 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        box-shadow: var(--shadow); border-top: 3px solid var(--bn-orange);
        opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
    }
    .main-nav__item:hover .main-nav__sub, .main-nav__item:focus-within .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
    .main-nav__sub a { color: var(--bn-brun); padding: 9px 18px; font-size: 15px; }
    .main-nav__sub a:hover, .main-nav__sub a.is-active { background: var(--bn-creme); color: var(--bn-brun); }

    .headlines { grid-template-columns: 1.65fr 1fr; gap: 32px; padding-top: 32px; }
    .headlines__side { gap: 20px; }
    /* Article à la une seul : image et texte côte à côte sur toute la largeur */
    .headlines--solo { grid-template-columns: 1fr; }
    .headlines--solo .card--hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }

    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; padding-top: 32px; }
    .layout-with-sidebar > .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .layout-with-sidebar--article { grid-template-columns: minmax(0, 760px) 330px; justify-content: space-between; }
    .sidebar { position: sticky; top: 72px; }

    .section-title__subnav { display: flex; flex-wrap: wrap; }
    .rubrique-block__grid { grid-template-columns: 1.3fr 1fr; gap: 32px; }
    .rubrique-block__grid > .card--list { display: flex; }
    .rubrique-block__list { border-left: 1px solid var(--line); padding-left: 28px; }
    .rubrique-block__list .card--compact:first-child { padding-top: 0; }

    .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .about__region { padding: 36px 40px; }
    .video-stage { padding: 32px 0; }
}

@media (min-width: 1200px) {
    .layout-with-sidebar > section > .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
