/* ============================================
   FC FULBERT CHARTRES - STYLE.CSS
   Site officiel du club de football
   ============================================ */

/* ========== VARIABLES CSS ========== */
:root {
  --primary: #8B1538;
  --primary-dark: #6B0F2A;
  --accent: #D4AF37;
  --accent-dark: #B8941F;
  --navy: #1A2332;
  --light: #F8F9FA;
  --gray: #6C757D;
  --dark: #212529;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* ========== RESET & GLOBAL ========== */
* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

body { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* FIX CRITIQUE : Assurer que tous les strong sont visibles */
strong {
  color: var(--primary);
  font-weight: 700;
}

/* ========== LOADING SCREEN ========== */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 180px;
  height: 180px;
  margin-bottom: 30px;
  animation: logoFloat 2s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  margin-top: 25px;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -30px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVBAR ========== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 18px 5vw;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px var(--shadow-hover);
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

nav .fit-picture {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.5s ease;
}

nav .fit-picture:hover {
  transform: rotate(360deg) scale(1.1);
}

nav .logo { 
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}

nav ul { 
  display: flex;
  gap: 30px;
  list-style: none;
}

nav ul li a { 
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
}

nav ul li a.active {
  color: var(--accent);
  background: rgba(255,255,255,0.1);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li a:hover::after {
  width: 80%;
}

nav ul li a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  background: var(--white);
  padding: 15px 5vw;
  font-size: 0.9rem;
  color: var(--gray);
  box-shadow: 0 2px 8px var(--shadow);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ========== MAIN CONTAINER ========== */
.container { 
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 5vw;
}

/* ========== HERO SECTION ========== */
.hero { 
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  color: var(--white);
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px var(--shadow-hover);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '⚽';
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 100px;
  opacity: 0.1;
  animation: rotate 20s linear infinite;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  filter: drop-shadow(0 5px 20px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
}

.hero h1 { 
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.hero p { 
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  position: relative;
  margin-bottom: 15px;
  z-index: 1;
}

.hero strong {
  color: var(--accent);
  font-weight: 800;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 800;
  margin-top: 25px;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(212,175,55,0.4);
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

/* ========== SEO INTRO ========== */
.seo-intro {
  background: var(--white);
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 6px 25px var(--shadow);
  margin-bottom: 50px;
  line-height: 2;
}

.seo-intro h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-weight: 800;
  padding-left: 20px;
  position: relative;
}

.seo-intro h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 70%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 10px;
}

.seo-intro p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.seo-intro strong {
  color: var(--primary);
  font-weight: 700;
}

/* ========== STATS GRID ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.stat-card {
  background: var(--white);
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 25px var(--shadow);
  transition: all 0.4s ease;
  border-top: 4px solid var(--accent);
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px var(--shadow-hover);
  border-top-color: var(--primary);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== CARDS SECTION ========== */
.cards-section { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.card { 
  padding: 35px;
  border-radius: 18px;
  color: var(--white);
  box-shadow: 0 8px 30px var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transition: all 0.6s ease;
  opacity: 0;
}

.card:hover::before {
  opacity: 1;
  transform: translate(-25%, -25%);
}

.card:hover { 
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 45px var(--shadow-hover);
}

.card-red { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.card-red strong {
  color: var(--white);
  font-weight: 700;
}

.card-gold { 
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--navy);
}

.card-gold strong {
  color: var(--navy);
  font-weight: 700;
}

.card h2 {
  color: inherit;
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-left: 0;
}

.card h2::before {
  display: none;
}

.card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.card em {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ========== TABLES ========== */
table { 
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 6px 25px var(--shadow);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

th, td { 
  padding: 16px;
  text-align: left;
}

th { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

tbody tr:hover {
  background: linear-gradient(90deg, rgba(212,175,55,0.1) 0%, transparent 100%);
  transform: scale(1.01);
}

tbody tr:last-child {
  border-bottom: none;
}

td {
  font-weight: 500;
  color: var(--dark);
}

td strong {
  color: var(--primary);
  font-weight: 700;
}

/* ========== SECTIONS ========== */
section {
  margin-bottom: 50px;
}

h2 { 
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-weight: 800;
  position: relative;
  padding-left: 20px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 70%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 10px;
}

h3 {
  color: var(--primary);
  font-size: 1.6rem;
  margin: 30px 0 15px 0;
  font-weight: 700;
}

/* ========== INFO SECTIONS ========== */
.infos-cle {
  background: var(--white);
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 6px 25px var(--shadow);
  margin-bottom: 50px;
}

.infos-cle p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 15px;
  color: var(--dark);
}

.infos-cle p strong {
  color: var(--primary);
  font-weight: 700;
}

.infos-cle ul {
  list-style: none;
  padding-left: 0;
}

.infos-cle ul li {
  padding: 12px 0 12px 35px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
}

.infos-cle ul li::before {
  content: '⚽';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
}

.infos-cle strong {
  color: var(--primary);
  font-weight: 700;
}

/* ========== EFFECTIF / JOUEURS ========== */
.effectif-complet {
  background: var(--white);
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 8px 35px var(--shadow-hover);
  margin-bottom: 50px;
  border: 3px solid var(--accent);
}

.effectif-complet h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.effectif-complet strong {
  color: var(--primary);
  font-weight: 700;
}

.joueurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* CARDS JOUEURS MODERNES */
.joueur-card-pro {
  background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
  padding: 0;
  border-radius: 15px;
  border: 2px solid #e9ecef;
  box-shadow: 0 6px 20px var(--shadow);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.joueur-card-pro:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px var(--shadow-hover);
  border-color: var(--accent);
}

.joueur-numero {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 2;
}

.joueur-photo-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.joueur-photo-placeholder::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.joueur-card-pro h3 {
  padding: 20px 20px 10px 20px;
  margin: 0;
  font-size: 1.4rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.joueur-poste-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 20px 15px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.joueur-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 15px 20px;
  background: var(--light);
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 5px;
}

.joueur-details {
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.joueur-details p {
  margin-bottom: 10px;
}

.joueur-details strong {
  color: var(--primary);
  font-weight: 700;
}

/* ANCIEN STYLE DE CARDS (conservé pour compatibilité) */
.joueur-card {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid var(--primary);
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
}

.joueur-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-hover);
  border-left-color: var(--accent);
}

.joueur-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.joueur-poste {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.joueur-info {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ========== CLASSEMENT ========== */
.classement-section {
  background: var(--white);
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 8px 35px var(--shadow-hover);
  margin-bottom: 50px;
  border: 3px solid var(--accent);
}

.classement-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.classement-section p {
  color: var(--dark);
  line-height: 1.8;
}

.classement-section p strong,
.classement-section strong {
  color: var(--primary);
  font-weight: 700;
}

.classement-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.classement-table {
  overflow-x: auto;
}

.classement-table table {
  min-width: 600px;
}

.classement-table .fc-fulbert {
  background: rgba(212, 175, 55, 0.15);
  font-weight: 700;
  border-left: 5px solid var(--accent);
}

/* ========== CTA BUTTONS ========== */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px var(--shadow);
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px var(--shadow-hover);
}

/* ========== FAQ ========== */
.faq { 
  background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
  padding: 40px;
  border-radius: 18px;
  margin-bottom: 50px;
  box-shadow: 0 6px 25px var(--shadow);
}

.faq strong {
  color: var(--primary);
  font-weight: 700;
}

.faq-item {
  padding: 20px;
  margin-bottom: 15px;
  background: var(--white);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
  cursor: pointer;
  color: var(--dark);
}

.faq-item:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 15px var(--shadow);
}

.faq .faq-question { 
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}

/* ========== LIENS INTERNES ========== */
.liens-internes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}

.liens-internes li {
  padding: 0 !important;
}

.liens-internes li::before {
  display: none !important;
}

.liens-internes a { 
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  padding: 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow);
  position: relative;
  overflow: hidden;
}

.liens-internes a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.liens-internes a:hover::before {
  width: 300px;
  height: 300px;
}

.liens-internes a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

/* ========== MAP / IFRAME ========== */
iframe {
  border-radius: 15px;
  margin: 25px 0;
  box-shadow: 0 6px 25px var(--shadow);
}

/* ========== FOOTER ========== */
footer { 
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 5vw;
  margin-top: 80px;
  box-shadow: 0 -4px 20px var(--shadow);
}

.footer-links { 
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 25px;
}

.footer-links a { 
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

footer p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 20px;
}

footer strong {
  color: var(--white);
  font-weight: 700;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablettes et petits écrans */
@media(max-width: 900px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 15px 5vw;
  }
  
  .nav-brand {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    text-align: center;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-logo {
    width: 90px;
    height: 90px;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .cards-section {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
  }
  
  .infos-cle, 
  .effectif-complet, 
  .classement-section, 
  .faq,
  .seo-intro {
    padding: 25px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .joueurs-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobiles */
@media(max-width: 600px) {
  .hero {
    padding: 50px 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .container {
    padding: 40px 4vw;
  }

  .effectif-complet h2,
  .classement-section h2 {
    font-size: 2rem;
  }

  .joueur-card-pro h3 {
    font-size: 1.2rem;
  }

  .joueur-photo-placeholder {
    height: 150px;
    font-size: 4rem;
  }

  .joueur-stats-grid {
    gap: 5px;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }
}

/* Très petits écrans */
@media(max-width: 400px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-logo {
    width: 70px;
    height: 70px;
  }

  nav .logo {
    font-size: 1.3rem;
  }

  nav .fit-picture {
    width: 45px;
    height: 45px;
  }

  .joueurs-grid {
    grid-template-columns: 1fr;
  }

  .joueur-card-pro {
    max-width: 100%;
  }
}

/* ========== UTILITIES ========== */

/* Espacement */
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }

/* Texte */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-extra-bold { font-weight: 900; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

/* Backgrounds */
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }

/* Bordures */
.border-primary { border-color: var(--primary); }
.border-accent { border-color: var(--accent); }

/* Shadow */
.shadow-sm { box-shadow: 0 2px 8px var(--shadow); }
.shadow-md { box-shadow: 0 4px 15px var(--shadow); }
.shadow-lg { box-shadow: 0 6px 25px var(--shadow); }
.shadow-xl { box-shadow: 0 10px 40px var(--shadow-hover); }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flex utilities */
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* ========== PRINT STYLES ========== */
@media print {
  .loader-wrapper,
  nav,
  .back-to-top,
  .breadcrumb,
  footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    background: none;
    color: black;
    page-break-after: avoid;
  }

  .card,
  .infos-cle,
  .effectif-complet,
  .classement-section {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  table {
    page-break-inside: avoid;
  }
}

/* ========== ACCESSIBILITY ========== */

/* Focus visible pour navigation clavier */
a:focus,
button:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Amélioration du contraste pour accessibilité */
.high-contrast {
  --primary: #6B0F2A;
  --dark: #000000;
}

/* Réduction des animations pour utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skip to main content link (pour lecteurs d'écran) */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-main:focus {
  top: 0;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--light);
}

/* ========== SELECTION ========== */
::selection {
  background: var(--accent);
  color: var(--navy);
}

::-moz-selection {
  background: var(--accent);
  color: var(--navy);
}

/* ========== FIN DU FICHIER CSS ========== */