/* ===== Abraham Badji — Site officiel ===== */
:root {
  /* Bleu nuit (couleur principale) + accents vert et rouge PASTEF */
  --primary: #0b2545;
  --primary-2: #13315c;
  --green: #1d7a3e;
  --green-light: #6fd08f;   /* vert lisible sur fond bleu nuit */
  --red: #b3201f;
  --red-2: #d33a32;
  --ink: #1d2430;
  --muted: #5b6575;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 14px;
  --primary-rgb: 11, 37, 69;      /* = --primary, pour les transparences */
  --primary-2-rgb: 19, 49, 92;    /* = --primary-2 */
  --footer: #071a31;
  --stats-bg: var(--green);
  --stats-border: var(--red);
  --shadow: 0 10px 30px rgba(var(--primary-rgb), .10);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Thème "pastef" : couleurs exactes du logo du parti (vert #21602b, rouge #a01916, blanc).
   Activé par 'theme' => 'pastef' dans config.php ; 'bleu-nuit' = thème d'origine. */
body.theme-pastef {
  --primary: #174a21;
  --primary-2: #21602b;
  --primary-rgb: 23, 74, 33;
  --primary-2-rgb: 33, 96, 43;
  --green: #21602b;
  --green-light: #a8e6b4;
  --red: #a01916;
  --red-2: #c0221e;
  --footer: #0f3316;
  --stats-bg: var(--red);
  --stats-border: var(--green);
  --shadow: 0 10px 30px rgba(23, 74, 33, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 17px; }
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
/* Calque transparent au-dessus des photos : "Enregistrer l'image" ne vise plus la photo (appui long sur mobile) */
.hero-photo::after, .about-photo::after, .gallery-item::after, .lightbox figure::after { content: ""; position: absolute; inset: 0; }
.about-photo, .gallery-item, .lightbox figure { position: relative; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--primary); }
h3 { font-size: 1.25rem; color: var(--primary); }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Boutons */
.btn { display: inline-block; padding: .85em 1.6em; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s, color .2s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--red); color: #fff; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.btn-accent:hover { background: var(--red-2); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: .5em 1.1em; font-size: .9rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 600; color: var(--green-light); margin: 0 0 1rem; }
.eyebrow.dark { color: var(--green); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(var(--primary-rgb), .96); box-shadow: 0 4px 20px rgba(0,0,0,.15); backdrop-filter: blur(6px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .65rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff; text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.menu { display: flex; align-items: center; gap: 1.8rem; }
.menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--green-light); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; color: #fff; padding: 110px 0 60px;
  background-color: var(--primary);
  background-image: radial-gradient(circle at 80% 20%, rgba(29,122,62,.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(179,32,31,.18), transparent 40%),
    linear-gradient(135deg, rgba(var(--primary-rgb), .92) 0%, rgba(var(--primary-2-rgb), .72) 100%), var(--hero-bg, none);
  background-size: cover; background-position: center 60%; }
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }

/* Diaporama en filigrane derrière l'accueil : noir et blanc, très transparent, fondu lent + léger zoom.
   Images de fond (pas de balise <img>) : rien à enregistrer ni à faire glisser. */
.hero-slides { position: absolute; inset: 0; z-index: 0; pointer-events: none; user-select: none; }
.hero-slide { position: absolute; inset: -2%; background-size: cover; background-position: 50% 20%; opacity: 0;
  filter: grayscale(1); transition: opacity 2.5s ease; }
.hero-slide.is-visible { opacity: .09; animation: hero-zoom 14s linear forwards; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-slide.is-visible { transform-origin: 50% 20%; } /* le zoom se fait vers les visages */
@media (prefers-reduced-motion: reduce) { .hero-slide.is-visible { animation: none; } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: .3em; }
.slogan { font-size: clamp(1.1rem, 2.4vw, 1.4rem); opacity: .9; max-width: 32ch; margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-logos { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2.2rem; }
.hero-logos img { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hero-photo { justify-self: center; position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 4px solid var(--green); border-right-color: var(--red); border-bottom-color: var(--red); transform: rotate(-45deg); }
.hero-photo img { width: min(420px, 75vw); height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 50%; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
/* Aperçu de la vidéo de bienvenue, à côté de la photo encerclée */
.hero-media { justify-self: center; }
.hero-inner:has(.avec-video) { grid-template-columns: 1fr auto; gap: 2.5rem; }
.hero-inner:has(.avec-video) h1 { font-size: clamp(2.6rem, 5vw, 3.9rem); }
.hero-media.avec-video { display: flex; align-items: center; gap: 2.4rem; }
.hero-media.avec-video .hero-photo img { width: min(320px, 75vw); }
.hero-video { position: relative; width: 300px; margin: 0; z-index: 2; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #000; border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.35); transition: opacity 2s ease, box-shadow 2s ease; }
.hero-inner.video-ancree .slogan { font-size: 1.22rem; }
/* Son coupé par le navigateur : étiquette discrète, affichée tant que la vidéo est muette (pas de bouton) */
.hero-video-son { display: none; position: absolute; top: 10px; left: 10px; padding: .3em .8em; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: .85rem; font-weight: 600; pointer-events: none; animation: son-pulse 2s ease-in-out infinite; }
.hero-video.sans-son .hero-video-son { display: block; }
@keyframes son-pulse { 50% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .hero-video-son { animation: none; } }
/* Fin de la vidéo : fondu qui laisse voir le diaporama en filigrane de l'accueil */
.hero-video.terminee video { opacity: 0; box-shadow: none; }
/* Grand écran : la vidéo est placée par main.js (sous le « j » de Badji, jusqu'aux logos) ; le texte s'arrête avant elle */
.hero-inner.video-ancree .slogan, .hero-inner.video-ancree .hero-cta, .hero-inner.video-ancree .hero-logos { max-width: var(--zone-texte, 100%); }
.hero-inner.video-ancree .hero-logos { gap: .7rem; }
.hero-inner.video-ancree .hero-logos img { height: 54px; }
@media (max-width: 1100px) {
  .hero-media.avec-video { flex-direction: column-reverse; gap: 1.6rem; }
  .hero-media.avec-video .hero-photo img { width: min(280px, 65vw); }
  .hero-video { width: min(420px, 88vw); }
}

/* Chiffres */
.stats { background: var(--stats-bg); color: #fff; border-bottom: 5px solid var(--stats-border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; padding: 2rem 0; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; }
.stat span { font-weight: 500; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about p { color: var(--muted); }

/* Vidéo de bienvenue */
.video-accueil { max-width: 960px; margin: 0 auto; }
.video-accueil video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-accueil video::cue { background: rgba(0, 0, 0, .78); color: #fff; font-size: 1.05rem; line-height: 1.4; }
.video-transcription { margin-top: 1.2rem; background: #fff; border-radius: var(--radius); padding: .9rem 1.3rem; box-shadow: var(--shadow); }
.video-transcription summary { cursor: pointer; font-weight: 600; color: var(--primary-2); }
.video-transcription p { color: var(--muted); margin: .8rem 0 0; }
.video-cta { text-align: center; margin-top: 1.6rem; }

/* Cartes remplies colonne par colonne : l'ordre de config.php se lit de haut en bas (gauche, puis droite) */
.structures { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 980px) {
  .structures { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows, 3), auto); grid-auto-flow: column; }
}
.structure { display: flex; align-items: center; gap: 1.5rem; background: #fff; padding: 1.8rem; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--green); }
.structure-logo { flex: 0 0 130px; display: flex; justify-content: center; }
.structure-logo img { max-height: 120px; width: auto; object-fit: contain; }
.structure-pastille { display: flex; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--serif); font-size: 2rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: inset 0 0 0 5px var(--green), inset 0 0 0 9px #fff, inset 0 0 0 13px var(--red); }
.structure-pastille.is-long { font-size: 1.45rem; letter-spacing: .02em; }
.structure h3 { margin-bottom: .2em; }
.structure p { margin: 0; color: var(--muted); }
.structure .structure-role { color: var(--red); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.structure a { display: inline-block; margin-top: .6rem; color: var(--green); font-weight: 600; text-decoration: none; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--red); transition: transform .25s; }
.card:hover { transform: translateY(-6px); }
.card-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.card p { color: var(--muted); margin: 0; }

.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.news-item { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-body { padding: 1.5rem; }
.news-body time { font-size: .85rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.news-body h3 { margin-top: .4rem; }
.news-body p { color: var(--muted); margin: 0; }

.album + .album { margin-top: 3.5rem; }
.album-title { margin: 0 0 1rem; padding-left: .8rem; border-left: 4px solid var(--red); }
.album-count { display: inline-block; margin-left: .4rem; font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--muted); vertical-align: middle; }
.gallery-item.is-extra { display: none; }
.album.is-open .gallery-item.is-extra { display: block; }
.btn-voir-plus { display: block; margin: 1.5rem auto 0; background: transparent; border-color: var(--primary-2); color: var(--primary-2); cursor: pointer; font: inherit; font-weight: 600; }
.btn-voir-plus:hover { background: var(--primary-2); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
/* Cadrage vers le haut (15 %) : sur les photos prises en hauteur, les visages restent dans la case */
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }

.contact { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { opacity: .85; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 2rem 0; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.socials a { color: var(--green-light); font-weight: 600; text-decoration: none; }

.footer { background: var(--footer); border-top: 4px solid var(--green); color: rgba(255,255,255,.7); text-align: center; padding: 1.5rem 0; font-size: .9rem; }
.footer a { color: var(--green-light); text-decoration: none; }
.footer .credit { margin: .3rem 0 0; font-size: .75rem; }
.footer .credit a { color: rgba(255,255,255,.5); }

/* Page Crédits photos */
.menu.menu-simple { position: static; transform: none; flex-direction: row; background: none; padding: 0; }
.menu.menu-simple a { width: auto; border: 0; padding: 0; }
.page-credits { padding-top: calc(72px + 3rem); min-height: 70vh; }
.page-credits h1 { color: var(--primary); font-size: clamp(2rem, 5vw, 2.8rem); }
.page-credits li { margin-bottom: .6rem; }
.page-credits a { color: var(--primary-2); }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 8px; }
.lightbox figcaption { color: #fff; margin-top: .8rem; }
.lightbox-close { position: absolute; top: 12px; right: 20px; font-size: 2.5rem; color: #fff; background: none; border: 0; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-count { display: block; margin-top: .3rem; font-size: .8rem; opacity: .7; }

/* Animations d'apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Mobile */
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: var(--primary); padding: 1rem 16px 1.5rem; transform: translateY(-120%); transition: transform .3s; }
  .menu.open { transform: none; }
  .menu a { width: 100%; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu .btn { margin-top: 1rem; text-align: center; border: 0; }
  .nav.menu-open { background: var(--primary); }
  .hero-inner, .about { grid-template-columns: 1fr; text-align: center; }
  .hero-inner > .hero-photo, .hero-media { order: -1; }
  .hero-photo img, .hero-media.avec-video .hero-photo img { width: min(260px, 65vw); }
  .hero-inner:has(.avec-video) { grid-template-columns: 1fr; }
  .hero-video { width: min(420px, 88vw); }
  .hero-cta, .hero-logos { justify-content: center; }
  .hero-logos img { height: 52px; }
  .structure { flex-direction: column; text-align: center; border-left: 0; border-top: 5px solid var(--green); }
  .structure-logo { flex-basis: auto; }
  .slogan { margin-inline: auto; }
  .about-photo { max-width: 340px; margin: 0 auto; }
}

/* ---------- Page Hommage ---------- */
.page-hommage { background: #f7f7f5; }
.hommage-entete { background: #0e0e10; color: #f4f1ea; text-align: center; padding: calc(72px + 4rem) 0 4rem; }
.hommage-formule { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 0; }
.hommage-traduction { margin: .3rem 0 0; font-style: italic; color: rgba(244,241,234,.75); font-size: .98rem; }
.hommage-filet { display: block; width: 120px; height: 1px; margin: 2rem auto; background: rgba(244,241,234,.45); position: relative; }
.hommage-filet::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: #f4f1ea; transform: translate(-50%, -50%) rotate(45deg); }
.hommage-surtitre { margin: 0 0 .6rem; letter-spacing: .22em; text-transform: uppercase; font-size: .85rem; color: rgba(244,241,234,.8); }
.hommage-entete h1 { color: #fff; font-size: clamp(2.3rem, 6.5vw, 4rem); margin: 0 0 1.2rem; }
.hommage-fonctions { margin: 0 auto; max-width: 640px; color: rgba(244,241,234,.78); font-size: 1rem; line-height: 1.7; }
.hommage-corps { padding: 4rem 0 5rem; }
.hommage-grille { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.hommage-media { position: sticky; top: 96px; }
.hommage-media figure { margin: 0; }
.hommage-media video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #0e0e10; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.hommage-media figcaption { margin-top: .7rem; text-align: center; color: var(--muted); font-size: .9rem; }
.hommage-texte { max-width: 700px; }
.hommage-texte p { margin: 0 0 1.25rem; }
.hommage-texte h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2.6rem 0 1.2rem; padding-bottom: .5rem; border-bottom: 1px solid #dcdcd6; }
.hommage-ouverture { font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.hommage-citation { margin: 2.4rem 0; padding: 1.4rem 1.6rem; border-left: 4px solid var(--green); background: #fff; border-radius: 0 12px 12px 0; box-shadow: var(--shadow); }
.hommage-citation p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.5rem); color: var(--primary); text-align: left; }
.hommage-signature { margin-top: 2.4rem !important; text-align: right !important; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--primary); }
@media (max-width: 860px) {
  .hommage-grille { grid-template-columns: 1fr; gap: 2.5rem; }
  .hommage-media { position: static; max-width: 420px; margin-inline: auto; width: 100%; }
  .hommage-entete { padding: calc(72px + 2.5rem) 0 3rem; }
}.hommage-souvenirs { padding: 0 0 5rem; text-align: center; }
.hommage-souvenirs .hommage-filet { background: #b9b9b2; }
.hommage-souvenirs .hommage-filet::after { background: var(--primary); }
.hommage-souvenirs h2 { margin-bottom: 2rem; }
.hommage-souvenirs .gallery { text-align: left; }
/* ---------- Bande d'annonce vers la page Hommage (accueil) : message défilant de la gauche vers la droite ---------- */
.bande-hommage { position: absolute; top: 72px; left: 0; right: 0; z-index: 2; height: 66px; overflow: hidden; display: block;
  background: #0e0e10; color: #f4f1ea; text-decoration: none; border-bottom: 1px solid rgba(244,241,234,.18); font-size: .98rem; }
.bande-defile { position: absolute; top: 0; left: 0; height: 100%; display: inline-flex; align-items: center; gap: .9rem; white-space: nowrap;
  animation: bande-defile 80s linear -32s infinite; will-change: transform; }   /* départ déjà engagé : le message est visible dès l'arrivée */
.bande-hommage:hover .bande-defile, .bande-hommage:focus-visible .bande-defile { animation-play-state: paused; }
@keyframes bande-defile { from { transform: translateX(-100%); } to { transform: translateX(100vw); } }
.bande-defile img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid #f4f1ea; flex: none; }
.bande-hommage .ruban { width: 16px; height: 22px; fill: #f4f1ea; flex: none; }
.bande-hommage em { font-family: var(--serif); font-size: 1.05rem; }
.bande-hommage strong { font-weight: 600; color: #fff; }
.bande-hommage .bande-lien { font-weight: 600; padding: .25rem .9rem; border: 1px solid rgba(244,241,234,.55); border-radius: 999px; transition: background .2s, color .2s; }
.bande-hommage:hover .bande-lien, .bande-hommage:focus-visible .bande-lien { background: #f4f1ea; color: #0e0e10; }
.hero.avec-bande { padding-top: 170px; }
@media (max-width: 640px) { .bande-hommage { font-size: .9rem; } .bande-defile { animation-duration: 60s; } .hero.avec-bande { padding-top: 160px; } }
/* Animations réduites (réglage du visiteur) : message fixe et centré, sur plusieurs lignes si besoin */
@media (prefers-reduced-motion: reduce) {
  .bande-hommage { height: auto; }
  .bande-defile { position: static; animation: none; display: flex; flex-wrap: wrap; justify-content: center; white-space: normal; padding: .5rem 16px; text-align: center; }
}
/* Actualités avec lien : toute la carte est cliquable */
.news-item { position: relative; }
.news-lien { color: inherit; text-decoration: none; }
.news-lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-lien:hover, .news-lien:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }