/* ============================================================
   ExpoBéton RDC — 13e édition
   Couche « HOME » : refonte illustrative de la page d'accueil
   ------------------------------------------------------------
   Chargée APRÈS expobeton-theme.css. Complète le socle Structo
   (AOS, Swiper, odomètres, imageParallax, marquee) sans le
   remplacer. Charte STRICTE respectée :
     Rouge #c22439 · Bleu #112bb5 · Jaune #fdbd1b
     Fonds blanc / #f8f9fa · Texte #333 · Archivo · angles droits.
   Tout est en amélioration progressive : sans JS, le contenu
   reste visible et les liens vidéo ouvrent YouTube.
   ============================================================ */

:root {
  --eb-rouge: #c22439;
  --eb-bleu: #112bb5;
  --eb-bleu-profond: #0d2090;
  --eb-jaune: #fdbd1b;
  --eb-fond: #f8f9fa;
  --eb-ink: #333;
  --eb-ease: cubic-bezier(.2, .8, .2, 1);
  --eb-shadow: 0 18px 44px rgba(17, 43, 181, .12);
  --eb-shadow-hover: 0 26px 60px rgba(17, 43, 181, .20);
}

/* ------------------------------------------------------------
   1. BARRE DE PROGRESSION DE LECTURE (scroll progress)
   ------------------------------------------------------------ */
.eb-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--eb-bleu) 0%, var(--eb-rouge) 55%, var(--eb-jaune) 100%);
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

/* ------------------------------------------------------------
   2. HERO : indice de défilement + pulsation du compte à rebours
   ------------------------------------------------------------ */
.eb-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--eb-bleu);
  opacity: 0;
  animation: ebCueIn .8s 1.9s var(--eb-ease) forwards;
}
.eb-scroll-cue-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .82);
  padding: 4px 10px;
  backdrop-filter: blur(4px);
}
.eb-scroll-cue-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--eb-bleu);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  background: rgba(255, 255, 255, .55);
}
.eb-scroll-cue-wheel {
  width: 4px;
  height: 9px;
  background: var(--eb-rouge);
  border-radius: 2px;
  animation: ebCueWheel 1.6s ease-in-out infinite;
}
.eb-scroll-cue:hover { color: var(--eb-rouge); }
.eb-scroll-cue:hover .eb-scroll-cue-mouse { border-color: var(--eb-rouge); }
@keyframes ebCueIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes ebCueWheel { 0% { opacity: 0; transform: translateY(-4px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Pulsation légère du chiffre des secondes à chaque tick (classe posée par JS). */
.eb-cd-num.eb-tick { animation: ebCdTick .45s var(--eb-ease); }
@keyframes ebCdTick {
  0% { transform: translateY(-6px) scale(1.08); opacity: .55; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
/* Reflet balayant le voile du compte à rebours (subtil, en boucle lente). */
.eb-countdown-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(253, 189, 27, .18) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: ebCdShine 6s 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ebCdShine { 0%, 72% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }

/* ------------------------------------------------------------
   3. BANDEAU « L'ÉDITION EN BREF » (facts ribbon, champ bleu)
   ------------------------------------------------------------ */
.eb-brief {
  position: relative;
  scroll-margin-top: 84px;
  background: linear-gradient(135deg, var(--eb-bleu) 0%, var(--eb-bleu-profond) 100%);
  color: #fff;
  overflow: hidden;
  border-top: 4px solid var(--eb-jaune);
}
.eb-brief::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 24px);
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%);
  pointer-events: none;
}
.eb-brief-glow {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .30;
  pointer-events: none;
}
.eb-brief-glow--red { background: radial-gradient(circle, var(--eb-rouge), transparent 70%); top: -22vmax; right: -10vmax; }
.eb-brief-glow--yellow { background: radial-gradient(circle, var(--eb-jaune), transparent 70%); bottom: -26vmax; left: -12vmax; opacity: .18; }
.eb-brief-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 46px 0;
}
.eb-brief-item {
  position: relative;
  padding: 10px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .4s var(--eb-ease);
}
.eb-brief-item + .eb-brief-item { border-left: 1px solid rgba(255, 255, 255, .16); }
.eb-brief-item:hover { transform: translateY(-5px); }
.eb-brief-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--eb-bleu);
  background: var(--eb-jaune);
  transition: background .35s var(--eb-ease), color .35s var(--eb-ease), transform .35s var(--eb-ease);
}
.eb-brief-item:hover .eb-brief-icon { background: var(--eb-rouge); color: #fff; transform: scale(1.06); }
.eb-brief-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .3px;
  color: #fff;
}
.eb-brief-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.eb-brief-tag {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--eb-jaune);
  opacity: .85;
}

/* ------------------------------------------------------------
   4. SECTION MÉDIATHÈQUE (vidéos YouTube officielles)
   ------------------------------------------------------------ */
.eb-media { background: var(--eb-fond); position: relative; }
.eb-media-head { max-width: 760px; margin: 0 auto; text-align: center; }
.eb-media-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--eb-rouge);
  margin-bottom: 14px;
}
.eb-media-kicker i { color: var(--eb-rouge); }
.eb-media-title { color: var(--eb-bleu); }
.eb-media-sub { color: #555; font-size: 18px; line-height: 1.7; }

/* Vidéo à la une */
.eb-featured {
  position: relative;
  display: block;
  margin: 44px 0 30px;
  text-decoration: none;
  background: #000;
  overflow: hidden;
  box-shadow: var(--eb-shadow);
  transition: box-shadow .45s var(--eb-ease), transform .45s var(--eb-ease);
}
.eb-featured:hover { box-shadow: var(--eb-shadow-hover); transform: translateY(-4px); }
.eb-featured-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.eb-featured-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--eb-ease), filter .5s ease;
  filter: saturate(1.05);
}
.eb-featured:hover .eb-featured-frame img { transform: scale(1.045); }
.eb-featured-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 32, 144, .88) 0%, rgba(13, 32, 144, .25) 42%, rgba(0, 0, 0, .12) 100%);
}
/* Équerres décoratives (reprise du loader) */
.eb-corner { position: absolute; width: 30px; height: 30px; border: 3px solid var(--eb-jaune); z-index: 3; }
.eb-corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.eb-corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-color: var(--eb-rouge); }
.eb-featured-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 30px 34px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.eb-featured-text { max-width: 680px; }
.eb-featured-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--eb-bleu); background: var(--eb-jaune); padding: 5px 12px; margin-bottom: 14px;
}
.eb-featured-title { color: #fff; font-size: 28px; font-weight: 800; line-height: 1.25; margin: 0 0 8px; }
.eb-featured-meta { color: rgba(255, 255, 255, .8); font-size: 14px; margin: 0; }
.eb-play {
  flex: 0 0 auto;
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--eb-rouge), #e0344c);
  color: #fff; font-size: 30px;
  box-shadow: 0 12px 30px rgba(194, 36, 57, .5);
  position: relative;
  transition: transform .4s var(--eb-ease);
}
.eb-play i { margin-left: 5px; }
.eb-play::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(253, 189, 27, .7);
  animation: ebPlayRing 2.4s ease-out infinite;
}
.eb-featured:hover .eb-play { transform: scale(1.1); }
@keyframes ebPlayRing { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* Grille de vidéos */
.eb-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.eb-video-card {
  display: flex; flex-direction: column;
  background: #fff; text-decoration: none;
  border: 1px solid #e6e9f2;
  box-shadow: 0 8px 22px rgba(17, 43, 181, .06);
  transition: transform .4s var(--eb-ease), box-shadow .4s var(--eb-ease), border-color .4s var(--eb-ease);
}
.eb-video-card:hover { transform: translateY(-7px); box-shadow: var(--eb-shadow-hover); border-color: var(--eb-rouge); }
.eb-video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d2090; }
.eb-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--eb-ease); }
.eb-video-card:hover .eb-video-thumb img { transform: scale(1.07); }
.eb-video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 32, 144, .55), transparent 55%);
  opacity: .8; transition: opacity .4s ease;
}
.eb-video-card:hover .eb-video-thumb::after { opacity: .95; }
.eb-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9);
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(194, 36, 57, .92); color: #fff; font-size: 20px;
  z-index: 2; opacity: .92;
  transition: transform .4s var(--eb-ease), background .3s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.eb-video-play i { margin-left: 3px; }
.eb-video-card:hover .eb-video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--eb-rouge); }
.eb-video-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--eb-bleu); background: var(--eb-jaune); padding: 4px 9px;
}
.eb-video-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eb-video-title {
  color: var(--eb-bleu); font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .3s ease;
}
.eb-video-card:hover .eb-video-title { color: var(--eb-rouge); }
.eb-video-meta { margin: 0; font-size: 13px; color: #777; display: flex; align-items: center; gap: 7px; }
.eb-video-meta i { color: var(--eb-rouge); }
.eb-media-foot { text-align: center; margin-top: 40px; }
.eb-channel-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--eb-rouge); color: #fff !important;
  font-weight: 700; font-size: 15px; letter-spacing: .3px;
  padding: 15px 30px; text-decoration: none;
  position: relative; overflow: hidden;
  transition: filter .3s ease, transform .3s var(--eb-ease);
}
.eb-channel-btn:hover { filter: brightness(.88); transform: translateY(-2px); color: #fff !important; }
.eb-channel-btn i { font-size: 20px; }

/* ------------------------------------------------------------
   5. LIGHTBOX VIDÉO (lecteur natif à la demande)
   ------------------------------------------------------------ */
.eb-lightbox {
  position: fixed; inset: 0; z-index: 100000;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(9, 18, 74, .93);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s ease;
}
.eb-lightbox.eb-open { display: flex; opacity: 1; }
.eb-lightbox-dialog {
  position: relative; width: min(1100px, 100%);
  transform: translateY(16px) scale(.98); transition: transform .35s var(--eb-ease);
}
.eb-lightbox.eb-open .eb-lightbox-dialog { transform: none; }
.eb-lightbox-frame { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.eb-lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.eb-lightbox-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.eb-lightbox-loading::after {
  content: ""; width: 54px; height: 54px;
  border: 4px solid rgba(255, 255, 255, .22); border-top-color: var(--eb-jaune);
  border-radius: 50%; animation: ebSpin .9s linear infinite;
}
@keyframes ebSpin { to { transform: rotate(360deg); } }
.eb-lightbox-title { color: #fff; font-size: 17px; font-weight: 600; margin: 16px 4px 0; line-height: 1.4; }
.eb-lightbox-close {
  position: absolute; top: -16px; right: -16px; z-index: 3;
  width: 46px; height: 46px; border: 0; cursor: pointer;
  background: var(--eb-jaune); color: var(--eb-bleu);
  font-size: 22px; display: grid; place-items: center;
  transition: background .3s ease, color .3s ease, transform .3s var(--eb-ease);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}
.eb-lightbox-close:hover { background: var(--eb-rouge); color: #fff; transform: rotate(90deg); }
body.eb-lock { overflow: hidden; }

/* ------------------------------------------------------------
   6. RÉVÉLATIONS AU DÉFILEMENT (complément d'AOS, sans conflit)
   ------------------------------------------------------------ */
.eb-reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--eb-ease), transform .75s var(--eb-ease); will-change: opacity, transform; }
.eb-reveal.eb-in { opacity: 1; transform: none; }
.eb-reveal--fade { transform: none; }
.eb-reveal--left { transform: translateX(-34px); }
.eb-reveal--right { transform: translateX(34px); }
.eb-reveal--left.eb-in, .eb-reveal--right.eb-in { transform: none; }

/* ------------------------------------------------------------
   7. MICRO-INTERACTIONS (cartes, icônes, boutons, articles)
   ------------------------------------------------------------ */
/* Boutons : reflet balayant au survol */
.cs_btn_style_1 { position: relative; overflow: hidden; }
.cs_btn_style_1::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 70%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg); transition: left .6s var(--eb-ease); pointer-events: none;
}
.cs_btn_style_1:hover::after { left: 130%; }

/* Icon boxes « Pourquoi participer » */
.cs_iconbox_style_1 { transition: transform .35s var(--eb-ease); }
.cs_iconbox_style_1:hover { transform: translateX(6px); }
.cs_iconbox_style_1 .cs_iconbox_icon { transition: background .35s ease, transform .35s var(--eb-ease); }
.cs_iconbox_style_1:hover .cs_iconbox_icon { transform: scale(1.08) rotate(-4deg); }

/* Grille « Axes & formats » */
.cs_iconbox_style_2 {
  position: relative; background: #fff; border: 1px solid #e6e9f2; padding: 28px 24px;
  transition: transform .4s var(--eb-ease), box-shadow .4s var(--eb-ease), border-color .4s var(--eb-ease);
  overflow: hidden;
}
.cs_iconbox_style_2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--eb-bleu), var(--eb-rouge), var(--eb-jaune));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--eb-ease);
}
.cs_iconbox_style_2:hover { transform: translateY(-8px); box-shadow: var(--eb-shadow-hover); border-color: transparent; }
.cs_iconbox_style_2:hover::before { transform: scaleX(1); }
.cs_iconbox_style_2 .cs_iconbox_icon { transition: transform .4s var(--eb-ease); }
.cs_iconbox_style_2:hover .cs_iconbox_icon { transform: translateY(-4px) scale(1.06); }
.cs_iconbox_style_2 .cs_iconbox_link { transition: gap .3s ease, color .3s ease; }
.cs_iconbox_style_2:hover .cs_iconbox_link { color: var(--eb-rouge); }

/* Cartes « Territoire en projets » : voile + zoom (cardRotation gère la 3D) */
.cs_card_style_3 { transition: box-shadow .4s var(--eb-ease); }
.cs_card_style_3:hover { box-shadow: var(--eb-shadow-hover); }
.cs_card_style_3 .cs_card_overlay { transition: opacity .4s ease; }

/* Articles blog */
.cs_post_style_1 { transition: transform .4s var(--eb-ease); }
.cs_post_style_1:hover { transform: translateY(-6px); }
.cs_post_style_1 .cs_post_thumbnail img { transition: transform .7s var(--eb-ease); }
.cs_post_style_1:hover .cs_post_thumbnail img { transform: scale(1.06); }
.cs_post_style_1 .cs_post_title a { transition: color .3s ease; }
.cs_post_style_1:hover .cs_post_title a { color: var(--eb-rouge); }

/* ------------------------------------------------------------
   7bis. PHOTOS « À PROPOS » : recadrage sans déformation
   ------------------------------------------------------------ */
.cs_about_style_1 .cs_about_thumbnail img { object-fit: cover; object-position: center 30%; }

/* Logo du footer : silhouette blanche directement sur le bleu, sans plaque blanche
   (le socle impose fond blanc + filtre blanc = logo invisible). */
.cs_footer_style_1 .cs_brand img { background: transparent; padding: 0; filter: none; }

/* ------------------------------------------------------------
   8. MARQUEE « AXES & FORMATS » : masques de bord + pause au survol
   ------------------------------------------------------------ */
.cs_scroll_slide {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cs_scroll_slide:hover { cursor: grab; }
.cs_scroll_slide.cs_dragging { cursor: grabbing; }
.cs_card_style_2 { transition: transform .4s var(--eb-ease), box-shadow .4s var(--eb-ease); }
.cs_card_style_2:hover { transform: translateY(-6px); box-shadow: var(--eb-shadow-hover); }

/* ------------------------------------------------------------
   9. CARROUSEL TÉMOIGNAGES : flèches + autoplay
   ------------------------------------------------------------ */
.eb-testimonial-slider { position: relative; }
.eb-testimonial-slider .cs_left_arrow,
.eb-testimonial-slider .cs_right_arrow {
  position: absolute; top: 42%; z-index: 5;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: #fff; color: var(--eb-bleu); border: 1px solid #e6e9f2;
  cursor: pointer; font-size: 18px;
  transition: background .3s ease, color .3s ease, transform .3s var(--eb-ease), border-color .3s ease;
  box-shadow: 0 8px 22px rgba(17, 43, 181, .10);
}
.eb-testimonial-slider .cs_left_arrow { left: -8px; }
.eb-testimonial-slider .cs_right_arrow { right: -8px; }
.eb-testimonial-slider .cs_left_arrow:hover,
.eb-testimonial-slider .cs_right_arrow:hover { background: var(--eb-rouge); color: #fff; border-color: var(--eb-rouge); transform: scale(1.07); }
.eb-testimonial-slider .swiper-pagination-bullet { background: var(--eb-bleu); opacity: .3; border-radius: 0; width: 26px; height: 4px; transition: opacity .3s, background .3s, width .3s; }
.eb-testimonial-slider .swiper-pagination-bullet-active { background: var(--eb-rouge); opacity: 1; width: 40px; }
.cs_testimonial_style_1 blockquote { position: relative; }

/* ------------------------------------------------------------
   10. CTA FINAL : voile animé + accent
   ------------------------------------------------------------ */
.cs_cta_style_2 { position: relative; overflow: hidden; }
.cs_cta_style_2::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(17, 43, 181, .82), rgba(194, 36, 57, .62));
  mix-blend-mode: multiply;
}
.cs_cta_style_2 .container { position: relative; z-index: 2; }
.cs_cta_style_2 .cs_cta_title { color: #fff; }
.cs_cta_style_2 p { color: rgba(255, 255, 255, .9); }

/* ------------------------------------------------------------
   11. TITRES DE SECTION : filet accent animé
   ------------------------------------------------------------ */
.eb-heading-accent { position: relative; display: inline-block; }
.eb-heading-accent::after {
  content: ""; display: block; width: 64px; height: 5px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--eb-rouge), var(--eb-jaune));
  transform: scaleX(0); transform-origin: 50% 50%; transition: transform .7s var(--eb-ease);
}
.eb-heading-accent.eb-in::after, .eb-in .eb-heading-accent::after { transform: scaleX(1); }

/* ------------------------------------------------------------
   12. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1199px) {
  .eb-video-grid { grid-template-columns: repeat(2, 1fr); }
  .eb-featured-title { font-size: 24px; }
}
@media (max-width: 991px) {
  .eb-brief-in { grid-template-columns: repeat(2, 1fr); gap: 26px 0; padding: 38px 0; }
  .eb-brief-item:nth-child(3) { border-left: 0; }
  .eb-brief-item { padding: 10px 22px; }
  .eb-featured-body { padding: 22px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .eb-play { width: 66px; height: 66px; font-size: 24px; }
  .eb-featured-title { font-size: 21px; }
  .eb-testimonial-slider .cs_left_arrow { left: 0; }
  .eb-testimonial-slider .cs_right_arrow { right: 0; }
  .eb-scroll-cue { display: none; }
}
@media (max-width: 767px) {
  .eb-video-grid { grid-template-columns: 1fr; }
  .eb-brief-value { font-size: 20px; }
  .eb-media-sub { font-size: 16px; }
  .eb-lightbox { padding: 14px; }
  .eb-lightbox-close { top: -12px; right: -6px; width: 40px; height: 40px; }
  .eb-featured-title { font-size: 19px; }
  /* Flèches du carrousel dégagées du texte (évite tout chevauchement). */
  .eb-testimonial-slider .cs_left_arrow,
  .eb-testimonial-slider .cs_right_arrow { width: 40px; height: 40px; font-size: 15px; }
  .eb-testimonial-slider .cs_testimonial_style_1 { padding-inline: 46px; }
}
@media (max-width: 575px) {
  .eb-brief-in { grid-template-columns: 1fr; gap: 22px; }
  .eb-brief-item + .eb-brief-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px; }
  .eb-brief-tag { display: none; }
}

/* ------------------------------------------------------------
   13. ACCESSIBILITÉ : mouvement réduit
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .eb-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .eb-scroll-cue, .eb-countdown-hero::after, .eb-play::before, .eb-scroll-cue-wheel { animation: none !important; }
  .eb-scroll-cue { opacity: 1; }
  .eb-cd-num.eb-tick { animation: none !important; }
  .cs_btn_style_1::after { display: none; }
  * { scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------
   14. LIENS DÉSACTIVÉS : destinations en attente de mise en service.
       L'URL d'origine est conservée dans data-href : pour réactiver,
       remettre data-href dans href et retirer la classe eb-link-off.
   ------------------------------------------------------------ */
.eb-link-off { pointer-events: none; opacity: .5; cursor: default; }