/* =========================================================
   ActuVox — thème façon Newspaper / Magazine Pro
   Couleurs logo : rouge & bleu + accent vert (Cameroun)
   ========================================================= */
:root {
  --red: #c8102e;
  /* rouge logo */
  --red-dk: #a20c24;
  --blue: #0f2e65;
  /* bleu logo */
  --blue-dk: #0a2148;
  --green: #128a3c;
  /* vert Cameroun */
  --orange: #e08a00;
  --purple: #7b3fa0;
  --teal: #0f8a8a;
  --pink: #d6336c;

  --ink: #1c1c1c;
  --muted: #6b7280;
  --line: #e6e6e6;
  --bg: #f2f3f5;
  --surface: #ffffff;
  --nav-bg: #16192099;
  /* fallback, real set below */

  --f-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-head: "Roboto Condensed", "Roboto", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

body::before {

  opacity: 0.5;
  /* Réglez l'opacité ici (de 0.0 à 1.0) */
  z-index: -1;
  /* Place l'image derrière le texte */

  content: "";
  position: absolute;
  inset: 0;
  /* L'image couvre tout le conteneur */
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrap.layout {
  background-color: white;
}

#lead {
  background-color: white;

}

/* ---------- TOP BAR ---------- */
.topbar {
  background: #14171d;
  color: #c9ced8;
  font-size: 12px;
  border-bottom: 3px solid var(--red);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .3px;
}

.tb-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .2);
}

.tb-weather {
  color: #fff;
}

.topbar-mid {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.tb-flag {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: .5px;
}

.tb-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

.tb-ticker-track {
  display: flex;
  width: max-content;
  animation: tb-ticker-scroll 40s linear infinite;
}

.tb-ticker-track:hover {
  animation-play-state: paused;
}

.tb-ticker-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 28px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tb-ticker-sep {
  color: rgba(255, 255, 255, .25);
  flex-shrink: 0;
}

.topbar-mid a {
  color: #c9ced8;
  white-space: nowrap;
}

.topbar-mid a:hover {
  color: #fff;
}

@keyframes tb-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-ticker-track {
    animation: none;
  }
}

.social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  transition: background .2s;
}

.social a:hover {
  background: var(--red);
}

.s-fb:hover {
  background: #1877f2
}

.s-tw:hover {
  background: #1da1f2
}

.s-yt:hover {
  background: #ff0000
}

.s-ig:hover {
  background: #e1306c
}

.s-wa:hover {
  background: #25d366
}

/* ---------- MASTHEAD (logo + pub) ---------- */
.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px;
  min-height: 120px;
}

.brand {
  text-align: right;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: auto;
  height: 32px;
}

.brand-name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 40px;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -.5px;
}

.brand-name-alt {
  color: var(--red);
}

.brand-tag {
  align-self: flex-end;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Barre de recherche centrale du masthead ---- */
.masthead-search {
  flex: 1 1 auto;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 40px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.masthead-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(15, 46, 101, .14);
}

.masthead-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 11px 18px;
  font-size: 15px;
  color: var(--ink);
  font-family: var(--f-body);
}

.masthead-search__input::placeholder {
  color: #9aa0aa;
}

.masthead-search__btn {
  flex: none;
  border: none;
  cursor: pointer;
  width: 48px;
  align-self: stretch;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background .18s ease;
}

.masthead-search__btn:hover {
  background: var(--red-dk);
}

/* ---- On-air déplacé à droite du masthead (fond clair → texte foncé) ---- */
.masthead-onair {
  flex: none;
  max-width: 320px;
  width: 100%;
}

.onair__type {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .3px;
  color: var(--blue);
  white-space: nowrap;
  min-height: 18px;
  line-height: 18px;
}

/* ---- Liens « À propos / Contact » (ancienne place de l'on-air) ---- */
.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.topbar-links a {
  color: #c9ced8;
  font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
}

.topbar-links a:hover {
  color: #fff;
}

/* ---- Effet machine à écrire (curseur clignotant) ---- */
.type-loop {
  display: inline-block;
  vertical-align: bottom;
  border-right: 2px solid currentColor;
  animation: type-caret 1s step-end infinite;
}

@keyframes type-caret {

  0%,
  100% {
    border-color: currentColor;
  }

  50% {
    border-color: transparent;
  }
}

.type-static {
  border-right: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .type-loop {
    animation: none;
    border-right: none;
  }
}

@media (max-width: 980px) {
  .masthead-onair {
    display: none;
  }

  .masthead-search {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .masthead-inner {
    flex-wrap: wrap;
    min-height: 0;
    padding: 12px 10px;
  }

  .brand {
    order: 1;
  }

  .masthead-search {
    order: 3;
    flex-basis: 100%;
    margin: 6px 0 0;
  }
}

.leaderboard {
  text-align: center;
}

.ad-note {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: #b7bcc4;
  margin-bottom: 4px;
}

.ad-slot {
  width: 728px;
  max-width: 100%;
  height: 90px;
  background: repeating-linear-gradient(45deg, #eef0f3, #eef0f3 10px, #e6e8ec 10px, #e6e8ec 20px);
  color: #9aa0aa;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 1px;
}

/* ---------- MAIN NAV ---------- */
.mainnav {
  background: var(--blue);
  margin-bottom: 1px;
}

.mainnav.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  animation: dropdown .3s ease;
}

@keyframes dropdown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.mainnav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
}

.nav-menu>li>a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .4px;
  position: relative;
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
  background: rgba(0, 0, 0, .18);
}

/* onglet coloré (comme les catégories du thème) */
.cat>a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
}

.cat-red>a::before {
  background: var(--red);
}

.cat-blue>a::before {
  background: #3b82f6;
}

.cat-green>a::before {
  background: var(--green);
}

.cat-orange>a::before {
  background: var(--orange);
}

.cat-purple>a::before {
  background: var(--purple);
}

.cat-teal>a::before {
  background: var(--teal);
}

.cat-pink>a::before {
  background: var(--pink);
}

.nav-search {
  border: none;
  background: var(--red);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  font-size: 20px;
  cursor: pointer;
}

.nav-search:hover {
  background: var(--red-dk);
}

/* ---------- FLAGS (catégories) ---------- */
.flag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 9px;
  line-height: 1.2;
}

.flag-xs {
  font-size: 10px;
  padding: 3px 6px;
}

.flag-abs {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.flag-red {
  background: var(--red)
}

.flag-blue {
  background: #2f6fd6
}

.flag-green {
  background: var(--green)
}

.flag-orange {
  background: var(--orange)
}

.flag-purple {
  background: var(--purple)
}

.flag-teal {
  background: var(--teal)
}

.flag-pink {
  background: var(--pink)
}

/* ---------- LEAD / SLIDER ---------- */
.lead {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 8px;
}

.lead-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
}

.post-hero {
  grid-row: 1 / span 2;
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.post-overlay {
  position: relative;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.post-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .85) 100%);
}

.post-hero-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  z-index: 2;
}

.post-hero-body h2 {
  font-family: var(--f-head);
  color: #fff;
  margin: 10px 0 6px;
  font-size: 30px;
  line-height: 1.12;
}

.post-hero-body h3 {
  font-family: var(--f-head);
  color: #fff;
  margin: 8px 0 0;
  font-size: 19px;
  line-height: 1.15;
}

.post-hero-excerpt {
  color: #e8e8e8;
  font-size: 14px;
  margin: 0 0 8px;
  max-width: 90%;
}

.lead-secondary {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

/* mini-list (à ne pas manquer) */
.lead-list {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
}

.mini-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mini-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mini-list li:first-child {
  padding-top: 4px;
}

.mini-thumb {
  width: 84px;
  height: 64px;
  flex: none;
  background-size: cover;
  background-position: center;
}

.mini-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.mini-title:hover {
  color: var(--red);
}

.mini-meta {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- LAYOUT CONTENT + SIDEBAR ---------- */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding-top: 20px;
  padding-bottom: 40px;
}

/* block heads */
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 18px;
}

.block-title {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: .5px;
  padding: 7px 14px;
}

.block-head-sm .block-title {
  font-size: 14px;
  padding: 6px 12px;
}

.block-green {
  background: var(--green);
}

.block-head:has(.block-green) {
  border-color: var(--green);
}

.block-orange {
  background: var(--orange);
}

.block-head:has(.block-orange) {
  border-color: var(--orange);
}

.block-purple {
  background: var(--purple);
}

.block-head:has(.block-purple) {
  border-color: var(--purple);
}

.block-teal {
  background: var(--teal);
}

.block-head:has(.block-teal) {
  border-color: var(--teal);
}

.block-pink {
  background: var(--pink);
}

.block-head:has(.block-pink) {
  border-color: var(--pink);
}

.block-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
}

.block-more:hover {
  color: var(--red-dk);
}

.module {
  margin-bottom: 34px;
}

/* split : gros article + colonne de lignes */
.module-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}

.module-split.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.module-split.reverse .post-feature {
  order: 2;
}

.post-img {
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/9;
}

.post-img.sm {
  width: 110px;
  aspect-ratio: 4/3;
  flex: none;
}

.post-feature .post-h {
  font-size: 23px;
}

.post-h {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 10px 0 6px;
  font-size: 18px;
}

.post-h a:hover {
  color: var(--red);
}

.post-h.sm {
  font-size: 16px;
  margin: 0 0 4px;
}

.post-ex {
  color: #4b5563;
  font-size: 14px;
  margin: 0 0 8px;
}

.post-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-row {
  display: flex;
  gap: 12px;
}

.post-row:not(:last-child) {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

/* meta */
.meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-author {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.meta-author:hover {
  color: var(--red-dk);
}

.meta-light {
  color: #d8d8d8;
}

.meta-light .meta-author {
  color: #ffb3bd;
}

.meta-dot {
  opacity: .6;
}

/* grille 3 colonnes */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  background: transparent;
}

.post-card .post-h {
  font-size: 17px;
}

/* ---------- SIDEBAR ---------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.widget {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sg {
  color: #fff;
  padding: 12px;
  text-align: center;
  border-radius: 3px;
}

.sg b {
  display: block;
  font-size: 18px;
  font-family: var(--f-head);
}

.sg span {
  font-size: 11px;
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sg-fb {
  background: #1877f2
}

.sg-tw {
  background: #1da1f2
}

.sg-yt {
  background: #ff0000
}

.sg-ig {
  background: #e1306c
}

.rank-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--red);
  line-height: 1;
  min-width: 20px;
}

.rank-list a {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.rank-list a:hover {
  color: var(--red);
}

.widget-ad {
  text-align: center;
}

.ad-box {
  width: 300px;
  max-width: 100%;
  height: 250px;
  margin: 0 auto;
}

.widget-news p {
  color: #4b5563;
  font-size: 14px;
  margin: 0 0 12px;
}

.widget-news form {
  display: grid;
  gap: 10px;
}

.widget-news input {
  padding: 12px;
  border: 1px solid var(--line);
  background: #fafafa;
  font: inherit;
}

.widget-news button {
  padding: 12px;
  border: none;
  background: var(--red);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
}

.widget-news button:hover {
  background: var(--red-dk);
}

/* ---------- VIDEOS ---------- */
.videos {
  background: #16191f;
  color: #fff;
  padding: 40px 0;
}

.block-head-inv {
  border-color: rgba(255, 255, 255, .25);
}

.videos .block-more {
  color: #ff9aa6;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.video-main {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.video-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .7));
}

.play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(214, 51, 108, .92);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  z-index: 2;
  padding-left: 4px;
}

.play.sm {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.video-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  z-index: 3;
}

.video-cap h3 {
  font-family: var(--f-head);
  font-size: 22px;
  margin: 8px 0 0;
}

.video-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vthumb {
  width: 120px;
  height: 74px;
  flex: none;
  background-size: cover;
  background-position: center;
  position: relative;
  display: grid;
  place-items: center;
}

.vthumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .25);
}

.video-item h4 {
  font-family: var(--f-head);
  font-size: 15px;
  margin: 0;
  line-height: 1.2;
  color: #e9e9e9;
}

.video-item:hover h4 {
  color: var(--pink);
}

/* ---------- INSTAGRAM ---------- */
.insta {
  background: var(--surface);
  padding-top: 26px;
}

.insta-head {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.insta-head b {
  color: var(--ink);
}

.insta-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.insta-strip a {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.insta-strip a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 46, 101, 0);
  transition: background .2s;
}

.insta-strip a:hover::after {
  background: rgba(15, 46, 101, .45);
}

/* ---------- PAGE ACTUALITÉS ---------- */
.actualites-intro {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 24px 20px;
  margin-bottom: 24px;
}

.actualites-intro h1 {
  margin: 8px 0 8px;
  font-family: var(--f-head);
  font-size: 34px;
  line-height: 1.1;
  color: var(--blue);
}

.actualites-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.actualites-section {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 24px;
}

.actualites-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 18px;
  padding-bottom: 10px;
}

.actualites-section-head .block-title {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: .5px;
  padding: 7px 14px;
}

.actualites-section-head .block-title.block-green {
  background: var(--green);
  border-color: var(--green);
}

.actualites-section-head .block-title.block-orange {
  background: var(--orange);
  border-color: var(--orange);
}

.actualites-section-head .block-title.block-blue {
  background: #2f6fd6;
  border-color: #2f6fd6;
}

.actualites-section-head .block-title.block-teal {
  background: var(--teal);
  border-color: var(--teal);
}

.actualites-section-head .block-title.block-purple {
  background: var(--purple);
  border-color: var(--purple);
}

.actualites-section-head .block-title.block-pink {
  background: var(--pink);
  border-color: var(--pink);
}

.actualites-section-head .block-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.actualites-grid .post-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.actualites-grid .post-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.actualites-grid .post-img {
  margin-bottom: 10px;
}

.actualites-grid .post-h {
  font-size: 17px;
  margin-top: 0;
}

.actualites-grid .post-ex {
  margin-bottom: 10px;
}

/* ---------- RECHERCHE ---------- */
.search-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
  margin-bottom: 24px;
}

.search-hero h1 {
  margin: 8px 0 8px;
  font-family: var(--f-head);
  font-size: 34px;
  line-height: 1.1;
  color: var(--blue);
}

.search-hero p {
  margin: 0 0 16px;
  color: var(--muted);
}

.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-form input {
  flex: 1 1 280px;
  min-width: 220px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  font: inherit;
}

.search-form button {
  border: none;
  background: var(--red);
  color: #fff;
  padding: 13px 18px;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
}

.search-form button:hover {
  background: var(--red-dk);
}

.search-status {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 500;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.search-results-grid .post-card {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.search-results-grid .post-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #12151b;
  color: #aab2c0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-top: 46px;
  padding-bottom: 34px;
}

.brand-foot {
  margin-bottom: 14px;
}

.brand-foot .brand-logo {
  height: 42px;
}

.brand-foot .brand-name {
  font-size: 30px;
}

.foot-about p {
  font-size: 14px;
  line-height: 1.6;
}

.social-foot {
  margin-top: 14px;
}

.foot-h {
  font-family: var(--f-head);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.foot-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.foot-thumb {
  width: 74px;
  height: 56px;
  flex: none;
  background-size: cover;
  background-position: center;
}

.foot-title {
  font-family: var(--f-head);
  font-weight: 700;
  color: #e6e9ee;
  font-size: 14px;
  line-height: 1.25;
  display: block;
}

.foot-title:hover {
  color: var(--red);
}

.foot-date {
  font-size: 11px;
  color: #7c8598;
}

.foot-cats li {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.foot-cats a {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 14px;
}

.foot-cats a:hover {
  color: #fff;
}

.foot-cats span {
  color: #7c8598;
}

.footer-bottom {
  background: #0c0e13;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
  color: #8a92a2;
}

.foot-nav {
  display: flex;
  gap: 18px;
}

.foot-nav a:hover {
  color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .lead {
    grid-template-columns: 1fr;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .leaderboard,
  .promo-lead {
    display: none;
  }

  .masthead-inner {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .topbar-mid {
    display: none;
  }

  .lead-main {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .post-hero {
    grid-row: auto;
    min-height: 320px;
  }

  .lead-secondary {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .module-split,
  .module-split.reverse {
    grid-template-columns: 1fr;
  }

  .module-split.reverse .post-feature {
    order: 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .insta-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu>li>a {
    height: 42px;
    padding: 0 11px;
    font-size: 13px;
  }
}

@media (max-width: 460px) {
  .lead-secondary {
    grid-template-columns: 1fr;
  }

  .brand-name {
    font-size: 32px;
  }
}

/* =========================================================
   AJOUTS : couleur bloc bleu, lien couvrant, skeletons
   ========================================================= */
.block-blue {
  background: #2f6fd6;
}

.block-head:has(.block-blue) {
  border-color: #2f6fd6;
}

/* lien qui couvre toute la carte overlay/hero */
.post-hero,
.post-overlay,
.video-main {
  position: relative;
}

.stretch {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.post-hero-body {
  z-index: 4;
}

.post-hero-body a {
  position: relative;
  z-index: 5;
}

.skeleton {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--f-head);
  font-size: 15px;
  letter-spacing: .5px;
}

.skeleton-lead {
  grid-column: 1 / -1;
}

.load-error {
  padding: 30px;
  color: var(--red);
  font-weight: 700;
}

/* =========================================================
   PROMILLYS — encarts publicitaires
   ========================================================= */
:root {
  --pro-blue: #1d4e9b;
  /* bleu Promillys */
  --pro-orange: #f26522;
  /* orange Promillys */
}

.promo {
  text-decoration: none;
  display: block;
}

.promo-logo {
  height: 46px;
  width: auto;
}

.promo-headline {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--pro-blue);
  letter-spacing: .2px;
}

.promo-sub {
  display: block;
  color: #55606c;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pro-orange);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 11px 20px;
  border-radius: 5px;
  box-shadow: 0 6px 16px rgba(242, 101, 34, .35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.promo:hover .promo-cta {
  background: #d8551a;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(242, 101, 34, .45);
}

/* ---- Bandeau leaderboard (masthead) ---- */
.promo-lead {
  width: auto;
  max-width: 100%;
  display: none;
}

.promo-lead .ad-note {
  color: #b7bcc4;
  text-align: right;
}

.promo-lead-inner {
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 22px 0 26px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(242, 101, 34, .10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid #e3e9f3;
  box-shadow: 0 8px 24px rgba(29, 78, 155, .10);
}

.promo-lead-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--pro-blue), var(--pro-orange));
}

.promo-lead .promo-logo {
  flex: none;
}

.promo-lead-text {
  flex: 1;
  min-width: 0;
}

.promo-lead .promo-headline {
  font-size: 20px;
}

.promo-lead .promo-sub {
  font-size: 13px;
  margin-top: 2px;
}

.promo-lead .promo-cta {
  font-size: 13px;
}

/* ---- Encart sidebar ---- */
.promo-box {
  border: 1px solid #e3e9f3 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.promo-box .ad-note {
  padding: 12px 16px 0;
  color: #aab2c0;
}

.promo-box-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  margin-top: 6px;
  background: linear-gradient(180deg, #f4f7fc, #ffffff);
  border-bottom: 1px solid #eef1f6;
}

.promo-box .promo-logo {
  height: 54px;
}

.promo-box-body {
  padding: 18px 20px 22px;
  text-align: center;
}

.promo-box .promo-headline {
  font-size: 21px;
  margin-bottom: 14px;
}

.promo-points {
  text-align: left;
  display: inline-block;
  margin: 0 auto 18px;
  padding: 0;
}

.promo-points li {
  font-size: 14px;
  color: #33404d;
  margin-bottom: 9px;
  padding-left: 26px;
  position: relative;
}

.promo-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pro-orange);
  font-weight: 700;
}

.promo-box .promo-cta {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 13px;
}

/* =========================================================
   PAGE CATÉGORIE
   ========================================================= */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--red);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--red-dk);
}

#cat-grid {
  align-items: start;
}

.load-more-wrap {
  text-align: center;
  margin-top: 30px;
}

.load-more {
  border: none;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 4px;
}

.load-more:hover {
  background: var(--blue-dk);
}

/* =========================================================
   PAGE ARTICLE
   ========================================================= */
.article-full .flag {
  margin-bottom: 12px;
}

.article-title {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.1;
  font-size: 36px;
  margin: 0 0 12px;
}

.article-meta {
  margin-bottom: 18px;
}

.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: #26303a;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body h2,
.article-body h3 {
  font-family: var(--f-head);
  line-height: 1.2;
  margin: 30px 0 12px;
}

.article-body h2 {
  font-size: 25px;
}

.article-body h3 {
  font-size: 21px;
}

.article-body img {
  margin: 20px 0;
  height: auto;
}

.article-body a {
  color: var(--red);
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
  list-style: revert;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 8px 20px;
  border-left: 4px solid var(--red);
  color: #4b5563;
  font-style: italic;
}

.back-link {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 14px;
}

.related {
  margin-top: 40px;
}

@media (max-width: 720px) {
  .article-title {
    font-size: 27px;
  }

  .article-body {
    font-size: 16px;
  }
}

/* Masque le bandeau pub sous 1000px (placé après .promo pour l'emporter) */
@media (max-width: 1000px) {
  .promo-lead {
    display: none;
  }

  .masthead-inner {
    min-height: 96px;
    padding: 24px 16px;
  }
}

/* =========================================================
   MOTIF « ÉGALISEUR / ON-AIR » (identité voix-radio ActuVox)
   Barres VU-mètre faites de petits carrés (segments), animées.
   Réutilisé : header (on-air), bandes d'en-tête, bloc à la une.
   ========================================================= */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  line-height: 0;
}

.eq span {
  width: 3px;
  height: 100%;
  border-radius: 1px;
  color: var(--red);
  background: repeating-linear-gradient(to top, currentColor 0 3px, transparent 3px 5px);
  transform: scaleY(.35);
  transform-origin: bottom;
  animation: av-eq .8s ease-in-out infinite alternate;
}

@keyframes av-eq {
  from {
    transform: scaleY(.22);
  }

  to {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eq span {
    animation: none;
    transform: scaleY(.6);
  }
}

/* ---- Widget ON-AIR dans la topbar (remplace les réseaux sociaux) ---- */
.onair {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.onair__eq {
  height: 18px;
}

.onair__slogan {
  position: relative;
  height: 22px;
  width: 240px;
  overflow: hidden;
}

.onair__slogan span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
  color: #fff;
  white-space: nowrap;
  animation: onair-slide 9s ease-in-out infinite;
}

.onair__slogan span:nth-child(2) {
  animation-delay: 4.5s;
}

@keyframes onair-slide {
  0% {
    transform: translateY(-190%);
    opacity: 0;
  }

  6% {
    transform: translateY(-50%);
    opacity: 1;
  }

  44% {
    transform: translateY(-50%);
    opacity: 1;
  }

  50% {
    transform: translateY(130%);
    opacity: 0;
  }

  100% {
    transform: translateY(130%);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .onair__slogan {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .onair__slogan span {
    animation: none;
  }

  .onair__slogan span:nth-child(2) {
    display: none;
  }
}

/* ---- Bande d'en-tête « spectre radio » (actualités / rubrique / article) ---- */
.av-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-dk) 0%, var(--blue) 55%, #141a2e 100%);
  border-bottom: 4px solid var(--red);
  color: #fff;
}

.av-hero__eq {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 8px;
  opacity: .22;
  z-index: 0;
  pointer-events: none;
}

.av-hero__eq span {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  border-radius: 2px 2px 0 0;
  background: repeating-linear-gradient(to top, currentColor 0 6px, transparent 6px 10px);
  transform: scaleY(.4);
  transform-origin: bottom;
  animation: av-eq 1s ease-in-out infinite alternate;
}

.av-hero__inner {
  position: relative;
  z-index: 1;
  padding: 40px 16px 46px;
}

.av-hero__kicker {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffd9a8;
}

.av-hero__head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.av-hero__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.av-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 13px;
  border-radius: 30px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, .7);
  animation: av-pulse 1.6s ease-out infinite;
}

@keyframes av-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, .6);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(200, 16, 46, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
  }
}

.av-hero__sub {
  max-width: 620px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
}

@media (max-width: 720px) {
  .av-hero__title {
    font-size: 27px;
  }

  .av-hero__inner {
    padding: 28px 16px 34px;
  }
}

/* ---- Bloc « À LA UNE » de la home (article vedette + spectre) ---- */
.av-feat {
  position: relative;
  overflow: hidden;
  padding: 26px 0 6px;
}

.av-feat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.av-feat__eq {
  height: 22px;
}

.av-feat__label {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}

.av-feat__rule {
  flex: 1;
  height: 3px;
  background: linear-gradient(to right, var(--red), rgba(200, 16, 46, 0));
}

.av-feat__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.av-feat__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.av-feat__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.av-feat__title a:hover {
  color: var(--red);
}

.av-feat__ex {
  font-size: 16px;
  line-height: 1.65;
  color: #48505b;
  max-width: 520px;
  margin: 0;
}

.av-feat__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 14px;
  color: #fff;
  background: var(--red);
  padding: 12px 24px;
  transition: background .2s, transform .2s;
}

.av-feat__cta:hover {
  background: var(--red-dk);
  transform: translateY(-2px);
}

.av-feat__media {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 320px;
}

.av-feat__img {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 34px rgba(15, 46, 101, .22);
}

.av-feat__accent {
  position: absolute;
  left: -16px;
  bottom: -16px;
  width: 120px;
  height: 120px;
  background: var(--blue);
  z-index: 1;
}

.av-feat__eqcorner {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  height: 36px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .45));
}

@media (max-width: 860px) {
  .av-feat__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .av-feat__media {
    order: -1;
    min-height: 220px;
  }

  .av-feat__title {
    font-size: 26px;
  }
}

/* ========================================================
   BANNIÈRE HERO « Donnez de la voix à l'info »
   ======================================================== */
.av-banner {
  position: relative;
  background: #0f2e65;
  /* profondeur : halo lumineux vers le sujet (haut-droite) + dégradé vertical riche */
  /*background-image:
    radial-gradient(120% 130% at 82% 8%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(90% 120% at 78% 100%, #1f92e0 0%, rgba(31,146,224,0) 55%),
    linear-gradient(180deg, #55c0fa 0%, #38b0f5 52%, #2497e0 100%);
    */
  /* overflow-y visible : le lecteur déborde au-dessus de la navbar ;
     overflow-x: clip : le débordement latéral (lecteur/micro) est rogné → pas de scroll horizontal. */
  overflow-x: clip;
}

/* vignette douce sur les bords pour concentrer le regard */
.av-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 -60px 80px -40px rgba(6, 44, 84, .5),
    inset 0 40px 60px -50px rgba(6, 44, 84, .35);
}

.av-banner__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 24px;
  min-height: 0px;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ---- Égaliseur de fond (rangée de petits carrés, très discrète) ---- */
.av-banner__eqbg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 70%);
  mask-image: linear-gradient(to top, #000, transparent 70%);
  max-width: 850px;
  width: 100%;
}

.av-banner__eqbg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 62%;
  gap: 0;
  opacity: .08;
}

.av-banner__eqbg span {
  flex: 1;
  width: auto;
  border-radius: 0;
  opacity: 1;
  animation-duration: 1s;
  /* surchargé inline */
}

/* ---- Carrés / losanges flottants (remplacent l'image PNG) ---- */
.av-banner__squares {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.av-banner__sq {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, .9);
  opacity: 0;
  transform: translate(0, 0) rotate(var(--r));
  animation-name: av-sq-rise;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

.av-banner__sq.is-line {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .9);
}

/* montée oblique : bas-droite -> haut-gauche, avec apparition/disparition */
@keyframes av-sq-rise {
  0% {
    opacity: 0;
    transform: translate(48px, 52px) rotate(var(--r)) scale(.75);
  }

  18% {
    opacity: var(--o, .18);
  }

  75% {
    opacity: var(--o, .18);
  }

  100% {
    opacity: 0;
    transform: translate(-70px, -76px) rotate(var(--r)) scale(1.08);
  }
}

/* ---- Tuiles-images qui montent en oblique (remplacent le sujet) ---- */
.av-banner__tiles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.av-banner__tile {
  position: absolute;
  display: block;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, .15);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(6, 44, 84, .35);
  outline: 3px solid rgba(255, 255, 255, .55);
  outline-offset: -3px;
  opacity: 0;
  transform: translate(0, 0) rotate(var(--r, 0deg));
  animation-name: av-sq-rise;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

/* ---- Colonne texte ---- */
.av-banner__text {
  padding: 0px 0 0px;
  max-width: 650px;
}

.av-banner__brand {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.av-banner__brandname {
  font-family: var(--f-head);
  font-weight: 700;
  color: #fff;
  font-size: 30px;
  letter-spacing: .5px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(11, 64, 120, .3);
}

.av-banner__eq {
  height: 30px;
  gap: 3px;
}

.av-banner__eq span {
  width: 5px;
}

.av-banner__eq--tall {
  height: 56px;
  display: none;
}

/* badge « En direct » */
/* tagline « machine à écrire » (remplace l'ancien badge En direct) */
.av-banner__tagline {
  align-self: center;
  display: none;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  color: #eaf6ff;
  min-height: 20px;
  line-height: 20px;
  text-shadow: 0 1px 6px rgba(6, 44, 84, .3);
}

.av-banner__title {
  font-family: var(--f-head);
  font-weight: 700;
  color: #fff;
  line-height: 1.02;
  margin: 0 0 14px;
  font-size: clamp(34px, 5.2vw, 62px);
  text-shadow: 0 3px 18px rgba(6, 44, 84, .32);
}

/* mot mis en avant */
.av-banner__hl {
  position: relative;
  color: rgba(200, 16, 46, .92);
  white-space: nowrap;
}

.av-banner__hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .04em;
  height: .14em;
  background: rgba(200, 16, 46, .92);
  border-radius: 3px;
  opacity: .55;
  transform: scaleX(0);
  transform-origin: left;
  animation: av-underline .7s .9s ease forwards;
}

@keyframes av-underline {
  to {
    transform: scaleX(1);
  }
}

.av-banner__sub {
  color: #eefaff;
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 26px;
  max-width: 470px;
  text-shadow: 0 1px 8px rgba(6, 44, 84, .25);
}

.av-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.av-banner__cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #b91232;
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 40px;
  box-shadow: 0 10px 24px rgba(6, 44, 84, .32);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.av-banner__cta:hover {
  background: #b91232;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 44, 84, .4);
}

.av-banner__cta-arrow {
  transition: transform .18s ease;
}

.av-banner__cta:hover .av-banner__cta-arrow {
  transform: translateX(4px);
}

/* reflet qui balaie le bouton (transform uniquement → pas de recalcul de layout) */
.av-banner__cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(-160%) skewX(-18deg);
  will-change: transform;
  animation: av-shine 3.6s ease-in-out 1.4s infinite;
}

@keyframes av-shine {

  0%,
  22% {
    transform: translateX(-160%) skewX(-18deg);
  }

  45%,
  100% {
    transform: translateX(320%) skewX(-18deg);
  }
}

/* lien secondaire fantôme */
.av-banner__cta2 {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 15px;
  color: #fff;
  padding: 13px 22px;
  border-radius: 40px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  transition: background .18s ease, border-color .18s ease;
}

.av-banner__cta2:hover {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
}

/* bandeau de statistiques */
.av-banner__stats {
  display: flex;
  gap: 28px;
  margin: 26px 0 0;
}

.av-banner__stats li {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.av-banner__stats b {
  font-family: var(--f-head);
  font-size: 26px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(6, 44, 84, .3);
}

.av-banner__stats span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #d8f1ff;
}

/* ---- Colonne visuels ---- */
.av-banner__stage {
  position: relative;
  align-self: end;
  height: 0px;
  min-width: 0;
}

/* halo lumineux derrière le sujet (profondeur + séparation du fond) */
.av-banner__glow {
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: 6%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  animation: av-glow 6s ease-in-out infinite;
}

@keyframes av-glow {

  0%,
  100% {
    opacity: .75;
  }

  50% {
    opacity: 1;
  }
}

/* ondes sonores émises par le micro couché */
.av-banner__rings {
  position: absolute;
  left: 3%;
  bottom: 30px;
  z-index: 1;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.av-banner__rings::before,
.av-banner__rings::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  opacity: 0;
  animation: av-ring 2.6s ease-out infinite;
}

.av-banner__rings::after {
  animation-delay: 2s;
}

@keyframes av-ring {
  0% {
    transform: scale(.3);
    opacity: .7;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* ligne de sol sur laquelle repose le micro */
.av-banner__ground {
  position: absolute;
  left: -30%;
  right: -6%;
  bottom: 30px;
  height: 2px;
  z-index: 1;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, .55) 30%, rgba(255, 255, 255, .55) 80%, transparent);
}

/* ombre de contact du micro couché */
.av-banner__ground::after {
  content: "";
  position: absolute;
  left: 8%;
  bottom: -12px;
  width: 240px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(11, 64, 120, .32), transparent 70%);
}

/* Lecteur : grand, déborde vers le haut par-dessus la navbar */
.av-banner__reader {
  position: absolute;
  right: -4%;
  bottom: 0;
  z-index: 3;
  height: 560px;
  width: auto;
  max-width: none;
  pointer-events: none;
  filter: drop-shadow(-12px 14px 30px rgba(11, 64, 120, .4));
  animation: av-reader-in 1s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes av-reader-in {
  from {
    opacity: 0;
    transform: translate(46px, 26px);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Micro couché, posé au sol, avec un léger balancement (effet « tombé ») */
.av-banner__mic {
  position: absolute;
  left: -6%;
  bottom: 8px;
  z-index: 2;
  height: 210px;
  width: auto;
  max-width: none;
  transform-origin: 12% 88%;
  transform: rotate(-108deg);
  pointer-events: none;
  filter: drop-shadow(4px 10px 16px rgba(11, 64, 120, .4));
  opacity: 0;
  animation: av-mic-fade .6s .5s ease both, av-mic-settle 5s 1.1s ease-in-out infinite;
}

@keyframes av-mic-fade {
  to {
    opacity: 1;
  }
}

@keyframes av-mic-settle {

  0%,
  100% {
    transform: rotate(-108deg);
  }

  50% {
    transform: rotate(-104deg);
  }
}

/* ---- Entrée échelonnée du texte ---- */
.av-banner__brand,
.av-banner__title,
.av-banner__sub,
.av-banner__actions,
.av-banner__stats {
  animation: av-rise-in .7s ease both;
}

.av-banner__brand {
  animation-delay: .2s;
}

.av-banner__title {
  animation-delay: .15s;
}

.av-banner__sub {
  animation-delay: .28s;
}

.av-banner__actions {
  animation-delay: .40s;
}

.av-banner__stats {
  animation-delay: .52s;
}

@keyframes av-rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .av-banner__inner {
    grid-template-columns: 1.1fr .9fr;
    min-height: 340px;
  }

  .av-banner__stage {
    height: 340px;
  }

  .av-banner__reader {
    height: 470px;
  }

  .av-banner__mic {
    height: 175px;
    left: -10%;
  }
}

@media (max-width: 720px) {
  .av-banner {
    overflow: hidden;
  }

  .av-banner__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .av-banner__text {
    padding: 34px 0 16px;
  }

  .av-banner__stats {
    gap: 20px;
  }

  .av-banner__stats b {
    font-size: 22px;
  }

  .av-banner__stage {
    height: 300px;
  }

  .av-banner__reader {
    right: 50%;
    transform: translateX(42%);
    height: 340px;
    animation: none;
  }

  .av-banner__glow {
    right: 50%;
    transform: translateX(50%);
    width: 340px;
    height: 340px;
  }

  .av-banner__mic {
    left: 2%;
    height: 130px;
    bottom: 4px;
  }

  .av-banner__ground {
    bottom: 22px;
  }
}

@media (max-width: 430px) {
  .av-banner__brandname {
    font-size: 24px;
  }

  .av-banner__stats b {
    font-size: 20px;
  }

  .av-banner__stats span {
    font-size: 11px;
  }

  .av-banner__stage {
    height: 240px;
  }

  .av-banner__reader {
    height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .av-banner__sq,
  .av-banner__tile,
  .av-banner__glow,
  .av-banner__rings::before,
  .av-banner__rings::after,
  .av-banner__cta::before {
    animation: none;
  }

  .av-banner__sq,
  .av-banner__tile {
    opacity: var(--o, .16);
  }

  .av-banner__mic {
    animation: none;
    opacity: 1;
  }

  .av-banner__reader {
    animation: none;
  }

  .av-banner__brand,
  .av-banner__title,
  .av-banner__sub,
  .av-banner__actions,
  .av-banner__stats {
    animation: none;
  }

  .av-banner__hl::after {
    animation: none;
    transform: scaleX(1);
  }

  .av-banner__cta {
    transition: none;
  }
}


/* =========================================================
   LOADER DE PAGE (voile de chargement)
   ========================================================= */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.page-loader__logo {
  width: min(200px, 50vw);
  height: auto;
  animation: av-logo-burst 1.6s ease-in-out infinite;
}

@keyframes av-logo-burst {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.96);
    filter: drop-shadow(0 0 10px rgba(200, 16, 46, 0.3));
  }
}

/* EQ animation for loader */
.page-loader__eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.page-loader__eq span {
  width: 4px;
  height: 100%;
  border-radius: 1px;
  background: var(--red);
  transform-origin: bottom;
  animation: av-loader-eq 0.8s ease-in-out infinite alternate;
}

.page-loader__eq span:nth-child(2) {
  animation-delay: -0.2s;
  background: var(--orange);
}

.page-loader__eq span:nth-child(3) {
  animation-delay: -0.4s;
  background: var(--green);
}

.page-loader__eq span:nth-child(4) {
  animation-delay: -0.6s;
  background: var(--blue);
}

.page-loader__eq span:nth-child(5) {
  animation-delay: -0.8s;
  background: var(--red);
}

@keyframes av-loader-eq {
  from {
    transform: scaleY(0.2);
  }

  to {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .page-loader__logo,
  .page-loader__eq span {
    animation: none;
    transform: scaleY(0.6);
  }
}