/* ─── FONTS ─── */
@font-face {
  font-family: 'Anton';
  src: url('../fonts/Anton-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* Draper en réserve — activer en remplaçant 'Anton' par 'Draper' dans le CSS */
@font-face {
  font-family: 'Draper';
  src: url('../fonts/Draper.woff2') format('woff2'),
       url('../fonts/Draper.otf')   format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --pink:      #E9407F;
  --pink-dark: #BA3266;
  --pink-glow: rgba(233,64,127,0.15);
  --black:     #080808;
  --dark:      #101010;
  --dark2:     #181818;
  --dark3:     #202020;
  --white:     #ffffff;
  --gray:      #777;
  --light:     #aaa;
  --beige:     #EFA8C3; /* blanc cassé teinté rose (couleur de marque) */
}

html { scroll-behavior: smooth; }

/* Uniformisation rendu Anton — Chrome vs Safari */
* { font-synthesis: none; }
h1, h2 {
  -webkit-text-stroke: 1px currentColor;
}


body {
  font-family: 'Wix Madefor Display', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ── Fond beige sur toutes les pages intérieures ──
   Exceptions : homepage (.home) et espace partenaire (.page-template-page-business-php)
   ─────────────────────────────────────────────── */
body:not(.home):not(.page-template-page-business-php):not(.page-template-page-effectif-php) {
  background: #F7F3EE;
  color: #111;
}
body.page-template-page-effectif-php {
  background: #1e1e1c;
  color: var(--white);
}
/* L'image de fond réelle est posée sur .eff-page (voir plus bas) */

a { text-decoration: none; color: inherit; }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── MAIN NAV ─── */
.mainnav {
  background: var(--dark);
  height: 68px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1a1a1a;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.nav-left {
  display: flex;
  align-items: stretch;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 8px;
}
.nav-logo img,
.nav-logo .custom-logo {
  height: 52px;
  width: auto;
  display: block;
}

.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--white);
  padding: 0 24px 0 8px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color .18s;
}
.nav-menu-btn:hover { color: var(--pink); }
.nav-menu-btn .hamburger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.nav-menu-btn .hamburger span { display: block; height: 2px; background: currentColor; border-radius: 1px; }

.nav-boutique {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--pink);
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-left: 1px solid #1e1e1e;
  transition: color .18s;
}
.nav-boutique:hover { color: #FF7BAD; }

.nav-right {
  display: flex;
  align-items: stretch;
  height: 68px;
}

.nav-right-link {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  -webkit-text-stroke: 0.4px var(--dark);
  color: var(--light);
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-left: 1px solid #1e1e1e;
  transition: color .18s;
}
.nav-right-link:hover { color: var(--white); }
.nav-right-link--multiline { text-align: center; line-height: 1.2; color: var(--pink) !important; }
.nav-right-link--multiline:hover { color: var(--white) !important; }
/* Page active /business → jaune comme les autres */
.nav-right-link--multiline.active { background: #FAC930 !important; color: #101010 !important; border-color: #FAC930 !important; -webkit-text-stroke: 0.4px transparent !important; }
.nav-right-link--multiline.active:hover { background: #e6b520 !important; color: #101010 !important; border-color: #e6b520 !important; }

/* BILLETTERIE : toujours mis en avant, fond beige par défaut */
.nav-right-link.billet {
  background: #F0EBE0;
  color: #101010;
  border-color: #F0EBE0;
  padding: 0 24px;
}
.nav-right-link.billet:hover { background: #e8e2d6; color: #000; }

/* Page active → fond jaune */
.nav-right-link.active,
.nav-right-link.billet.active {
  background: #FAC930;
  color: #101010;
  border-color: #FAC930;
  padding: 0 24px;
  -webkit-text-stroke: 0.4px transparent;
}
.nav-right-link.active:hover,
.nav-right-link.billet.active:hover { background: #e6b520; }

/* Flyout */
.nav-flyout {
  position: fixed;
  top: 68px;
  left: 0;
  width: 320px;
  background: var(--dark2);
  border-right: 3px solid var(--pink);
  box-shadow: none;
  z-index: 99;
  padding: 12px 0;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  overflow: visible; /* permet au sous-menu de s'afficher à droite */
}
.nav-flyout.open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 8px 0 40px rgba(0,0,0,.6);
}

/* ── Barre admin WordPress (32px sur desktop, 46px sur mobile) ── */
.admin-bar .mainnav  { top: 32px; }
.admin-bar .nav-flyout { top: calc(68px + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar .mainnav    { top: 46px; }
  .admin-bar .nav-flyout { top: calc(68px + 46px); }
}
@media screen and (max-width: 600px) {
  /* WP retire la barre admin sous 600px */
  .admin-bar .mainnav    { top: 0; }
  .admin-bar .nav-flyout { top: 68px; }
}
.nav-flyout ul { list-style: none; }
.nav-flyout ul li a {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--white);
  padding: 18px 32px;
  border-bottom: 1px solid #1a1a1a;
  transition: color .18s, padding-left .18s, background .18s;
  position: relative;
}
.nav-flyout ul li a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--pink);
  transform: scaleY(0);
  transition: transform .18s;
}
.nav-flyout ul li a:hover { color: var(--white); padding-left: 40px; background: rgba(233,64,127,.04); }
.nav-flyout ul li a:hover::before { transform: scaleY(1); }

/* ── Sous-menu : slide latéral ── */
.menu-parent-text {
  display: block;
  padding: 18px 32px;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--white);
  border-bottom: 1px solid #1a1a1a;
  cursor: pointer;
  user-select: none;
  transition: color .18s;
}
.menu-has-sub:hover .menu-parent-text { color: var(--pink); }

/* Parent relatif pour le panneau absolu */
.menu-has-sub { position: relative; }

/* Panneau latéral (apparaît à droite du flyout) */
.menu-sub {
  position: absolute;
  top: 0;
  left: 100%; /* bord droit du flyout */
  width: 260px;
  background: #111;
  border-left: 3px solid var(--pink);
  box-shadow: 8px 0 32px rgba(0,0,0,.7);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: opacity .2s ease, transform .2s ease;
}
.menu-has-sub:hover .menu-sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.menu-sub li a {
  font-size: 14px !important;
  letter-spacing: 2px !important;
  padding: 15px 28px !important;
  color: var(--beige) !important;
  border-bottom: 1px solid #1a1a1a !important;
}
.menu-sub li a:hover {
  color: var(--white) !important;
  padding-left: 36px !important;
  background: rgba(233,64,127,.06) !important;
}
.menu-sub li a::before { display: none !important; }

/* ── Mobile : le sous-menu latéral (pensé pour le survol souris) déborde
   de l'écran au tactile. On le transforme en accordéon inline, et on
   réduit la taille générale du menu pour qu'il tienne mieux en hauteur. ── */
@media (max-width: 768px) {
  .nav-flyout { width: min(310px, 84vw); padding: 6px 0; }

  .nav-flyout ul li a,
  .menu-parent-text {
    font-size: 16.5px;
    letter-spacing: 1.5px;
    padding: 15px 24px;
  }

  .menu-sub {
    position: static;
    left: auto; top: auto;
    width: 100%;
    background: #111;
    border-left: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .28s ease;
  }
  .menu-has-sub.sub-open .menu-sub {
    max-height: 400px;
    pointer-events: auto;
    padding: 2px 0;
  }
  .menu-sub li a {
    font-size: 13.5px !important;
    letter-spacing: 1px !important;
    padding: 12px 22px 12px 44px !important;
  }
}

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 98;
  opacity: 0; pointer-events: none;
  transition: opacity .28s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ─── INNER HERO (pages internes) ─── */
.inner-hero {
  position: relative;
  background: #F7F3EE;
  background-image: none;
  padding: 56px 56px 52px;
  overflow: hidden;
  border-bottom: 1px solid #e5e0d8;
}
/* Gros texte déco en fond */
.inner-hero::before {
  content: attr(data-deco);
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 12vw, 160px);
  color: rgba(233,64,127,.05);
  line-height: 1;
  letter-spacing: -2px;
  user-select: none;
  pointer-events: none;
}
/* Trait rose gauche */
.inner-hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--pink), transparent);
}
.inner-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}
.inner-hero-sup {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--pink);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.inner-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: #111;
  margin: 0;
}
.inner-hero h1 .pink { color: var(--pink); }

@media (max-width: 768px) {
  .inner-hero { padding: 48px 24px; }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero-geo {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0008 0%, #120010 60%, #1c0018 100%);
}
.hero-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-60deg, transparent, transparent 80px, rgba(233,64,127,.04) 80px, rgba(233,64,127,.04) 81px);
}

.hero-slideshow {
  position: absolute;
  right: 0; bottom: 0;
  width: 52%;
  height: 100%;
  overflow: hidden;
  /* Fondu en opacité sur la gauche — aucune arête */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 40%);
  mask-image: linear-gradient(90deg, transparent 0%, black 40%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--dark) 25%, transparent 65%);
}
.hero-accent {
  position: absolute;
  left: 38%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent, var(--pink), transparent);
  opacity: .4;
}
.hero-deco-number {
  position: absolute;
  left: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Anton', sans-serif;
  font-size: clamp(200px, 25vw, 340px);
  color: rgba(233,64,127,.06);
  line-height: 1;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 56px 136px; /* extra padding bas pour que la card chevauche */
  max-width: 600px;
}

.hero-season-tag {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.hero-season-tag .dot {
  width: 8px; height: 8px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}
.hero-season-tag .text {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--light);
}

.hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(58px, 8.5vw, 110px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 20px;
  font-weight: 400;
  font-synthesis: none;
  -webkit-text-stroke: 3px currentColor;
}

.hero h1 .pink { color: var(--pink); font-size: clamp(82px, 12.5vw, 165px); line-height: 1; }
.hero h1 .stroke {
  color: var(--white);
  font-size: clamp(72px, 11vw, 140px);
  display: block;
  line-height: .85;
}

.hero-desc {
  font-size: 14px;
  color: var(--light);
  line-height: 1.65;
  max-width: 380px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn-pink { background: var(--pink); color: var(--white); border: 2px solid var(--pink); }
.btn-pink:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: var(--white); }

/* ─── PROCHAIN MATCH (card compacte — chevauche le bas du hero) ─── */
.nm-wrap {
  padding: 0 40px 48px;
  display: flex;
  justify-content: center;
  background: transparent;
  position: relative;
  z-index: 10;
  margin-top: -220px;
  pointer-events: none; /* le fond transparent ne bloque plus les clics du hero */
}
.nm-card {
  pointer-events: auto; /* la carte elle-même reste cliquable */
  background: linear-gradient(160deg, #F0EBE0 60%, #f5dce8 100%);
  border: 1px solid rgba(233,64,127,.15);
  border-top: 4px solid var(--pink);
  border-radius: 12px;
  padding: 32px 40px;
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.nm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nm-label {
  font-family: 'Anton', sans-serif;
  font-size: 17px;
  letter-spacing: 3px;
  color: var(--gray);
}
.nm-badge {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 4px;
}
.nm-badge.home {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(233,64,127,.3);
}
.nm-badge.away {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.1);
}
.nm-teams {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  justify-content: center;
}
.nm-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 200px;
}
.nm-team img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}
.nm-team .nm-team-logo-placeholder {
  width: 72px;
  height: 72px;
  background: var(--dark3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: var(--pink);
}
.nm-team-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(14px, 1.7vw, 19px);
  letter-spacing: 1px;
  text-align: center;
  color: var(--black);
  line-height: 1.2;
}
.nm-vs {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: var(--gray);
  flex-shrink: 0;
}
.nm-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nm-date {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--black);
}
.nm-time {
  font-family: 'Anton', sans-serif;
  font-size: 42px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--pink);
}
.nm-lieu {
  font-size: 14px;
  color: var(--gray);
}
.nm-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nm-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  background: var(--dark3);
  border-radius: 8px;
  padding: 10px 8px 8px;
}
.nm-val {
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1;
  color: var(--white);
}
.nm-lbl {
  font-family: 'Anton', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray);
  margin-top: 4px;
}
.nm-sep {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: var(--pink);
  align-self: flex-start;
  padding-top: 8px;
}
.nm-btn { margin-top: 4px; }

/* Rappel prochain match à domicile (affiché seulement si le prochain match est à l'extérieur) */
.nm-home {
  width: 100%;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.12);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nm-home::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--pink);
}
.nm-home-label {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--black);
  text-align: center;
}
.nm-home-label .pink { color: var(--pink); }
.nm-home-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.nm-home-teams {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nm-home-teams img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nm-home-vs {
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  color: var(--gray);
}
.nm-home-adv {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--black);
  margin-left: 4px;
}
.nm-home-date {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--black);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.nm-home-time {
  font-size: 20px;
  color: var(--pink);
}
.nm-home-btn {
  padding: 10px 18px;
  font-size: 12px;
}
@media (max-width: 600px) {
  .nm-home-row { flex-direction: column; align-items: stretch; text-align: center; }
  .nm-home-teams, .nm-home-date { justify-content: center; }
}

/* ─── RESULTS STRIP ─── */
.results-strip {
  background: #F0EBE0;
  padding: 48px 56px 56px;
}
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.results-header h3 {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: .5px;
  color: var(--dark);
}
.s-more {
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--pink);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--pink);
  transition: color .18s;
}
.s-more:hover { color: #FF7BAD; border-color: #FF7BAD; }
.pink { color: var(--pink); }

.results-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Carte résultat — nouveau design grand format ── */
.result-card {
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.result-card.win  { border-left-color: #4ade80; }
.result-card.draw { border-left-color: #fbbf24; }
.result-card.loss { border-left-color: #f87171; }

/* Badge victoire/nul/défaite */
.result-card .rc-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-family: 'Anton', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 3px;
}
.result-card.win  .rc-badge { background: rgba(74,222,128,.15); color: #4ade80; }
.result-card.draw .rc-badge { background: rgba(251,191,36,.15);  color: #fbbf24; }
.result-card.loss .rc-badge { background: rgba(248,113,113,.15); color: #f87171; }

.result-card .comp {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gray);
  max-width: 70%;
}

/* Noms des équipes */
.result-card .matchup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.result-card .rc-teams {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.result-card .rc-team {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: .5px;
  color: var(--dark);
  line-height: 1.1;
}
.result-card .rc-team.usm { color: var(--pink); font-size: 24px; }

/* Score central */
.result-card .rc-score {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-width: 60px;
}
.result-card .rc-score .s1 { color: var(--dark); }
.result-card .rc-score .rc-dash {
  font-size: 16px;
  color: #ccc;
  line-height: 1;
  margin: 2px 0;
}
.result-card .rc-score .s2 { color: var(--dark); }
/* Score de l'USM toujours mis en avant */
.result-card.win  .rc-score .usm-s { color: #4ade80; }
.result-card.loss .rc-score .usm-s { color: #f87171; }
.result-card.draw .rc-score .usm-s { color: #fbbf24; }

.result-card .date {
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
  font-family: 'Anton', sans-serif;
}

/* ─── NEWS SECTION ─── */
.section { padding: 64px 56px; }

.s-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.s-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: .9;
  text-transform: uppercase;
}
.s-title .stroke {
  -webkit-text-stroke: 1.5px rgba(255,255,255,.12);
  color: transparent;
  display: block;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 16px;
}
.news-card {
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--pink); }

.news-img {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--dark3);
}
.news-card.featured .news-img { aspect-ratio: 16/9; }
.news-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.news-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-img-link { display: block; }
.news-card:hover .news-photo { transform: scale(1.06); }

.news-img-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--pink);
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  z-index: 2;
  color: #fff;
}

.news-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-body h3 {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.1;
  flex: 1;
}
.news-body h3 a { color: inherit; }
.news-body h3 a:hover { color: var(--pink); }
.news-card.featured .news-body h3 { font-size: 22px; }

.news-meta {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-meta .author { color: var(--pink); font-weight: 600; }
.news-meta .sep { color: #444; }

/* ─── ARCHIVE GRID ─── */
.archive-page .container { padding: 60px 40px; }
.page-title-block { margin-bottom: 48px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ─── PROMO ROW ─── */
.home-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 48px 80px;
  background: var(--dark);
}
.home-divider span:not(.home-divider-dot) {
  flex: 1;
  height: 1px;
  background: #2a2a2a;
}
.home-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  flex: none;
}

.promo-row { display: grid; grid-template-columns: 1fr 1fr; }
.promo-block {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 40px;
  text-decoration: none;
  color: var(--white);
}
.promo-block.acad { background: #0d0010; overflow: hidden; }
.promo-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0.30; transition: transform .5s ease; }
.promo-block:hover .promo-bg-img { transform: scale(1.04); }
.promo-block.shop { background: linear-gradient(135deg, #100005 0%, var(--pink-dark) 100%); overflow: hidden; }
.promo-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,.02) 30px, rgba(255,255,255,.02) 31px);
}
.promo-num {
  position: absolute;
  top: 20px; right: 30px;
  font-family: 'Anton', sans-serif;
  font-size: 120px;
  color: rgba(255,255,255,.05);
  line-height: 1;
  user-select: none;
}
.promo-content { position: relative; z-index: 1; }
.promo-sup {
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.promo-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1;
  margin-bottom: 20px;
}
.promo-cta {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--pink);
  border-bottom: 1px solid var(--pink);
  padding-bottom: 2px;
  display: inline-block;
  transition: color .18s;
}
.promo-block:hover .promo-cta { color: #FF7BAD; border-color: #FF7BAD; }

/* ─── PARTNERS ─── */
.partners {
  background: #F7F3EE;
  padding: 44px 0;
  border-top: 1px solid #e8e3dc;
  overflow: hidden;
}
.partners h4 {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #555;
  text-align: center;
  margin-bottom: 32px;
  -webkit-text-stroke: 0;
}

/* Carousel infini */
.partners-row {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: partners-scroll var(--scroll-duration, 160s) linear infinite;
}


@keyframes partners-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  flex-shrink: 0;
  font-family: 'Anton', sans-serif;
  font-size: 8px; letter-spacing: 2px; color: #333;
  text-decoration: none;
}
.partner-chip img {
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: .85;
  transition: opacity .25s;
}
.partner-chip:hover img {
  opacity: 1;
}

/* ─── SOCIAL STRIP ─── */
.social-strip {
  background: var(--pink);
  padding: 22px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.social-strip .text { font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: 1px; }
.social-strip .icons { display: flex; gap: 8px; }
.social-icon {
  width: 38px; height: 38px;
  background: rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-family: 'Anton', sans-serif;
  color: #fff; transition: background .2s;
}
.social-icon:hover { background: rgba(0,0,0,.4); }

/* ─── FOOTER ─── */
.footer {
  background: #F7F3EE;
  border-top: 3px solid var(--pink);
  padding: 60px 56px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-brand .logo { color: #111; }
.footer-brand .logo em { color: var(--pink); font-style: normal; }
.footer-brand p { font-size: 13px; color: #666; line-height: 1.65; max-width: 260px; margin-bottom: 20px; }
.footer-brand .newsletter { display: flex; }
.footer-brand .newsletter input {
  flex: 1;
  background: #fff; border: 1px solid #ddd; border-right: none;
  padding: 10px 14px; color: #111; font-family: 'Wix Madefor Display', sans-serif; font-size: 12px; outline: none;
}
.footer-brand .newsletter input::placeholder { color: #aaa; }
.footer-brand .newsletter button {
  background: var(--pink); border: none; padding: 10px 16px;
  font-family: 'Anton', sans-serif; font-size: 9px; letter-spacing: 1.5px; color: #fff; cursor: pointer;
}
.footer-brand .newsletter button:hover { background: var(--pink-dark); }

.footer-col h5 {
  font-family: 'Anton', sans-serif;
  font-size: 12px; letter-spacing: 2.5px; color: var(--pink);
  margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid #ddd;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: #555; transition: color .18s; }
.footer-col ul li a:hover { color: var(--pink); }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid #ddd;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-family: 'Anton', sans-serif; font-size: 11px; letter-spacing: 1.5px; color: #888; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 32px; height: 32px;
  background: #fff; border: 1px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Anton', sans-serif; font-size: 10px; color: #888;
  transition: all .18s;
}
.footer-social:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ─── ARTICLE SINGLE ─── */
.single-article { padding: 60px 0 100px; }
.article-hero-img { position: relative; max-height: 520px; overflow: hidden; margin-bottom: 40px; }
.article-hero-img img { width: 100%; height: 520px; object-fit: cover; }
.article-hero-img .news-img-tag { position: absolute; bottom: 20px; left: 40px; }
.article-header { margin-bottom: 32px; }
.article-header h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.article-meta { font-size: 12px; color: var(--gray); display: flex; gap: 8px; align-items: center; }
.article-meta .author { color: var(--pink); font-weight: 600; }
.article-content {
  font-size: 16px; line-height: 1.75; color: #ccc;
  max-width: 740px;
}
.article-content p { margin-bottom: 1.4em; }
.article-content h2 { font-family: 'Anton', sans-serif; font-size: 28px; color: #fff; margin: 2em 0 .5em; }
.article-content img { width: 100%; margin: 2em 0; }
.article-nav { display: flex; gap: 16px; margin-top: 60px; flex-wrap: wrap; }

/* ─── PAGE DE CONTENU ─── */
.page-content { padding: 60px 0 100px; }
.page-content .article-content { max-width: 800px; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .results-list { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mainnav { padding: 0 20px; }
  .nav-right { display: none; }
  /* Sans le bloc de droite (Billetterie/Calendrier/Classement/Espace partenaire —
     déjà consultables via le menu ▾), on pousse Boutique à droite de la barre. */
  .nav-left { width: 100%; }
  .nav-boutique { margin-left: auto; }
  .hero-content { padding: 0 24px 48px; }
  .hero-slideshow {
    width: 100%;
    left: 0; right: 0;
    -webkit-mask-image: linear-gradient(180deg, black 40%, transparent 96%);
    mask-image: linear-gradient(180deg, black 40%, transparent 96%);
  }
  .hero-slide img { object-position: center 15%; }
  .hero-fade { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 45%, var(--dark) 92%); }
  .hero-accent { display: none; }
  .nm-wrap { padding: 24px 16px; }
  .nm-card { padding: 24px 20px; }
  .nm-teams { gap: 12px; }
  .nm-team img, .nm-team .nm-team-logo-placeholder { width: 52px; height: 52px; }
  .results-strip, .section { padding: 32px 24px; }
  .results-list { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr; }
  .footer { padding: 40px 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .social-strip { padding: 20px 24px; }
  .archive-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   CLASSEMENT
══════════════════════════════════════════ */
.rank-page { background: #F7F3EE; min-height: 100vh; }

.rank-hero {
  background: var(--pink);
  padding: 44px 0;
}
.rank-hero .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.rank-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 6vw, 72px);
  color: var(--white);
  letter-spacing: -0.014em; /* proportionnel à la taille — un -1px fixe écrasait les lettres une fois le texte réduit sur mobile */
  line-height: 1;
}
.rank-sub {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.65);
}

/* ── Corps ── */
.rank-body { padding: 52px 40px 80px; max-width: 1100px; }

.rank-section { margin-bottom: 56px; }

.rank-section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 3px;
  color: #111;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pink);
}
.rank-section-title .pink { color: var(--pink); }

/* ── Résumé USM (chips légers) ── */
.rank-usm-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0 48px;
  flex-wrap: wrap;
}
.rus-pos {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--pink);
}
.rus-pos sup { font-size: 24px; vertical-align: super; }
.rus-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 2px;
  color: #111;
  flex: 1;
}
.rus-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rus-chip {
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(0,0,0,.08);
  color: #333;
}
.rus-chip.pts  { background: var(--pink); color: #fff; }
.rus-chip.win  { background: rgba(74,222,128,.2);  color: #166534; }
.rus-chip.draw { background: rgba(251,191,36,.2);  color: #92400e; }
.rus-chip.loss { background: rgba(248,113,113,.2); color: #991b1b; }

/* Bottom grid */
.rank-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Bilan strip horizontal */
.rank-bilan-strip {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow: hidden;
}
.rbs-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px;
  gap: 4px;
}
.rbs-val {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  color: #111;
}
.rbs-lbl {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #aaa;
}
.rbs-item.win  .rbs-val { color: #16a34a; }
.rbs-item.draw .rbs-val { color: #d97706; }
.rbs-item.loss .rbs-val { color: #dc2626; }
.rbs-item.pts  .rbs-val { color: var(--pink); }
.rbs-sep {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,.08);
  flex-shrink: 0;
}

.rank-bilan { margin-bottom: 0; }

/* ── Tableau classement ── */
.rank-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
}
.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 580px;
}
.rank-table thead tr {
  border-bottom: 2px solid var(--pink);
}
.rank-table thead th {
  padding: 14px 16px;
  text-align: center;
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #888;
  font-weight: 400;
  white-space: nowrap;
  background: #fafafa;
}
.rank-table thead th.col-club { text-align: left; }
.rank-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background .12s;
}
.rank-table tbody tr:last-child { border-bottom: none; }
.rank-table tbody tr:hover { background: #fdf5f9; }
.rank-table tbody td {
  padding: 15px 16px;
  color: #222;
  text-align: center;
  white-space: nowrap;
}
.rank-table tbody td.col-club {
  text-align: left;
  font-weight: 600;
  white-space: normal;
  min-width: 180px;
  color: #111;
}
.rank-table td.pos { color: #16a34a; font-weight: 700; }
.rank-table td.neg { color: #dc2626; font-weight: 700; }
.rank-table .col-pts {
  font-family: 'Anton', sans-serif;
  font-size: 17px;
  color: #111;
}

/* Ligne USM */
.rank-usm-row {
  background: rgba(233,64,127,.04) !important;
  border-left: 4px solid var(--pink);
}
.rank-usm-row:hover { background: rgba(233,64,127,.08) !important; }
.rank-usm-row .col-pts { color: var(--pink) !important; }
.rank-usm-row .col-club { color: var(--pink) !important; font-weight: 700 !important; }
.rank-usm-badge { margin-right: 5px; }

/* Médailles */
.rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: 'Anton', sans-serif;
  font-size: 12px;
}
.rank-medal.gold   { background: #d4af37; color: #111; }
.rank-medal.silver { background: #9ca3af; color: #fff; }
.rank-medal.bronze { background: #a16207; color: #fff; }
.rank-pos-num { color: #bbb; font-size: 13px; }

/* Source */
.rank-source {
  font-size: 11px;
  color: #aaa;
  text-align: right;
  margin-top: 12px;
}
.rank-source a { color: #aaa; text-decoration: underline; }

/* Résultats récents */
.rank-recents {
  display: flex;
  flex-direction: column;
}
.rank-recent-row {
  display: grid;
  grid-template-columns: 30px 1fr 48px 90px 100px;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.rank-recent-row:last-child { border-bottom: none; }
.rank-recent-badge {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-recent-badge.win  { background: #dcfce7; color: #166534; }
.rank-recent-badge.draw { background: #fef3c7; color: #92400e; }
.rank-recent-badge.loss { background: #fee2e2; color: #991b1b; }
.rank-recent-adv {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  color: #111;
  letter-spacing: .5px;
}
.rank-recent-loc {
  font-size: 13px;
  color: #aaa;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
}
.rank-recent-score {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  color: #111;
  text-align: center;
}
.rank-recent-date {
  font-size: 13px;
  color: #bbb;
  text-align: right;
}

/* Colonnes masquées sur mobile */
@media (max-width: 640px) {
  .rank-body { padding: 32px 20px 60px; }
  .hidden-sm { display: none; }
  .rank-bottom-grid { grid-template-columns: 1fr; gap: 32px; }
  .rank-bilan-strip { flex-wrap: wrap; }
  .rus-pos { font-size: 44px; }
  .rank-recent-row { grid-template-columns: 26px 1fr 44px 70px; }
  .rank-recent-date { display: none; }
}

/* ══════════════════════════════════════════
   CALENDRIER & RÉSULTATS
══════════════════════════════════════════ */
.cal-page { background: #F7F3EE; min-height: 100vh; }

/* Hero rose */
.cal-hero {
  background: var(--pink);
  padding: 40px 0;
}
.cal-hero .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.cal-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 5vw, 56px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.018em; /* proportionnel à la taille — un -1px fixe écrasait les lettres une fois le texte réduit sur mobile */
}
.cal-title span { color: rgba(255,255,255,.55); }
.cal-sub {
  font-family: 'Anton', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 2.5px;
  color: rgba(255,255,255,.75);
}

/* ── Sections calendrier ── */
.cal-sections { padding: 0 40px 80px; }

.cal-section { margin-bottom: 64px; }

.cal-section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--black);
  letter-spacing: 2px;
  padding: 48px 0 20px;
  border-bottom: 2px solid var(--pink);
  margin-bottom: 0;
}
.cal-section-title .pink { color: var(--pink); }

/* Bouton Voir plus */
.cal-voir-plus-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 8px;
}
.cal-voir-plus-btn {
  font-size: 13px;
  letter-spacing: 2px;
  padding: 12px 40px;
  color: var(--black);
  border-color: #333;
}
.cal-voir-plus-btn:hover {
  background: #1E1E1E;
  color: var(--white);
  border-color: #1E1E1E;
}

.cal-empty {
  color: #888;
  padding: 80px 0;
  text-align: center;
  font-size: 15px;
}

/* ════════════════════════════════
   CARD MATCH — scoreboard design
   ════════════════════════════════ */

.cal-list {
  display: flex;
  flex-direction: column;
  gap: 28px;  /* espace identique entre chaque groupe journée */
}

/* Groupe journée : header + match(s) */
.cal-group {
  display: flex;
  flex-direction: column;
  gap: 10px;  /* espace entre le header et la ligne de match */
}

/* Séparateur journée */
.cal-j-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 4px;
}
.cal-j-header span {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--pink);
  white-space: nowrap;
  flex-shrink: 0;
}
.cal-j-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.12);
}

/* Carte blanche sur fond beige */
.cal-row {
  display: flex;
  align-items: center;
  min-height: 90px;
  background: #e8e8e8;
  border-radius: 6px;
  border-left: 4px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}
.cal-row:hover { background: #dcdcdc; box-shadow: 0 4px 14px rgba(0,0,0,.13); transform: translateY(-1px); }
.cal-row--home { border-left-color: var(--pink); }
.cal-row--away { border-left-color: #ddd; }

/* ── Colonne date (gauche) ── */
.cal-date {
  flex-shrink: 0;
  width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: #080808;          /* reste noir */
  border-right: none;
  text-align: center;
  gap: 0;
  align-self: stretch;
}
.cal-dow {                /* SAM */
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--pink);
  line-height: 1;
}
.cal-day {                /* 6 */
  font-family: 'Anton', sans-serif;
  font-size: 46px;
  line-height: 1;
  color: var(--white);
}
.cal-mon {                /* JUIN */
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #aaa;
  line-height: 1;
  white-space: nowrap;
}

/* ── Contenu (prend tout l'espace) ── */
.cal-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Ligne méta : compétition · journée [· salle] */
.cal-row-head {
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 10px;
}
.cal-h-comp {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #111;
  white-space: nowrap;
}
.cal-h-jou {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #bbb;
  white-space: nowrap;
}
.cal-h-sep {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.08);
}
.cal-h-venue {
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Ligne équipes + score/heure */
.cal-row-body {
  display: flex;
  align-items: center;
  padding: 8px 24px;
  gap: 12px;
}
.cal-tname {
  flex: 1;
  min-width: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 2.25vw, 28px);
  letter-spacing: .5px;
  line-height: 1.1;
  color: #111;
  overflow-wrap: break-word;
}
.cal-tname.l { text-align: right; }
.cal-tname.r { text-align: left; }
.cal-tname.usm { color: var(--pink); font-size: clamp(22px, 2.8vw, 34px); }

.cal-logo {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-logo img { width: 54px; height: 54px; object-fit: contain; }

/* Score */
.cal-score {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
  min-width: 100px;
}
.cal-sc {
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  line-height: 1;
  color: #aaa;              /* perdant */
  min-width: 32px;
  text-align: center;
}
.cal-sc.w    { color: #16a34a; font-weight: 700; }   /* gagnant USM → vert */
.cal-sc.l    { color: #dc2626; }                     /* perdant USM → rouge */
.cal-sc.d    { color: #999; }                        /* nul → gris */
.cal-sc-sep {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: #999;
}

/* Heure (matchs à venir) */
.cal-time {
  flex-shrink: 0;
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  color: #111;
  min-width: 100px;
  text-align: center;
}

/* Replay centré sous la ligne équipes (dans .cal-content) */
.cal-replay-bar {
  display: flex;
  justify-content: center;
  padding: 0 24px 10px;
}
.cal-replay-link {
  font-family: 'Anton', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  color: #999;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 2px 8px;
  transition: color .15s, border-color .15s;
}
.cal-replay-link:hover { color: var(--pink); border-color: var(--pink); }

/* Responsive */
@media (max-width: 860px) {
  .cal-date { width: 70px; padding: 12px 8px; }
  .cal-day  { font-size: 36px; }
  .cal-mon  { font-size: 9.5px; letter-spacing: 0.5px; }
  .cal-row-head, .cal-row-body { padding-left: 14px; padding-right: 14px; }
  .cal-h-venue { display: none; }

  /* Les noms d'équipe entiers (ex: "CESSON RENNES") n'ont pas la place de
     tenir sur une ligne à côté des 2 logos + l'heure/score : plutôt que de
     les faire retomber lettre par lettre à la ligne, on tronque proprement
     avec des points de suspension. */
  .cal-row-body { gap: 8px; }
  .cal-tname {
    font-size: clamp(11px, 2.6vw, 15px);
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cal-tname.usm { font-size: clamp(13px, 3vw, 18px); }
  .cal-logo { width: 40px; height: 40px; }
  .cal-logo img { width: 34px; height: 34px; }
  .cal-sc { font-size: 22px; min-width: 24px; }
  .cal-score { min-width: 68px; gap: 4px; }
  .cal-time { font-size: 16px; min-width: 64px; letter-spacing: 1px; }
}
@media (max-width: 480px) {
  .cal-h-jou { display: none; }
  .cal-logo { width: 34px; height: 34px; }
  .cal-logo img { width: 28px; height: 28px; }
  .cal-sc { font-size: 19px; min-width: 20px; }
  .cal-score { min-width: 56px; }
  .cal-time { font-size: 14px; min-width: 52px; letter-spacing: .5px; }
  .cal-row-body { padding: 8px 12px; gap: 6px; }
  .cal-date { width: 60px; }
  .cal-day  { font-size: 30px; }
  .cal-mon  { font-size: 8.5px; letter-spacing: 0.2px; }
  .cal-tname { font-size: clamp(10px, 3vw, 13px); }
  .cal-tname.usm { font-size: clamp(12px, 3.2vw, 15px); }
}

/* ════════════════════════════════════════════════════════════
   PAGE EFFECTIF — Player cards with hover animation
════════════════════════════════════════════════════════════ */

.eff-page {
  padding-bottom: 80px;
  background-color: #1e1e1c;
  background-image: var(--eff-fond, none);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
/* Parallax léger sur desktop/écrans larges uniquement — "fixed" est instable sur mobile (rebonds, saccades) */
@media (min-width: 900px) {
  .eff-page { background-attachment: fixed; }
}

/* ── Hero ── */
.eff-hero {
  background: var(--dark2);
  border-bottom: 3px solid var(--pink);
  padding: 56px 0 40px;
  margin-bottom: 0;
}
.eff-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 4px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.eff-sub {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--pink);
  font-weight: 700;
}

/* ── Onglets ── */
.eff-tabs {
  display: flex;
  gap: 0;
  background: #F7F3EE;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 68px; /* hauteur nav */
  z-index: 50;
}
.eff-tabs-inner {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.eff-tab {
  background: none;
  border: none;
  color: #999;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  padding: 20px 28px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  margin-bottom: -1px;
  -webkit-text-stroke: 0;
}
.eff-tab:hover { color: #333; }
.eff-tab.active {
  color: #111;
  border-bottom-color: var(--pink);
}

.eff-section { padding-top: 20px; }
.eff-section.hidden { display: none; }

/* ── Titre de groupe (GARDIENS, PIVOTS, etc.) ── */
.eff-group { margin-bottom: 60px; }
.eff-group-title {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--pink);
  padding: 32px 0 20px;
  border-top: 1px solid #222;
  margin-bottom: 24px;
  -webkit-text-stroke: 0;
}


/* ── Grille ── */
.eff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 260px));
  justify-content: center;
  gap: 14px;
  align-items: start;
}

/* ════════════════════════
   PLAYER CARD
════════════════════════ */
.player-card {
  position: relative;
  cursor: default;
  background: var(--dark2);
  border: 1px solid var(--pink);
}

/* Zone photo */
.player-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4; /* portrait */
  background: #141414;
}
.player-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(.25,.46,.45,.94);
  transform-origin: top center;
}

/* Photo maillot extérieur — affichée au survol (fondu + léger zoom) */
.player-photo-home,
.player-photo-away {
  position: absolute;
  top: 0;
  left: 0;
}
.player-photo-away {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.25,.46,.45,.94);
}
.player-card.has-away:hover .player-photo-home {
  opacity: 0;
}
.player-card.has-away:hover .player-photo-away {
  opacity: 1;
  transform: scale(1.12);
}

/* Numéro — top-left, gros, bien visible */
.player-numero {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--white);
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  text-shadow:
    0 2px 8px rgba(0,0,0,.8),
    0 0 30px rgba(0,0,0,.6);
}

/* Overlay rose au hover */
.player-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(233,64,127, 0.18) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

/* Flèche supprimée — pas de page individuelle joueur pour l'instant */

/* Barre rose en bas */
.player-card::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
}

/* ── Infos sous la photo ── */
.player-card-info {
  padding: 16px 14px 18px;
  border-top: 1px solid #222;
  background: var(--dark2);
  transition: border-color 0.3s ease;
}
.player-poste {
  display: block;
  font-size: 13px;
  letter-spacing: 2.5px;
  color: #999;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.player-nom {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.2;
  font-style: italic;
}

/* ── Placeholder sans photo ── */
.player-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}
.player-no-photo span {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  color: #333;
  text-transform: uppercase;
}

/* ════════════════════════
   HOVER STATE
════════════════════════ */
.player-card:hover .player-card-img img {
  transform: scale(1.12);
}
.player-card:hover .player-numero {
  opacity: 1;
  color: var(--white);
  text-shadow:
    0 2px 8px rgba(0,0,0,.8),
    0 0 30px rgba(0,0,0,.6);
}
.player-card:hover .player-card-overlay {
  opacity: 1;
}

.player-card:hover::after {
  transform: scaleX(1);
}
.player-card:hover .player-card-info {
  border-color: var(--pink);
}
.player-card:hover .player-poste {
  color: var(--pink);
}


/* ── Responsive ── */
@media (max-width: 768px) {
  .eff-hero { padding: 40px 0 28px; }
  .eff-tabs { top: 60px; }
  .eff-tabs-inner { padding: 0 20px; }
  .eff-tab { padding: 14px 18px; font-size: 14px; }
  .eff-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .player-numero { font-size: 38px; }
  .player-nom { font-size: 14px; }
}
@media (max-width: 480px) {
  .eff-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════
   PAGE ACTUALITÉS
══════════════════════════════════════════ */
.actu-page { background: #F7F3EE; min-height: 100vh; }

/* Hero */
.actu-hero {
  background: var(--pink);
  padding: 48px 0 36px;
}
.actu-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 4px;
  color: var(--white);
  line-height: 1;
  margin: 0 0 8px;
}
.actu-sub {
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

.actu-body { padding: 60px 0 80px; }

.actu-section { margin-bottom: 72px; }
.actu-section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 3px;
  color: #111;
  margin-bottom: 32px;
}

/* Article à la une */
.actu-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: transform .2s;
}
.actu-featured-card:hover { transform: translateY(-3px); }

.actu-featured-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.actu-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.actu-featured-card:hover .actu-featured-img img { transform: scale(1.04); }
.actu-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, #fff);
}

.actu-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--pink);
  color: var(--white);
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 4px 10px;
}
.actu-tag.sm { font-size: 10px; padding: 3px 8px; }

.actu-featured-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.actu-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.actu-date {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--pink);
  font-family: 'Anton', sans-serif;
}
.actu-author {
  font-size: 12px;
  color: #666;
}
.actu-featured-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 1px;
  color: #111;
  line-height: 1.15;
  margin: 0;
}
.actu-featured-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
.actu-read-more {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--pink);
}

/* Grille articles */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.actu-card {
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.actu-card:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
}

.actu-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8e8e8;
}
.actu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.actu-card:hover .actu-card-img img { transform: scale(1.06); }
.actu-card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #18000d, #3d0028);
}

.actu-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.actu-card-title {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: .5px;
  color: #111;
  line-height: 1.2;
  margin: 0;
}
.actu-card-excerpt {
  font-size: 13px;
  color: #888;
  line-height: 1.55;
  margin: 0;
}

.actu-empty {
  color: #666;
  font-size: 15px;
  padding: 40px 0;
}
.actu-empty a { color: var(--pink); }

/* Section Instagram */
.actu-insta {
  background: var(--dark2);
  border-top: 1px solid #1a1a1a;
  padding: 72px 0;
}
.actu-insta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.actu-insta-label {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pink);
  font-family: 'Anton', sans-serif;
  margin: 0 0 6px;
}
.actu-insta-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: 2px;
  color: var(--white);
  margin: 0;
}
.actu-insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  text-decoration: none;
  margin-bottom: 20px;
}
.actu-insta-tile {
  aspect-ratio: 1;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}
.actu-insta-tile:hover { background: #2a2a2a; }
.actu-insta-hover {
  color: #444;
  transition: color .2s;
}
.actu-insta-tile:hover .actu-insta-hover { color: var(--pink); }
.actu-insta-note {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .actu-featured-card { grid-template-columns: 1fr; }
  .actu-featured-overlay { background: linear-gradient(to bottom, transparent 60%, #fff); }
  .actu-featured-body { padding: 28px 24px; }
  .actu-grid { grid-template-columns: repeat(2, 1fr); }
  .actu-insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .actu-grid { grid-template-columns: 1fr; }
  .actu-insta-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .actu-insta-grid { grid-template-columns: repeat(2, 1fr); }
}
