/**
 * ======================================================
 * HOME.CSS — Styles de la page d'accueil
 * ======================================================
 *
 * Sections dans ce fichier (dans l'ordre) :
 *
 *  1. RESET BODY / MAIN
 *  2. HERO SLIDER
 *  3. GENRES CAROUSEL V3 (spotlight cinématographique)
 *  4. SECTION HEADERS (labels, titres, séparateurs)
 *  5. GENRES SECTION (wrapper)
 *  6. DUO DU JOUR
 *  7. BANNIÈRE PARTICIPEZ
 *  8. TOP 3 RECETTES
 *  9. COMMUNAUTÉ BAND
 * 10. SECTION BRIDGE
 * 11. RESPONSIVE GLOBAL
 *
 * Chargé APRÈS base.css.
 * Les styles communs (reset, typo, header, footer, boutons)
 * sont dans base.css.
 * ======================================================
 */

/* ======================================================
   1. RESET BODY / MAIN
   ====================================================== */

/* Annule le max-width et le padding de base.css
   pour que le hero et le carousel soient pleine largeur */
body {
  max-width: unset;
  padding: 0;
}

main {
  padding-top: 0;
}

.hero-wrapper {
  width: 100%;
  margin: var(--nav-h) auto 0;
  overflow: hidden;
  position: relative;
}

/* ======================================================
   2. HERO SLIDER
   ====================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 660px;
  overflow: hidden;
  background: var(--bleu-nuit);
}

/* Ligne dorée en haut du hero */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 20;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 160, 82, 0.2) 10%,
    rgba(242, 200, 75, 0.7) 35%,
    rgba(255, 224, 133, 0.95) 50%,
    rgba(242, 200, 75, 0.7) 65%,
    rgba(196, 160, 82, 0.2) 90%,
    transparent 100%
  );
}

/* Ligne dorée en bas du hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 20;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 160, 82, 0.3) 15%,
    rgba(242, 200, 75, 0.75) 50%,
    rgba(196, 160, 82, 0.3) 85%,
    transparent 100%
  );
}

/* Slide — invisible par défaut, visible quand .active */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.95s ease;
  pointer-events: none;
}
.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Image de fond — effet Ken Burns (zoom lent) */
.hero__bg {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  will-change: scale, translate;
  transform-origin: center 85%;
  scale: 1.18;
  transition: scale 14s cubic-bezier(0.08, 0, 0.16, 1);
}
.hero__slide.active .hero__bg {
  scale: 0.96;
}

/* Overlay dégradé sombre sur le fond */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(14, 26, 42, 0.88) 0%,
      rgba(14, 26, 42, 0.72) 28%,
      rgba(14, 26, 42, 0.28) 55%,
      rgba(14, 26, 42, 0.06) 74%,
      transparent 100%
    ),
    linear-gradient(
      to top,
      rgba(10, 18, 30, 0.95) 0%,
      rgba(10, 18, 30, 0.48) 28%,
      rgba(10, 18, 30, 0.1) 55%,
      transparent 75%
    ),
    linear-gradient(to bottom, rgba(10, 18, 30, 0.5) 0%, transparent 22%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 130% 100% at 50% 50%,
    transparent 50%,
    rgba(8, 15, 26, 0.4) 100%
  );
}

/* Fondus sur les bords gauche et droit */
.hero__fade-left,
.hero__fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
  z-index: 8;
}
.hero__fade-left {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bleu-nuit) 0%,
    rgba(20, 34, 52, 0.88) 25%,
    rgba(20, 34, 52, 0.42) 60%,
    transparent 100%
  );
}
.hero__fade-right {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bleu-nuit) 0%,
    rgba(20, 34, 52, 0.88) 25%,
    rgba(20, 34, 52, 0.42) 60%,
    transparent 100%
  );
}

/* Image de personnage au premier plan */
.hero__fg {
  position: absolute;
  bottom: -130%;
  right: 22%;
  height: 96%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  will-change: transform, opacity;
  filter: drop-shadow(-28px 0 50px rgba(0, 0, 0, 0.65));
  transform-origin: bottom center;
  opacity: 0;
  transform: scale(0.65) translateY(100px);
  transition:
    opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    bottom 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.hero__slide.active .hero__fg {
  opacity: 1;
  bottom: -16%;
  transform: scale(1.18) translateY(0);
}

/* Zone de contenu (titre, description, boutons) */
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 100px calc(max((100% - 1408px) / 2, 64px) + 16px);
  max-width: calc(640px + max((100% - 1408px) / 2, 0px));
  z-index: 15;
}

/* Barre eyebrow (ligne dorée + labels) */
.hero__eyebrow-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.15s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.hero__slide.active .hero__eyebrow-bar {
  opacity: 1;
  transform: translateY(0);
}

.hero__eyebrow-line {
  width: 3px;
  height: 38px;
  border-radius: 2px;
  background: var(--gold-gradient);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(196, 160, 82, 0.5);
}
.hero__eyebrow-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__eyebrow-label {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.65);
}
.hero__eyebrow-genre {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.38);
}

/* Titre principal */
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  letter-spacing: 0.06em;
  line-height: 0.92;
  color: #fff;
  text-shadow:
    0 6px 40px rgba(0, 0, 0, 0.65),
    0 2px 8px rgba(0, 0, 0, 0.9);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  overflow: visible;
  white-space: nowrap;
  transition:
    opacity 0.6s ease 0.32s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.32s;
}
.hero__slide.active .hero__title {
  opacity: 1;
  transform: translateY(0);
}
.hero__title em {
  color: var(--or-titre);
  font-style: normal;
  display: block;
}

.hero__sub {
  font-family: var(--f-editorial);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
  color: rgba(232, 232, 232, 0.78);
  margin-bottom: 18px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.46s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.46s;
}
.hero__slide.active .hero__sub {
  opacity: 1;
  transform: translateY(0);
}

.hero__desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(232, 232, 232, 0.62);
  margin-bottom: 30px;
  max-width: 440px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease 0.58s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.58s;
}
.hero__slide.active .hero__desc {
  opacity: 1;
  transform: translateY(0);
}

/* Boutons du hero */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease 0.68s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.68s;
}
.hero__slide.active .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  height: 46px;
  border-radius: 9px;
  background: var(--rouge-gradient);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  box-shadow:
    0 0 22px rgba(194, 48, 24, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.28s;
  white-space: nowrap;
}
.hero__btn-primary:hover {
  background: var(--gold-gradient);
  color: var(--bleu-nuit);
  box-shadow: 0 0 28px rgba(212, 168, 67, 0.5);
  transform: translateY(-2px);
}

.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 24px;
  height: 46px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(196, 160, 82, 0.35);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--or-titre);
  transition: all 0.28s;
  backdrop-filter: blur(8px);
}
.hero__btn-secondary:hover {
  background: rgba(196, 160, 82, 0.1);
  border-color: rgba(196, 160, 82, 0.7);
  color: var(--dore-clair);
  transform: translateY(-2px);
}

/* Stats (note, nb recettes, année) */
.hero__stats {
  position: absolute;
  bottom: 52px;
  left: calc(max((100% - 1408px) / 2, 64px) + 16px);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease 0.82s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.82s;
}
.hero__slide.active .hero__stats {
  opacity: 1;
  transform: translateY(0);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stat-val {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--or-titre);
  line-height: 1;
  text-shadow: 0 0 20px rgba(196, 160, 82, 0.4);
}
.hero__stat-label {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.45);
}
.hero__stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(196, 160, 82, 0.2);
  flex-shrink: 0;
}

/* Badge "Film du moment" */
.hero__slide-badge {
  position: absolute;
  top: 28px;
  left: calc(max((100% - 1408px) / 2, 64px) + 16px);
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(10, 18, 30, 0.72);
  border: 1px solid rgba(196, 160, 82, 0.22);
  backdrop-filter: blur(10px);
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or-titre);
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}
.hero__slide.active .hero__slide-badge {
  opacity: 1;
}
.hero__slide-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rouge-cta);
  animation: slidePulse 1.8s ease-in-out infinite;
}
@keyframes slidePulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* ── Slide bienvenue — overlay allégé ── */
.hero__slide--welcome .hero__overlay {
  background:
    linear-gradient(to right, rgba(8,16,30,.78) 0%, rgba(10,20,38,.55) 42%, rgba(10,20,38,.12) 68%, transparent 88%),
    linear-gradient(to top, rgba(8,16,30,.70) 0%, rgba(8,16,30,.18) 30%, transparent 60%);
}
/* Badge bienvenue — bleu doré */
.hero__slide-badge--welcome {
  background: rgba(8,20,44,.82);
  border-color: rgba(100,160,255,.35);
  color: rgba(160,200,255,.9);
}
.hero__slide-badge--welcome::before {
  background: rgba(100,180,255,1);
  animation: slidePulseBlue 1.8s ease-in-out infinite;
}
@keyframes slidePulseBlue {
  0%,100% { opacity:.6; transform:scale(1); }
  50%      { opacity:1;  transform:scale(1.3); }
}
/* Foreground membre — entre depuis la droite/bas, regarde le contenu à gauche */
.hero__fg--member {
  right: 8%;
  height: 118%;
  bottom: -130%;
  transform: scale(0.7) translate(80px, 30px);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    transform 2.0s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    bottom 2.0s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.hero__slide.active .hero__fg--member {
  opacity: 1;
  bottom: -32%;
  transform: scale(1.08) translate(0, 0);
}
/* Bouton primaire doré sur slide bienvenue */
.hero__slide--welcome .hero__btn-primary {
  background: linear-gradient(135deg, #9a7832 0%, #c4a052 40%, #f2c84b 65%, #c4a052 100%);
  color: #0a1220;
  box-shadow: 0 4px 20px rgba(196,160,82,.4);
  border-color: transparent;
}
.hero__slide--welcome .hero__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 32px rgba(196,160,82,.55);
}
/* Texte description légèrement plus grand */
.hero__slide--welcome .hero__desc {
  font-size: .92rem;
}

/* Watermark */
.hero__watermark {
  position: absolute;
  bottom: -18px;
  right: -10px;
  z-index: 4;
  font-family: var(--f-display);
  font-size: clamp(8rem, 16vw, 14rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(196, 160, 82, 0.035);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Grain de film */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* Flash de transition entre slides */
.hero__cut-flash {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(255, 235, 150, 0.18) 0%,
    transparent 65%
  );
  opacity: 0;
}
.hero__cut-flash.flash {
  animation: heroFlash 0.45s ease-out forwards;
}
@keyframes heroFlash {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
  }
}

/* Navigation (points + compteur) */
.hero__nav {
  position: absolute;
  bottom: 28px;
  right: calc(max((100% - 1408px) / 2, 64px));
  display: flex;
  gap: 8px;
  z-index: 15;
  align-items: center;
}
.hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  flex-shrink: 0;
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s;
}
.hero__dot.active {
  background: var(--or-titre);
  width: 28px;
  height: 4px;
  border-radius: 2px;
}

.hero__counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-left: 18px;
  line-height: 1;
}
.hero__counter-cur {
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero__counter-sep {
  font-family: var(--f-display);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 1px;
}
.hero__counter-tot {
  font-family: var(--f-display);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.04em;
}

/* Flèches prev / next */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 34, 52, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 160, 82, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  color: rgba(232, 232, 232, 0.65);
  font-size: 1.1rem;
  transition: all 0.28s;
}
.hero__arrow:hover {
  background: rgba(196, 160, 82, 0.14);
  border-color: rgba(196, 160, 82, 0.55);
  color: #fff;
}
.hero__arrow--prev {
  left: 24px;
}
.hero__arrow--next {
  right: 24px;
}

/* Hero responsive */
@media (max-width: 800px) {
  .hero {
    height: 520px;
  }
  .hero__content {
    padding: 60px 24px 90px 24px;
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(2.4rem, 7vw, 3.4rem);
    white-space: normal;
  }
  .hero__fg {
    height: 72%;
    bottom: -10%;
    right: -2%;
  }
  .hero__slide.active .hero__fg {
    bottom: -8%;
  }
  .hero__stats {
    bottom: 20px;
    left: 24px;
    gap: 18px;
  }
  .hero__fade-right {
    width: 100px;
  }
  .hero__watermark {
    display: none;
  }
}
@media (max-width: 500px) {
  .hero {
    height: 460px;
  }
  .hero__fg {
    display: none;
  }
  .hero__content {
    padding: 50px 20px 80px 20px;
    max-width: 100%;
  }
  .hero__arrow {
    display: none;
  }
}

/* ======================================================
   3. GENRES CAROUSEL V3 — spotlight cinématographique
   ======================================================
   Utilise des variables CSS (--glow-rgb, --spot, etc.)
   modifiées en temps réel par category-badges.js pour
   créer les effets de spotlight et de hover.
   ====================================================== */

/* --- Outer — clip horizontal / débordement vertical pour spotlight --- */
/*
  overflow-x: clip  → coupe le contenu qui dépasse horizontalement
  overflow-y: visible → laisse les badges remonter au hover sans être coupés
  padding + margin négatif → les badges hover (qui montent) ne sont pas coupés
*/
/* ── Hover variables enregistrées pour animation CSS fluide ──
   @property permet de transitionner des custom-properties directement,
   sans passer par `transition: transform` (qui conflicte avec les
   mises à jour JS par frame du spotlight).                          */
@property --hover-tx {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --hover-ts {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.carousel-outer {
  position: relative;
  width: 100%;
  padding: 120px 0;
  margin: -120px 0;
  overflow-x: clip;
  overflow-y: visible;
  touch-action: pan-x;
  z-index: 10;
  cursor: grab;
  user-select: none;
  /* Fondu transparent → visible → transparent sur les bords */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0px,
    black 220px,
    black calc(100% - 220px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0px,
    black 220px,
    black calc(100% - 220px),
    transparent 100%
  );
}
.carousel-outer.is-dragging {
  cursor: grabbing;
}
.carousel-outer::before,
.carousel-outer::after {
  display: none;
}

/* --- Track — la rangée de badges déplacée par JS --- */
.carousel-track {
  display: flex;
  gap: 32px;
  padding: 0 80px;
  width: max-content;
  will-change: transform; /* Indique au navigateur que transform changera souvent → GPU */
}

/* --- Badge --- */
/*
  Variables CSS modifiées par le JS :
  --spot     : 0→1 intensité du spotlight (badge au centre = 1)
  --tx       : décalage vertical lié au spotlight (monte quand --spot augmente)
  --hover-tx : décalage vertical au hover CSS pur
  --ts, --hover-ts : scale du spotlight et du hover
*/
.carousel-outer .badge {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 20px 9px 9px;
  border-radius: 24px;
  cursor: pointer;
  overflow: visible;

  /* Valeurs initiales */
  --spot: 0;
  --tx: 0px;
  --pre-tx: 0px;
  --hover-tx: 0px;
  --ts: 1;
  --pre-ts: 1;
  --hover-ts: 1;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;

  /* combine les deux sources de déplacement vertical */
  transform: translateY(calc(var(--tx) + var(--pre-tx) + var(--hover-tx)))
    scale(calc(var(--ts) * var(--pre-ts) * var(--hover-ts)));

  /* Les badges restent opaques : on évite de voir le starfield au travers */
  opacity: 1;

  background: linear-gradient(
    135deg,
    rgba(calc(28 + var(--spot) * 16), calc(42 + var(--spot) * 14), calc(64 + var(--spot) * 14), 0.985) 0%,
    rgba(14, 26, 44, 1) 54%,
    rgba(11, 22, 38, 1) 100%
  );

  /* Bordure dont l'intensité grandit avec le spotlight */
  border: 1px solid rgba(var(--glow-rgb), calc(0.1 + var(--spot) * 0.48));

  box-shadow:
    0 calc(8px + var(--spot) * 18px) calc(24px + var(--spot) * 30px)
      rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, calc(0.05 + var(--spot) * 0.09)),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 calc(10px + var(--spot) * 42px)
      rgba(var(--glow-rgb), calc(0.08 + var(--spot) * 0.22));

  /* Transitions : les variables hover sont animées via @property,
     transform n'est PAS transitionné (piloté par JS chaque frame) */
  transition:
    --hover-tx 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    --hover-ts 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.7s ease,
    border-color 0.7s ease,
    background 0.7s ease;

  user-select: none;
  text-decoration: none;
  color: inherit;
}

.carousel-outer .badge:hover {
  --hover-tx: -9px;
  --hover-ts: 1.055;
  border-color: rgba(var(--glow-rgb), 0.82);
  background: linear-gradient(
    135deg,
    rgba(var(--glow-rgb), 0.18) 0%,
    rgba(18, 32, 52, 0.985) 52%,
    rgba(12, 24, 40, 1) 100%
  );
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.84),
    0 0 54px rgba(var(--glow-rgb), 0.38),
    0 0 110px rgba(var(--glow-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-outer .badge:hover,
.carousel-outer .badge.tooltip-open {
  z-index: 25;
}

.carousel-outer .badge.is-dominant {
  z-index: 22;
  border-color: rgba(var(--glow-rgb), 0.78);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.9),
    0 0 72px rgba(var(--glow-rgb), 0.34),
    0 0 160px rgba(var(--glow-rgb), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.carousel-outer .badge.is-dominant::after {
  opacity: 1;
  width: 74px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--glow-rgb), 0.92) 50%,
    transparent
  );
}

/* Glow radial interne qui suit la tête de l'animation */
.carousel-outer .badge::before {
  content: none;
}

/* Reflet spéculaire en haut du badge */
.carousel-outer .badge::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 22px;
  width: 60px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--glow-rgb), calc(0.2 + var(--spot) * 0.6)) 50%,
    transparent
  );
  pointer-events: none;
  z-index: 11;
  opacity: calc(0.4 + var(--spot) * 0.6);
  transition:
    opacity 0.7s ease,
    background 0.7s ease;
}
.carousel-outer .badge:hover::after {
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--glow-rgb), 0.8) 50%,
    transparent
  );
}

/* Teinte colorée sur l'image (color-dodge = effet lumière colorée) */
.badge__img-tint {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    ellipse 120% 120% at var(--img-glow-x, 50%) var(--img-glow-y, 50%),
    rgba(var(--glow-rgb), calc(var(--glow-intensity) * 0.55)) 0%,
    rgba(var(--glow-rgb), calc(var(--glow-intensity) * 0.2)) 45%,
    transparent 75%
  );
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-outer .badge:hover .badge__img-tint {
  opacity: 1;
}

/* Canvas de bordure animée (dessinée par JS au hover) */
.badge__border-canvas {
  position: absolute;
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Pas de border-radius — le CSS border-radius clip le rendu canvas
     aux coins et coupe l'animation de bordure */
}
.carousel-outer .badge:hover .badge__border-canvas,
.carousel-outer .badge.is-selected .badge__border-canvas {
  opacity: 1;
}

/* Image */
.badge__img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
}

/* Coins de pellicule dans les 4 coins de l'image */
.badge__img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(
      circle 2px at 9px 9px,
      rgba(196, 160, 82, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 2px at calc(100% - 9px) 9px,
      rgba(196, 160, 82, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 2px at 9px calc(100% - 9px),
      rgba(196, 160, 82, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 2px at calc(100% - 9px) calc(100% - 9px),
      rgba(196, 160, 82, 0.4) 0%,
      transparent 100%
    );
}


/*
  Filtre image "cinéma" contrôlé par le spotlight.
  Par défaut : quasi silhouette (sat=0, bri=.20).
  Spotlight à fond : couleurs vives (sat=1.55, bri=1.15).
*/
.badge__skeleton {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.02) 80%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s ease-in-out infinite;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.badge__img-wrap.img-loaded .badge__skeleton {
  opacity: 0;
  pointer-events: none;
}
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.badge__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(var(--img-sat, 0)) brightness(var(--img-bri, 0.2))
    contrast(var(--img-con, 1.14)) sepia(var(--img-sep, 0.5))
    hue-rotate(var(--img-hue, 215deg));
  transform: scale(calc(1 + var(--spot, 0) * 0.05));
  transition:
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-outer .badge.is-dominant .badge__img {
  filter: saturate(2.04) brightness(1.4) contrast(1.34);
}
.carousel-outer .badge:hover .badge__img {
  filter: saturate(1.45) brightness(1.08) contrast(1.12);
  transform: scale(1.08);
}

/* Dégradé sombre sur les bords de l'image */
.badge__fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      to right,
      rgba(10, 14, 24, 0.35) 0%,
      rgba(10, 14, 24, 0.15) 28%,
      transparent 60%
    ),
    linear-gradient(
      to left,
      rgba(10, 14, 24, 0.30) 0%,
      rgba(10, 14, 24, 0.12) 24%,
      transparent 55%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 14, 24, 0.28) 0%,
      rgba(10, 14, 24, 0.10) 20%,
      transparent 50%
    ),
    linear-gradient(
      to top,
      rgba(10, 14, 24, 0.30) 0%,
      rgba(10, 14, 24, 0.12) 22%,
      transparent 52%
    );
  transition: opacity 0.55s ease;
}
.carousel-outer .badge:hover .badge__fade {
  opacity: 0.42;
}

/* Halo coloré au sol sous le badge (créé en JS) */
.badge__floor-glow {
  position: absolute;
  bottom: -14px;
  left: 8%;
  right: 8%;
  height: 18px;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 100% at 50% 0%,
    rgba(var(--glow-rgb), calc(var(--spot) * 0.55)) 0%,
    transparent 78%
  );
  filter: blur(7px);
}

/* Texte du badge */
.badge__text {
  width: 100px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

/* Nom du genre */
.badge__category {
  font-family: var(--f-display, "Bebas Neue", sans-serif);
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--argent, #e8e8e8);
  opacity: calc(0.86 + var(--spot) * 0.14);
  text-shadow:
    0 0 calc(var(--spot) * 10px) rgba(var(--glow-rgb), calc(var(--spot) * 0.28)),
    0 2px 18px rgba(0, 0, 0, 0.34);
  transition:
    color 0.55s ease,
    text-shadow 0.55s ease,
    opacity 0.55s ease;
}
.carousel-outer .badge:hover .badge__category {
  color: var(--glow);
  opacity: 1;
  text-shadow:
    0 0 18px rgba(var(--glow-rgb), 0.85),
    0 0 40px rgba(var(--glow-rgb), 0.4);
}

/* Ligne décorative entre le nom et le compteur */
.badge__divider {
  width: 30px;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 160, 82, 0.5),
    transparent
  );
  border-radius: 2px;
  opacity: 0.65;
  transition:
    width 0.5s ease,
    opacity 0.5s ease,
    background 0.55s ease;
}
.carousel-outer .badge:hover .badge__divider {
  width: 58px;
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--glow), transparent);
}

/* Compteur de films */
.badge__count {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.badge__count strong {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--argent, #e8e8e8);
  opacity: calc(0.72 + var(--spot) * 0.22);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  transition:
    color 0.55s ease,
    opacity 0.55s ease;
  font-variant-numeric: tabular-nums;
}
.badge__count span {
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.6);
  opacity: 0.8;
  transition:
    color 0.55s ease,
    opacity 0.55s ease;
}
.carousel-outer .badge:hover .badge__count strong {
  color: #fff;
  opacity: 0.92;
}
.carousel-outer .badge:hover .badge__count span {
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

/* ═══ CAROUSEL CONTAINER + NAV BUTTONS ═══ */
.carousel-container {
  position: relative;
  width: 100%;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 18, 34, 0.82);
  border: 1px solid rgba(196, 160, 82, 0.22);
  backdrop-filter: blur(14px);
  color: rgba(196, 160, 82, 0.9);
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  outline: none;
}
.carousel-nav--prev { left: 20px; }
.carousel-nav--next { right: 20px; }
.carousel-container:hover .carousel-nav { opacity: 1; pointer-events: auto; }
.carousel-nav:hover {
  background: rgba(196, 160, 82, 0.18);
  border-color: rgba(196, 160, 82, 0.55);
  transform: translateY(-50%) scale(1.1);
}
.carousel-nav:active { transform: translateY(-50%) scale(0.94); }
.carousel-nav:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid rgba(196, 160, 82, 0.6);
  outline-offset: 3px;
}
@media (max-width: 600px) { .carousel-nav { display: none; } }

/* ═══ PROGRESS DOTS ═══ */
.carousel-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 22px;
  position: relative;
  z-index: 10;
}
.carousel-dot {
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: rgba(196, 160, 82, 0.2);
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
  cursor: pointer;
}
.carousel-dot.active { width: 20px; background: rgba(196, 160, 82, 0.78); }
.carousel-dot:hover:not(.active) { background: rgba(196, 160, 82, 0.42); }

/* ═══ SCROLL HINT ═══ */
.scroll-hint {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0);
  transition: color 0.5s ease;
  pointer-events: none;
  white-space: nowrap;
}
.scroll-hint.visible { color: rgba(196, 160, 82, 0.35); }

/* ═══ BADGE — animation entrée + état sélectionné + frame-num ═══ */
@keyframes badgeIn {
  from { opacity: 0; transform: translateY(22px) scale(0.92); }
  to   { opacity: 1; transform: translateY(calc(var(--tx, 0px) + var(--pre-tx, 0px) + var(--hover-tx, 0px))) scale(calc(var(--ts, 1) * var(--pre-ts, 1) * var(--hover-ts, 1))); }
}
@keyframes filmCounterFlip {
  0%   { transform: translateY(0) rotateX(0); opacity: 1; }
  40%  { transform: translateY(-6px) rotateX(30deg); opacity: 0; }
  60%  { transform: translateY(6px) rotateX(-20deg); opacity: 0; }
  100% { transform: translateY(0) rotateX(0); opacity: 1; }
}
.film-counter__idx.flip {
  animation: filmCounterFlip 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.carousel-outer .badge.is-selected {
  opacity: 1;
  border-color: rgba(var(--glow-rgb), 0.5) !important;
  background: linear-gradient(135deg, rgba(var(--glow-rgb), 0.1) 0%, rgba(10, 20, 36, 0.98) 100%) !important;
}
.carousel-outer .badge.is-selected::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(var(--glow-rgb), 0.7) 50%, transparent);
}
.badge__frame-num {
  position: absolute;
  top: 4px;
  right: 5px;
  z-index: 14;
  font-family: var(--f-display, "Bebas Neue", cursive);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(196, 160, 82, 0.3);
  pointer-events: none;
  opacity: calc(0.25 + var(--spot, 0) * 0.45);
  transition: opacity 0.5s ease;
}
.carousel-outer .badge:hover .badge__frame-num,
.carousel-outer .badge.is-selected .badge__frame-num {
  opacity: 0.65;
  color: rgba(var(--glow-rgb), 0.65);
}

/* --- Tooltip global (#global-tooltip dans le HTML) ---
   Structure : arrow + band + body (comme la démo) */
#global-tooltip {
  position: fixed;
  width: 252px;
  background: rgba(8, 16, 30, 0.75);
  backdrop-filter: blur(32px) saturate(1.9) brightness(0.88);
  -webkit-backdrop-filter: blur(32px) saturate(1.9) brightness(0.88);
  border: 1px solid rgba(196, 160, 82, 0.28);
  border-radius: 18px;
  padding: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  --tt-rgb: 196, 160, 82;
}
#global-tooltip.is-open { opacity: 1; pointer-events: auto; }
#global-tooltip.above { transform: translateY(calc(-100% - 4px)) scale(1); }
#global-tooltip.below { transform: translateY(4px) scale(1); }
#global-tooltip.above.hiding,
#global-tooltip.below.hiding { transform: scale(0.96); }

/* Bande colorée en haut du tooltip */
#global-tooltip .tooltip__band {
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(var(--tt-rgb), 0) 0%,
    rgba(var(--tt-rgb), 1) 30%,
    rgba(var(--tt-rgb), 1) 70%,
    rgba(var(--tt-rgb), 0) 100%
  );
  opacity: 0.88;
}
#global-tooltip .tooltip__body { padding: 12px 14px 13px; }

/* Flèche directionnelle */
#global-tooltip .tooltip__arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  pointer-events: none;
}
#global-tooltip .tooltip__arrow.up  { top: 100%; border-top-color: rgba(196, 160, 82, 0.28); }
#global-tooltip .tooltip__arrow.down { bottom: 100%; border-bottom-color: rgba(196, 160, 82, 0.28); }

#global-tooltip .tooltip__genre {
  font-family: var(--f-display, "Bebas Neue", cursive);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--or-titre);
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(196, 160, 82, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.18s ease 0.04s,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}
#global-tooltip.is-open .tooltip__genre { opacity: 1; transform: translateY(0); }
#global-tooltip .tooltip__genre-badge {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(var(--tt-rgb), 0.15);
  color: rgba(var(--tt-rgb), 1);
  border: 1px solid rgba(var(--tt-rgb), 0.28);
}
#global-tooltip .tooltip__films {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 8px;
}
#global-tooltip .tooltip__film {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.055);
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.16s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
#global-tooltip.is-open .tooltip__film:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
#global-tooltip.is-open .tooltip__film:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.13s; }
#global-tooltip.is-open .tooltip__film:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
#global-tooltip.is-open .tooltip__film:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.23s; }
#global-tooltip .tooltip__film-title {
  font-size: 0.63rem;
  font-weight: 400;
  color: rgba(232, 232, 232, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
#global-tooltip .tooltip__film-note {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(var(--tt-rgb), 1);
  opacity: 0.9;
}
#global-tooltip .tooltip__actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.16s ease 0.24s,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1) 0.24s;
}
#global-tooltip.is-open .tooltip__actions {
  opacity: 1;
  transform: translateY(0);
}
#global-tooltip .tooltip__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--tt-rgb), 0.34);
  background: linear-gradient(
    135deg,
    rgba(var(--tt-rgb), 0.22) 0%,
    rgba(10, 18, 34, 0.94) 100%
  );
  color: rgba(255, 248, 225, 0.96);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}
#global-tooltip .tooltip__cta:hover,
#global-tooltip .tooltip__cta:focus-visible {
  border-color: rgba(var(--tt-rgb), 0.62);
  background: linear-gradient(
    135deg,
    rgba(var(--tt-rgb), 0.34) 0%,
    rgba(10, 18, 34, 0.98) 100%
  );
  color: #fff;
  transform: translateY(-1px);
}
#global-tooltip .tooltip__hint {
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.12em;
  color: rgba(196, 160, 82, 0.45);
  text-align: center;
  opacity: 0;
  transition: opacity 0.16s ease 0.28s;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 7px;
}
#global-tooltip.is-open .tooltip__hint { opacity: 1; }
#global-tooltip .tooltip__no-films {
  font-size: 0.6rem;
  opacity: 0.4;
  text-align: center;
  grid-column: 1 / -1;
  padding: 4px 0;
  font-style: italic;
}

/* Canvas des rings au clic (plein écran fixe) */
#burst-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* --- Éléments cinématographiques injectés par le JS --- */

/* Wash coloré en fond de section selon le genre en spotlight */
.genres-section {
  --wash-rgb: 196, 160, 82;
  --wash-alpha: 0;
}
.genres-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 42% 60% at 50% 52%,
    rgba(var(--wash-rgb), calc(var(--wash-alpha) * 0.32)) 0%,
    rgba(var(--wash-rgb), calc(var(--wash-alpha) * 0.08)) 24%,
    transparent 48%
  );
  transition: background 2.8s ease;
}

/* Bandes perforées de pellicule en haut et bas */
.film-perfs {
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.film-perfs--top {
  top: 0;
}
.film-perfs::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  border-top: 1px solid rgba(196, 160, 82, 0.07);
  border-bottom: 1px solid rgba(196, 160, 82, 0.07);
  background: repeating-linear-gradient(
    to right,
    rgba(196, 160, 82, 0.07) 0px,
    rgba(196, 160, 82, 0.07) 14px,
    transparent 14px,
    transparent 24px
  );
}

/* Label "NOW SHOWING" au-dessus du badge en spotlight */
.now-showing {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--f-title, "Cinzel", serif);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.88);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 30;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    left 0.18s ease-out;
}
.now-showing__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--or-titre);
  box-shadow:
    0 0 7px rgba(196, 160, 82, 0.9),
    0 0 14px rgba(196, 160, 82, 0.5);
  animation: nsDot 1.5s ease-in-out infinite;
}
@keyframes nsDot {
  0%,
  100% {
    opacity: 1;
    box-shadow:
      0 0 7px rgba(196, 160, 82, 0.9),
      0 0 14px rgba(196, 160, 82, 0.5);
  }
  50% {
    opacity: 0.3;
    box-shadow: 0 0 2px rgba(196, 160, 82, 0.3);
  }
}

/* Compteur de genres "01 / 15" */
.film-counter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: rgba(196, 160, 82, 0.2);
  margin-left: 14px;
  vertical-align: middle;
}
.film-counter__idx {
  color: rgba(196, 160, 82, 0.5);
  min-width: 2ch;
  display: inline-block;
  transition: color 0.5s ease;
}
.film-counter__sep {
  opacity: 0.3;
}

/* Sous-titre qui change selon le genre en spotlight */
.section-sub {
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.1em;
  color: rgba(232, 232, 232, 0.72);
  margin-top: 3px;
  min-height: 1.3em;
  transition: opacity 0.3s ease;
}
.section-sub.fading {
  opacity: 0;
}

/* Faisceau de projecteur cinéma */
.spotlight-beam {
  display: none !important;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 700px;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 0;
  will-change: left, opacity;
  transition:
    left 0.18s ease-out,
    opacity 0.55s ease;
  background:
    radial-gradient(
      ellipse 28% 28% at 50% 56%,
      rgba(var(--beam-rgb, 196, 160, 82), 0.045) 0%,
      rgba(var(--beam-rgb, 196, 160, 82), 0.012) 22%,
      transparent 40%
    );
}
/* Particules de poussière dans le faisceau */
.spotlight-beam::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle 1.5px at 28% 38%,
      rgba(255, 255, 255, 0.22) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 1px at 62% 55%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 1px at 44% 72%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 2px at 55% 42%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 1px at 35% 63%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 100%
    );
  opacity: calc(var(--beam-dust, 0) * 0.28);
  transition: opacity 0.8s ease;
  mix-blend-mode: normal;
}
.spotlight-beam::after {
  display: none;
}

/* --- Séparateur bas de carousel --- */
.genres-separator {
  display: flex;
  align-items: center;
  width: min(var(--cd-max, 1440px), 100% - 2 * var(--cd-px, 2rem));
  margin: 40px auto 0;
}
.genres-separator__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 160, 82, 0.12) 30%,
    rgba(196, 160, 82, 0.28) 100%
  );
}
.genres-separator__line:last-child {
  background: linear-gradient(
    90deg,
    rgba(196, 160, 82, 0.28) 0%,
    rgba(196, 160, 82, 0.12) 70%,
    transparent 100%
  );
}
.genres-separator__content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  white-space: nowrap;
}
.genres-separator__text {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.1em;
  color: rgba(196, 160, 82, 0.4);
}
.genres-separator__arrow {
  font-size: 0.8rem;
  color: rgba(196, 160, 82, 0.3);
  line-height: 1;
  animation: arrowBob 2.2s ease-in-out infinite;
}
@keyframes arrowBob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(3px);
    opacity: 0.55;
  }
}

/* Accessibilité — réduit les animations */
@media (prefers-reduced-motion: reduce) {
  .carousel-outer .badge {
    transition: none;
  }
  .badge__img {
    transition: none;
  }
  .badge__border-canvas {
    display: none;
  }
  .badge__img-tint {
    display: none;
  }
  .carousel-outer .badge::before {
    display: none;
  }
  #global-tooltip {
    transition: none;
  }
  #global-tooltip .tooltip__genre,
  #global-tooltip .tooltip__film,
  #global-tooltip .tooltip__hint {
    transition: none;
    opacity: 1;
    transform: none;
  }
  #burst-canvas {
    display: none;
  }
}

/* Carousel responsive */
@media (max-width: 900px) {
  .section-header-wrap {
    padding: 0 32px;
  }
  .carousel-track {
    gap: 18px;
    padding: 0 32px;
  }
  .carousel-outer {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0px,
      black 80px,
      black calc(100% - 80px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0px,
      black 80px,
      black calc(100% - 80px),
      transparent 100%
    );
  }
  .carousel-outer .badge {
    gap: 10px;
    padding: 7px 14px 7px 7px;
  }
  .badge__img-wrap {
    width: 72px;
    height: 72px;
  }
  .badge__text {
    width: 82px;
  }
  .badge__category {
    font-size: 1.38rem;
  }
  .badge__count strong {
    font-size: 1.05rem;
  }
  .film-counter {
    display: none;
  }
}
@media (max-width: 600px) {
  .section-header-wrap {
    padding: 0 20px;
    margin-bottom: 22px;
  }
  .genres-section {
    padding: 36px 0 40px;
  }
  .genres-separator {
    padding: 0 20px;
  }
  .carousel-outer .badge {
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border-radius: 18px;
  }
  .badge__img-wrap {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }
  .badge__text {
    width: 70px;
  }
  .badge__category {
    font-size: 1.15rem;
  }
  .badge__count strong {
    font-size: 0.9rem;
  }
  .badge__count span {
    font-size: 0.6rem;
  }
  .badge__divider {
    width: 22px;
  }
  .now-showing {
    font-size: 0.6rem;
  }
}

/* ======================================================
   4. SECTION HEADERS
   ====================================================== */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.82);
  margin-bottom: 5px;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--or-200), var(--or-titre));
  vertical-align: middle;
}
.section-title {
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--or-titre);
  text-shadow: 0 0 28px rgba(196, 160, 82, 0.28);
  margin-bottom: 6px;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 160, 82, 0.22) 20%,
    rgba(196, 160, 82, 0.42) 50%,
    rgba(196, 160, 82, 0.22) 80%,
    transparent
  );
  margin: 0;
}

/* ======================================================
   5. GENRES SECTION (wrapper)
   ====================================================== */

.genres-section {
  padding: 52px 0 72px;
  position: relative;
  z-index: 30;
  isolation: isolate;
  overflow: hidden;
}
.genres-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 160, 82, 0.22) 20%,
    rgba(196, 160, 82, 0.42) 50%,
    rgba(196, 160, 82, 0.22) 80%,
    transparent
  );
}

.genres-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.genres-header__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-header-wrap {
  width: min(var(--cd-max, 1440px), 100% - 2 * var(--cd-px, 2rem));
  margin: 0 auto 36px;
  position: relative;
  z-index: 40;
}

.genres-see-all {
  font-family: var(--f-title);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.62);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    color 0.25s,
    transform 0.25s,
    opacity 0.25s;
  white-space: nowrap;
  padding: 2px 0 4px;
  position: relative;
  z-index: 41;
  border: none;
  background: transparent;
  box-shadow: none;
  opacity: 0.92;
}
a.genres-see-all:link,
a.genres-see-all:visited,
a.genres-see-all:hover,
a.genres-see-all:focus-visible,
a.genres-see-all:active {
  color: rgba(214, 181, 96, 0.82);
  text-decoration: none;
}
a.genres-see-all:hover,
a.genres-see-all:focus-visible {
  transform: translateY(-1px);
  opacity: 1;
}
a.genres-see-all::after {
  content: "\2192";
  transition: transform 0.25s;
  opacity: 0.72;
}
a.genres-see-all:hover::after,
a.genres-see-all:focus-visible::after {
  transform: translateX(4px);
  opacity: 1;
}

/* ======================================================
   6. DUO DU JOUR
   ====================================================== */

.duo-jour-section {
  padding: 8px 0 44px;
}
.duo-jour-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.duo-jour-header__live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.85);
}
.duo-jour-header__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rouge-cta);
  animation: slidePulse 1.8s ease-in-out infinite;
}
.duo-jour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 20px;
  align-items: flex-start;
}

/* Film */
.djc-film {
  position: relative;
  height: auto;
  aspect-ratio: 2/3;
  min-height: 520px;
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s;
  border-left: 3px solid transparent;
}
.djc-film::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent 5%,
    var(--or-200) 25%,
    var(--or-titre) 50%,
    var(--or-200) 75%,
    transparent 95%
  );
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s;
}
.djc-film:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(196, 160, 82, 0.1);
}
.djc-film:hover::before {
  opacity: 1;
}
.djc-film__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 10s cubic-bezier(0.12, 0, 0.18, 1);
}
.djc-film:hover .djc-film__img {
  transform: scale(1.1);
}
.djc-film__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(5, 12, 22, 0.2) 0%,
      transparent 30%,
      transparent 50%,
      rgba(5, 12, 22, 0.96) 100%
    ),
    linear-gradient(to right, rgba(5, 12, 22, 0.4) 0%, transparent 60%);
  transition: background 0.35s ease;
}

/* Hover djc-film : overlay doré + icône centré */
.djc-film__hover-cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(160deg, rgba(8,16,28,.15) 0%, rgba(100,65,8,.28) 50%, rgba(184,136,42,.18) 100%);
}
.djc-film:hover .djc-film__hover-cta { opacity: 1; }
.djc-film:hover .djc-film__hover-cta .cd-icon-btn { transform: translateY(0) scale(1); opacity: 1; }
.djc-film:hover .djc-film__hover-cta .cd-icon-btn__ring { border-color: rgba(242,200,75,.9); transform: rotate(60deg); }
.djc-film:hover .djc-film__hover-cta .cd-icon-btn__bg { box-shadow: 0 6px 28px rgba(184,136,42,.65); filter: brightness(1.08); }
.djc-film:hover .djc-film__hover-cta .cd-icon-btn__bg svg { transform: scale(1.15) translateY(-1px); }
.djc-film:hover .djc-film__hover-cta .cd-icon-btn__wrap { animation: cdIconFloat 2.2s ease-in-out infinite; }
.djc-film:hover .djc-film__hover-cta .cd-icon-btn__bg::after { animation: cdPulse 1.9s ease-out infinite; }
.djc-film:hover .djc-film__overlay {
  background:
    linear-gradient(to bottom, rgba(5,12,22,.35) 0%, transparent 25%, transparent 40%, rgba(5,12,22,.92) 100%),
    linear-gradient(to right, rgba(5,12,22,.45) 0%, transparent 60%);
}
.djc-film__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 5;
}
.djc-film__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(10, 18, 30, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 160, 82, 0.28);
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-titre);
}
.djc-film__fav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 18, 30, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 232, 232, 0.45);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s;
}
.djc-film__fav:hover {
  background: rgba(194, 48, 24, 0.22);
  border-color: rgba(194, 48, 24, 0.55);
  color: var(--rouge-cta);
}
.djc-film__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 18px;
  z-index: 5;
}
.djc-film__title {
  display: block;
  font-family: var(--f-title);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.djc-film__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.1em;
  color: rgba(196, 160, 82, 0.7);
  margin-bottom: 10px;
}
.djc-film__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.djc-film__stars {
  display: flex;
  gap: 2px;
  font-size: 0.7rem;
}
.djc-film__stars span {
  color: var(--dore-clair);
}
.djc-film__stars .star-e {
  color: rgba(196, 160, 82, 0.22);
}
.djc-film__note {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--argent);
}
.djc-film__count {
  font-family: var(--f-display);
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: rgba(196, 160, 82, 0.55);
  margin-left: auto;
}
.djc-film__tags {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

/* CTA doré */
.djc-cta {
  position: relative;
  height: 412px;
  border-radius: 18px;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px 28px;
  background: linear-gradient(
    145deg,
    #8b6914 0%,
    #b8882a 22%,
    #c4a052 42%,
    #d4a843 55%,
    #f2c84b 68%,
    #d4a843 80%,
    #b8882a 100%
  );
  box-shadow:
    0 16px 50px rgba(184, 136, 42, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s;
}
.djc-cta:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 65px rgba(184, 136, 42, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.djc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.djc-cta > * {
  position: relative;
  z-index: 1;
}
.djc-cta-col {
  display: flex;
  flex-direction: column;
}
.djc-explain {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(196, 160, 82, 0.12);
  border-radius: 10px;
  background: rgba(196, 160, 82, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.djc-explain__label {
  font-family: Cinzel, serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.9);
}
.djc-explain__text {
  font-size: 0.76rem;
  line-height: 1.65;
  color: rgba(200, 212, 228, 0.58);
  margin: 0;
}
.djc-explain__link {
  font-size: 0.72rem;
  color: rgba(196, 160, 82, 0.9);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  align-self: flex-start;
}
.djc-explain__link:hover {
  color: rgba(196, 160, 82, 0.9);
}
@keyframes ctaShimmer {
  0% {
    transform: translateX(-120%) skewX(-18deg);
  }
  100% {
    transform: translateX(320%) skewX(-18deg);
  }
}
@keyframes filmImgZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
.djc-cta__shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: 18px;
}
.djc-cta__shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: translateX(-120%) skewX(-18deg);
}
.djc-cta:hover .djc-cta__shimmer::after {
  animation: ctaShimmer 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.djc-cta__eyebrow {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(20, 10, 0, 0.45);
}
.djc-cta__title {
  font-family: var(--f-display);
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  line-height: 0.92;
  color: var(--bleu-nuit);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.djc-cta__title em {
  display: block;
  color: rgba(20, 10, 0, 0.65);
  font-style: normal;
}
.djc-cta__desc {
  font-size: 0.7rem;
  line-height: 1.65;
  color: rgba(20, 10, 0, 0.58);
}
.djc-cta__stats {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(20, 10, 0, 0.12);
  border-bottom: 1px solid rgba(20, 10, 0, 0.12);
}
.djc-cta__stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.djc-cta__stat-val {
  font-family: var(--f-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--bleu-nuit);
  line-height: 1;
}
.djc-cta__stat-lbl {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 10, 0, 0.45);
}
.djc-cta__stat-sep {
  width: 1px;
  background: rgba(20, 10, 0, 0.14);
  align-self: stretch;
  flex-shrink: 0;
}
.djc-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.djc-cta__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border-radius: 9px;
  background: var(--bleu-nuit);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-title);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-titre);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.28s;
}
.djc-cta__btn-primary:hover {
  background: #0a1520;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  color: var(--dore-clair);
}
.djc-cta__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  border-radius: 8px;
  background: rgba(20, 10, 0, 0.1);
  border: 1px solid rgba(20, 10, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 10, 0, 0.6);
  transition: all 0.25s;
}
.djc-cta__btn-secondary:hover {
  background: rgba(20, 10, 0, 0.16);
  color: rgba(20, 10, 0, 0.8);
  border-color: rgba(20, 10, 0, 0.3);
}
.djc-cta__membres {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.djc-cta__av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(20, 10, 0, 0.18);
  margin-left: -7px;
}
.djc-cta__av:first-child {
  margin-left: 0;
}
.djc-cta__av-txt {
  font-size: 0.68rem;
  color: rgba(20, 10, 0, 0.5);
  margin-left: 4px;
}

/* Recette */
.djc-recette {
  position: relative;
  height: auto;
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(65, 90, 119, 0.28);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.4s;
}
.djc-recette:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 160, 82, 0.28);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(196, 160, 82, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.djc-recette__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}
.djc-recette__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.djc-recette:hover .djc-recette__img {
  transform: scale(2);
}
.djc-recette__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(5, 12, 22, 0.85) 100%
  );
}
.djc-recette__img-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
}
.djc-recette__film-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(10, 18, 30, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 160, 82, 0.28);
  font-family: var(--f-title);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-titre);
}
.djc-recette__img-bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}
.djc-recette__fav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 18, 30, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 232, 232, 0.45);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s;
}
.djc-recette__fav:hover {
  background: rgba(194, 48, 24, 0.22);
  border-color: rgba(194, 48, 24, 0.55);
  color: var(--rouge-cta);
}
.djc-recette__type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(10, 18, 30, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(194, 48, 24, 0.55);
  font-family: var(--f-title);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rouge-cta);
}
.djc-recette__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}
.djc-recette__title {
  font-family: var(--f-editorial);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 700;
  color: var(--or-titre);
  transition: color 0.25s ease;
  line-height: 1.3;
}
.djc-recette__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* .djc-recette__tag, --or, --bleu supprimés → remplacés par .tag .tag--or / .tag--recette-cat (base.css) */
.djc-recette__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.djc-recette__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.78rem;
}
.djc-recette__stars span {
  color: var(--dore-clair);
}
.djc-recette__stars .star-e {
  color: rgba(196, 160, 82, 0.22);
}
.djc-recette__note {
  font-family: var(--f-title);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--argent);
  margin-left: 5px;
}
.djc-recette__infos {
  display: flex;
  gap: 10px;
  font-size: 0.64rem;
  color: rgba(196, 160, 82, 0.55);
}
.djc-recette__foot {
  margin-top: auto;
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative; z-index: 4; /* au-dessus de l'image étendue */
}

/* Stretched link djc-recette */
.djc-recette__link {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit;
}
.djc-recette__foot .btn-fav { flex-shrink: 0; }


/* Overlay doré + icône */
.djc-recette:hover .cd-hover-overlay { opacity: 1; }
.djc-recette:hover .cd-icon-btn { transform: translateY(0) scale(1); opacity: 1; }
.djc-recette:hover .cd-icon-btn__ring { border-color: rgba(242,200,75,.9); transform: rotate(60deg); }
.djc-recette:hover .cd-icon-btn__bg { box-shadow: 0 6px 28px rgba(184,136,42,.65); filter: brightness(1.08); }
.djc-recette:hover .cd-icon-btn__bg svg { transform: scale(1.15) translateY(-1px); }
.djc-recette:hover .cd-icon-btn__wrap { animation: cdIconFloat 2.2s ease-in-out infinite; }
.djc-recette:hover .cd-icon-btn__bg::after { animation: cdPulse 1.9s ease-out infinite; }

/* Duo responsive */
@media (max-width: 960px) {
  .duo-jour-grid {
    grid-template-columns: 1fr 1fr;
  }
  .djc-film {
    height: 400px;
  }
  .djc-cta {
    height: auto;
    grid-column: 1 / -1;
    order: 3;
  }
}
@media (max-width: 580px) {
  .duo-jour-grid {
    grid-template-columns: 1fr;
  }
  .djc-film {
    height: 340px;
  }
}

/* ======================================================
   7. BANNIÈRE PARTICIPEZ
   ====================================================== */

.participe-section {
  padding: 0;
}
.participe-banner-outer-pad {
  padding: 28px 0 0;
}
.participe-banner-wrapper {
  width: min(var(--cd-max, 1440px), 100% - 2 * var(--cd-px, 2rem));
  margin: 0 auto;
}
.participe-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-r);
  background: var(--surface-card);
  border: 1px solid rgba(65, 90, 119, 0.28);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}
.participe-banner:hover {
  border-color: rgba(196, 160, 82, 0.28);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.participe-banner__holes {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 16px 0;
  z-index: 2;
}
.participe-banner__holes--left {
  left: 0;
  border-right: 1px solid rgba(196, 160, 82, 0.1);
  background: rgba(0, 0, 0, 0.15);
}
.participe-banner__holes--right {
  right: 0;
  border-left: 1px solid rgba(196, 160, 82, 0.1);
  background: rgba(0, 0, 0, 0.15);
}
.participe-banner__hole {
  width: 12px;
  height: 10px;
  border-radius: 3px;
  background: rgba(196, 160, 82, 0.08);
  border: 1px solid rgba(196, 160, 82, 0.15);
  flex-shrink: 0;
}
.participe-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 136, 42, 0.3) 8%,
    rgba(212, 168, 67, 0.7) 28%,
    rgba(242, 200, 75, 0.95) 50%,
    rgba(212, 168, 67, 0.7) 72%,
    rgba(184, 136, 42, 0.3) 92%,
    transparent 100%
  );
}
.participe-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 60% 120% at 50% 50%,
    rgba(196, 160, 82, 0.06) 0%,
    transparent 70%
  );
}
.participe-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px 28px 56px;
  z-index: 1;
  gap: 32px;
}
.participe-banner__icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.participe-banner__clapperboard {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(196, 160, 82, 0.15) 0%,
    rgba(196, 160, 82, 0.06) 100%
  );
  border: 1px solid rgba(196, 160, 82, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow:
    0 4px 20px rgba(196, 160, 82, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.participe-banner__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.participe-banner__eyebrow {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.55);
}
.participe-banner__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.participe-banner__title span {
  background: linear-gradient(
    135deg,
    #d4a843 0%,
    #f2c84b 45%,
    #ffe085 65%,
    #d4a843 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.participe-banner__desc {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(232, 232, 232, 0.48);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.participe-banner__right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}
.participe-banner__stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.participe-banner__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.participe-banner__stat-val {
  font-family: var(--f-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--or-titre);
}
.participe-banner__stat-label {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.38);
}
.participe-banner__stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(196, 160, 82, 0.15);
}
.participe-banner__cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.participe-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 24px;
  height: 42px;
  border-radius: 9px;
  background: var(--rouge-gradient);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-title);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  box-shadow:
    0 0 20px rgba(194, 48, 24, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.28s;
  white-space: nowrap;
}
.participe-banner__btn:hover {
  background: var(--gold-gradient);
  color: var(--bleu-nuit);
  box-shadow: 0 0 28px rgba(212, 168, 67, 0.5);
  transform: translateY(-2px);
}
.participe-banner__membres {
  display: flex;
  align-items: center;
  gap: 0;
}
.participe-banner__av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 160, 82, 0.3);
  object-fit: cover;
  margin-left: -5px;
}
.participe-banner__av:first-child {
  margin-left: 0;
}
.participe-banner__av-label {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(232, 232, 232, 0.35);
  margin-left: 8px;
  white-space: nowrap;
}

/* ======================================================
   8. TOP 3 RECETTES
   ====================================================== */

.top-recettes-section {
  padding: 72px 0 80px;
}
.top3-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

/* Bento cell grid placement */
.cell--hero     { grid-column: 1; grid-row: 1 / 3; }
.cell--cta      { grid-column: 2 / 4; grid-row: 2; }

/* Featured card #1 */
.top3-featured {
  position: relative;
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(65, 90, 119, 0.28);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.4s;
}
.top3-featured:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 160, 82, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}
.top3-featured__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}
.top3-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.top3-featured:hover .top3-featured__img {
  transform: scale(2);
}
.top3-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(5, 12, 22, 0.8) 100%
  );
}
.top3-featured__medal {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--bleu-nuit);
  box-shadow:
    0 6px 28px rgba(184, 136, 42, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.top3-featured__film-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 6px;
  background: rgba(10, 18, 30, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 160, 82, 0.28);
  font-family: var(--f-title);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-titre);
}
.top3-featured__fav {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 18, 30, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 232, 232, 0.45);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.25s;
}
.top3-featured__fav:hover {
  background: rgba(194, 48, 24, 0.22);
  border-color: rgba(194, 48, 24, 0.55);
  color: var(--rouge-cta);
}
.top3-featured__body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}
.top3-featured__eyebrow {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.55);
}
.top3-featured__title {
  font-family: var(--f-editorial);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
  color: var(--or-titre);
  line-height: 1.15;
}
.top3-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.top3-tag--sm {
  font-size: 0.62rem;
  padding: 4px 11px;
}
.top3-tag--xs {
  font-size: 0.6rem;
  padding: 3px 9px;
}
.top3-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top3-featured__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.82rem;
}
.top3-featured__stars span {
  color: var(--dore-clair);
}
.top3-featured__note {
  font-family: var(--f-title);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--argent);
  margin-left: 5px;
}
.top3-featured__infos {
  font-size: 0.63rem;
  color: rgba(196, 160, 82, 0.55);
  display: flex;
  gap: 12px;
}
.top3-featured__desc {
  font-size: 0.73rem;
  color: rgba(232, 232, 232, 0.58);
  line-height: 1.7;
}
.top3-featured__foot {
  margin-top: auto;
  padding: 8px 20px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top3-featured__author {
  display: flex;
  align-items: center;
  gap: 9px;
}
.top3-featured__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(196, 160, 82, 0.25);
}
.top3-featured__author-name {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--argent);
}
.top3-featured__author-rank {
  font-size: 0.68rem;
  color: rgba(196, 160, 82, 0.52);
  margin-top: 1px;
}
/* Stretched link top3-featured */
.top3-featured__link {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit;
}
.top3-featured__foot { position: relative; z-index: 4; }
.top3-featured__foot .btn-fav { flex-shrink: 0; }


/* Overlay doré + icône */
.top3-featured:hover .cd-hover-overlay { opacity: 1; }
.top3-featured:hover .cd-icon-btn { transform: translateY(0) scale(1); opacity: 1; }
.top3-featured:hover .cd-icon-btn__ring { border-color: rgba(242,200,75,.9); transform: rotate(60deg); }
.top3-featured:hover .cd-icon-btn__bg { box-shadow: 0 6px 28px rgba(184,136,42,.65); filter: brightness(1.08); }
.top3-featured:hover .cd-icon-btn__bg svg { transform: scale(1.15) translateY(-1px); }
.top3-featured:hover .cd-icon-btn__wrap { animation: cdIconFloat 2.2s ease-in-out infinite; }
.top3-featured:hover .cd-icon-btn__bg::after { animation: cdPulse 1.9s ease-out infinite; }

/* Cards #2 & #3 */
.top3-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(65, 90, 119, 0.25);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s,
    box-shadow 0.35s;
}
.top3-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 160, 82, 0.28);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.top3-card__img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.top3-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.top3-card:hover .top3-card__img {
  transform: scale(2);
}
.top3-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 12, 22, 0.72) 100%);
}
.top3-card__medal {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 0.95rem;
}
.top3-card__medal--2 {
  background: linear-gradient(135deg, #9ba4b5, #c8d0de);
  color: #1a2030;
  box-shadow: 0 3px 12px rgba(150, 160, 180, 0.45);
}
.top3-card__medal--3 {
  background: linear-gradient(135deg, #8b5e3c, #c4854a);
  color: #fff;
  box-shadow: 0 3px 12px rgba(139, 94, 60, 0.45);
}
.top3-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.top3-card__film-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 18, 30, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 160, 82, 0.28);
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-titre);
}
.top3-card__title {
  font-family: var(--f-editorial);
  font-size: 0.96rem;
  font-style: italic;
  font-weight: 700;
  color: var(--or-titre);
  line-height: 1.25;
}
.top3-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.top3-card__meta {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top3-card__stars {
  display: flex;
  gap: 1px;
  font-size: 0.68rem;
}
.top3-card__stars span {
  color: var(--dore-clair);
}
.top3-card__stars .star-e {
  color: rgba(196, 160, 82, 0.22);
}
.top3-card__note {
  font-family: var(--f-title);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--argent);
}
.top3-card__foot {
  margin-top: auto;
  padding: 6px 20px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top3-card__author-name {
  font-family: var(--f-title);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(232, 232, 232, 0.45);
}
/* Stretched link top3-card */
.top3-card__link {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit;
}
.top3-card__foot { position: relative; z-index: 4; }
.top3-card__foot .btn-fav { flex-shrink: 0; }


/* Overlay doré + icône */
.top3-card:hover .cd-hover-overlay { opacity: 1; }
.top3-card:hover .cd-icon-btn { transform: translateY(0) scale(1); opacity: 1; }
.top3-card:hover .cd-icon-btn__ring { border-color: rgba(242,200,75,.9); transform: rotate(60deg); }
.top3-card:hover .cd-icon-btn__bg { box-shadow: 0 6px 28px rgba(184,136,42,.65); filter: brightness(1.08); }
.top3-card:hover .cd-icon-btn__bg svg { transform: scale(1.15) translateY(-1px); }
.top3-card:hover .cd-icon-btn__wrap { animation: cdIconFloat 2.2s ease-in-out infinite; }
.top3-card:hover .cd-icon-btn__bg::after { animation: cdPulse 1.9s ease-out infinite; }
.top3-card__desc {
  font-size: 0.65rem;
  color: rgba(232, 232, 232, 0.48);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA doré dans top3 */
.top3-cta {
  flex-direction: row;
  background: linear-gradient(
    145deg,
    #8b6914 0%,
    #b8882a 22%,
    #c4a052 42%,
    #d4a843 55%,
    #f2c84b 68%,
    #d4a843 80%,
    #b8882a 100%
  );
  border: 1px solid rgba(196, 160, 82, 0.4);
  box-shadow:
    0 8px 30px rgba(184, 136, 42, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.top3-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.top3-cta:hover {
  border-color: rgba(196, 160, 82, 0.65);
  box-shadow:
    0 18px 50px rgba(184, 136, 42, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.top3-cta__shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: 14px;
}
.top3-cta__shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: translateX(-120%) skewX(-18deg);
}
.top3-cta:hover .top3-cta__shimmer::after {
  animation: ctaShimmer 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.top3-cta__icon-col {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 42%;
  overflow: hidden;
}
.top3-cta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.68;
}
.top3-cta__img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(139, 105, 20, 0.82) 72%,
    rgba(180, 136, 42, 0.98) 100%
  );
}
.top3-cta__icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.top3-cta__body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.top3-cta__eyebrow {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(20, 10, 0, 0.42);
}
.top3-cta__title {
  font-family: var(--f-display);
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  line-height: 0.92;
  color: var(--bleu-nuit);
}
.top3-cta__title span {
  color: rgba(20, 10, 0, 0.55);
}
.top3-cta__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}
.top3-cta__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top3-cta__stat-val {
  font-family: var(--f-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--bleu-nuit);
  line-height: 1;
}
.top3-cta__stat-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(20, 10, 0, 0.45);
  margin-top: 3px;
}
.top3-cta__stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(20, 10, 0, 0.18);
  flex-shrink: 0;
}
.top3-cta__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 10, 0, 0.14);
}
.top3-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px;
  height: 42px;
  border-radius: 8px;
  background: var(--bleu-nuit);
  text-decoration: none;
  font-family: var(--f-title);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-titre);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
  transition: all 0.28s;
  white-space: nowrap;
  flex-shrink: 0;
}
.top3-cta__btn:hover {
  background: #0a1520;
  transform: translateY(-2px);
  color: var(--dore-clair);
}

/* Header section Top 3 (remplace l'inline style) */
.top3-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

/* Tagline CTA top3 (remplace les stats redondantes) */
.top3-cta__tagline {
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(20, 10, 0, 0.56);
  margin: 0;
}

/* Top3 responsive bento */
@media (max-width: 960px) {
  .top3-layout {
    grid-template-columns: 1fr 1fr;
  }
  .cell--hero { grid-column: 1 / 3; grid-row: 1; }
  .cell--cta  { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 620px) {
  .top3-layout {
    grid-template-columns: 1fr;
  }
  .cell--hero { grid-column: 1; }
  .cell--cta  { grid-column: 1; grid-row: 4; flex-direction: column; }
  .top3-cta__icon-col { width: 100%; height: 160px; }
}

/* ======================================================
   9. COMMUNAUTÉ BAND
   ====================================================== */

.communaute-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0d1a2b 0%,
    #111c2e 40%,
    #13202e 70%,
    #0a1520 100%
  );
  border-top: 1px solid rgba(196, 160, 82, 0.12);
  border-bottom: 1px solid rgba(196, 160, 82, 0.12);
  padding: 72px 0 80px;
}
.communaute-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/images/image-contact-cinema.jpg") right center / cover
    no-repeat;
  filter: saturate(0.65) brightness(0.52) sepia(0.12);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 15%,
    rgba(0, 0, 0, 0.06) 28%,
    rgba(0, 0, 0, 0.28) 42%,
    rgba(0, 0, 0, 0.6) 58%,
    rgba(0, 0, 0, 0.85) 75%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 15%,
    rgba(0, 0, 0, 0.06) 28%,
    rgba(0, 0, 0, 0.28) 42%,
    rgba(0, 0, 0, 0.6) 58%,
    rgba(0, 0, 0, 0.85) 75%,
    black 100%
  );
}
.communaute-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      #0d1a2b 0%,
      #0d1a2b 22%,
      rgba(13, 26, 43, 0.88) 42%,
      rgba(13, 26, 43, 0.3) 62%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 50% 100% at 18% 50%,
      rgba(13, 26, 43, 0.85) 0%,
      transparent 70%
    );
}
.communaute-band::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    var(--or-200) 0px,
    var(--or-200) 12px,
    transparent 12px,
    transparent 22px
  );
  opacity: 0.22;
}
.communaute-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 3;
}
.communaute-kicker {
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--rouge-cta);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.communaute-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--rouge-cta);
  border-radius: 1px;
}
.communaute-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
}
.communaute-title span {
  color: var(--or-titre);
}
.communaute-desc {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.76;
  color: rgba(232, 232, 232, 0.52);
  max-width: 480px;
  margin-bottom: 24px;
}
.communaute-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}
.c-stat-val {
  font-family: var(--f-display);
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  color: var(--or-titre);
  line-height: 1;
}
.c-stat-label {
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.38);
  margin-top: 3px;
}
.c-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(196, 160, 82, 0.18);
}
.communaute-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  height: 52px;
  border-radius: 10px;
  background: var(--gold-gradient);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bleu-nuit);
  box-shadow:
    0 4px 24px rgba(184, 136, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: all 0.28s;
}
.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 168, 67, 0.48);
  filter: brightness(1.07);
}
.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  height: 52px;
  border-radius: 10px;
  background: transparent;
  border: 1.5px solid rgba(232, 232, 232, 0.18);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--f-title);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.55);
  transition: all 0.28s;
}
.btn-ghost-lg:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 232, 232, 0.42);
  color: rgba(232, 232, 232, 0.88);
  transform: translateY(-2px);
}
.communaute-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contrib-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contrib-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.contrib-header__icon {
  font-size: 1.4rem;
}
.contrib-header__title {
  font-family: var(--f-title);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or-titre);
}
.contrib-header__sub {
  font-size: 0.6rem;
  color: rgba(232, 232, 232, 0.42);
  margin-top: 1px;
}
.contrib-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contrib-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.22s,
    border-color 0.22s;
}
.contrib-item:hover {
  background: rgba(196, 160, 82, 0.05);
  border-color: rgba(196, 160, 82, 0.15);
}
.contrib-item__rank {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: rgba(196, 160, 82, 0.35);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.contrib-item:nth-child(1) .contrib-item__rank {
  color: rgba(242, 200, 75, 0.7);
}
.contrib-item:nth-child(2) .contrib-item__rank {
  color: rgba(196, 200, 220, 0.55);
}
.contrib-item:nth-child(3) .contrib-item__rank {
  color: rgba(196, 140, 80, 0.55);
}
.contrib-item__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(196, 160, 82, 0.22);
  flex-shrink: 0;
}
.contrib-item--first {
  border-color: rgba(196, 160, 82, 0.28);
  background: rgba(196, 160, 82, 0.04);
}
.contrib-item--first:hover {
  border-color: rgba(196, 160, 82, 0.5);
  background: rgba(196, 160, 82, 0.09);
}
.contrib-item__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
}
.contrib-item__crown {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #f5c842;
  fill: #f5c842;
  stroke: #c4902a;
  filter: drop-shadow(0 1px 5px rgba(245, 200, 66, 0.7));
  animation: crownFloat 2.4s ease-in-out infinite;
}
.contrib-item--first .contrib-item__avatar {
  border: 2px solid var(--or-titre);
  box-shadow:
    0 0 0 2px rgba(196, 160, 82, 0.22),
    0 0 14px rgba(196, 160, 82, 0.25);
  animation: contribGlow 2.4s ease-in-out infinite;
}
@keyframes crownFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-3px);
  }
}
@keyframes contribGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(196, 160, 82, 0.22),
      0 0 10px rgba(196, 160, 82, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(196, 160, 82, 0.5),
      0 0 22px rgba(196, 160, 82, 0.4);
  }
}
.contrib-item__info {
  flex: 1;
  min-width: 0;
}
.contrib-item__name {
  font-family: var(--f-title);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(232, 232, 232, 0.85);
}
.contrib-item__meta {
  font-size: 0.68rem;
  color: rgba(232, 232, 232, 0.38);
  margin-top: 2px;
}
.contrib-item__badge-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(255, 200, 80, 0.3));
}
.contrib-item__badge-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contrib-sep {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 160, 82, 0.18),
    transparent
  );
}
.mini-gamif {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-gamif__title {
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.5);
}
.mini-gamif__levels {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-gamif__lvl {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.28s;
  position: relative;
}
.mini-gamif__lvl:hover {
  background: rgba(196, 160, 82, 0.07);
  border-color: rgba(196, 160, 82, 0.2);
  transform: translateY(-3px);
}
.mini-gamif__lvl--5 {
  border-color: rgba(242, 200, 75, 0.22);
  background: rgba(242, 200, 75, 0.04);
}
.mini-gamif__lvl--5:hover {
  border-color: rgba(242, 200, 75, 0.4);
  background: rgba(242, 200, 75, 0.09);
}
.mini-gamif__emoji {
  font-size: 1.35rem;
  line-height: 1;
}
.mini-gamif__badge-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 200, 80, 0.4));
}
.mini-gamif__name {
  font-family: var(--f-title);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.38);
  text-align: center;
  line-height: 1.2;
}
.mini-gamif__lvl--5 .mini-gamif__name {
  color: rgba(242, 200, 75, 0.6);
}
.mini-gamif__arrow {
  color: rgba(196, 160, 82, 0.22);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ======================================================
   10. SECTION BRIDGE
   ====================================================== */

.section-bridge {
  padding: 16px 0 44px;
}
.section-bridge__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.section-bridge__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 160, 82, 0.22) 30%,
    rgba(196, 160, 82, 0.35) 70%,
    transparent
  );
}
.section-bridge__text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.section-bridge__eyebrow,
.section-bridge__tagline {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 0.84rem;
  color: rgba(232, 232, 232, 0.4);
}
.section-bridge__arrow {
  font-size: 1rem;
  color: rgba(196, 160, 82, 0.4);
  animation: bridgePulse 2s ease-in-out infinite;
}
@keyframes bridgePulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(3px);
    opacity: 0.7;
  }
}

/* ======================================================
   11. RESPONSIVE GLOBAL
   ====================================================== */

@media (max-width: 1100px) {
  .communaute-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 768px) {
  .participe-banner__inner {
    padding: 24px 36px;
    flex-wrap: wrap;
  }
  .participe-banner__right {
    flex-wrap: wrap;
    gap: 16px;
  }
  .participe-banner__stats {
    order: -1;
  }
  .duo-jour-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .communaute-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ══════════════════════════════════════════════
   FIXES RESPONSIVE MOBILE (≤ 480px)
══════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* 1. Hero — stats masquées (chevauchement sur mobile) */
  .hero__stats { display: none; }

  /* Hero — badge et bouton secondaire masqués sur mobile */
  .hero__slide-badge { display: none; }
  .hero__btn-secondary { display: none; }

  /* Hero — bouton primaire pleine largeur */
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__btn-primary { width: 100%; justify-content: center; }

  /* 2. Genres — alignement identique à duo-jour-section */
  .section-header-wrap { overflow: visible; padding: 0; }
  .genres-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .genres-see-all { display: none; }

  /* 3. Duo du jour — espace entre djc-explain et djc-cta */
  .djc-explain { margin-bottom: 16px; }
  .djc-cta-col { gap: 16px; }

  /* 4. djc-film — pleine largeur, hauteur correcte */
  .djc-film {
    min-height: 380px;
    width: 100%;
    max-width: 100%;
  }
  .duo-jour-grid { gap: 16px; }
}
