:root {
  --font-titre: 'Barlow Condensed', 'Oswald', sans-serif;
  --font-texte: 'Source Sans Pro', 'Open Sans', sans-serif;
  
  --bleu: #002B5E;
  --rouge: #BE1622;
  --blanc: #FFFFFF;
  --gris-clair: #F5F5F5;
  --noir: #111111;
  --sombre: #1A1A1A;
  --accent: #E0E0E0;
  
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-texte);
  background-color: var(--blanc);
  color: var(--noir);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, 
.hero-title, .section-title {
  font-family: var(--font-titre);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}

.hero-title {
  display: none!important;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--rouge);
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

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

.text-muted {
  color: #666;
}

/* Typography & Decorators */
.section-label {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--bleu);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--rouge);
}

.separator {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--bleu) 50%, var(--rouge) 50%);
  margin: 1.5rem 0 3rem;
}

.separator.center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 35px;
  border: 2px solid var(--rouge);
  text-decoration: none;
  transition: all var(--transition);
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  color: var(--rouge);
}

.btn-secondary {
  background: transparent;
  color: var(--bleu);
  border-color: var(--bleu);
}

.btn-secondary:hover {
  background: var(--bleu);
  color: var(--blanc);
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--blanc);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dégradé aux couleurs du club (bleu / rouge) pour l'ombrage */
  background: linear-gradient(135deg, rgba(0, 43, 94, 0.75) 0%, rgba(190, 22, 34, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: max-content;
  animation: fadeDown 0.8s ease-out forwards;
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 5rem);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: var(--gris-clair);
  max-width: 600px;
}

.hero .btn {
  margin-right: 15px;
  margin-bottom: 15px;
}

.hero .btn-secondary {
  border-color: var(--blanc);
  color: var(--blanc);
}
.hero .btn-secondary:hover {
  background: var(--blanc);
  color: var(--bleu);
}

/* Club Background */
.bg-dark {
  background-color: var(--sombre);
  color: var(--blanc);
}

.bg-dark .section-title {
  color: var(--blanc);
}

.bg-dark .text-muted {
  color: #999;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Stats Section */
.stats-section {
  background-color: var(--rouge);
  color: var(--blanc);
  padding: 60px 0;
  border-top: 5px solid rgba(0,0,0,0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Optional separator between items on desktop */
@media (min-width: 901px) {
  .stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 15%;
    height: 70%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
  }
}

.stat-number {
  font-family: var(--font-titre);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
}

/* Events */
.bg-light {
  background-color: var(--gris-clair);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--blanc);
  border-left: 5px solid var(--rouge);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.event-date {
  font-family: var(--font-titre);
  color: var(--bleu);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.event-title {
  font-size: 1.8rem;
  color: var(--noir);
  margin-bottom: 1rem;
}

.event-desc {
  color: #555;
}

.event-card.past {
  border-left-color: #999;
  opacity: 0.6;
}

.event-card.past .event-title {
  color: #666;
}

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.schedule-card {
  background: var(--blanc);
  border-top: 5px solid var(--bleu);
  padding: 2.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.schedule-card h3 {
  font-size: 2rem;
  color: var(--bleu);
  margin-bottom: 1.5rem;
  text-align: center;
}

.schedule-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.schedule-slot:last-child {
  border-bottom: none;
}

.schedule-day {
  font-weight: 700;
  color: var(--noir);
  text-transform: uppercase;
  font-size: 1.1rem;
}

.schedule-time {
  color: var(--rouge);
  font-weight: 600;
  font-family: var(--font-titre);
  font-size: 1.2rem;
}

/* Contact */
.contact-info {
  background-color: var(--bleu);
  color: var(--blanc);
  padding: 4rem;
  text-align: center;
}

.contact-address {
  font-family: var(--font-titre);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-city {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--noir);
  color: #888;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Image with gradient overlay */
.image-with-gradient {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-with-gradient img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-bottom: 5px solid var(--rouge);
}

.image-with-gradient::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Bleu vers rouge style français */
  background: linear-gradient(135deg, rgba(0, 43, 94, 0.6) 0%, rgba(190, 22, 34, 0.6) 100%);
  pointer-events: none; /* Let clicks pass through if needed */
}

/* Hero section logo */
.hero-logo {
  max-width: 550px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  /* Add a subtle animation or shadow if desired */
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.hero-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 250px;
  }

  .hero-content {
    padding: 0 15px;
  }
}
  