/* =============================================
   home.css — Page d'accueil La Matinale (refonte)
   Palette : #283c90 (bleu), #74c9e5 (ciel), #FCDB16 (jaune), #020203 (noir)
   Fonts   : Inter + Poppins (Google Fonts)
   Icons   : FontAwesome 6.5.2
   Pas de Bootstrap — CSS maison uniquement.
   ============================================= */

/* ── RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:80px; }
body { background:#f3f3f3; color:#020203; font-family:'Inter','Poppins',sans-serif; overflow-x:hidden; }
a { text-decoration:none; color:inherit; }

/* ── NAVBAR ────────────────────────────────────────────────────────── */
#navbar {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  padding:0 5%; height:72px;
  display:flex; align-items:center; justify-content:space-between;
  background:transparent;
  transition:background .45s ease, box-shadow .45s ease;
}
#navbar.light {
  background:rgba(243,243,243,0.6);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 1px 0 rgba(0,0,0,0.07);
}

/* Logo : blanc sur hero (dark), couleur après scroll (light) */
#navbar .logo img { height:42px; object-fit:contain; transition:opacity .35s ease; }
#navbar .logo .logo_white { display:block; }
#navbar .logo .logo_color { display:none; }
#navbar.light .logo .logo_white { display:none; }
#navbar.light .logo .logo_color { display:block; }

/* Liens nav */
#navbar ul { display:flex; align-items:center; list-style:none; gap:4px; }
#navbar ul li a { font-size: 15px;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 50px;
    color: rgba(255, 255, 255, .9);
    transition: color .25s, background .25s;
background: rgb(0 0 0 / 42%);
    margin: 0 10px 0 0; }
#navbar ul li a:hover { color:#fff; background:rgba(255,255,255,.1); }
#navbar ul li a.active { color:#fff; font-weight:700; }
#navbar.light ul li a { color:#666; background: rgb(255 255 255 / 40%); }
#navbar.light ul li a:hover { color:#020203; background:rgba(0,0,0,0.05); }
#navbar.light ul li a.active {color: #ffffff;
    font-weight: 700;
    background: #74c9e575;}
#navbar ul li { position:relative; }
#navbar .nav_right { display:flex; align-items:center; gap:12px; }
#navbar .btn_nav_cta { background:#fbd918; color:#0c0c0e; font-size:13px; font-weight:700; padding:9px 20px; border-radius:50px; transition:background .2s, transform .2s; white-space:nowrap; }
#navbar .btn_nav_cta:hover { background:#fff; transform:scale(1.03); }
#navbar.light .btn_nav_cta { color:#020203; }
#navbar .burger { display:none; background:none; border:1px solid rgba(255,255,255,.3); border-radius:8px; padding:7px 11px; cursor:pointer; font-size:18px; color:#fff; transition:border-color .25s, color .25s; }
#navbar.light .burger { border-color:rgba(0,0,0,.15); color:#020203; }
/* CTA mobile — caché en desktop, visible dans le menu burger */
#navbar ul .nav_cta_mobile { display:none; }
#navbar ul .nav_cta_mobile .btn_nav_cta { display:inline-flex; width:100%; justify-content:center; border-radius:10px; padding:11px 20px; background:#FCDB16 !important; color:#0c0c0e !important; }

@media (max-width:900px) {
  #navbar ul { display:none; }
  #navbar ul.open { display:flex; flex-direction:column; position:absolute; top:72px; left:0; width:100%; padding:12px 5% 20px; gap:4px; background:rgba(243,243,243,0.98); backdrop-filter:blur(18px); }
  #navbar ul.open li a { color:#444 !important; }
  #navbar ul.open li a:hover { color:#020203 !important; background:rgba(0,0,0,0.05) !important; }
  #navbar .burger { display:block; }
  #navbar .nav_right { display:none; }
  #navbar ul.open .nav_cta_mobile { display:block; margin-top:8px; }
}

/* ── HERO ──────────────────────────────────────────────────────────── */
#hero {
  position:relative; width:100%; min-height:100vh; min-height:100svh;
  display:flex; align-items:center; overflow:hidden;
}
.hero_bg {
  position:absolute; inset:0; z-index:0;
  background:url('../images/PlateauMatinale.webp') center/cover no-repeat;
}
.hero_bg::after {
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(to right, rgba(10,10,15,1) 0%, rgba(10,10,15,0.92) 30%, rgba(10,10,15,0.6) 55%, rgba(10,10,15,0.15) 75%, rgba(10,10,15,0) 100%),
    linear-gradient(to top, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0) 40%);
}
.hero_presenter {
  position:absolute; bottom:0; right:3%; height:82%; max-height:850px;
  z-index:1; pointer-events:none;
}
.hero_presenter img { height:100%; width:auto; display:block; object-fit:contain; }
@media (max-width:1200px) { .hero_presenter { right:-2%; height:80%; } }
@media (max-width:768px)  { .hero_presenter { display:none; } }

.hero_inner { position:relative; z-index:2; width:100%; padding:0px 5% 80px; display:flex; align-items:center; gap:40px; }
@media (max-width:768px) { .hero_inner { padding:104px 5% 56px; } }
@media (max-width:480px) { .hero_inner { padding:96px 4% 48px; } }
.hero_left { width:48%; max-width:580px; display:flex; flex-direction:column; gap:22px; }
@media (max-width:1024px) { .hero_left { width:65%; } }
@media (max-width:768px)  { .hero_left { width:100%; gap:18px; } }

.hero_badge { display:inline-flex; align-items:center; gap:8px; background:rgba(252,219,22,.12); border:1px solid rgba(252,219,22,.35); color:#FCDB16; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; padding:6px 14px; border-radius:50px; width:fit-content; }
.hero_badge .dot { width:7px; height:7px; background:#FCDB16; border-radius:50%; animation:pulse 1.8s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero_left h1 { font-size:52px; font-weight:900; line-height:1.1; color:#fff; letter-spacing:-1px; }
.hero_left h1 span { color:#FCDB16; }
@media (max-width:1200px) { .hero_left h1 { font-size:42px; } }
@media (max-width:768px)  { .hero_left h1 { font-size:32px; } }
.hero_meta { display:flex; align-items:center; gap:6px; font-size:13px; color:rgba(255,255,255,.5); font-weight:500; }
.hero_meta strong { color:rgba(255,255,255,.85); }
.hero_meta .sep { color:rgba(255,255,255,.2); }
.hero_tagline { font-size:16px; line-height:1.65; color:rgba(255,255,255,.65); }
.hero_cta { display:flex; gap:12px; flex-wrap:wrap; }
@media (max-width:480px) {
  .hero_cta { flex-direction:column; gap:10px; }
  .hero_cta .btn_primary,
  .hero_cta .btn_secondary { width:100%; justify-content:center; padding:14px 20px; }
}
.btn_primary { display:inline-flex; align-items:center; gap:8px; background:#FCDB16; color:#0c0c0e; font-weight:800; font-size:14px; padding:14px 28px; border-radius:10px; transition:background .2s, transform .2s; }
.btn_primary:hover { background:#fff; transform:translateY(-2px); }
.btn_secondary { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.2); font-weight:600; font-size:14px; padding:14px 28px; border-radius:10px; backdrop-filter:blur(8px); transition:background .2s; }
.btn_secondary:hover { background:rgba(255,255,255,.18); }

.hero_card { position:absolute; bottom:40px; left:5%; z-index:3; display:flex; align-items:center; gap:16px; background:rgba(255,255,255,.07); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:16px 22px; max-width:480px; }
.hero_card_thumb { width:70px; height:70px; flex-shrink:0; border-radius:10px; overflow:hidden; background:linear-gradient(135deg,#283c90,#74c9e5); }
.hero_card_thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.hero_card_info { display:flex; flex-direction:column; gap:4px; }
.hero_card_label { font-size:10px; text-transform:uppercase; letter-spacing:2px; color:#FCDB16; font-weight:700; }
.hero_card_title { font-size:14px; font-weight:700; color:#fff; line-height:1.3; }
.hero_card_meta  { font-size:12px; color:rgba(255,255,255,.5); }
.hero_card_cta { margin-left:auto; flex-shrink:0; background:#FCDB16; color:#0c0c0e; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; padding:10px 18px; border-radius:8px; transition:background .2s; white-space:nowrap; }
.hero_card_cta:hover { background:#fff; }
@media (max-width:900px) { .hero_card { display:none; } }

/* ── SCROLL INDICATOR ──────────────────────────────────────────────── */
.scroll_indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.25s, opacity 0.4s;
  animation: scroll_bounce 2s ease infinite;
}
.scroll_indicator:hover { color: rgba(255, 255, 255, 0.9); }
.scroll_indicator i { font-size: 18px; }
.scroll_indicator.hiding { opacity: 0; pointer-events: none; animation: none; }
.scroll_indicator.hidden { display: none; }
@keyframes scroll_bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 900px) { .scroll_indicator { bottom: 20px; } }

/* ── MAIN ──────────────────────────────────────────────────────────── */
main { background:#f3f3f3; }
.content_wrap { width:90%; max-width:1300px; margin:0 auto; padding:50px 0; }
@media (max-width:768px) { .content_wrap { width:94%; padding:48px 0; } }
@media (max-width:480px) { .content_wrap { width:92%; padding:40px 0; } }

.section_title { font-size:30px; font-weight:800; color:#020203; margin-bottom:36px; position:relative; display:inline-block; }
.section_title::after { content:''; position:absolute; bottom:-6px; left:0; width:44px; height:3px; background:#FCDB16; border-radius:2px; }
@media (max-width:768px) { .section_title { font-size:22px; margin-bottom:28px; } }

/* ── PROGRAMME ─────────────────────────────────────────────────────── */
#program .program_grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:1200px){ #program .program_grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:860px) { #program .program_grid{ grid-template-columns:repeat(2,1fr); gap:12px; } }
@media (max-width:500px) { #program .program_grid{ grid-template-columns:1fr 1fr; gap:10px; } }
@media (max-width:380px) { #program .program_grid{ grid-template-columns:1fr; gap:10px; } }
#program .program_item { position:relative; border-radius:18px; overflow:hidden; aspect-ratio:3/4; display:flex; flex-direction:column; justify-content:flex-end; background:#1a1a1f; box-shadow:0 8px 30px rgba(0,0,0,0.18); transition:transform .35s ease, box-shadow .35s ease, opacity .55s ease; will-change:transform; cursor:pointer; opacity:0; transform:translateY(28px); }
#program .program_item.in-view { opacity:1; transform:translateY(0); }
#program .program_item:hover { transform:translateY(-8px); box-shadow:0 24px 55px rgba(0,0,0,0.28); }
/* Sur mobile en 2 colonnes, les cartes restent en 3/4 : parfait, hauteur raisonnable */
/* Sur très petit écran (1 colonne), passer en 16/10 pour éviter une carte trop haute */
@media (max-width:380px) { #program .program_item { aspect-ratio:16/10; } }
.prog_card_bg { position:absolute; inset:0; background-size:cover; background-position:center; transition:transform .55s ease; }
#program .program_item:hover .prog_card_bg { transform:scale(1.07); }
.prog_card_overlay { position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.92) 100%); }

/* ── Date badge — carré fixe frosted glass ── */
.prog_card_dates {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 68px;
  height: 68px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prog_date_col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  gap: 1px;
}
.prog_date_month {
  font-size: 9px;
  font-weight: 800;
  color: #FCDB16;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Poppins', sans-serif;
}
.prog_date_day {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
}

.prog_card_body { position:relative; z-index:2; padding:18px; display:flex; flex-direction:column; gap:6px; }
.prog_card_theme { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:rgba(255,255,255,.45); }
#program .program_item h3 { font-size:14px; font-weight:700; color:#fff; line-height:1.4; margin:0 0 10px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.prog_card_cta { display:flex; align-items:center; justify-content:center; gap:8px; background:#FCDB16; color:#0c0c0e; font-weight:800; font-size:11px; text-transform:uppercase; letter-spacing:1px; padding:10px 14px; border-radius:8px; width:100%; transition:background .2s; }
#program .program_item:hover .prog_card_cta { background:#fff; }

/* ── KIT MEDIA ─────────────────────────────────────────────────────── */
.kit_media_cta { border-radius:22px; margin:60px 0 0; overflow:hidden; position:relative; background-size:cover; background-position:center; }
@media (max-width:768px) { .kit_media_cta { border-radius:16px; margin:40px 0 0; } }
@media (max-width:480px) { .kit_media_cta { border-radius:14px; margin:32px 0 0; } }
.kit_media_inner { display:flex; align-items:center; justify-content:space-between; gap:60px; padding:70px 60px; }
@media (max-width:1024px){ .kit_media_inner { flex-direction:column; align-items:flex-start; gap:36px; padding:50px 40px; } }
@media (max-width:768px) { .kit_media_inner { padding:36px 24px; gap:28px; } }
@media (max-width:480px) { .kit_media_inner { padding:28px 20px; gap:24px; } }
.kit_media_label { display:inline-flex; align-items:center; gap:8px; font-size:11px; text-transform:uppercase; letter-spacing:2px; color:#FCDB16; font-weight:700; border:1px solid rgba(252,219,22,.4); padding:5px 14px; border-radius:50px; width:fit-content; margin-bottom:6px; }
.kit_media_left { display:flex; flex-direction:column; gap:16px; max-width:560px; }
.kit_media_left h2 { color:#fff; font-size:34px; font-weight:800; line-height:1.2; }
@media (max-width:768px) { .kit_media_left h2 { font-size:24px; } }
@media (max-width:480px) { .kit_media_left h2 { font-size:21px; } }
.kit_media_left p { color:rgba(255,255,255,.65); font-size:15px; line-height:1.7; }
@media (max-width:480px) { .kit_media_left p { font-size:14px; line-height:1.6; } }
.kit_media_stats { display:flex; gap:36px; padding-top:6px; flex-wrap:wrap; }
@media (max-width:480px) { .kit_media_stats { gap:20px 28px; } }
.kit_stat { display:flex; flex-direction:column; gap:3px; }
.kit_stat .stat_num { font-size:28px; font-weight:800; color:#FCDB16; line-height:1; }
@media (max-width:480px) { .kit_stat .stat_num { font-size:22px; } }
.kit_stat .stat_label { font-size:11px; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:1px; }
.kit_media_right { width:100%; }
@media (max-width:1024px) { .kit_media_right { width:auto; } }
.kit_media_right a { display:inline-flex; align-items:center; gap:12px; background:#FCDB16; color:#0c0c0e; font-weight:700; font-size:14px; padding:16px 32px; border-radius:12px; transition:.2s; white-space:nowrap; box-shadow:0 8px 30px rgba(252,219,22,.25); }
@media (max-width:768px) { .kit_media_right a { width:100%; justify-content:center; padding:14px 24px; } }
.kit_media_right a:hover { background:#fff; transform:translateY(-3px); }

/* ── PARTENAIRES ────────────────────────────────────────────────────── */
#partners { padding:0px 0 0px; }
.partners_mosaic { display:grid; grid-template-columns:repeat(9,1fr); gap:10px; background:#fff; border-radius:20px; padding:28px 24px; box-shadow:0 4px 20px rgba(0,0,0,.06); }
.partners_mosaic .pm_logo { display:flex; align-items:center; justify-content:center; height:64px; padding:8px 12px; border-radius:10px; transition:background .2s; }
.partners_mosaic .pm_logo:hover { background:rgba(40,60,144,.05); }
.partners_mosaic .pm_logo img { max-width:100%; max-height:42px; object-fit:contain; filter:grayscale(100%); opacity:.5; transition:filter .25s, opacity .3s; }
.partners_mosaic .pm_logo:hover img { filter:grayscale(0%); opacity:1; }
@media (max-width:1100px){ .partners_mosaic { grid-template-columns:repeat(6,1fr); } }
@media (max-width:700px) { .partners_mosaic { grid-template-columns:repeat(4,1fr); padding:20px 16px; gap:8px; } }
@media (max-width:480px) { .partners_mosaic { grid-template-columns:repeat(3,1fr); padding:16px 12px; gap:6px; border-radius:16px; } }
@media (max-width:700px) { .partners_mosaic .pm_logo { height:52px; padding:6px 8px; } }
@media (max-width:480px) { .partners_mosaic .pm_logo { height:46px; padding:4px 6px; } }
@media (max-width:480px) { .partners_mosaic .pm_logo img { max-height:30px; } }

/* ── REPLAYS ────────────────────────────────────────────────────────── */

.replays_header { display:flex; align-items:center; gap:16px; margin-bottom:36px; }
.replays_header .section_title { margin-bottom:0; }
.replays_count_badge { font-size:11px; font-weight:700; color:#283c90; background:rgba(40,60,144,.09); border:1px solid rgba(40,60,144,.15); padding:4px 12px; border-radius:50px; margin-top:4px; }

/* ── FEATURED ── */
.replay_featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  color: #020203;
  transition: box-shadow .3s ease, transform .3s ease;
  margin-bottom: 16px;
  min-height: 300px;
}
.replay_featured:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(40,60,144,.14); }
@media (max-width: 860px) { .replay_featured { grid-template-columns: 1fr; border-radius:18px; } }
@media (max-width: 480px) { .replay_featured { border-radius:14px; } }

.replay_featured_img {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #283c90, #74c9e5);
  min-height: 280px;
}
@media (max-width: 860px) { .replay_featured_img { min-height: 200px; } }
@media (max-width: 480px) { .replay_featured_img { min-height: 160px; } }
.replay_featured_img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.replay_featured:hover .replay_featured_img img { transform: scale(1.04); }
.replay_featured_img_placeholder { width:100%; height:100%; background:linear-gradient(135deg,#283c90,#74c9e5); }
.replay_featured_img_overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0) 60%, rgba(0,0,0,.08) 100%),
              linear-gradient(to top, rgba(0,0,0,.3) 0%, transparent 40%);
}

.replay_featured_body {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
@media (max-width: 860px) { .replay_featured_body { padding: 24px 22px; } }
@media (max-width: 480px) { .replay_featured_body { padding: 18px 18px 20px; gap:12px; } }

.replay_featured_meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.replay_pill_type {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  color: #020203; background: #FCDB16;
  padding: 5px 12px; border-radius: 50px;
}
.replay_pill_theme {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: #283c90; background: rgba(40,60,144,.08);
  padding: 5px 12px; border-radius: 50px;
}

.replay_featured_body h3 {
  font-size: 22px; font-weight: 900; line-height: 1.3; color: #020203; margin: 0;
}
@media (max-width: 1100px) { .replay_featured_body h3 { font-size: 18px; } }
@media (max-width: 480px)  { .replay_featured_body h3 { font-size: 16px; } }

.replay_featured_body p {
  font-size: 14px; color: #666; line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

.replay_featured_footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-top: 4px;
}
.replay_featured_date { font-size: 12px; color: #999; display:flex; align-items:center; gap:6px; }
.replay_featured_cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; color: #020203;
  background: #f3f3f3; padding: 10px 18px; border-radius: 8px;
  transition: background .2s, gap .2s;
}
.replay_featured:hover .replay_featured_cta { background: #FCDB16; gap: 12px; }

/* ── SECONDARY GRID ── */
.replays_secondary_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .replays_secondary_grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .replays_secondary_grid { grid-template-columns: repeat(2, 1fr); gap:10px; } }
@media (max-width: 400px)  { .replays_secondary_grid { grid-template-columns: 1fr 1fr; gap:8px; } }

.replay_mini {
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  color: #020203;
  transition: transform .28s ease, box-shadow .28s ease;
}
.replay_mini:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(40,60,144,.13); }
@media (max-width: 480px) { .replay_mini { border-radius:12px; } }

.replay_mini_img {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #283c90, #74c9e5);
  flex-shrink: 0;
}
.replay_mini_img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.replay_mini:hover .replay_mini_img img { transform: scale(1.07); }
.replay_mini_theme {
  position: absolute; bottom: 8px; left: 8px;
  font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: #020203; background: #FCDB16;
  padding: 3px 8px; border-radius: 4px;
}

.replay_mini_body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 4px; flex: 1;
}
@media (max-width: 480px) { .replay_mini_body { padding: 10px 11px 12px; } }
.replay_mini_date { font-size: 10px; color: #aaa; font-weight: 600; }
@media (max-width: 480px) { .replay_mini_date { font-size: 9px; } }
.replay_mini_body h4 {
  font-size: 12px; font-weight: 800; color: #020203; line-height: 1.4; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 480px) { .replay_mini_body h4 { font-size: 11px; -webkit-line-clamp: 2; } }
.replay_mini_cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: #283c90;
  margin-top: 8px; transition: gap .2s;
}
.replay_mini:hover .replay_mini_cta { gap: 8px; }
@media (max-width: 480px) { .replay_mini_cta { font-size: 10px; margin-top:6px; } }

/* ── SEE ALL ── */
.replays_see_all { display:flex; justify-content:center; margin-top:32px; }
.btn_see_all {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #020203;
  font-size: 14px; font-weight: 700;
  padding: 14px 28px; border-radius: 12px;
  border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.btn_see_all:hover { background: #FCDB16; border-color: #FCDB16; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(252,219,22,.25); }
.btn_see_all i:first-child { color: #283c90; font-size: 12px; }

/* ── MODAL REPLAYS ──────────────────────────────────────────────────── */
.modal_replays {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal_replays[hidden] { display: none; }

.modal_replays_backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 2, 3, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: modal_fade_in .25s ease;
}

.modal_replays_panel {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 22px;
  width: 100%; max-width: 860px;
  max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
  animation: modal_slide_in .28s cubic-bezier(.22,.68,0,1.2);
  overflow: hidden;
}

@keyframes modal_fade_in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal_slide_in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.modal_replays_head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.modal_replays_head h2 { font-size: 20px; font-weight: 900; color: #020203; margin: 0 0 2px; }
.modal_replays_subtitle { font-size: 12px; color: #999; font-weight: 500; }

.modal_replays_close {
  width: 36px; height: 36px; flex-shrink: 0;
  background: #f3f3f3; border: none; border-radius: 10px;
  color: #555; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal_replays_close:hover { background: #020203; color: #fff; }

.modal_replays_search_wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.modal_replays_search_wrap i { color: #bbb; font-size: 14px; flex-shrink: 0; }
#modal_replays_search {
  flex: 1; border: none; outline: none;
  font-size: 14px; color: #020203; background: transparent;
  font-family: 'Inter', 'Poppins', sans-serif;
}
#modal_replays_search::placeholder { color: #bbb; }

.modal_replays_body {
  overflow-y: auto; flex: 1;
  scrollbar-width: thin; scrollbar-color: #e0e0e0 transparent;
}

/* Table */
.replays_table { width: 100%; border-collapse: collapse; }
.replays_table thead th {
  position: sticky; top: 0; z-index: 1;
  background: #fafafa;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #aaa;
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.replays_table thead th.col_date  { width: 130px; padding-left: 32px; }
.replays_table thead th.col_theme { width: 120px; }
.replays_table thead th.col_action{ width: 48px; }

.replays_table tbody tr {
  border-bottom: 1px solid #f7f7f7;
  transition: background .15s;
  cursor: pointer;
}
.replays_table tbody tr:last-child { border-bottom: none; }
.replays_table tbody tr:hover { background: #fafbff; }

.replays_table tbody td {
  padding: 14px 14px; font-size: 13px; color: #555; vertical-align: middle;
}
.replays_table tbody td.col_date {
  padding-left: 32px; color: #999; font-size: 12px;
  font-weight: 600; white-space: nowrap;
}
.replays_table tbody td.col_theme { }
.replays_table .rt_theme_pill {
  display: inline-block;
  font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: #283c90; background: rgba(40,60,144,.08);
  padding: 3px 9px; border-radius: 50px;
  white-space: nowrap; max-width: 110px;
  overflow: hidden; text-overflow: ellipsis;
}
.replays_table tbody td.col_title { color: #020203; font-weight: 600; line-height: 1.4; }
.replays_table tbody td.col_action { text-align: right; padding-right: 28px; }
.rt_arrow {
  width: 30px; height: 30px; border-radius: 8px;
  background: #f3f3f3; color: #555;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; transition: background .2s, color .2s, transform .2s;
}
.replays_table tbody tr:hover .rt_arrow { background: #FCDB16; color: #020203; transform: translateX(3px); }

.replays_no_result { padding: 40px; text-align: center; color: #aaa; font-size: 14px; }

/* Highlight recherche */
.rt_highlight { background: rgba(252,219,22,.4); border-radius: 2px; }

@media (max-width: 600px) {
  .modal_replays_head { padding: 20px 20px 16px; }
  .modal_replays_search_wrap { padding: 12px 20px; }
  .replays_table thead th.col_date  { padding-left: 20px; }
  .replays_table tbody td.col_date  { padding-left: 20px; }
  .replays_table tbody td.col_action{ padding-right: 16px; }
  .col_theme { display: none; }
}

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer { background:#0f1835; padding:60px 5% 0; }
@media (max-width: 480px) { footer { padding:48px 5% 0; } }

.footer_inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 48px;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) { .footer_inner { grid-template-columns: 1fr 1fr; gap:36px; } }
@media (max-width: 600px) { .footer_inner { grid-template-columns: 1fr; gap: 28px; padding-bottom:32px; } }

.footer_logo { height: 36px; object-fit: contain; margin-bottom: 14px; display: block; }
.footer_baseline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.65; max-width: 260px; margin: 0; }

.footer_nav { display: flex; gap: 48px; }
@media (max-width: 900px) { .footer_nav { gap: 32px; } }
@media (max-width: 600px) { .footer_nav { gap: 24px; } }
@media (max-width: 380px) { .footer_nav { flex-direction: column; gap: 20px; } }
.footer_nav_col { display: flex; flex-direction: column; gap: 10px; }
.footer_nav_title { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.footer_nav_col a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer_nav_col a:hover { color: #FCDB16; }

.footer_social { display: flex; flex-direction: column; gap: 14px; }
.footer_social_links { display: flex; gap: 10px; }
.footer_social_links a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.footer_social_links a:hover { background: #FCDB16; color: #0c0c0e; border-color: #FCDB16; }

.footer_bottom { max-width: 1300px; margin: 0 auto; padding: 20px 0 24px; }
.footer_bottom p { color: rgba(255,255,255,.25); font-size: 12px; }

.empty_state { color:#999; font-size:15px; }

/* ============================================================
   HERO MOBILE — REFONTE BACKGROUND & LAYOUT (ui-ux-pro-max)
   ============================================================ */

@media (max-width: 768px) {

  /* ── 1. Image : décalage léger pour cadrer le sujet ── */
  .hero_bg { background-position: 65% center; }

  /* ── 2. Overlay — gradient VERTICAL pour mobile ──────────
     Desktop = gauche→droite (presenter à droite)
     Mobile  = haut→bas (no presenter, plein écran) */
  .hero_bg::after {
    background:
      /* vignette top — badge + nav lisibles */
      linear-gradient(
        to bottom,
        rgba(4, 6, 18, 0.92)  0%,
        rgba(4, 6, 18, 0.72) 28%,
        rgba(4, 6, 18, 0.78) 58%,
        rgba(4, 6, 18, 0.95) 82%,
        rgba(4, 6, 18, 1.00) 100%
      ),
      /* vignette latérale — évite les halos de l'image sur les bords */
      linear-gradient(
        to right,
        rgba(4, 6, 18, 0.60) 0%,
        rgba(4, 6, 18, 0.00) 50%,
        rgba(4, 6, 18, 0.40) 100%
      );
  }

  /* ── 3. Hero inner — meilleur équilibre vertical ── */
  .hero_inner {
    padding: 100px 5% 96px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero_left { gap: 16px; width: 100%; }

  /* ── 4. Tagline — max 3 lignes, plus lisible ── */
  .hero_tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .84);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ── 5. Hero meta — masquer le titre (trop long, porte à confusion) ── */
  .hero_meta {
    flex-wrap: wrap;
    gap: 4px 6px;
    font-size: 12px;
  }
  .hero_meta .sep_title,
  .hero_meta .meta_title { display: none; }

  /* ── 6. CTAs — espacement propre ── */
  .hero_cta { gap: 10px; }
  .btn_primary, .btn_secondary { font-size: 14px; }

  /* ── 7. H1 mobile — hauteur de ligne ajustée ── */
  .hero_left h1 { letter-spacing: -0.5px; line-height: 1.15; }

  /* ── 8. Badge — légèrement plus compact ── */
  .hero_badge { font-size: 10px; padding: 5px 12px; letter-spacing: 1.2px; }
}

@media (max-width: 480px) {

  /* Overlay plus couvrant sur petits écrans */
  .hero_bg::after {
    background:
      linear-gradient(
        to bottom,
        rgba(4, 6, 18, 0.94)  0%,
        rgba(4, 6, 18, 0.76) 25%,
        rgba(4, 6, 18, 0.82) 58%,
        rgba(4, 6, 18, 0.97) 80%,
        rgba(4, 6, 18, 1.00) 100%
      ),
      linear-gradient(
        to right,
        rgba(4, 6, 18, 0.65) 0%,
        rgba(4, 6, 18, 0.00) 55%,
        rgba(4, 6, 18, 0.45) 100%
      );
  }

  .hero_inner { padding: 90px 4% 90px; }
  .hero_left  { gap: 30px; }

  /* Tagline : 2 lignes sur très petits écrans */
  .hero_tagline { font-size: 18px; line-height: 1.65; -webkit-line-clamp: 4; }

  /* H1 */
  .hero_left h1 { font-size: 35px; }
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE — HERO META MASQUÉ + BURGER MENU ÉLÉGANT
════════════════════════════════════════════════════════════════════ */

/* ── Hero : masquer date + heure sur mobile ── */
@media (max-width: 768px) {
  .hero_meta { display: none !important; }
}

/* ── Burger menu : redesign dark glassmorphism ── */
@media (max-width: 900px) {

  /* Bouton — icône propre, sans border */
  #navbar .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    width: 40px; height: 40px;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    transition: color .2s, transform .18s;
    z-index: 999;
    margin-top: 10px;
  }
  #navbar.light .burger         { color: #020203; }
  #navbar .burger.open          { color: #FCDB16; }

  /* Panel — overlay sombre plein écran depuis le haut */
  #navbar ul.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 84px 7% 40px;
    gap: 0;
    background: rgba(4, 6, 18, 0.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .65);
    z-index: 998;
    animation: nav_panel_open .28s cubic-bezier(.22, .61, .36, 1) both;
  }

  /* Séparateurs */
  #navbar ul.open li {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    animation: nav_item_in .35s cubic-bezier(.22, .61, .36, 1) both;
  }
  #navbar ul.open li:nth-child(1) { animation-delay: .04s; }
  #navbar ul.open li:nth-child(2) { animation-delay: .09s; }
  #navbar ul.open li:nth-child(3) { animation-delay: .14s; }
  #navbar ul.open li:nth-child(4) { animation-delay: .19s; }
  #navbar ul.open li:nth-child(5) { animation-delay: .24s; }

  /* Liens */
  #navbar ul.open li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 4px;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.2px;
    background: none !important;
    border-radius: 0;
    margin: 0;
    transition: color .2s, padding-left .2s;
  }
  #navbar ul.open li a::after {
    padding-left: 10px;
    content: '\f061'; /* fa-arrow-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: rgba(255, 255, 255, .22);
    transition: transform .2s, color .2s;
  }
  #navbar ul.open li a:hover,
  #navbar ul.open li a.active          { color: #FCDB16 !important; padding-left: 6px; background: none !important; }
  #navbar ul.open li a:hover::after,
  #navbar ul.open li a.active::after   { color: #FCDB16; transform: translateX(4px); }

  /* CTA mobile */
  #navbar ul.open .nav_cta_mobile {
    display: block;
    border-bottom: none;
    margin-top: 24px;
    animation-delay: .28s;
  }
  #navbar ul.open .nav_cta_mobile .btn_nav_cta {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    border-radius: 12px !important;
    padding: 15px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: #FCDB16 !important;
    color: #0c0c0e !important;
    letter-spacing: 0;
    margin: 0;
  }
  #navbar ul.open .nav_cta_mobile .btn_nav_cta::after { display: none !important; }

  /* Animations */
  @keyframes nav_panel_open {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0);     }
  }
  @keyframes nav_item_in {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0);     }
  }
}
