/* ============================================================
   RÉFÉRENCE 14 SPORT — style.css  v2.0
   Dark Premium Sports News Portal
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --primary:        #E8001C;
  --primary-hover:  #FF1A35;
  --primary-dark:   #B30015;
  --secondary:      #F5A623;
  --accent-fire:    #FF4D1A;
  --mali-green:     #00A86B;
  --mali-gold:      #F5A623;

  --bg-body:        #0A0F1E;
  --bg-card:        #111827;
  --bg-card-2:      #161F30;
  --bg-nav:         #1A2540;
  --bg-topbar:      #060A14;
  --bg-footer:      #070C18;
  --bg-section-alt: #0D1525;

  --text-primary:   #E8F0FF;
  --text-secondary: #8B9BB8;
  --text-muted:     #5A6A84;
  --text-white:     #FFFFFF;

  --border:         rgba(255,255,255,0.07);
  --border-accent:  rgba(232,0,28,0.3);

  --font-display:   'Barlow Condensed', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      12px;
  --radius-xl:      16px;

  --shadow-card:    0 4px 24px rgba(0,0,0,0.5);
  --shadow-hover:   0 8px 40px rgba(232,0,28,0.18);
  --shadow-nav:     0 4px 30px rgba(0,0,0,0.6);

  --transition:     0.2s ease;
  --transition-slow:0.35s ease;

  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }

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

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
}

p { color: var(--text-secondary); margin-bottom: 0.75rem; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ── PAGE LOADER ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: loadFill 1.2s ease forwards;
}

@keyframes loadFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── TOPBAR ── */
.topbar {
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.topbar a {
  color: var(--text-muted);
  font-size: 0.78rem;
  transition: color var(--transition);
}
.topbar a:hover { color: var(--text-primary); }

.topbar .divider {
  color: var(--border);
  margin: 0 0.6rem;
}

.weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--secondary);
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 0.72rem;
}
.topbar-social a:hover { background: var(--primary); color: #fff; }

.live-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ── HEADER BANNER ── */
.header-banner {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.header-logo {
  height: 52px;
  width: auto;
}

.header-ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  height: 52px;
  letter-spacing: 0.05em;
}

/* ── NAVBAR ── */
.navbar-r14 {
  background: var(--bg-nav) !important;
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow-nav);
  padding: 0;
  z-index: 1030;
}

.navbar-r14 .navbar-brand img { height: 38px; }

.navbar-r14 .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: rgba(232,240,255,0.75) !important;
  padding: 1.1rem 0.85rem !important;
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.navbar-r14 .nav-link:hover,
.navbar-r14 .nav-link.active,
.navbar-r14 .nav-link.active.dropdown-toggle,
.navbar-r14 .nav-link[aria-current="page"],
.navbar-r14 .nav-item.active > .nav-link,
.navbar-r14 .dropdown-toggle.active,
.navbar-r14 .show > .nav-link {
  color: #FFFFFF !important;
}

/* Barre blanche sous TOUS les liens actifs — même niveau via ::after */
.navbar-r14 .nav-link.active:not(.dropdown-toggle)::after,
.navbar-r14 .nav-link[aria-current="page"]:not(.dropdown-toggle)::after,
.navbar-r14 .nav-link.active.dropdown-toggle::before,
.navbar-r14 .nav-link.dropdown-toggle.active::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 3px;
  background: #FFFFFF;
  pointer-events: none;
}

/* Supprimer le border-bottom qui décalait les dropdowns */
.navbar-r14 .nav-link.active.dropdown-toggle,
.navbar-r14 .nav-link.dropdown-toggle.active {
  border-bottom: none;
}

.navbar-r14 .dropdown-menu {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-card);
  min-width: 230px;
  margin-top: 0 !important;
}

.navbar-r14 .dropdown-item {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-r14 .dropdown-item:hover {
  background: rgba(232,0,28,0.12);
  color: var(--text-primary);
  padding-left: 1.5rem;
}

.navbar-r14 .dropdown-item i {
  width: 16px;
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.navbar-r14 .dropdown-divider {
  border-color: var(--border);
  margin: 0.3rem 0;
}

/* Breaking news ticker */
.ticker-wrap {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 34px;
  max-width: 480px;
}

.ticker-label {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 0.85rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-content {
  overflow: hidden;
  flex: 1;
  padding: 0 0.75rem;
}

.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-inner a {
  color: var(--text-secondary);
  font-size: 0.8rem;
  white-space: nowrap;
}
.ticker-inner a:hover { color: var(--primary); }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Navbar buttons */
.btn-navbar {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  transition: all var(--transition);
}
.btn-navbar:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}

.btn-register {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 600;
}

/* Boutons d'action de la nav (Rechercher / Connexion / S'inscrire) :
   icône au-dessus du libellé, identiques quelle que soit la langue. */
.btn-navbar.r14-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 66px;
  padding: 0.4rem 0.7rem;
  line-height: 1.1;
  text-align: center;
  font-size: 0.74rem;
  white-space: nowrap;
}
.btn-navbar.r14-cta i { margin: 0 !important; font-size: 1.02rem; }
.btn-navbar.r14-cta span { display: inline !important; }
.btn-register:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

/* ── BREADCRUMB ── */
.breadcrumb-section {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
}

.breadcrumb-item a {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.breadcrumb-item.active {
  color: var(--text-secondary);
  font-size: 0.8rem;
}
.breadcrumb-item+.breadcrumb-item::before {
  color: var(--text-muted);
  content: "›";
}

/* ── HERO CAROUSEL ── */
.hero-section { background: transparent; margin-top: 10px; padding: 0 0 0.5rem; }

.hero-carousel {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-carousel .carousel-item {
  height: 500px;
  position: relative;
  overflow: hidden;
}

.hero-carousel .carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Dégradé allégé : on assombrit juste la zone du texte (gauche + bas),
     la photo reste visible sur la droite. */
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 42%, rgba(0,0,0,0) 72%),
              linear-gradient(to top, rgba(0,0,0,0.48) 0%, transparent 46%);
}

.hero-content {
  position: absolute;
  bottom: 5.5rem;
  left: 2rem;
  right: 38%;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-excerpt {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.hero-meta i { color: var(--primary); }

.btn-hero {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.btn-hero:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,0,28,0.4);
}

.carousel-control-prev,
.carousel-control-next {
  width: 42px;
  height: 42px;
  top: auto;
  bottom: 2rem;
  transform: none;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  opacity: 1;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  z-index: 20;
}
.carousel-control-prev { right: 5rem; left: auto; }
.carousel-control-next { right: 1.5rem; left: auto; }
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--primary); border-color: var(--primary); }

.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  border: none;
}
.carousel-indicators .active { background: var(--primary); }

/* Hero side articles */
.hero-aside {
  background: var(--bg-card-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}

.hero-aside .aside-article {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.aside-article {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.aside-article:last-child { border-bottom: none; }

.aside-article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.aside-article:hover img { transform: scale(1.06); }

.aside-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.aside-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.aside-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

/* ── SECTION HEADERS ── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.section-title-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.section-accent {
  width: 4px;
  height: 1.8rem;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.section-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.section-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(232,0,28,0.06);
}

/* ── ARTICLE CARDS ── */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}

.article-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card__thumb img { transform: scale(1.06); }

.article-card__cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.article-card__cat.green  { background: var(--mali-green); }
.article-card__cat.gold   { background: var(--mali-gold); color: var(--bg-body); }
.article-card__cat.blue   { background: #2563EB; }

.article-card__body {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.article-card__title:hover { color: var(--primary); }

.article-card__excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.article-card__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.article-card__meta i { color: var(--text-muted); font-size: 0.72rem; }

/* Featured card (large) */
.article-card--featured {
  position: relative;
  min-height: 380px;
}

.article-card--featured .article-card__thumb {
  aspect-ratio: unset;
  height: 100%;
  position: absolute;
  inset: 0;
}

.article-card--featured .article-card__thumb img {
  height: 100%;
}

.article-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.2) 80%);
  border-radius: var(--radius-lg);
}

.article-card--featured .article-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.5rem;
  flex: unset;
}

.article-card--featured .article-card__title {
  font-size: 1.35rem;
  -webkit-line-clamp: 3;
}

/* Horizontal card */
.article-card--h {
  flex-direction: row;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
}

.article-card--h .article-card__thumb {
  width: 100px;
  aspect-ratio: 4/3;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.article-card--h .article-card__body {
  padding: 0 0 0 0.85rem;
}

.article-card--h .article-card__title {
  font-size: 0.88rem;
  -webkit-line-clamp: 2;
  margin-bottom: 0.3rem;
}

/* ── CATEGORY BANNER ── */
.cat-banner {
  position: relative;
  overflow: hidden;
  height: 240px;
  border-radius: 0;
}

.cat-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,15,30,0.92) 40%, rgba(10,15,30,0.5));
  display: flex;
  align-items: center;
}

.cat-banner-content { padding: 0 3rem; }

.cat-banner-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.cat-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.cat-banner-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ── AIGLES SECTION ── */
.aigles-section {
  background: linear-gradient(135deg, #003D1E 0%, #006635 50%, #004D28 100%);
  position: relative;
  overflow: hidden;
}

.aigles-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,168,107,0.2) 0%, transparent 70%);
}

.aigles-section::after {
  content: '🦅';
  position: absolute;
  right: 2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: 0.06;
  pointer-events: none;
}

.aigles-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,168,107,0.25);
  border: 1px solid rgba(0,168,107,0.5);
  color: #4DFFC0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SIDEBAR ── */
/* La sidebar défile naturellement avec la page */
.sidebar {
  width: 100%;
}
/* Parent de la sidebar */
aside.col-lg-3 {
  align-self: flex-start;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sidebar-widget__head {
  background: var(--bg-card-2);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sidebar-widget__head-accent {
  width: 3px;
  height: 1.1rem;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.sidebar-widget__head h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0;
}

.sidebar-widget__body { padding: 1rem; }

/* Trending widget */
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }

.trending-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  min-width: 28px;
  flex-shrink: 0;
}

.trending-title {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-title:hover { color: var(--primary); }

.trending-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-family: var(--font-mono);
}

/* Standings widget */
.standings-table {
  width: 100%;
  font-size: 0.78rem;
}

.standings-table thead th {
  background: var(--bg-card-2);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.6rem;
  border: none;
}

.standings-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.standings-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.standings-table tbody tr:last-child { border-bottom: none; }
.standings-table tbody td {
  padding: 0.5rem 0.6rem;
  color: var(--text-secondary);
  border: none;
  vertical-align: middle;
}

.standings-table tbody tr.top3 td:first-child {
  color: var(--secondary);
  font-weight: 700;
}

.rank-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.team-name {
  font-weight: 500;
  color: var(--text-primary);
}

.pts-col {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

/* Ad slot sidebar */
.ad-slot-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  height: 250px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* Newsletter widget */
.newsletter-widget input {
  background: var(--bg-body);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  width: 100%;
}
.newsletter-widget input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(232,0,28,0.05);
}
.newsletter-widget input::placeholder { color: var(--text-muted); }

.newsletter-widget button {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0.65rem;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--transition);
}
.newsletter-widget button:hover { background: var(--primary-hover); }

/* ── VIDEOS SECTION ── */
.video-section { background: var(--bg-section-alt); }

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: var(--bg-card);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover img { transform: scale(1.06); }

.video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  transition: background var(--transition);
}
.video-card:hover::after { background: rgba(0,0,0,0.5); }

.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px; height: 56px;
  background: rgba(232,0,28,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.video-card:hover .video-play-btn {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.video-caption-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.video-caption-dur {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ── NEWSLETTER BAND ── */
.newsletter-band {
  background: transparent;
  position: relative;
}

.newsletter-band-inner {
  background: linear-gradient(135deg, var(--primary) 0%, #900012 50%, #600008 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.newsletter-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.newsletter-band .input-group {
  max-width: 480px;
}

.newsletter-band input {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
  font-size: 0.9rem;
}
.newsletter-band input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-band input:focus {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  box-shadow: none;
  color: #fff;
}

.newsletter-band .btn-nl {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
  transition: all var(--transition);
}
.newsletter-band .btn-nl:hover {
  background: var(--bg-body);
  color: var(--primary);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo img { height: 42px; }

.footer-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.83rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-weight: 700;
}
.footer-links a:hover { color: var(--text-primary); padding-left: 4px; }

/* Social counters footer */
.social-counter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  transition: all var(--transition);
  text-decoration: none;
  margin-bottom: 0.6rem;
}
.social-counter:hover {
  transform: translateX(4px);
  border-color: var(--border-accent);
}

.social-counter__icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sc-facebook  .social-counter__icon { background: #1877F2; color: #fff; }
.sc-twitter   .social-counter__icon { background: #1DA1F2; color: #fff; }
.sc-youtube   .social-counter__icon { background: #FF0000; color: #fff; }
.sc-instagram .social-counter__icon { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:#fff; }
.sc-tiktok    .social-counter__icon { background: #000; color: #fff; border: 1px solid var(--border); }

.social-counter__info { min-width: 0; }
.social-counter__num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}
.social-counter__label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Footer bottom */
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ── MODALS ── */
.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
}

.modal-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.modal-body { padding: 1.5rem; }

.btn-close {
  filter: invert(1) opacity(0.6);
}
.btn-close:hover { opacity: 1; }

/* Search modal */
.search-modal-input {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--text-primary);
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  height: auto;
}
.search-modal-input:focus {
  background: rgba(232,0,28,0.04);
  border-color: var(--primary);
  box-shadow: none;
  color: var(--text-primary);
}
.search-modal-input::placeholder { color: var(--text-muted); }

.btn-search-submit {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1rem;
}

.search-tag {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
}
.search-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  transform: translateY(-1px);
}

.btn-outline-primary {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 0.32rem 0.55rem 0.32rem 0.8rem;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-read-more i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}
.btn-read-more:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-read-more:hover i { transform: translateX(3px); }

/* ── FORMS ── */
.form-control, .form-select {
  background: var(--bg-body) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.75rem 1rem;
  transition: all var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(232,0,28,0.12) !important;
  background: rgba(232,0,28,0.04) !important;
}

/* Liste déroulante : les options reprennent une surface + un texte lisibles dans
   les deux thèmes (sinon, en thème sombre, texte noir sur fond sombre = invisible). */
.form-select option, .form-select optgroup {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

.form-control::placeholder { color: var(--text-muted) !important; }

.form-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.input-group-text {
  background: var(--bg-card-2) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}

/* Password strength */
.pwd-strength { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 0.4rem; }
.pwd-fill { height: 100%; border-radius: 2px; transition: all 0.3s; }
.pwd-weak   .pwd-fill { width: 33%; background: #EF4444; }
.pwd-medium .pwd-fill { width: 66%; background: var(--secondary); }
.pwd-strong .pwd-fill { width: 100%; background: var(--mali-green); }

/* ── BADGES ── */
.badge-cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── PAGINATION ── */
.pagination .page-link {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.pagination .page-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(232,0,28,0.4);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* ── ARTICLE DETAIL ── */
.article-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.meta-tag i { color: var(--primary); }

.article-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body h2 { font-size: 1.4rem; color: var(--text-primary); margin: 2rem 0 1rem; }
.article-body h3 { font-size: 1.15rem; color: var(--text-primary); margin: 1.5rem 0 0.75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(232,0,28,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
}

.share-bar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0;
}

.share-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.share-btn:hover { transform: scale(1.15); }
.share-btn.fb  { background: #1877F2; }
.share-btn.tw  { background: #1DA1F2; }
.share-btn.wa  { background: #25D366; }
.share-btn.cp  { background: var(--bg-card-2); border: 1px solid var(--border); color: var(--text-muted); }

/* Author box */
.author-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}

.author-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-bio { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

/* ── PAGE FORMS (connexion / inscription) ── */
.auth-page {
  min-height: 100vh;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.auth-left {
  background: linear-gradient(135deg, var(--bg-nav) 0%, var(--bg-body) 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,0,28,0.12) 0%, transparent 70%);
}

.auth-right { padding: 2.5rem; }

.auth-logo { height: 42px; margin-bottom: 2rem; }

.auth-tagline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.auth-tagline span { color: var(--primary); }

.auth-subtitle { font-size: 0.88rem; color: var(--text-muted); }

.auth-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.social-auth-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  font-size: 0.88rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition);
  cursor: pointer;
}
.social-auth-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1.25rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── MISSION PAGE ── */
.mission-hero {
  background: linear-gradient(135deg, var(--bg-nav) 0%, var(--bg-body) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.mission-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,0,28,0.08) 0%, transparent 70%);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-slow);
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-slow);
}

.value-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }

.value-icon {
  width: 60px; height: 60px;
  background: rgba(232,0,28,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-text { font-size: 0.85rem; color: var(--text-muted); }

/* ── PARTNERS PAGE ── */
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-slow);
}

.partner-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }

.partner-logo-box {
  width: 120px; height: 60px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.partner-tier {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.tier-platine { color: var(--secondary); }
.tier-or { color: #C0A060; }
.tier-argent { color: #9CA3AF; }

/* ── CONTACT PAGE ── */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-slow);
  height: 100%;
}

.contact-info-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }

.contact-icon {
  width: 48px; height: 48px;
  background: rgba(232,0,28,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

/* ── ALERT / TOASTS ── */
.toast-success {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--mali-green);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toast-success.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── UTILITY CLASSES ── */
.bg-card   { background: var(--bg-card) !important; }
.bg-card-2 { background: var(--bg-card-2) !important; }
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--text-secondary) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.border-custom { border-color: var(--border) !important; }
.font-display { font-family: var(--font-display) !important; }
.font-mono { font-family: var(--font-mono) !important; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hover-lift { transition: transform var(--transition-slow); }
.hover-lift:hover { transform: translateY(-5px); }

/* ── PAGE HEADER (rubrique) ── */
.page-header-section {
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.page-title-display {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0;
}

/* ── AOS overrides ── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
  .hero-carousel .carousel-item { height: 340px; }
  .hero-content { right: 1rem; bottom: 1.5rem; left: 1.25rem; }
  .carousel-control-prev { right: 4.5rem; left: auto; }
  .carousel-control-next { right: 1rem; left: auto; }
  .hero-title { font-size: 1.5rem; }
  .hero-aside { display: none; }
  .sidebar { position: static; }
  .cat-banner { height: 160px; }
  .cat-banner-content { padding: 0 1.5rem; }
  .cat-banner-title { font-size: 1.8rem; }
}

@media (max-width: 767.98px) {
  html { font-size: 14px; }
  .hero-carousel .carousel-item { height: 260px; }
  .hero-title { font-size: 1.2rem; }
  .hero-excerpt { display: none; }
  .topbar .d-none-sm { display: none !important; }
  .footer-top .col-lg-3 { margin-bottom: 1.5rem; }
  .article-hero-img { height: 240px; }
  .author-box { flex-direction: column; text-align: center; }
  .share-bar { flex-direction: row; position: static; justify-content: flex-start; }
  .auth-left { display: none; }
  .newsletter-band .input-group { flex-direction: column; }
  .newsletter-band input { border-radius: var(--radius-md) !important; margin-bottom: 0.5rem; }
  .newsletter-band .btn-nl { border-radius: var(--radius-md) !important; }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item { height: 220px; }
  .hero-badge { display: none; }
  .hero-meta { display: none; }
  .cat-banner { height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker-inner { animation: none; }
}

/* ── IMAGE PLACEHOLDER (si Unsplash ne charge pas) ── */
img {
  background: var(--bg-card-2);
}

img.article-card__img,
.article-card__thumb img,
.cat-banner img,
.hero-carousel .carousel-img,
.aside-article img,
.video-card img {
  min-height: 100px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
}

/* Skeleton loader for images */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

img[src*="unsplash"]:not([complete]) {
  background: linear-gradient(90deg,
    var(--bg-card) 25%,
    var(--bg-card-2) 50%,
    var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── NAVBAR DROPDOWN FIXES ── */
.navbar-r14 .dropdown-menu {
  list-style: none !important;
  padding-left: 0 !important;
}
.navbar-r14 .dropdown-menu li {
  list-style: none !important;
}
.navbar-r14 .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}
.navbar-r14 .dropdown-item i {
  width: 15px;
  font-size: 0.75rem;
  color: var(--primary);
  flex-shrink: 0;
}
.navbar-r14 .dropdown-divider {
  margin: 0.25rem 0;
  border-color: var(--border);
  opacity: 1;
}

/* ── TRENDING SCROLL WIDGET ── */
.trending-scroll-wrap {
  overflow: hidden;
  position: relative;
  height: 320px;
  max-height: 320px;
}

.trending-scroll-inner {
  display: flex;
  flex-direction: column;
  animation: trendingScroll 28s linear infinite;
  will-change: transform;
}

.trending-scroll-inner:hover {
  animation-play-state: paused;
}

@keyframes trendingScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Items dans le widget scroll */
.trending-scroll-inner .trending-item {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.trending-scroll-inner .trending-item:hover {
  background: rgba(232,0,28,0.05);
}

.trending-scroll-inner .trending-item:last-child {
  border-bottom: 1px solid var(--border);
}

.trending-scroll-inner .trending-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  min-width: 32px;
  flex-shrink: 0;
  opacity: 0.9;
}

.trending-scroll-inner .trending-title {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
  display: block;
  transition: color var(--transition);
}

.trending-scroll-inner .trending-title:hover {
  color: var(--primary);
}

.trending-scroll-inner .trending-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-family: var(--font-mono);
}


/* ── SIDEBAR WIDGETS — FIXES DÉFORMATION ── */

/* Conteneur sidebar */
.sidebar {
  width: 100%;
  max-width: 100%;
}

/* Chaque widget */
.sidebar-widget {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Slot publicité */
.ad-slot-sidebar {
  width: 100%;
  max-width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin: 0;
}

/* Tableau classement */
.standings-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.standings-table thead th {
  background: var(--bg-card-2);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.75rem;
  border: none;
  font-weight: 600;
}

.standings-table thead th:nth-child(1) { width: 32px; }
.standings-table thead th:nth-child(2) { width: auto; }
.standings-table thead th:nth-child(3) { width: 42px; text-align: center; }
.standings-table thead th:nth-child(4) { width: 32px; text-align: center; }

.standings-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.standings-table tbody tr:last-child { border-bottom: none; }
.standings-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.standings-table tbody td {
  padding: 0.55rem 0.75rem;
  color: var(--text-secondary);
  border: none;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standings-table .rank-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.standings-table tbody tr.top3 .rank-num {
  color: var(--secondary);
}

.standings-table .team-name {
  font-weight: 500;
  color: var(--text-primary);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standings-table .pts-col {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.standings-table tbody td:nth-child(4) {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Newsletter widget */
.newsletter-widget {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.newsletter-widget input[type="email"] {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-bottom: none;
  color: var(--text-primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-widget input[type="email"]:focus {
  border-color: var(--primary);
  background: rgba(232,0,28,0.04);
}

.newsletter-widget input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-widget button[type="submit"] {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.newsletter-widget button[type="submit"]:hover {
  background: var(--primary-hover);
}

/* Sidebar body padding */
.sidebar-widget__body {
  padding: 0.9rem 1rem;
}

.sidebar-widget__body.p-0 {
  padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   SPORTS CAROUSEL — SCROLL HORIZONTAL AUTO
   ═══════════════════════════════════════════════════════════ */

/* Boutons contrôle */
.sports-carousel-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.sports-carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

/* Outer — masque le débordement, position relative pour les fades */
.sports-carousel-outer {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

/* Masques dégradés gauche/droite */
.sports-fade-left,
.sports-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 3;
  pointer-events: none;
}
.sports-fade-left  { left: 0;  background: linear-gradient(to right, var(--bg-body) 10%, transparent); }
.sports-fade-right { right: 0; background: linear-gradient(to left,  var(--bg-body) 10%, transparent); }

/* Track — flex horizontal, défilement continu */
.sports-carousel-track {
  display: flex;
  gap: 20px;
  padding: 8px 16px 16px;
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.sports-carousel-track:active { cursor: grabbing; }
.sports-carousel-track.is-paused { /* géré en JS */ }

/* Carte sport */
.sports-card {
  flex: 0 0 300px;
  width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sports-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.4);
  box-shadow: 0 12px 40px rgba(245,166,35,0.12);
}

/* Thumbnail */
.sports-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.sports-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.sports-card:hover .sports-card__thumb img {
  transform: scale(1.07);
}

/* Badge catégorie */
.sports-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  z-index: 2;
}

/* Body */
.sports-card__body {
  padding: 0.9rem 1rem 1rem;
}
.sports-card__body h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.sports-card__body h3 a { color: inherit; text-decoration: none; }
.sports-card:hover .sports-card__body h3 { color: var(--secondary); }

.sports-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sports-card__meta i { color: var(--text-muted); font-size: 0.7rem; }

/* Dots indicateurs */
.sports-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 4px;
}
.sports-dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.3s ease;
}
.sports-dot.active {
  background: var(--secondary);
  width: 36px;
}
.sports-dot:hover { background: rgba(245,166,35,0.5); }

/* Mobile : scroll natif */
@media (max-width: 767px) {
  .sports-card { flex: 0 0 260px; width: 260px; }
  .sports-fade-left, .sports-fade-right { width: 40px; }
}

/* Prevent carousel overflow from breaking layout */
.col-lg-9 {
  min-width: 0;
  overflow: hidden;
}
.sports-carousel-outer,
.sports-carousel-track {
  max-width: 100%;
}

/* ── PAGES LÉGALES ── */
.legal-hero {
  background: linear-gradient(135deg, var(--bg-nav) 0%, var(--bg-body) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,0,28,0.06) 0%, transparent 70%);
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,0,28,0.12);
  border: 1px solid rgba(232,0,28,0.3);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.legal-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.legal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.legal-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.legal-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.legal-meta-item i { color: var(--primary); }
.legal-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  position: sticky;
  top: 80px;
}
.legal-toc h6 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.legal-toc ol {
  padding-left: 1.25rem;
  margin: 0;
}
.legal-toc li {
  margin-bottom: 0.45rem;
}
.legal-toc a {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition);
}
.legal-toc a:hover { color: var(--primary); }
.legal-body {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.92rem;
}
.legal-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 90px;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.legal-section h2 .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}
.legal-section p { margin-bottom: 1rem; }
.legal-section ul, .legal-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-section li { margin-bottom: 0.4rem; }
.legal-highlight {
  background: rgba(232,0,28,0.06);
  border: 1px solid rgba(232,0,28,0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}
.legal-highlight p { margin: 0; color: var(--text-secondary); }
.legal-highlight strong { color: var(--primary); }
.legal-table {
  width: 100%;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  border-collapse: collapse;
}
.legal-table th {
  background: var(--bg-card-2);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.legal-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: rgba(255,255,255,0.02); }
.legal-contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.legal-contact-box .icon {
  width: 44px; height: 44px;
  background: rgba(232,0,28,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.legal-nav-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── NAVBAR ACTIVE OVERRIDE FINAL — bat Bootstrap sur tous les cas ── */
.navbar-r14 a.nav-link.active,
.navbar-r14 a.nav-link.active.dropdown-toggle,
.navbar-r14 a.nav-link[aria-current="page"],
.navbar-r14 .nav-item.dropdown.active > a.nav-link,
.navbar-r14 .nav-item.dropdown.active > a.nav-link.dropdown-toggle {
  color: #FFFFFF !important;
  font-weight: 600 !important;
}


/* ── WIDGET CATÉGORIES SIMPLE ── */
.scat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: all .15s;
}
.scat-item:last-child { border-bottom: none; }
.scat-item:hover { background: rgba(255,255,255,.03); color: var(--text-primary); }
.scat-label { flex: 1; }
.scat-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ── CLASSEMENT SIDEBAR SIMPLE ── */
.sl1-row {
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.sl1-row:last-child { border-bottom: none; }
.sl1-row:hover { background: rgba(255,255,255,.03); }
.sl1-pos {
  width: 28px;
  padding: .6rem .5rem .6rem .85rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}
.sl1-club {
  padding: .6rem .4rem;
  font-size: .83rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.sl1-pts {
  padding: .6rem .85rem .6rem .4rem;
  font-size: .83rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: right;
  font-family: var(--font-display);
}

/* ── Cases à cocher : thème sombre sans casser l'état coché ────────────────
   (on utilise background-color et NON le raccourci background, sinon l'image
   de coche de Bootstrap est effacée et la case paraît ne jamais se cocher.) */
.form-check-input { background-color: var(--bg-body); border-color: var(--border); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(232,0,28,.2); }
