/* ============================================================
   TOOSPORT — Style Premium v2.0
   Palette : Navy #0D1B3E | Bleu vif #1565C0 | Or #F5C518
   Typo : Barlow Condensed (titres) + DM Sans (corps)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;0,800;0,900;1,700;1,800;1,900&family=Barlow:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

/* Fix overflow mobile global */
html {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Couleurs principales */
  --navy:        #0D1B3E;
  --navy-mid:    #152347;
  --navy-light:  #1E3160;
  --blue:        #1565C0;
  --blue-bright: #1976D2;
  --gold:        #F5C518;
  --gold-light:  #FFD740;
  --gold-dark:   #E6A800;
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --gray-100:    #F2F4F8;
  --gray-200:    #E4E8F0;
  --gray-300:    #C8D0E0;
  --gray-400:    #9AA3B8;
  --gray-600:    #5A6478;
  --gray-800:    #2A3045;

  /* Sports couleurs */
  --sport-football:  #2E7D32;
  --sport-rugby:     #BF360C;
  --sport-basket:    #E65100;
  --sport-tennis:    #558B2F;
  --sport-natation:  #0277BD;
  --sport-cyclisme:  #6A1B9A;
  --sport-athle:     #C62828;
  --sport-handball:  #AD1457;
  --sport-volley:    #00838F;
  --sport-default:   #1565C0;

  /* Typographie */
  --font-display: 'Barlow Condensed', 'Impact', sans-serif;
  --font-body:    'DM Sans', 'Barlow', sans-serif;

  /* Ombres */
  --shadow-sm:   0 2px 8px rgba(13,27,62,.10);
  --shadow-md:   0 6px 24px rgba(13,27,62,.14);
  --shadow-lg:   0 16px 48px rgba(13,27,62,.18);
  --shadow-gold: 0 4px 20px rgba(245,197,24,.35);

  /* Transitions */
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out:    cubic-bezier(.25,.46,.45,.94);
  --t-fast:  .15s;
  --t-mid:   .28s;
  --t-slow:  .45s;

  /* Layout */
  --container:     1200px;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --header-h:      102px; /* main(60) + sports(42) */
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--off-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--navy);
}

.section-title em {
  font-style: italic;
  color: var(--blue);
}

.section-title .accent {
  color: var(--gold);
  -webkit-text-stroke: 2px var(--gold-dark);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  margin-top: .5rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: transform var(--t-fast) var(--ease-spring),
              box-shadow var(--t-fast) var(--ease-out),
              background var(--t-fast);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px rgba(245,197,24,.50);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--gray-100); }

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 50px;
}

.tag-sport {
  background: var(--sport-default);
  color: var(--white);
}

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.ticker-bar {
  background: var(--gold);
  color: var(--navy);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.ticker-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--gold);
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
}

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

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}

.ticker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--navy);
  opacity: .5;
}

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

/* ============================================================
   HEADER NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--navy);
  height: var(--header-h);
  border-bottom: 3px solid transparent;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}

.site-header.scrolled {
  border-bottom-color: var(--gold);
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 2rem;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav__logo-img {
  height: 48px;
  width: auto;
}

.nav__logo-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.nav__logo-wordmark span { color: var(--gold); }

/* Sports nav */
.nav__sports {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav__sports::-webkit-scrollbar { display: none; }

.nav__sport-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
  position: relative;
}

.nav__sport-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: left var(--t-mid) var(--ease-spring), right var(--t-mid) var(--ease-spring);
}

.nav__sport-link:hover,
.nav__sport-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.nav__sport-link:hover::after,
.nav__sport-link.active::after {
  left: 10%; right: 10%;
}

.nav__sport-emoji { font-size: 1rem; }

/* Actions nav */
.nav__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.nav__search-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--t-fast);
}
.nav__search-btn:hover { background: rgba(255,255,255,.2); }
.nav__search-btn svg { width: 18px; height: 18px; }

.nav__cta {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--white);
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(13,27,62,.96);
  z-index: 9999;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-mid);
}
.search-overlay.open { opacity: 1; pointer-events: all; }

.search-box {
  width: 100%; max-width: 600px;
  padding: 0 20px;
}

.search-box input {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  outline: none;
  transition: border-color var(--t-fast);
}
.search-box input::placeholder { color: rgba(255,255,255,.35); }
.search-box input:focus { border-color: var(--gold); }

.search-close {
  position: absolute; top: 20px; right: 24px;
  color: rgba(255,255,255,.6);
  font-size: 2rem; line-height: 1;
  padding: 8px;
}
.search-close:hover { color: var(--white); }

/* ============================================================
   HERO — Article à la une
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hero__image-side {
  position: relative;
  overflow: hidden;
}

.hero__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.hero:hover .hero__image { transform: scale(1.04); }

.hero__image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  padding: 3rem 3rem 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
}

.hero__kicker .badge {
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  padding: .25rem .75rem;
}

.hero__kicker-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.hero__excerpt {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 460px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.hero__meta-item svg { width: 14px; height: 14px; }

.hero__mascotte {
  position: absolute;
  bottom: -10px; right: -20px;
  width: 180px;
  opacity: .12;
  pointer-events: none;
  transform: scaleX(-1);
}

/* Hero sidebar — articles secondaires */
.hero-sidebar {
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
}

.hero-sidebar__item {
  flex: 1;
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
  transition: background var(--t-fast);
}
.hero-sidebar__item:last-child { border-bottom: none; }
.hero-sidebar__item:hover { background: rgba(255,255,255,.04); }

.hero-sidebar__img {
  width: 100px;
  flex-shrink: 0;
  object-fit: cover;
  height: 100%;
}

.hero-sidebar__body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
}

.hero-sidebar__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
}

.hero-sidebar__meta {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   SECTION SPORT — articles par catégorie
   ============================================================ */
.sport-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--gray-200);
}

.sport-section:first-child { border-top: none; }

.sport-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.sport-section__title {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.sport-section__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sport-section__label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1;
}
.sport-section__label span {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gray-400);
  margin-top: .1rem;
}

.sport-section__see-all {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: .3rem;
  white-space: nowrap;
  transition: gap var(--t-fast);
}
.sport-section__see-all:hover { gap: .6rem; }

.sport-section__see-all::after {
  content: '→';
  font-size: 1rem;
}

/* Grille articles */
.articles-grid {
  display: grid;
  gap: 1.25rem;
}

.articles-grid--featured {
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
}
.articles-grid--featured .article-card:first-child {
  grid-row: span 2;
}

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

.articles-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   ARTICLE CARD
   ============================================================ */
.article-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease-spring),
              box-shadow var(--t-mid) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--gray-200);
}

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

.article-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  flex-shrink: 0;
}

.article-card--large .article-card__image-wrap { aspect-ratio: 16/9; }

.article-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.article-card:hover .article-card__image { transform: scale(1.06); }

.article-card__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

.article-card__badges {
  position: absolute;
  top: .75rem; left: .75rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
}

.article-card__featured-star {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 28px; height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}

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

.article-card--large .article-card__body { padding: 1.4rem 1.5rem 1.5rem; }

.article-card__sport-bar {
  height: 3px;
  border-radius: 0 0 0 0;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.article-card:hover .article-card__sport-bar { opacity: 1; }

.article-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--navy);
  transition: color var(--t-fast);
}

.article-card--large .article-card__title {
  font-size: 1.35rem;
}

.article-card:hover .article-card__title { color: var(--blue); }

.article-card__excerpt {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .6rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.article-card__meta-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .73rem;
  color: var(--gray-400);
}
.article-card__meta-item svg { width: 12px; height: 12px; }

.article-card__club {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Card horizontal (liste) */
.article-card--horizontal {
  flex-direction: row;
  align-items: stretch;
}

.article-card--horizontal .article-card__image-wrap {
  width: 120px;
  aspect-ratio: unset;
  flex-shrink: 0;
}

.article-card--horizontal .article-card__body {
  padding: .85rem 1rem;
}

.article-card--horizontal .article-card__title {
  font-size: .88rem;
}

/* ============================================================
   SECTION HOMEPAGE PRINCIPALE
   ============================================================ */
.home-main { padding: 2.5rem 0 0; }

.home-sections { padding-bottom: 4rem; }

/* Séparateur sport coloré */
.sport-divider {
  height: 4px;
  border-radius: 4px;
  margin-bottom: 2rem;
  background: var(--sport-default);
}

/* ============================================================
   BANDEAU REJOINDRE UN CLUB
   ============================================================ */
.join-banner {
  background: var(--navy);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.join-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,197,24,.12) 0%, transparent 60%);
  pointer-events: none;
}

.join-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.join-banner__mascotte {
  width: 200px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.4));
}

.join-banner__content {
  flex: 1;
}

.join-banner__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.join-banner__title em { font-style: italic; color: var(--gold); }

.join-banner__text {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.join-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   VALEURS / ICÔNES CONCEPT
   ============================================================ */
.values-section {
  padding: 4rem 0;
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  transition: transform var(--t-mid) var(--ease-spring),
              box-shadow var(--t-mid),
              background var(--t-mid);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.value-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-md);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  transition: transform var(--t-mid) var(--ease-spring);
}
.value-card:hover .value-card__icon { transform: scale(1.1) rotate(-3deg); }

.value-card__label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: .5rem;
}

.value-card__desc {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ============================================================
   SPORTS ICONS GRID (page index)
   ============================================================ */
.sports-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 1.5rem 0;
}

.sport-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem .5rem .6rem;
  border-radius: 50px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.sport-pill:hover {
  border-color: var(--blue);
  background: rgba(21,101,192,.06);
  transform: translateY(-2px);
}

.sport-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.sport-pill__emoji {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.sport-pill.active .sport-pill__emoji { background: rgba(255,255,255,.15); }

/* ============================================================
   PAGE ARTICLE DÉTAIL
   ============================================================ */
.article-detail { padding: 3rem 0 5rem; }

.article-detail__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.article-header { margin-bottom: 2rem; }

.article-header__kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-left: 4px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.article-meta__item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--gray-400);
}
.article-meta__item svg { width: 15px; height: 15px; }
.article-meta__item strong { color: var(--navy); }

.article-hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.article-content h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2rem 0 .75rem;
  border-left: 4px solid var(--blue);
  padding-left: .75rem;
}

.article-content h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.5rem 0 .5rem;
}

.article-content p { margin-bottom: 1.25rem; }

.article-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

/* Galerie photos */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
  margin: 2rem 0;
}

.article-gallery__item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.article-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-mid);
}
.article-gallery__item:hover img { transform: scale(1.08); }

/* Sidebar article */
.sidebar { display: flex; flex-direction: column; gap: 2rem; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.sidebar-widget__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--gray-100);
}

.sidebar-widget__title em { color: var(--gold); font-style: normal; }

/* ============================================================
   PAGE SPORT (catégorie)
   ============================================================ */
.sport-page-hero {
  padding: 3rem 0 2rem;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sport-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, var(--sport-color, rgba(21,101,192,.3)) 0%, transparent 65%);
  pointer-events: none;
}

.sport-page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sport-page-hero__icon {
  width: 80px; height: 80px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.15);
}

.sport-page-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--white);
}

.sport-page-hero__count {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-top: .3rem;
}

/* Filtres */
.filter-bar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.filter-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--t-fast);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   ESPACE CLUB — Connexion / Dashboard
   ============================================================ */
.club-layout {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 260px 1fr;
}

.club-sidebar {
  background: var(--navy);
  padding: 2rem 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.club-sidebar__logo {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.5rem;
}

.club-sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: background var(--t-fast), color var(--t-fast);
  position: relative;
}

.club-sidebar__nav-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform var(--t-fast);
}

.club-sidebar__nav-item:hover,
.club-sidebar__nav-item.active {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.club-sidebar__nav-item.active::before { transform: scaleY(1); }

.club-sidebar__nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.club-main { padding: 2.5rem; background: var(--gray-100); }

/* Stats cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(21,101,192,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-card__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}

.stat-card__label {
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: .2rem;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 50px;
}

.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending  { background: #FFF8E1; color: #F57C00; }
.status-publie   { background: #E8F5E9; color: #2E7D32; }
.status-refuse   { background: #FFEBEE; color: #C62828; }
.status-archive  { background: var(--gray-100); color: var(--gray-400); }

/* Formulaire soumission */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .5rem;
}

.form-label.required::after {
  content: ' *';
  color: #C62828;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--blue);
  background: rgba(21,101,192,.04);
}

.upload-zone__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.upload-zone__text { font-size: .9rem; color: var(--gray-600); }
.upload-zone__text strong { color: var(--blue); }

/* ============================================================
   ADMIN INTERFACE
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--navy);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar__head {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-sidebar__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
}
.admin-sidebar__brand em { color: var(--gold); font-style: normal; }

.admin-sidebar__role {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-top: .2rem;
}

.admin-nav { padding: 1rem 0; }

.admin-nav__section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  padding: .75rem 1.5rem .3rem;
}

.admin-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1.5rem;
  color: rgba(255,255,255,.6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background var(--t-fast), color var(--t-fast);
  border-left: 3px solid transparent;
}

.admin-nav__link:hover { background: rgba(255,255,255,.06); color: var(--white); }
.admin-nav__link.active { border-left-color: var(--gold); color: var(--white); background: rgba(255,255,255,.06); }

.admin-nav__link-inner { display: flex; align-items: center; gap: .6rem; }
.admin-nav__link svg { width: 17px; height: 17px; }

.admin-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: .65rem;
  font-weight: 800;
  padding: .1rem .5rem;
  border-radius: 50px;
  min-width: 20px;
  text-align: center;
}

.admin-main {
  background: var(--gray-100);
  padding: 2rem;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--gray-200);
}

.admin-page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--navy);
}

.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--gray-100);
  padding: .75rem 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-200);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: .88rem;
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--gray-100); }

/* Actions admin */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.action-btn:hover { opacity: .85; transform: translateY(-1px); }

.action-btn-publish  { background: #E8F5E9; color: #2E7D32; }
.action-btn-feature  { background: #FFF8E1; color: #E65100; }
.action-btn-refuse   { background: #FFEBEE; color: #C62828; }
.action-btn-view     { background: rgba(21,101,192,.1); color: var(--blue); }
.action-btn-delete   { background: #FFEBEE; color: #C62828; }
.action-btn-activate { background: #E8F5E9; color: #2E7D32; }
.action-btn-suspend  { background: #FFF8E1; color: #E65100; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER — fix mobile
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 3.5rem 0 0;
    margin-top: 4rem;
    overflow: hidden;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.footer__brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--white);
}
.footer__brand-name span { color: var(--gold); }

.footer__tagline {
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer__social {
    display: flex;
    gap: .6rem;
}

.footer__social-link {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t-fast);
    font-size: 1rem;
}
.footer__social-link:hover { background: var(--gold); }

.footer__col-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    list-style: none;
}

.footer__link {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color var(--t-fast);
}
.footer__link:hover { color: var(--gold); }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    gap: 1rem;
    flex-wrap: wrap;
    overflow: hidden;
}

.footer__copyright {
    font-size: .8rem;
    color: rgba(255,255,255,.3);
    flex-shrink: 0;
}

.footer__sports-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    overflow: hidden;
    max-width: 100%;
}

.footer__sport-pill {
    font-size: .7rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .15rem .6rem;
    border-radius: 50px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
    white-space: nowrap;
}
.footer__sport-pill:hover {
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.75);
}

@media (max-width: 1024px) {
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .footer__sports-pills { max-width: 100%; }
}
/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-mid);
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  transform: scale(.95);
  transition: transform var(--t-mid) var(--ease-spring);
}
.lightbox.open .lightbox__img { transform: scale(1); }

.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   PWA + NOTIFICATION TOAST
   ============================================================ */
.install-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: .85rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    z-index: 5000;
    transition: transform .4s cubic-bezier(.34,1.4,.64,1);
    width: calc(100vw - 2rem);
    max-width: 380px;
}
.install-banner.show {
    transform: translateX(-50%) translateY(0);
}
.install-banner__text {
    flex: 1;
    min-width: 0;
}
.install-banner__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: .9rem;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: .02em;
}
.install-banner__desc {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    margin-top: .1rem;
}
.install-banner__btn {
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .55rem 1.1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
    white-space: nowrap;
}
.install-banner__btn:hover { background: var(--gold-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 2rem; order: 2; }
  .hero-sidebar { order: 1; display: grid; grid-template-columns: repeat(3,1fr); }
  .hero-sidebar__item { border-bottom: none; border-right: 1px solid rgba(255,255,255,.06); }

  .articles-grid--featured { grid-template-columns: 1fr; }
  .articles-grid--featured .article-card:first-child { grid-row: auto; }
  .articles-grid--4col { grid-template-columns: repeat(2,1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .admin-layout { grid-template-columns: 200px 1fr; }
  .club-layout { grid-template-columns: 220px 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .nav__sports { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__logo-wordmark { font-size: 1.35rem; }

  .nav__menu {
    position: fixed;
    inset: 0; top: var(--header-h);
    background: var(--navy);
    padding: 2rem;
    flex-direction: column;
    gap: .5rem;
    transform: translateX(100%);
    transition: transform var(--t-mid) var(--ease-out);
    z-index: 998;
  }
  .nav__menu.open { transform: translateX(0); }

  .hero-sidebar { grid-template-columns: 1fr; }
  .hero-sidebar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }

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

  .article-detail__layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }

  .join-banner__inner { flex-direction: column; text-align: center; }
  .join-banner__mascotte { width: 140px; }
  .join-banner__text { margin: 0 auto; }
  .join-banner__actions { justify-content: center; }

  .values-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .club-layout { grid-template-columns: 1fr; }
  .club-sidebar { display: none; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .articles-grid--featured { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.8rem; }
}

/* ============================================================
   NO-SCROLL UTILITY
   ============================================================ */
body.no-scroll { overflow: hidden; }

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
  padding: .9rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-left: 4px solid;
}

.flash-success { background: #E8F5E9; color: #1B5E20; border-left-color: #2E7D32; }
.flash-error   { background: #FFEBEE; color: #B71C1C; border-left-color: #C62828; }
.flash-warning { background: #FFF8E1; color: #E65100; border-left-color: #F57C00; }
.flash-info    { background: #E3F2FD; color: #0D47A1; border-left-color: #1565C0; }

/* ============================================================
   SKELETON LOADER
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  padding: 2.5rem 0 .5rem;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .88rem;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  transition: all var(--t-fast);
}

.page-link:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.page-link.active { background: var(--gold); border-color: var(--gold-dark); color: var(--navy); }

/* ============================================================
   EMOTION BADGES (mascotte)
   ============================================================ */
.emotion-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 50px;
  background: var(--gold);
  color: var(--navy);
}

.article-type-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 50px;
}

.type-match     { background: #E3F2FD; color: #0D47A1; }
.type-evenement { background: #F3E5F5; color: #6A1B9A; }
.type-news      { background: #E8F5E9; color: #1B5E20; }
.type-reportage { background: #FFF8E1; color: #E65100; }
.type-interview { background: #FCE4EC; color: #880E4F; }

/* ============================================================
   CLUB CARD (annuaire)
   ============================================================ */
.club-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform var(--t-mid) var(--ease-spring), box-shadow var(--t-mid);
}

.club-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.club-card__logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-100);
}

.club-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--navy);
}

.club-card__meta {
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: .2rem;
}


/* ============================================================
   PAGE SPORT — Layout + Pub
   ============================================================ */

.filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}

.sport-page-body { padding: 2.5rem 0 4rem; }

.sport-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.sport-page-main  {}
.sport-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 60px);
}

/* CTA widget */
.sidebar-widget--cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
}

.sidebar-widget--cta .sidebar-widget__cta-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--white);
}

/* État vide */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.empty-state__icon  { font-size: 5rem; margin-bottom: 1.25rem; }
.empty-state__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
}
.empty-state__text {
  color: var(--gray-600);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   ENCARTS PUBLICITAIRES
   ============================================================ */

.ad-leaderboard {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: .75rem 0;
}

.ad-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ad-slot__label {
  position: absolute;
  top: 6px; left: 8px;
  font-size: .62rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.ad-slot__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--gray-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
}

/* Leaderboard 728×90 */
.ad-slot--leaderboard {
  height: 90px;
  max-width: 728px;
  margin: 0 auto;
}

/* Rectangle sidebar 300×250 */
.ad-slot--sidebar {
  width: 100%;
  height: 250px;
}

/* Demi-page sidebar 300×600 */
.ad-slot--sidebar-tall {
  width: 100%;
  height: 600px;
}

/* In-feed (entre articles) */
.ad-slot--infeed {
  height: 250px;
  max-width: 600px;
  margin: 1.5rem auto;
}

/* En prod : masquer le placeholder, afficher le vrai contenu */
.ad-slot--live .ad-slot__placeholder { display: none; }
.ad-slot--live .ad-slot__label { display: none; }

@media (max-width: 1024px) {
  .sport-page-layout { grid-template-columns: 1fr; }
  .sport-page-sidebar { position: static; }
  .ad-slot--sidebar-tall { height: 250px; }
  .ad-slot--leaderboard { height: 60px; max-width: 100%; }
}

/* ============================================================
   SPORT HERO v2
   ============================================================ */
.sport-hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.sport-hero__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sport-hero__icon {
  width: 90px; height: 90px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.25);
}

.sport-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -.04em;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.sport-hero__desc {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  margin-top: .5rem;
}

.sport-hero__stats {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .85rem;
}

.sport-hero__stat {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.sport-hero__stat strong {
  color: var(--gold);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1rem;
}
.sport-hero__stat-sep { color: rgba(255,255,255,.3); }

/* ============================================================
   SIDEBAR LIENS
   ============================================================ */
.sidebar-sport-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .65rem;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
  color: var(--navy);
}
.sidebar-sport-link:hover { background: var(--gray-100); }

.sidebar-sport-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.sidebar-sport-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  flex: 1;
}

.sidebar-sport-count {
  font-size: .7rem;
  background: var(--gray-200);
  color: var(--gray-600);
  padding: .1rem .5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
}

.sidebar-recent-link {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--navy);
  transition: opacity var(--t-fast);
}
.sidebar-recent-link:hover { opacity: .75; }

.sidebar-recent-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sidebar-recent-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
  transition: color var(--t-fast);
}
.sidebar-recent-link:hover .sidebar-recent-title { color: var(--blue); }

.sidebar-recent-date {
  display: block;
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: .2rem;
}

/* ============================================================
   ENCARTS PUB v2 — propres et gérés dynamiquement
   ============================================================ */
.ad-wrap-leaderboard {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: .65rem 0;
}

.ad-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.ad-slot__label {
  position: absolute;
  top: 6px; left: 10px;
  font-size: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-300);
  pointer-events: none;
}

.ad-slot__placeholder {
  text-align: center;
  color: var(--gray-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
}

/* Dimensions standard */
.ad-slot--leaderboard   { height: 90px; max-width: 728px; margin: 0 auto; }
.ad-slot--sidebar       { width: 100%; height: 250px; }
.ad-slot--sidebar-tall  { width: 100%; min-height: 300px; }
.ad-slot--infeed        { width: 100%; height: 90px; }

/* Quand pub active : masquer le placeholder */
.ad-slot--live .ad-slot__label,
.ad-slot--live .ad-slot__placeholder { display: none; }
.ad-slot--live { border-style: solid; border-color: var(--gray-200); background: transparent; }

@media (max-width: 1024px) {
  .sport-page-layout { grid-template-columns: 1fr; }
  .sport-page-sidebar { position: static; }
  .ad-slot--sidebar-tall { min-height: 250px; }
  .ad-slot--leaderboard  { height: 60px; }
}

@media (max-width: 768px) {
  .sport-hero__icon  { width: 60px; height: 60px; font-size: 2rem; }
  .sport-hero__title { font-size: 3rem; }
  .ad-slot--leaderboard { display: none; }
}

/* ============================================================
   HEADER v3 — refonte complète
   ============================================================ */

/* Reset anciens styles nav */
.nav__cta-secondary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.nav__cta-secondary:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  z-index: 997;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease-out);
}

.nav__mobile.open {
  display: block;
  transform: translateX(0);
}

.nav__mobile-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.nav__mobile-link {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: background var(--t-fast), color var(--t-fast);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.nav__mobile-link:hover { background: rgba(255,255,255,.07); color: var(--white); }
.nav__mobile-link--cta {
  background: var(--gold);
  color: var(--navy) !important;
  margin-top: .5rem;
  justify-content: center;
}
.nav__mobile-link--cta:hover { background: var(--gold-light); }

.nav__mobile-sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  padding: 1.25rem 1rem .4rem;
}

/* ============================================================
   ENCARTS PUB v3 — design soigné
   ============================================================ */

/* Wrapper général */
.ad-unit {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* Label discret */
.ad-unit__label {
  position: absolute;
  top: 5px; right: 8px;
  font-size: .58rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-300);
  z-index: 2;
  pointer-events: none;
}

/* Placeholder élégant (quand pas de pub) */
.ad-unit__empty {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem;
  text-align: center;
}

.ad-unit__empty-icon {
  font-size: 1.8rem;
  opacity: .35;
}

.ad-unit__empty-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.ad-unit__empty-link {
  font-size: .7rem;
  color: var(--gray-300);
  text-decoration: underline;
  transition: color var(--t-fast);
}
.ad-unit__empty-link:hover { color: var(--blue); }

/* Tailles */
.ad-unit--leaderboard .ad-unit__empty { height: 90px; }
.ad-unit--sidebar     .ad-unit__empty { height: 250px; }
.ad-unit--sidebar-tall .ad-unit__empty { min-height: 280px; }
.ad-unit--infeed      .ad-unit__empty { height: 80px; flex-direction: row; gap: 1rem; }

/* Pub active (image) */
.ad-unit__link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: opacity var(--t-fast);
}
.ad-unit__link:hover { opacity: .92; }
.ad-unit__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

/* Wrapper leaderboard */
.leaderboard-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: .5rem 0;
}

/* Infeed entre articles */
.infeed-wrap {
  margin: 1.75rem 0;
  padding: .75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.infeed-wrap .ad-unit__label {
  position: static;
  font-size: .6rem;
  color: var(--gray-300);
  white-space: nowrap;
  flex-shrink: 0;
}
