/* =====================================================================
   DR Kanyama — feuille de style publique
   Palette tirée du pays : fleuve (bleu-vert profond), forêt, latérite
   (terre rouge, réservée aux alertes et au bouton Signaler), brume.
   ===================================================================== */

:root {
  --fleuve: #0E3B43;
  --fleuve-2: #15505A;
  --foret: #1F6B4F;
  --foret-clair: #E3EFE9;
  --laterite: #B3361F;
  --laterite-fonce: #8F2915;
  --ocre: #D49A1E;
  --brume: #EEF3F1;
  --papier: #FFFFFF;
  --encre: #13201D;
  --gris: #56655F;
  --ligne: #D3DFDA;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--encre);
  background: var(--brume);
  font-stretch: 100%;
}
img, video { max-width: 100%; display: block; }
:where(svg[aria-hidden="true"]) { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
a { color: var(--foret); text-underline-offset: 3px; }
a:hover { color: var(--fleuve); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--papier); padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-stretch: 112%; font-weight: 760; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; font-stretch: 105%; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--gris); max-width: 62ch; }
.muted { color: var(--gris); }
.small { font-size: .875rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.2em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-stretch: 105%; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-alert { background: var(--laterite); color: #fff; }
.btn-alert:hover { background: var(--laterite-fonce); color: #fff; }
.btn-primary { background: var(--foret); color: #fff; }
.btn-primary:hover { background: var(--fleuve); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: inherit; }
.btn-quiet { background: var(--papier); color: var(--encre); border-color: var(--ligne); }
.btn-quiet:hover { border-color: var(--foret); color: var(--foret); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: .45em .95em; font-size: .92rem; }

/* ---------- Bandeau urgent ---------- */
.urgent { background: var(--laterite); color: #fff; font-size: .95rem; }
.urgent svg { width: 20px; height: 20px; flex: none; }
.urgent .wrap { display: flex; gap: .75rem; align-items: center; padding-top: .6rem; padding-bottom: .6rem; }
.urgent strong { font-stretch: 110%; white-space: nowrap; }
.urgent a { color: #fff; font-weight: 700; margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) {
  .urgent { font-size: .86rem; }
  .urgent .wrap { flex-wrap: wrap; gap: .25rem .6rem; align-items: flex-start; }
  .urgent p { flex: 1 1 0; min-width: 0; }
  .urgent a { margin-left: calc(20px + .6rem); }
}
.urgent p { margin: 0; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--fleuve); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand img { height: 40px; width: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name strong { font-size: 1.12rem; font-stretch: 118%; font-weight: 800; }
.brand-name small { font-size: .74rem; color: #B9D3CC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .5rem .8rem; border-radius: 999px; color: #DCEBE6; text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }

.header-tools { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 999px; border: 0; background: transparent; color: #fff; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.icon-btn svg { width: 22px; height: 22px; }
.header-tools .btn-alert { min-height: 40px; padding: .45em 1em; }

@media (min-width: 1180px) {
  .main-nav { display: block; }
  .header-tools { margin-left: .5rem; }
  .menu-btn { display: none; }
}
.main-nav a { white-space: nowrap; padding: .5rem .65rem; font-size: .95rem; }
@media (max-width: 420px) {
  .brand-name small { display: none; }
  .header-tools .btn-alert span { display: none; }
  .header-tools .btn-alert { width: 44px; padding: 0; }
}

/* Menu mobile */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8,24,27,.55); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--papier); padding: 1rem 1.25rem 2rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
  animation: slide-in .2s ease-out;
}
@keyframes slide-in { from { transform: translateX(30px); opacity: .6; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head .icon-btn { color: var(--encre); }
.drawer-head .icon-btn:hover { background: var(--brume); color: var(--encre); }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: block; padding: .85rem .25rem; border-bottom: 1px solid var(--ligne); color: var(--encre); text-decoration: none; font-weight: 650; font-size: 1.08rem; }
.drawer nav a[aria-current="page"] { color: var(--foret); }

/* Recherche */
.search-panel { background: var(--fleuve-2); display: none; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: .5rem; padding: .75rem 0; }
.search-panel input { flex: 1; }

/* ---------- Champs ---------- */
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field label, .label { font-weight: 650; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--gris); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  background: var(--papier); border: 1.5px solid var(--ligne); border-radius: var(--r-s);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--foret); box-shadow: 0 0 0 3px rgba(31,107,79,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--laterite); }
.field .error { color: var(--laterite); font-size: .86rem; font-weight: 600; }
.req { color: var(--laterite); }
.grid-2 { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Messages ---------- */
.alert { padding: .9rem 1rem; border-radius: var(--r-s); border-left: 4px solid; margin-bottom: 1rem; background: var(--papier); }
.alert-success { border-color: var(--foret); background: var(--foret-clair); }
.alert-error { border-color: var(--laterite); background: #F8E6E1; }
.alert-info { border-color: var(--fleuve); background: #E4EEF0; }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* ---------- Pastilles ---------- */
.pill { display: inline-flex; align-items: center; gap: .35em; padding: .2em .7em; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--brume); color: var(--encre); }
.pill .dot { width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.cat-link { color: var(--foret); font-weight: 700; font-size: .85rem; text-decoration: none; }
.cat-link:hover { text-decoration: underline; }

/* =====================================================================
   ACCUEIL
   ===================================================================== */
.hero { background: var(--fleuve); color: #fff; padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; } }
.hero h1 { font-stretch: 122%; font-weight: 800; max-width: 14ch; }
.hero .lead { color: #C6DCD5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2rem; }
.hero-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255,255,255,.14); }
@media (min-width: 560px) { .hero-figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero-figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.hero-figures dt { font-size: .88rem; color: #A9C7BF; }
.hero-figures dd { margin: 0; font-size: 1.65rem; font-weight: 800; font-stretch: 115%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-figures .is-critical dd { color: #FF9C86; }

.hero-map { position: relative; }
.province-map { max-width: 560px; margin: 0 auto; }
.prov-svg { width: 100%; height: auto; display: block; overflow: visible; }
.prov-svg path { stroke: var(--fleuve); stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: opacity .15s; }
.prov-svg path:hover, .prov-svg path:focus-visible, .prov-svg path.on { stroke: #EEF3F1; stroke-width: 2.4; outline: none; }
.prov-svg:hover path:not(:hover):not(.on) { opacity: .82; }
.map-legend { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: #A9C7BF; margin-top: .5rem; flex-wrap: wrap; }
.map-legend .scale { display: flex; height: 10px; width: 140px; border-radius: 99px; overflow: hidden; }
.map-legend .scale span { flex: 1; }
.map-hint { font-size: .85rem; color: #C6DCD5; margin: .75rem 0 0; }
.map-card-pop { position: absolute; right: 0; top: 0; z-index: 500; width: min(260px, 70%); background: var(--papier); color: var(--encre); border-radius: var(--r-m); padding: 1rem; box-shadow: 0 18px 40px rgba(0,0,0,.25); display: none; }
.map-card-pop.show { display: block; }
.map-card-pop h3 { margin-bottom: .2rem; }
.map-card-pop .close { position: absolute; right: .4rem; top: .4rem; color: var(--gris); }
.map-card-pop .close:hover { background: var(--brume); color: var(--encre); }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .35rem 0 0; color: var(--gris); }
.link-more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* À la une */
.front { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 900px) { .front { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; } }
.lead-story { display: grid; gap: 1rem; }
.lead-story .thumb { aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden; background: var(--ligne); }
.lead-story .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lead-story h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: .3rem 0 .5rem; }
.lead-story h3 a, .story h4 a, .card-post h3 a { color: inherit; text-decoration: none; }
.lead-story h3 a:hover, .story h4 a:hover, .card-post h3 a:hover { color: var(--foret); }
.meta { font-size: .86rem; color: var(--gris); display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.story-list { display: grid; align-content: start; }
.story { display: grid; grid-template-columns: 1fr 96px; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--ligne); }
.story:first-child { border-top: 0; padding-top: 0; }
.story .thumb { aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--ligne); }
.story .thumb img { width: 100%; height: 100%; object-fit: cover; }
.story h4 { margin: .15rem 0 .35rem; line-height: 1.25; }

/* Signalements récents */
.report-list { list-style: none; margin: 0; padding: 0; background: var(--papier); border-radius: var(--r-l); border: 1px solid var(--ligne); overflow: hidden; }
.report-row { display: grid; grid-template-columns: 6px 1fr; }
.report-row + .report-row { border-top: 1px solid var(--ligne); }
.report-row .sev { background: var(--gris); }
.report-row a { display: grid; gap: .3rem; padding: 1rem 1.1rem; color: inherit; text-decoration: none; }
.report-row a:hover { background: #F6FAF8; }
.report-row .top { display: flex; justify-content: space-between; gap: .75rem; align-items: start; }
.report-row h4 { margin: 0; line-height: 1.3; }
@media (min-width: 760px) {
  .report-row a { grid-template-columns: 1fr auto; align-items: center; column-gap: 1.5rem; }
  .report-row .meta { grid-column: 1; }
  .report-row .pill-wrap { grid-column: 2; grid-row: 1 / span 2; }
}
.empty { padding: 2rem 1.25rem; text-align: center; color: var(--gris); }
.empty .btn { margin-top: .75rem; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--r-l); overflow: hidden; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--papier); padding: 1.5rem; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--foret-clair); color: var(--foret); font-weight: 800; margin-bottom: .9rem; }
.steps p { margin: 0; color: var(--gris); }

/* Galerie */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
@media (min-width: 900px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery .media { aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--ligne); }
.gallery .media img, .gallery .media video, .gallery .media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.gallery figcaption { padding-top: .6rem; font-size: .92rem; }
.gallery figcaption strong { display: block; }

/* Bande d'appel */
.cta-band { background: var(--foret); color: #fff; border-radius: var(--r-l); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: #D6EAE1; }

/* =====================================================================
   ACTUALITÉS
   ===================================================================== */
.page-head { padding: clamp(1.75rem, 4vw, 3rem) 0 1.25rem; }
.page-head h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.chips a { flex: none; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--papier); color: var(--encre); text-decoration: none; font-weight: 600; font-size: .92rem; }
.chips a:hover { border-color: var(--foret); }
.chips a[aria-current="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }

.post-grid { display: grid; gap: 1.75rem 1.5rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.card-post .thumb { aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--ligne); margin-bottom: .85rem; }
.card-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-post h3 { margin: .3rem 0 .45rem; font-size: 1.15rem; line-height: 1.25; }
.card-post p { color: var(--gris); margin-bottom: .5rem; }
.thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--foret-clair), #CFE0D9); color: var(--foret); }
.thumb-fallback svg { width: 36px; height: 36px; opacity: .6; }

.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .75rem; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--papier); text-decoration: none; color: var(--encre); font-weight: 650; }
.pager [aria-current="page"] { background: var(--encre); color: #fff; border-color: var(--encre); }

/* Article */
.article { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.article-head { max-width: 780px; }
.article-head h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: .4rem 0 .8rem; }
.article-head .lead { color: var(--gris); }
.article-cover { margin: 1.75rem 0; border-radius: var(--r-l); overflow: hidden; max-height: 620px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 720px) 1fr; gap: 4rem; } }
.prose { font-size: 1.1rem; line-height: 1.75; max-width: 70ch; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 .75rem; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--foret); font-size: 1.2rem; font-stretch: 108%; color: var(--fleuve); }
.prose ul { padding-left: 1.25rem; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--ligne); align-items: center; }
.aside-block { border-top: 3px solid var(--encre); padding-top: 1rem; margin-bottom: 2rem; }
.aside-block h3 { font-size: 1.05rem; }
.aside-block ol, .aside-block ul { list-style: none; margin: 0; padding: 0; }
.aside-block li { padding: .7rem 0; border-bottom: 1px solid var(--ligne); }
.aside-block li a { color: var(--encre); text-decoration: none; font-weight: 650; line-height: 1.3; }
.aside-block li a:hover { color: var(--foret); }
.aside-report { background: var(--fleuve); color: #fff; border-radius: var(--r-m); padding: 1.25rem; }
.aside-report p { color: #C6DCD5; }

/* =====================================================================
   FORMULAIRE DE SIGNALEMENT
   ===================================================================== */
.report-page { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 4rem; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1000px) { .report-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; } }
.form-card { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 2rem); }
.progress { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.progress li { flex: 1; font-size: .8rem; color: var(--gris); font-weight: 650; }
.progress li::before { content: ""; display: block; height: 5px; border-radius: 99px; background: var(--ligne); margin-bottom: .4rem; }
.progress li.done::before, .progress li.current::before { background: var(--foret); }
.progress li.current { color: var(--encre); }
.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.active { display: block; }
.no-js .step { display: block; margin-bottom: 2rem; }
.step legend { font-size: 1.35rem; font-weight: 760; font-stretch: 112%; margin-bottom: .3rem; padding: 0; }
.step > .muted { margin-bottom: 1.4rem; }
.step-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ligne); }
.step-nav .btn:only-child { margin-left: auto; }

.choice-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .8rem .9rem; border: 1.5px solid var(--ligne); border-radius: var(--r-m); background: var(--papier); cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice span strong { font-size: .98rem; }
.choice span small { color: var(--gris); font-size: .8rem; line-height: 1.35; }
.choice input:checked + span { border-color: var(--foret); background: var(--foret-clair); box-shadow: inset 0 0 0 1px var(--foret); }
.choice input:focus-visible + span { outline: 3px solid var(--ocre); outline-offset: 2px; }
.severity-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .severity-grid { grid-template-columns: repeat(4, 1fr); } }
.severity-grid .choice span { border-top: 5px solid var(--c, var(--ligne)); }
.severity-grid .choice input:checked + span { background: color-mix(in srgb, var(--c) 12%, white); border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }

.locate-box { border: 1.5px dashed var(--ligne); border-radius: var(--r-m); padding: 1rem; margin-bottom: 1.1rem; background: #F7FAF9; }
.locate-box .row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.locate-status { font-size: .9rem; color: var(--gris); }
.locate-status.ok { color: var(--foret); font-weight: 650; }
.pick-map { height: 280px; border-radius: var(--r-s); margin-top: .9rem; display: none; border: 1px solid var(--ligne); }
.pick-map.show { display: block; }

.dropzone { display: grid; place-items: center; gap: .4rem; text-align: center; padding: 1.75rem 1rem; border: 2px dashed var(--ligne); border-radius: var(--r-m); background: #F7FAF9; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--foret); background: var(--foret-clair); }
.dropzone svg { width: 34px; height: 34px; color: var(--foret); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; margin-top: .9rem; }
.previews .pv { position: relative; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--brume); border: 1px solid var(--ligne); display: grid; place-items: center; font-size: .72rem; text-align: center; padding: .25rem; color: var(--gris); word-break: break-all; }
.previews .pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.previews .pv button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(19,32,29,.75); color: #fff; cursor: pointer; display: grid; place-items: center; }

.switch { display: flex; gap: .8rem; align-items: start; padding: 1rem; border-radius: var(--r-m); background: var(--foret-clair); margin-bottom: 1.1rem; cursor: pointer; }
.switch input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--foret); flex: none; }
.switch strong { display: block; }
.contact-fields[hidden] { display: none; }
.hp { position: absolute; left: -5000px; }

.review { display: grid; gap: .1rem; background: var(--brume); border-radius: var(--r-m); padding: 1rem 1.1rem; margin-bottom: 1.1rem; }
.review div { display: grid; grid-template-columns: 120px 1fr; gap: .75rem; padding: .35rem 0; font-size: .95rem; }
.review dt { color: var(--gris); }
.review dd { margin: 0; font-weight: 600; word-break: break-word; }

.side-help { display: grid; gap: 1.25rem; }
.side-help section { border-top: 3px solid var(--encre); padding-top: 1rem; }
.side-help h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.side-help p, .side-help li { color: var(--gris); font-size: .95rem; }
.side-help ul { padding-left: 1.1rem; margin: 0; }
.emergency { background: #F8E6E1; border-radius: var(--r-m); padding: 1rem; border-top: 0 !important; }
.emergency h3 { color: var(--laterite-fonce); }

/* Confirmation & suivi */
.confirm { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.confirm .check { width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--foret-clair); color: var(--foret); display: grid; place-items: center; }
.confirm .check svg { width: 36px; height: 36px; }
.ref-box { display: inline-flex; align-items: center; gap: .75rem; background: var(--papier); border: 2px solid var(--encre); border-radius: var(--r-m); padding: .8rem 1rem .8rem 1.25rem; margin: 1rem 0 1.5rem; }
.ref-box code { font-family: var(--font); font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 800; font-stretch: 115%; letter-spacing: .04em; }
.confirm .actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.track-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 520px; }
.track-form .input { flex: 1 1 220px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }

.dossier { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-bottom: 4rem; }
@media (min-width: 960px) { .dossier { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; } }
.dossier-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--r-m); overflow: hidden; margin: 1.25rem 0 1.75rem; }
.dossier-facts div { background: var(--papier); padding: .85rem 1rem; }
.dossier-facts dt { font-size: .8rem; color: var(--gris); }
.dossier-facts dd { margin: .1rem 0 0; font-weight: 700; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.media-grid a, .media-grid video { border-radius: var(--r-s); overflow: hidden; aspect-ratio: 1; background: var(--ligne); }
.media-grid img, .media-grid video { width: 100%; height: 100%; object-fit: cover; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.4rem 1.75rem; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; background: var(--ligne); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--papier); border: 3px solid var(--c, var(--foret)); }
.timeline strong { display: block; }
.timeline time { font-size: .82rem; color: var(--gris); }
.timeline p { margin: .3rem 0 0; color: var(--gris); font-size: .95rem; }
.panel { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 1.25rem 1.4rem; }

/* Carte pleine page */
.map-page { display: grid; gap: 0; }
@media (min-width: 960px) { .map-page { grid-template-columns: 360px 1fr; height: calc(100vh - var(--header-h)); } }
.map-side { background: var(--papier); padding: 1.25rem var(--gut); overflow-y: auto; border-right: 1px solid var(--ligne); }
.map-side h1 { font-size: 1.6rem; }
.full-map { height: 70vh; min-height: 420px; }
@media (min-width: 960px) { .full-map { height: 100%; } }
.prov-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.prov-list li button { width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .25rem; border: 0; border-bottom: 1px solid var(--ligne); background: none; cursor: pointer; text-align: left; font-weight: 600; }
.prov-list li button:hover { color: var(--foret); }
.prov-list .count { font-variant-numeric: tabular-nums; color: var(--gris); }
.leaflet-popup-content { font-family: var(--font); }
.leaflet-popup-content h4 { margin: 0 0 .25rem; }
.leaflet-popup-content p { margin: .25rem 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--fleuve); color: #C6DCD5; padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* 404 */
.notfound { text-align: center; padding-top: 5rem; padding-bottom: 5rem; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; font-stretch: 125%; color: var(--ligne); line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .urgent, .share, .article-layout aside { display: none !important; }
}

/* =====================================================================
   PORTAIL D'INFORMATION (v1.1)
   ===================================================================== */

/* Barre des rubriques */
.rubbar { background: var(--papier); border-bottom: 1px solid var(--ligne); }
.rubbar .wrap { display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rubbar .wrap::-webkit-scrollbar { display: none; }
.rubbar a { flex: none; padding: .8rem .8rem; color: var(--encre); text-decoration: none; font-weight: 650; font-size: .93rem; border-bottom: 3px solid transparent; }
.rubbar a:hover { color: var(--foret); }
.rubbar a[aria-current="page"] { border-bottom-color: var(--laterite); color: var(--encre); }
.rubbar a:first-child { padding-left: 0; }

/* Fil info */
.ticker { background: var(--encre); color: #fff; font-size: .9rem; }
.ticker .wrap { display: flex; align-items: center; gap: 1rem; min-height: 44px; }
.ticker-label { flex: none; background: var(--laterite); padding: .2rem .65rem; border-radius: 4px; font-stretch: 110%; font-size: .85rem; }
.ticker-list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: .55rem 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.ticker-list::-webkit-scrollbar { display: none; }
.ticker-list li { flex: none; display: flex; gap: .55rem; white-space: nowrap; }
.ticker-list time { color: #FF9C86; font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker-list a { color: #fff; text-decoration: none; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; }
.ticker-list a:hover { text-decoration: underline; color: #fff; }

/* Cartes d'articles */
.nc { display: grid; gap: .7rem; align-content: start; min-width: 0; }
.nc-img { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--ligne); }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nc:hover .nc-img img { transform: scale(1.03); }
.nc-fallback, .nc-img.no-img::after { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .3rem; background: linear-gradient(150deg, var(--foret-clair), #CFE0D9); color: var(--foret); text-align: center; padding: .75rem; }
.nc-fallback svg { width: 34px; height: 34px; opacity: .55; }
.nc-fallback.is-press { background: var(--fleuve); color: #fff; }
.nc-fallback.is-press b { font-size: 2rem; font-stretch: 125%; font-weight: 800; line-height: 1; color: #9FD3C1; }
.nc-fallback.is-press small { font-size: .78rem; color: #C6DCD5; font-weight: 600; }
.nc-img.no-img::after { content: "Image indisponible"; font-size: .8rem; }
.nc-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; font-size: .8rem; color: var(--gris); }
.nc-cat { color: var(--foret); font-weight: 750; text-decoration: none; }
.nc-cat:hover { text-decoration: underline; }
.nc-source { color: var(--laterite); font-weight: 750; }
.nc-title { margin: 0; font-size: 1.08rem; line-height: 1.25; font-stretch: 104%; }
.nc-title a { color: var(--encre); text-decoration: none; }
.nc-title a:hover { color: var(--foret); }
.nc-out svg { width: .8em; height: .8em; vertical-align: .05em; color: var(--gris); }
.nc-excerpt { margin: 0; color: var(--gris); font-size: .95rem; }
.nc-body { display: grid; gap: .4rem; }

.nc-lead .nc-img { aspect-ratio: 16 / 9; border-radius: var(--r-l); }
.nc-lead .nc-title { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-stretch: 112%; line-height: 1.1; letter-spacing: -.015em; }
.nc-lead .nc-excerpt { font-size: 1.05rem; }

.nc-row { grid-template-columns: 112px minmax(0, 1fr); gap: .9rem; align-items: start; }
.nc-row .nc-img { aspect-ratio: 4 / 3; border-radius: var(--r-s); }
.nc-row .nc-title { font-size: .98rem; }
.nc-row .nc-fallback.is-press b { font-size: 1.3rem; }
.nc-row .nc-fallback.is-press small { display: none; }
.nc-mini .nc-title { font-size: .95rem; }

/* À la une */
.une { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-top: clamp(1.25rem, 3vw, 2rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.une-side { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 640px) and (max-width: 1099px) { .une-side { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .une { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2rem; }
  .une-side { border-left: 1px solid var(--ligne); padding-left: 2rem; }
}
.continu { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 1.1rem 1.2rem; align-self: start; }
.continu h2 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--laterite); box-shadow: 0 0 0 0 rgba(179,54,31,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(179,54,31,0); } 100% { box-shadow: 0 0 0 0 rgba(179,54,31,0); } }
.continu ol { list-style: none; margin: 0 0 .75rem; padding: 0; }
.continu li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .5rem; padding: .7rem 0; border-top: 1px solid var(--ligne); }
.continu li:first-child { border-top: 0; }
.continu time { font-weight: 800; font-size: .85rem; color: var(--laterite); font-variant-numeric: tabular-nums; padding-top: .1rem; }
.continu a { color: var(--encre); text-decoration: none; font-weight: 650; font-size: .94rem; line-height: 1.3; display: block; }
.continu a:hover { color: var(--foret); }
.continu li span { font-size: .78rem; color: var(--gris); }

/* Observatoire (bande sombre) */
.obs { background: var(--fleuve); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0; overflow: hidden; }
.obs-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .obs-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; } }
.obs h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); font-stretch: 122%; font-weight: 800; max-width: 15ch; }
.obs .lead { color: #C6DCD5; }
.obs-tag { display: inline-block; margin: 0 0 .9rem; font-weight: 700; font-size: .88rem; color: #9FD3C1; }

/* En-têtes de section */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.25rem; margin-bottom: 1.25rem; padding-bottom: .7rem; border-bottom: 1px solid var(--ligne); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--laterite); }
.sec-head h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.sec-head h2 a { color: inherit; text-decoration: none; }
.sec-head h2 a:hover { color: var(--foret); }
.sec-head p { margin: 0; color: var(--gris); flex: 1 1 100%; order: 3; font-size: .95rem; }
.sec-head .link-more { margin-left: auto; font-size: .92rem; order: 2; }
.sec-head-sm h2 { font-size: 1.3rem; }

/* Revue de presse */
.press-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 639px) {
  .press-grid .nc-card { grid-template-columns: 112px minmax(0, 1fr); gap: .9rem; }
  .press-grid .nc-card .nc-img { aspect-ratio: 4 / 3; border-radius: var(--r-s); }
  .press-grid .nc-card .nc-fallback.is-press b { font-size: 1.3rem; }
  .press-grid .nc-card .nc-fallback.is-press small, .press-grid .nc-card .nc-excerpt { display: none; }
  .press-grid .nc-card .nc-title { font-size: .98rem; }
}
@media (min-width: 640px) { .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; } }
@media (min-width: 1000px) { .press-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Rubriques */
.rub-grid { display: grid; gap: 2.5rem 2.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .rub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rub { display: grid; gap: 1.1rem; align-content: start; }
.rub-list { display: grid; gap: 1rem; padding-top: .25rem; }

/* Signalements + plus lus */
.duo { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .duo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.most ol { list-style: none; margin: 0; padding: 0; counter-reset: most; }
.most li { counter-increment: most; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); padding: .85rem 0; border-bottom: 1px solid var(--ligne); }
.most li::before { content: counter(most); grid-row: span 2; font-size: 1.9rem; font-weight: 800; font-stretch: 120%; line-height: 1; color: var(--ligne); }
.most a { color: var(--encre); text-decoration: none; font-weight: 700; line-height: 1.3; }
.most a:hover { color: var(--foret); }
.most span { font-size: .8rem; color: var(--gris); margin-top: .2rem; }

/* Page revue de presse / rubriques */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--ligne); margin: 1rem 0 1.25rem; overflow-x: auto; }
.tabs a { padding: .7rem 1rem; text-decoration: none; color: var(--gris); font-weight: 700; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--encre); border-bottom-color: var(--laterite); }
.press-note { font-size: .86rem; color: var(--gris); margin-top: 2rem; }

.une-lead { display: grid; gap: 1.5rem; align-content: start; }
.lead-more { display: grid; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--ligne); }
@media (min-width: 760px) { .lead-more { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lead-more .nc-row { grid-template-columns: minmax(0, 1fr); } .lead-more .nc-row .nc-img { aspect-ratio: 16 / 10; } }
.continu a { font-size: .9rem; }
.nc.no-pic { background: var(--papier); border: 1px solid var(--ligne); border-top: 3px solid var(--laterite); border-radius: var(--r-s); padding: .9rem 1rem 1rem; align-content: start; }
.nc-row.no-pic { grid-template-columns: minmax(0, 1fr); }
.nc.no-pic .nc-title { font-size: 1.02rem; }
@media (max-width: 639px) {
  .une-side .nc-card:not(.no-pic) { grid-template-columns: 112px minmax(0, 1fr); gap: .9rem; }
  .une-side .nc-card .nc-img { aspect-ratio: 4 / 3; border-radius: var(--r-s); }
  .une-side .nc-card .nc-excerpt { display: none; }
  .une-side .nc-card .nc-title { font-size: 1rem; }
  .une-side { gap: 1rem; }
}

@media (max-width: 639px) { .continu { display: none; } }

/* v2.0 : auteurs, contact, lettre d'information */
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; vertical-align: middle; }
.avatar-ini { display: inline-grid; place-items: center; background: var(--foret-clair); color: var(--foret); font-weight: 800; }
.byline { align-items: center; }
.byline-author { display: inline-flex; align-items: center; gap: .5rem; color: var(--gris); text-decoration: none; }
.byline-author strong { color: var(--encre); }
.byline-author:hover strong { color: var(--foret); }
.author-box { display: flex; gap: 1rem; align-items: start; margin-top: 2.25rem; padding: 1.25rem; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r-m); }
.author-box p { margin: .4rem 0; color: var(--gris); }
.author-box a strong { color: var(--encre); }
.author-head { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.prose figure { margin: 1.75rem 0; }
.prose figure img { width: 100%; border-radius: var(--r-m); }
.prose figcaption { font-size: .88rem; color: var(--gris); margin-top: .5rem; }
.prose .embed { aspect-ratio: 16 / 9; }
.prose .embed iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r-m); }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.newsletter { display: grid; gap: .6rem; }
.newsletter form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter input[type=email] { flex: 1 1 200px; min-height: 44px; border-radius: 999px; border: 0; padding: 0 1rem; }
.nl-msg { font-size: .88rem; min-height: 1.2em; }
.nl-msg.ok { color: #9FD3C1; }
.nl-msg.ko { color: #FF9C86; }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-bottom: 4rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; } }

/* =====================================================================
   v2.1 : bandeau des infos urgentes
   ===================================================================== */
.breaking { background: var(--laterite); color: #fff; font-size: .95rem; position: relative; z-index: 51; }
.breaking.bk-level-alerte { background: #9A5C00; }
.breaking.bk-level-info { background: var(--encre); }
.bk-inner { display: flex; align-items: stretch; max-width: 100%; min-height: 44px; }
.bk-label { flex: none; display: flex; align-items: center; gap: .5rem; padding: 0 1rem 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); background: rgba(0,0,0,.22); font-stretch: 112%; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.bk-pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: bkpulse 1.4s ease-in-out infinite; }
@keyframes bkpulse { 50% { opacity: .25; } }
.bk-viewport { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.bk-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: bkscroll var(--bk-dur, 30s) linear infinite; }
.breaking:hover .bk-track, .breaking:focus-within .bk-track, .breaking.paused .bk-track { animation-play-state: paused; }
@keyframes bkscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bk-item { display: flex; align-items: center; gap: .55rem; padding: .65rem 0 .65rem 1.25rem; white-space: nowrap; }
.bk-item::after { content: ""; width: 6px; height: 6px; background: rgba(255,255,255,.55); transform: rotate(45deg); margin-left: 1.25rem; }
.bk-item time { font-weight: 800; font-variant-numeric: tabular-nums; opacity: .9; }
.bk-item a, .bk-item span { color: #fff; text-decoration: none; font-weight: 600; }
.bk-item a:hover { text-decoration: underline; }
.bk-tag { background: rgba(255,255,255,.18); border-radius: 4px; padding: .05rem .4rem; font-size: .78rem; font-weight: 800; }
.bk-pause { flex: none; width: 44px; border: 0; background: rgba(0,0,0,.18); color: #fff; cursor: pointer; display: grid; place-items: center; }
.bk-pause:hover { background: rgba(0,0,0,.3); }
.i-pause { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.paused .i-pause { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
@media (max-width: 640px) {
  .breaking { font-size: .88rem; }
  .bk-label { padding: 0 .7rem 0 var(--gut); }
  .bk-label .bk-pulse { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-track { animation: none; overflow-x: auto; width: auto; }
  .bk-item[aria-hidden="true"] { display: none; }
  .bk-viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .bk-pause { display: none; }
}

/* =====================================================================
   v2.1 : publicité
   ===================================================================== */
.ad { display: grid; justify-items: center; gap: .3rem; margin: 1.25rem auto; max-width: 100%; }
.ad-label { font-size: .68rem; color: var(--gris); letter-spacing: .04em; justify-self: center; }
.ad a { display: block; max-width: 100%; }
.ad img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.ad-top img, .ad-footer img, .ad-press img { max-height: 120px; width: auto; }
.ad-home_mid img { max-height: 260px; width: auto; }
.ad-article_side { margin-top: 0; margin-bottom: 2rem; }
.ad-article_side img { max-width: 300px; width: 100%; }
.ad-home_side { margin-top: 1.25rem; }
.ad-article_inline { margin: 2rem auto; padding: .75rem 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.ad-wrap-top .ad { margin: 1rem auto .25rem; }
.ad-wrap-footer .ad { margin: 2rem auto 0; }
.ad-house-box { display: grid !important; gap: .25rem; text-align: center; padding: 1rem 1.5rem; border: 1.5px dashed #B9CAC4; border-radius: var(--r-m); background: repeating-linear-gradient(135deg, #F4F8F6, #F4F8F6 10px, #EEF3F1 10px, #EEF3F1 20px); color: var(--gris); text-decoration: none; width: min(970px, 100%); }
.ad-house-box strong { color: var(--encre); font-stretch: 110%; }
.ad-house-box:hover { border-color: var(--foret); color: var(--gris); }
.ad-top.ad-house .ad-house-box, .ad-footer.ad-house .ad-house-box { min-height: 90px; align-content: center; }
.ad-home_mid.ad-house .ad-house-box { min-height: 150px; align-content: center; }
.ad-article_side.ad-house .ad-house-box { min-height: 250px; align-content: center; width: 100%; }
.ad-house-box u { color: var(--foret); font-weight: 700; text-underline-offset: 3px; }
@media print { .ad, .breaking { display: none !important; } }
