/* --- Reset & Base --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* --- Variables --- */
:root {
  --primary-red: #E6193B;
  /* Rouge vif du drapeau/texte */
  --hover-red: #d60000;
  --nav-text: #f0f0f0;

}

.mr-2 {
  margin-right: 10px;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.primary-btn {
  /* background: white; */
  background: #0d4da5;
  /* color: #0d4da5; */
  color: #fff;
  border: none;
  margin: 0 auto;
  padding: 16px 35px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  /* gap: 12px; */
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 77, 165, 0.3);
}


/* --- Main Header Container --- */
/* .main-header {
    position: relative;
    width: 100%;
    min-height: 120vh;
    background-image: url('../img/haiti-waving-flag.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 10, 0.3);
} */
/* --- Main Header Container --- */
.main-header {
  position: relative;
  width: 100%;
  min-height: 120vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Vidéo de fond */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay sombre pour améliorer la lisibilité */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 10, 0.3);
  z-index: 0;
}

/* Optimisations pour la vidéo */
.video-background {
  /* Prévenir les problèmes de performance sur mobile */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Assurer que le contenu est au-dessus de la vidéo */
.navbar,
.hero-content {
  position: relative;
  z-index: 10;
}

/* Animation de fondu pour la vidéo */
.video-background video {
  opacity: 0;
  animation: fadeInVideo 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInVideo {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Pour les appareils mobiles, optimiser l'affichage */
@media (max-width: 768px) {
  .video-background video {
    /* Sur mobile, on peut réduire légèrement la qualité pour améliorer les performances */
    object-position: center center;
  }

  /* Désactiver l'animation de fondu sur mobile si nécessaire */
  @media (prefers-reduced-motion: reduce) {
    .video-background video {
      animation: none;
      opacity: 1;
    }
  }
}

/* Pour les appareils qui n'aiment pas les vidéos automatiques */
@media (hover: none) and (pointer: coarse) {
  .video-background video {
    /* Certains mobiles bloquent l'autoplay, on a déjà le fallback */
  }
}

/* --- Navbar --- */
.navbar {
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.logo-img {
  height: 60px;
  /* Ajuster selon votre logo */
  width: auto;
}

/* --- SÉPARATEUR DE LOGOS --- */
.logo-img+.logo-img {
  /* Ajoute une petite marge entre le séparateur et le deuxième logo */
  margin-left: 15px;
  /* Définit la ligne séparatrice: 1px d'épaisseur, solide, de couleur gris clair */
  border-left: 1px solid #ccc;
  /* Ajoute une petite marge entre la bordure et le deuxième logo */
  padding-left: 15px;
}

.menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Liens de navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--primary-red);
}


/* --- NAVBAR SCROLL STYLE --- */
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 17px !important;
  transition: all 0.3s ease-in-out;
}

/* Le logo devient plus petit en scroll */
.navbar.scrolled .logo-img {
  height: 45px;
  transition: 0.3s ease;
}

/* Les liens deviennent foncés */
.navbar.scrolled .nav-links li a {
  color: #1b2432;
}

/* Le hamburger devient foncé */
.navbar.scrolled .hamburger i {
  color: #1b2432;
}

/* CTA en scroll */
.navbar.scrolled .btn-cta {
  background-color: #E6193B;
  color: #fff !important;
}



/* Bouton CTA (Appel à l'action) */
.btn-cta {
  background-color: var(--primary-red);
  color: #fff !important;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta:hover {
  background-color: var(--hover-red);
}

.mobile-only {
  display: none;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* --- Hero Content --- */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1300px;
  padding: 120px 20px 40px 20px;
  /* Top padding pour éviter la navbar */
}

/* Typographie Hero */
.main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.text-red {
  color: var(--primary-red);
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}

/* Espaceur pour simuler la zone du blason central si inclus dans le BG */
.spacer-crest {
  height: 150px;
  width: 100%;
}

.bottom-text {
  /* margin-bottom: 40px; */
}

.small-text {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 5px;
  opacity: 0.9;
}

.slogan {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* --- Info Bar (Glassmorphism) --- */
.info-bar {
  display: flex;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.1); */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  border-radius: 15px;
  padding: 15px 40px;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 10px;
  position: absolute;
  top: 75%;
  text-align: center;
  width: auto;
  justify-content: center;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.icon-box {
  background: rgba(230, 166, 92, 0.2);
  /* Légère teinte dorée/orange */
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  /* Or */
  font-size: 1.2rem;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text .label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
}

.info-text .value {
  font-size: 1rem;
  font-weight: 700;
}

.divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* --- Responsivité --- */

/* Tablette et petits écrans */
@media (max-width: 1024px) {

  .main-header{
    position: unset !important;
    margin-top: -10px;
  }
  .main-title {
    font-size: 2.8rem;
  }

  .slogan {
    font-size: 2.5rem;
  }

  .nav-links {
    gap: 15px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
  }

  .hamburger {
    display: block;
    z-index: 102;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: var(--impact-bg-grey);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 101;
    gap: 40px;
  }

  .nav-links li a {
    color: var(--impact-blue);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links.active,
  .hamburger {
    color: #fff;
  }

  .nav-cta {
    display: none;
  }

  /* On cache le bouton header classique */

  .mobile-only {
    display: inline-flex;
  }

  /* On affiche le bouton dans le menu */

  /* Hero Responsive */
  .hero-content {
    padding-top: 100px;
  }

  .main-title {
    font-size: 2rem !important;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .spacer-crest {
    height: 100px;
  }

  .slogan {
    font-size: 1.8rem;
  }

  /* Info Bar stack en mobile */
  .info-bar {
    flex-direction: column;
    gap: 15px;
    width: 90%;
    padding: 20px;
    align-items: flex-start;
    margin-top: 20px;
    margin-bottom: 10px;
    position: absolute;
    top: 75%;
    text-align: center;
    width: auto;
    justify-content: center;
    align-items: center;
  }

  .divider {
    width: 100%;
    height: 1px;
  }

  .info-item {
    width: 100%;
  }
}

/* --- Responsivité (pour cette section) --- */
/*  */
/* --- Section Préambule / Bannière --- */
/* --- Section Préambule / Bannière --- */
.preamble-banner {
  background-color: #0D4DA5; /* Nouvelle couleur de fond */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 60px 20px; /* Padding pour espacement */
}

.preamble-banner .container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.preamble-text {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 40px; /* Espacement avec l'image */
  text-align: center;
}

.preamble-text strong {
  font-weight: 800;
}

/* Conteneur de l'image avec marges */
.image-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px auto; /* Centré avec marge en bas */
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Ombre pour profondeur */
}

.stadium-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Style du bouton */
.preamble-btn {
  background-color: #E6193B;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 40px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.preamble-btn:hover {
  background-color: #c01531;
}

.preamble-btn .fa-plus {
  font-size: 1.1rem;
}

/* --- Responsivité --- */
@media (max-width: 992px) {
  .preamble-banner {
    padding: 40px 15px;
  }
  
  .preamble-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .image-container {
    max-width: 90%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .preamble-text {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .preamble-btn {
    padding: 12px 30px;
    font-size: 0.95rem;
  }
  
  .image-container {
    max-width: 95%;
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .preamble-banner {
    padding: 30px 10px;
  }
  
  .preamble-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .image-container {
    border-radius: 15px;
  }
}
/* --- Section CTA (Concours) --- */
.cta-section {
  background-color: var(--primary-red);
  /* Utilisation du Rouge primaire */
  padding: 0;
}

.cta-content-wrapper {
  display: flex;
  max-width: 1200px;
  align-items: center;
  margin: 0 auto;
  color: #fff;
}

/* Colonne de Texte (Gauche) */
.cta-text-column {
  flex: 1;
  padding: 80px 50px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  /* Pour le séparateur de ligne */
}

.line-separator {
  width: 50px;
  height: 3px;
  background-color: #fff;
  margin-bottom: 20px;
  display: block;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 600;
  /* Moins gras pour le texte de base */
  line-height: 1.2;
  margin-bottom: 25px;
}

.cta-title strong {
  font-weight: 800;
  /* Le texte en gras est très accentué */
}

.cta-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.cta-description strong {
  font-weight: 700;
}

/* Liste à cocher */
.list-checkmarks {
  list-style: none;
  margin-bottom: 40px;
}

.list-checkmarks li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-checkmarks .fa-circle-check {
  color: #fff;
  /* La couleur de l'icône est blanche */
  font-size: 1.1rem;
}

/* Bouton d'inscription (Style similaire au CTA principal mais avec l'icône +) */
.register-btn {
  background-color: #0D4DA5;
  /* Bleu dans cette section */
  font-weight: 600;
  width: 70%;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 8px;
}

.register-btn:hover {
  background-color: #0c336b;
  /* Bleu plus foncé au survol */
}

/* Colonne d'Image (Droite) */
.cta-image-column {
  flex: 1;
  display: flex;
  height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Assure que l'image ne dépasse pas */
}

.stadium-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Assure que l'image couvre la zone sans déformation excessive */
  display: block;
  /* border-radius: 23px; */
}


/* --- Responsivité (pour cette section) --- */
@media (max-width: 992px) {
  .preamble-text {
    font-size: 1.2rem;
  }



  .cta-text-column {
    padding: 50px 30px;
    order: 2;
    /* Met le texte après l'image sur mobile */
  }

  .cta-image-column {
    order: 1;
    /* Met l'image en premier sur mobile */
    height: 300px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 750px) {

  .cta-content-wrapper {
    flex-direction: column;
    /* Colonnes empilées */
  }

  .stadium-img {
    width: 80%;
    margin-top: 50px;
    height: 350px;
  }
}




/* --- Couleurs Spécifiques pour cette Section --- */
:root {
  /* ... (Gardez les variables existantes) ... */
  --impact-blue: #0D4DA5;
  --impact-light-red: #ff3366;
  /* Un rouge un peu plus clair pour certains éléments */
  --impact-bg-grey: #f0f3f8;
}

/* --- Section Générique --- */
.impact-title {
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.impact-subtitle {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.stats-card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* --- Bloc Supérieur (Fond Gris/Blanc) --- */
.impact-section-top {
  background-color: var(--impact-bg-grey);
  padding: 80px 0;
}

.impact-header-top {
  text-align: center;
  color: var(--impact-blue);
}

/* Conteneur des stats (boîte blanche autour) */
.white-style-cards {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.stat-card-horizontal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon-wrapper {
  font-size: 2.2rem;
  flex-shrink: 0;
  /* Empêche l'icône de rétrécir */
}

.stat-icon-wrapper.blue-icon {
  color: var(--impact-blue);
}

.stat-icon-wrapper.red-icon {
  color: var(--primary-red);
}

.stat-content {
  text-align: left;
}

.stat-card-horizontal .stat-label {
  font-size: 0.75rem;
  color: #555;
  margin: 0;
  line-height: 1.3;
}

.stat-card-horizontal .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--impact-blue);
  margin: 0;
}

/* --- Bloc Inférieur (Fond Rouge) --- */
.impact-section-bottom {
  background-color: var(--primary-red);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.impact-header-bottom {
  text-align: center;
}

.impact-header-bottom .impact-title {
  font-size: 2.5rem;
  color: #fff;
}

.impact-divider {
  display: block;
  width: 50px;
  height: 3px;
  background-color: #fff;
  margin: 0 auto 15px auto;
}

.impact-header-bottom .impact-subtitle {
  font-size: 1rem;
  font-weight: 400;
}

.red-style-cards {
  /* Style grille classique */
  margin-bottom: 50px;
}

.stat-card-vertical {
  background-color: #fff;
  color: #333;
  /* Texte noir sur fond blanc */
  border-radius: 15px;
  padding: 30px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid transparent;
  /* Bordure transparente pour le hover */
  transition: all 0.3s ease;
}

/* Effet de bordure rouge au survol (simule le design "flottant") */
.stat-card-vertical:hover {
  border-color: var(--impact-light-red);
  transform: translateY(-5px);
}

.stat-icon-vertical {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.stat-card-vertical .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--impact-blue);
  /* Valeur en bleu */
  margin: 0;
}

.stat-card-vertical .stat-label {
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
  line-height: 1.3;
}



/* --- Responsivité pour cette Section --- */
@media (max-width: 992px) {
  .stats-card-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 colonnes sur tablette */
    gap: 20px;
  }

  .stat-card-horizontal {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
    gap: 5px;
  }

  .stat-card-horizontal .stat-content {
    text-align: center;
  }
}

@media (max-width: 600px) {

  .impact-section-top,
  .impact-section-bottom {
    padding: 50px 0;
  }

  .stats-card-container {
    /* grid-template-columns: 1fr; 1 colonne sur mobile */
  }

  .impact-header-bottom .impact-title {
    font-size: 2rem;
  }

  .white-style-cards {
    padding: 20px;
  }
}

/* IMPACT STYLE 2 */
.stats-section {
  padding: 100px 20px;
  text-align: center;
  /* background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); */
  background: var(--primary-red);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(13, 77, 165, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.stats-section .stats-header {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 60px;
}

.stats-section .stats-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #fff;
  line-height: 1.2;
  position: relative;
  /* nécessaire pour positionner le ::after */
}

.stats-section .stats-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  /* espace sous le h2 */
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  /* longueur de la barre */
  height: 5px;
  /* épaisseur */
  background: linear-gradient(90deg, #0d4da5, #e6193b);
  border-radius: 2px;
}

.stats-section .stats-header p {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
}

/* GRID AMÉLIORÉ */
.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* CARTES AVEC OMBRE DROITE ET BAS */
.stats-section .stat-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(13, 77, 165, 0.1);
  box-shadow:
    8px 8px 20px rgba(13, 77, 165, 0.08),
    4px 4px 10px rgba(13, 77, 165, 0.05);
  position: relative;
  overflow: hidden;
}

/* Effet d'ombre accentuée à droite et en bas */
.stats-section .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  box-shadow:
    15px 15px 30px rgba(13, 77, 165, 0.12),
    8px 8px 20px rgba(13, 77, 165, 0.08) inset;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.stats-section .stat-card:hover {
  transform: translateY(-10px);
  box-shadow:
    12px 12px 25px rgba(13, 77, 165, 0.15),
    20px 20px 40px rgba(13, 77, 165, 0.1);
}

.stats-section .stat-card:hover::before {
  opacity: 1;
}

/* Décoration de bordure subtile */
.stats-section .stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  /* background: linear-gradient(135deg, transparent 50%, rgba(13, 77, 165, 0.05) 50%); */
  background: linear-gradient(135deg, transparent 84%, #e6193b 50%);
  border-bottom-right-radius: 20px;
  z-index: 0;
}

/* CONTENU DES CARTES */
.stats-section .stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ICONES AMÉLIORÉES */
.stat-icon {
  font-size: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 25px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1);
}

.stat-icon.blue {
  color: #0d4da5;
  background: linear-gradient(135deg, rgba(13, 77, 165, 0.1) 0%, rgba(13, 77, 165, 0.05) 100%);
  box-shadow: 0 8px 20px rgba(13, 77, 165, 0.1);
}

.stat-icon.red {
  color: #e6193b;
  background: linear-gradient(135deg, rgba(230, 25, 59, 0.1) 0%, rgba(230, 25, 59, 0.05) 100%);
  box-shadow: 0 8px 20px rgba(230, 25, 59, 0.1);
}

/* CHIFFRES MIS EN VALEUR */
.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number.red {
  background: linear-gradient(135deg, #e6193b 0%, #ff4757 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number.blue {
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* LABELS AMÉLIORÉS */
.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.5;
  max-width: 200px;
  margin: 0;
  padding-top: 10px;
  border-top: 2px solid rgba(13, 77, 165, 0.1);
}

.stat-card:nth-child(2) .stat-label,
.stat-card:nth-child(4) .stat-label {
  border-top-color: rgba(230, 25, 59, 0.1);
}

/* ANIMATION DES CHIFFRES */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  animation: countUp 0.8s ease-out forwards;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .stats-grid {
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .stats-header h2 {
    font-size: 2.5rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-icon {
    font-size: 60px;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .stats-section {
    padding: 70px 20px;
  }

  .stats-header h2 {
    font-size: 2rem;
  }

  .stats-header p {
    font-size: 1.1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 20px;
  }

  .stat-card {
    padding: 30px 25px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    font-size: 55px;
    width: 50px;
    height: 50px;
  }

  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-section {
    padding: 50px 15px;
  }

  .stats-header h2 {
    font-size: 1.75rem;
  }

  .stats-header p {
    font-size: 1rem;
  }

  .stat-card {
    padding: 25px 20px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-icon {
    font-size: 50px;
    width: 70px;
    height: 70px;
  }
}

.number-stats-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ICONES */
.stat-icon {
  font-size: 45px;
}

.blue {
  color: #0d4da5;
}

.red {
  color: #e6193b;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
}

.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: #5c6f8a;
}


/* GAGNANTS SECTION */
/* SECTION GAGNANTS - VERSION PROFESSIONNELLE */
.winners-section {
  padding: 100px 0;
  /*background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);*/
  background-color: #0D4DA5;
  position: relative;
}

.winners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  /*background: linear-gradient(90deg,*/
  /*    transparent 0%,*/
  /*    rgba(13, 77, 165, 0.2) 50%,*/
  /*    transparent 100%);*/
  /*background-color: yellow;*/
}

/* EN-TÊTE DE SECTION */
.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0d4da5;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #0d4da5, #e6193b);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  line-height: 1.6;
  max-width: 800px;
  margin: 25px auto 0;
}

.highlight-text {
  display: inline-block;
  background: linear-gradient(135deg, #0d4da5, #1a5fc9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px;
  margin-top: 10px;
}

/* GRID DES PRIX */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* CARTES DE PRIX */
.prize-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.prize-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* RANGS */
.prize-rank {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.rank-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.premier-prix .rank-badge {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #8b4513;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.second-prix .rank-badge {
  background: linear-gradient(135deg, #e5e4e2, #c0c0c0);
  color: #374151;
  box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

.troisieme-prix .rank-badge {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
  color: white;
  box-shadow: 0 4px 15px rgba(205, 127, 50, 0.3);
}

.ribbon {
  background: #e6193b;
  color: white;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* SECTION PRIX */
.prize-award {
  padding: 80px 30px 30px;
  text-align: center;
  position: relative;
}

.award-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.premier-prix .award-icon {
  background: linear-gradient(135deg,
      rgba(255, 215, 0, 0.1),
      rgba(255, 165, 0, 0.05));
  color: #ffd700;
}

.second-prix .award-icon {
  background: linear-gradient(135deg,
      rgba(192, 192, 192, 0.1),
      rgba(160, 160, 160, 0.05));
  color: #c0c0c0;
}

.troisieme-prix .award-icon {
  background: linear-gradient(135deg,
      rgba(205, 127, 50, 0.1),
      rgba(139, 69, 19, 0.05));
  color: #cd7f32;
}

.award-icon i {
  font-size: 40px;
}

.award-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
  line-height: 1.3;
}

.award-category {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 500;
}

/* DÉTAILS DES PRIX */
.prize-details {
  padding: 0 30px 25px;
}

.prize-amount {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.currency {
  display: block;
  font-size: 1rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 5px;
}

.amount {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: #e6193b;
  line-height: 1;
  font-family: "Inter", sans-serif;
}

.second-prix .amount {
  color: #4b5563;
}

.troisieme-prix .amount {
  color: #92400e;
}

.amount-label {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 5px;
  font-weight: 500;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .winners-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 50px;
  }

  .ceremony-info {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .action-section {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .winners-section {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .amount {
    font-size: 2.2rem;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .winners-section {
    padding: 50px 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .prize-card {
    margin: 0 -10px;
  }

  .primary-btn {
    padding: 14px 25px;
    font-size: 1rem;
    width: auto;
    justify-content: center;
  }
}



/* Style Cineus */


/* --- Overlay pro sur les cardz1 / cardz2 / cardz3 --- */


.cardz1 {

  background: url('../img/hero.png') no-repeat center center;
  background-size: cover;
  background-position: center;
  /* border-radius: 15px; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}



.cardz2 {

  background: url('../img/img2.png') no-repeat center center;
  background-size: cover;
  background-position: center;
  /* border-radius: 15px; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}


.cardz3 {

  background: url('../img/team1974.png') no-repeat center center;
  background-size: cover;
  background-position: center;
  /* border-radius: 15px; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.card.cardz1,
.card.cardz2,
.card.cardz3 {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  /* légère élévation */
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Overlay commun (fond sombre + dégradé subtil) */
.card.cardz1::before,
.card.cardz2::before,
.card.cardz3::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.35) 100%);
  mix-blend-mode: multiply;
  opacity: 0.9;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

/* Hover : carte qui “flotte” légèrement */
.card.cardz1:hover,
.card.cardz2:hover,
.card.cardz3:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
}

.card.cardz1:hover::before,
.card.cardz2:hover::before,
.card.cardz3:hover::before {
  opacity: 1;
  transform: scale(1.03);
}

/* Texte au-dessus de l’overlay */
.card.cardz1 .card-text,
.card.cardz2 .card-text,
.card.cardz3 .card-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

/* Optionnel : un petit sous-texte si tu en ajoutes plus tard */
.card.cardz1 .card-subtitle,
.card.cardz2 .card-subtitle,
.card.cardz3 .card-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 8px;
}



/* REGISTER SECTION */
/* SIGNUP */
/* SECTION INSCRIVEZ-VOUS - Nouveaux styles */
.register-section {
  background: #f7f7f7;
  position: relative;
  overflow: hidden;
  padding: 50px;
  min-height: 100px;
}


.register-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%,
      rgba(13, 77, 165, 0.05) 0%,
      transparent 70%);
  z-index: 0;
}

.register-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.register-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e6193b 0%, #f03654 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(230, 25, 59, 0.2);
}

.register-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0D4DA5;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.register-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #0a3d8c, #e6193b);
  border-radius: 2px;
}

.register-subtitle {
  font-size: 1.2rem;
  color: #0D4DA5;
  line-height: 1.6;
  max-width: 800px;
  margin: 25px auto 0;
}

.register-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.register-left,
.register-right {
  display: flex;
  flex-direction: column;
}




/* PARTNERS */
/* PARTNERS SECTION */
.partners {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-top: 1px solid #dfdfdf;
}

.partners h2 {
  font-size: 3rem;
  margin-bottom: 43px;
  font-weight: 700;
  color: #0d4da5;
  position: relative;
  /* nécessaire pour ::after */
}

.partners h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  /* place le trait sous le titre */
  left: 50%;
  /* centre horizontalement */
  transform: translateX(-50%);
  width: 120px;
  /* longueur */
  height: 5px;
  /* épaisseur */
  background: linear-gradient(90deg, #0d4da5, #e6193b);
  border-radius: 3px;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  color: #777;
  font-size: 18px;
  font-weight: 500;
}

.partners-list span {
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 2.75rem;
}

.partners-list span:hover {
  opacity: 1;
  color: #0d4da5;
  cursor: pointer;
}


/* --- Correction du Formulaire CTA --- */
/* (Utilisation de nouvelles classes pour éviter les conflits) */
/* Section principale avec fond rouge */
.red-background {
  background-color: var(--primary-red);
  /* Rouge vif comme sur l'image */
  padding-top: 50px;
  /* Espace au-dessus de la carte */
}

.join-movement-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Conteneur principal (la carte blanche) hidden section below*/
.join-movement-section .card {
  background-color: white;
  padding: 50px 30px;
  text-align: center;
  border-radius: 4px;
  /* Un léger arrondi */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Une légère ombre */
}

/* Contenu du haut (titre, icône, texte vert) */
.header-content {
  margin-bottom: 115px;
}

.heart-icon {
  font-size: 24px;
  color: white;
  /* Couleur de l'icône, qui sera dans un cercle noir */
  background-color: black;
  width: 40px;
  height: 40px;
  /* border-radius: 50%; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  /* Centrer l'icône et ajouter de l'espace en bas */
}

.header-content h1 {
  font-size: 30px;
  color: #000;
  margin-bottom: 80px;
}

.small-text {
  font-size: 24px;
  line-height: 1.4;
  /* letter-spacing: 1px; */
  font-weight: 800;
  text-transform: uppercase;
  /* letter-spacing: 1px; */
  /* text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); */
  /* text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); */
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.green-text {
  color: #37a869;
  /* Vert pour la note */
}

/* Contenu du corps (description, formulaire, compte de membres) */
.description {
  max-width: 750px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 11px;
  line-height: 1.6;
}

/* Formulaire d'inscription */
.subscription-form {
  display: flex;
  justify-content: center;
  max-width: 750px;
  margin: 0 auto 20px;
  text-align: left;
}

.subscription-form input[type="email"] {
  flex-grow: 1;
  /* Prend l'espace disponible */
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-right: none;
  /* Supprimer la bordure entre l'input et le bouton */
  font-size: 16px;
  border-radius: 4px 0 0 4px;
}

.join-button {
  background-color: #000;
  color: white;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.3s;
}

.join-button:hover {
  background-color: #333;
}

.member-count {
  font-size: 14px;
  color: #555;

}

/* Conteneur des statistiques au bas */
.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  /* Pour que les boîtes aient la même hauteur sur desktop */
  margin-top: 50px;
  /* Remonter légèrement sur le fond rouge */
  padding-bottom: 50px;
  gap: 15px;
  /* Espace entre les boîtes */
}

.stat-box {
  flex-basis: 33.33%;
  /* Chaque boîte prend un tiers */
  background-color: white;
  color: #5f5c5c;
  padding: 20px 10px;
  text-align: center;
  font-size: 14px;
  /* font-weight: bold; */
  border-radius: 4px;
  /* Pour un effet visuel encore plus proche de l'image (lignes verticales) */
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Enlever la bordure à droite de la dernière boîte pour plus de fidélité */
.stat-box:last-child {
  border-right: none;
}

/* --- Media Query pour la réactivité (Mobile d'abord) --- */

/* Pour les petits écrans (smartphones), les éléments s'empilent */
@media (max-width: 768px) {
  .red-background {
    padding-top: 30px;
  }

  .card {
    padding: 30px 15px;
  }

  h1 {
    font-size: 24px;
  }

  .description {
    font-size: 14px;
  }

  /* Le formulaire passe en une colonne empilée */
  .subscription-form {
    flex-direction: column;
    max-width: 300px;
  }

  .subscription-form input[type="email"],
  .join-button {
    border-radius: 4px;
    /* Des coins arrondis partout */
    width: 100%;
    border: 1px solid #ccc;
    /* Rétablir la bordure pour l'input */
  }

  .subscription-form input[type="email"] {
    margin-bottom: 10px;
    /* Espace entre l'input et le bouton */
  }

  /* Les statistiques s'empilent verticalement */
  .stats-container {
    flex-direction: column;
    margin-top: 20px;
    /* Moins de chevauchement */
    gap: 10px;
    padding-bottom: 30px;
  }

  .stat-box {
    flex-basis: auto;
    /* Chaque boîte prend la largeur complète */
    border-right: none;
    /* Enlever toutes les bordures droites */
  }
}

/* --- Responsivité pour les Corrections --- */
@media (max-width: 600px) {
  .member-stats-bar-corrected {
    grid-template-columns: 1fr;
    /* 1 colonne sur mobile */
    max-width: 350px;
    /* Limiter la largeur sur mobile */
    transform: translateY(-30px);
  }

  .stat-item-corrected {
    margin-bottom: 5px;
  }
}

/* --- Footer --- (Le style du footer reste le même car il était correct) */
.main-footer {
  background-color: #0D4DA5;
  /* Bleu foncé du drapeau */
  color: #fff;
  /* Ajusté pour remonter après la barre de stats */
  padding-top: 50px;
  position: relative;
  z-index: 10;
  /* Assure qu'il est au-dessus de tout overlap */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-red);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li a,
.footer-contact li {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact li i {
  margin-right: 10px;
}

.footer-links li a:hover {
  text-decoration: underline;
}

.donation-text {
  margin-bottom: 25px;
}

.donate-btn {
  background-color: var(--primary-red);
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.donate-btn:hover {
  background-color: var(--hover-red);
}

.copyright {
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsivité --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .member-stats-bar {
    grid-template-columns: 1fr;
    /* 1 colonne sur tablette/mobile */
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  .join-movement-box {
    padding: 30px 15px;
    transform: translateY(-30px);
  }

  .subscription-form {
    flex-direction: column;
    max-width: 300px;
  }

  .email-input,
  .join-btn {
    width: 100%;
    border-radius: 0;
  }

  .join-btn {
    margin-top: -1px;
  }

  .member-stats-bar {
    padding: 0 15px;
    transform: translateY(-50px);
  }

  .stat-item {
    margin-bottom: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-col {
    margin-bottom: 20px;
  }
}


/* DASHBOARD */



/* MODAL FORMULAIRE PROFESSIONNEL */
.form-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-modal.active {
  display: flex;
  opacity: 1;
}

.form-container {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.form-modal.active .form-container {
  transform: translateY(0);
}

.form-header {
  padding: 25px 30px;
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  color: white;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg,
      rgba(13, 77, 165, 0.2) 0%,
      transparent 100%);
  border-radius: 0 0 20px 20px;
}

.form-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-header h2 i {
  font-size: 1.75rem;
}

.close-form {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-form:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.form-body {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

/* TABS MODERNES */
.form-tabs {
  display: flex;
  margin-bottom: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 4px;
  position: relative;
}

.form-tab {
  flex: 1;
  padding: 15px 20px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}

.form-tab.active {
  color: #0d4da5;
  background: white;
  box-shadow: 0 4px 12px rgba(13, 77, 165, 0.15);
}

.form-tab:hover:not(.active) {
  color: #0d4da5;
  background: rgba(13, 77, 165, 0.05);
}

/* CONTENU DES TABS */
.tab-content {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

/* FORMULAIRES */
.form-section {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #0d4da5;
}

.form-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d4da5;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title i {
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1b2432;
  font-size: 0.95rem;
}

.required::after {
  content: "*";
  color: #e6193b;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0d4da5;
  box-shadow: 0 0 0 4px rgba(13, 77, 165, 0.1);
  transform: translateY(-2px);
}

.form-input.error,
.form-select.error {
  border-color: #e6193b;
  box-shadow: 0 0 0 4px rgba(230, 25, 59, 0.1);
}

.error-message {
  color: #e6193b;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

/* CHAMPS PARENTS */
.parent-fields {
  background: rgba(230, 25, 59, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  border-left: 4px solid #e6193b;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLEAU DES PARTICIPANTS */
.participants-table-section {
  margin-top: 30px;
}

.participants-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.participants-table th {
  background: #0d4da5;
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.participants-table td {
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.participants-table tr:last-child td {
  border-bottom: none;
}

.participants-table tr:hover {
  background: #f8f9fa;
}

.empty-table {
  text-align: center;
  color: #64748b;
  padding: 40px;
  font-style: italic;
}

.delete-btn {
  background: #e6193b;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.delete-btn:hover {
  background: #c41632;
  transform: scale(1.05);
}

/* BOUTONS */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.btn-secondary {
  background: #64748b;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-secondary:hover {
  background: #475569;
  transform: translateY(-2px);
}

.form-submit {
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 77, 165, 0.3);
}

.form-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* BOUTON AJOUTER PARTICIPANT */
.add-participant-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.add-participant-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-container {
    max-height: 95vh;
  }

  .form-body {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-tabs {
    flex-direction: column;
  }

  .form-actions {
    flex-direction: column;
  }

  .participants-table {
    font-size: 0.85rem;
  }

  .participants-table th,
  .participants-table td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .form-header {
    padding: 20px;
  }

  .form-section {
    padding: 20px;
  }

  .form-header h2 {
    font-size: 1.3rem;
  }
}

/* Responsive pour les nouvelles sections */
@media (max-width: 1024px) {
  .cta-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .stats-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .form-header {
    padding: 20px;
  }

  .form-body {
    padding: 20px;
  }

  .form-tabs {
    flex-direction: column;
  }

  .form-tab {
    width: 100%;
    text-align: center;
  }
}

/* STYLES EXISTANTS ICI... */
/* (Tous les styles précédents restent inchangés) */

/* MODAL DASHBOARD PROFESSIONNEL */
.dashboard-modal,
.dashboard-modal1 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  /* padding: 20px; */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard-modal.active,
.dashboard-modal1.active {
  display: flex;
  opacity: 1;
}

.dashboard-container,
.dashboard-container1 {
  background: #fff;
  /* border-radius: 20px; */
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.dashboard-modal.active .dashboard-container,
.dashboard-modal1.active .dashboard-container1 {
  transform: translateY(0);
}

.dashboard-header,
.dashboard-header1 {
  padding: 25px 30px;
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  color: white;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: none;
}

.dashboard-header::after,
.dashboard-header1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg,
      rgba(13, 77, 165, 0.2) 0%,
      transparent 100%);
  border-radius: 0 0 20px 20px;
}

.dashboard-header h2,
.dashboard-header1 h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-header h2 i,
.dashboard-header1 h2 i {
  font-size: 1.75rem;
}

.close-dashboard,
.close-dashboard1 {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-dashboard:hover,
.close-dashboard1:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.dashboard-body,
.dashboard-body1 {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* SIDEBAR GAUCHE */
.dashboard-sidebar {
  width: 280px;
  background: #f8f9fa;
  border-right: 1px solid #e2e8f0;
  padding: 25px 0;
  display: flex;
  flex-direction: column;
}

.dashboard-modal .sidebar-title {
  padding: 0 25px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d4da5;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 15px;
}

.dashboard-modal .sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 15px;
}

.dashboard-modal .sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 10px;
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dashboard-modal .sidebar-item:hover {
  background: rgba(13, 77, 165, 0.05);
  color: #0d4da5;
}

.dashboard-modal .sidebar-item.active {
  background: rgba(13, 77, 165, 0.1);
  color: #0d4da5;
  font-weight: 600;
  border-left: 4px solid #0d4da5;
}

.dashboard-modal .sidebar-item i {
  font-size: 20px;
  width: 24px;
}

/* CONTENU PRINCIPAL */
.dashboard-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  background: #fff;
}

.dashboard-content .content-section {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.dashboard-content .content-section.active {
  display: block;
}

.dashboard-content .section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #0d4da5;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-content .section-title i {
  font-size: 1.75rem;
}

/* FORMULAIRES */
.dashboard-content .form-section {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #0d4da5;
}

.form-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d4da5;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title i {
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1b2432;
  font-size: 0.95rem;
}

.required::after {
  content: "*";
  color: #e6193b;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0d4da5;
  box-shadow: 0 0 0 4px rgba(13, 77, 165, 0.1);
  transform: translateY(-2px);
}

.form-input.error,
.form-select.error {
  border-color: #e6193b;
  box-shadow: 0 0 0 4px rgba(230, 25, 59, 0.1);
}

.error-message {
  color: #e6193b;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

/* CHAMPS PARENTS */
.parent-fields {
  background: rgba(230, 25, 59, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  border-left: 4px solid #e6193b;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLEAU DES PARTICIPANTS */
.participants-table-section {
  margin-top: 30px;
}

.participants-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.participants-table th {
  background: #0d4da5;
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.participants-table td {
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.participants-table tr:last-child td {
  border-bottom: none;
}

.participants-table tr:hover {
  background: #f8f9fa;
}

.empty-table {
  text-align: center;
  color: #64748b;
  padding: 40px;
  font-style: italic;
}

.delete-btn {
  background: #e6193b;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.delete-btn:hover {
  background: #c41632;
  transform: scale(1.05);
}

/* BOUTONS */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.btn-secondary {
  background: #64748b;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-secondary:hover {
  background: #475569;
  transform: translateY(-2px);
}

.form-submit {
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 77, 165, 0.3);
}

.form-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* BOUTON AJOUTER PARTICIPANT */
.add-participant-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.add-participant-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* --- Marchons Ensemble Section --- */
.marchons-ensemble-section {
  background-color: #f7f7f7;
  /* Fond légèrement grisé */
  padding: 80px 20px;
  text-align: center;
}

.marchons-ensemble-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Titre principal */
.dashboard-modal .section-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 50px;
  color: var(--primary-red);
  /* Utilisation de la variable définie précédemment */
}

.patriots-text {
  display: block;
  /* Force le mot 'Patriotes' à la ligne suivante */
  color: #0D4DA5;
  /* Bleu foncé (proche de celui du drapeau/des cartes) */
  font-size: 2.8rem;
  margin-top: 5px;
}

/* Grille des cartes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 colonnes égales sur desktop */
  gap: 30px;
  margin-bottom: 40px;
}

.card {
  /* background-color: #0D4DA5; Bleu foncé des cartes */
  color: #fff;
  /* margin-top: 50px; */
  border-radius: 15px;
  /* Bords arrondis */
  overflow: hidden;
  /* height: 600px; Hauteur fixe pour l'uniformité */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Texte en bas de la carte */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Placeholder d'image (pour l'espace) */
.card-image-placeholder {
  /* Si vous ajoutez des images, retirez cette hauteur et utilisez <img> */
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Optionnel: pour simuler un espace blanc au-dessus du texte */
}

.card-text {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 50px 20px;
  text-align: center;
}

/* Note du développeur */
.image-note {
  font-size: 1rem;
  font-weight: 600;
  color: #388e3c;
  /* Vert pour la note, comme dans l'image */
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

/* Slogan du bas */
.slogan-bottom {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slogan-bottom .equals {
  margin: 0 10px;
  font-weight: 400;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .dashboard-container {
    max-width: 95%;
  }

  .dashboard-sidebar {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    max-height: 95vh;
    flex-direction: column;
  }

  .dashboard-body {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    padding: 15px 0;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .dashboard-sidebar .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 15px;
  }

  .sidebar-item {
    white-space: nowrap;
    border-left: none;
    border-bottom: 4px solid transparent;
  }

  .sidebar-item.active {
    border-left: none;
    border-bottom: 4px solid #0d4da5;
  }

  .dashboard-content {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions {
    flex-direction: column;
  }

  .participants-table {
    font-size: 0.85rem;
  }

  .participants-table th,
  .participants-table td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    padding: 20px;
  }

  .dashboard-content {
    padding: 15px;
  }

  .form-section {
    padding: 20px;
  }

  .dashboard-header h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {

  h2 {
    font-size: 22px !important;
  }
}

/* --- RESPONSIVITÉ COMPLÉMENTAIRE --- */

/* Pour les très grands écrans */
@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }

  .main-title {
    font-size: 4em !important;
  }
}

/* Pour les tablettes en mode paysage */
@media (max-width: 1199px) and (min-width: 992px) {
  .main-title {
    font-size: 2.5em !important;
  }

  .slogan {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 38px !important;
  }

  .register-header h2 {
    font-size: 36px !important;
  }
}

/* Pour les tablettes en mode portrait */
@media (max-width: 991px) {

  /* Header adjustments */
  .main-header {
    min-height: 100vh;
  }

  .bottom-text {
    bottom: 30% !important;
  }

  .main-title {
    font-size: 2.2em !important;
    top: 18% !important;
  }

  .bottom-text {
    /* bottom: 20% !important; */
  }

  .small-text {
    font-size: 18px !important;
  }

  .small-textz {
    font-size: 22px !important;
  }

  .slogan {
    font-size: 1.8rem;
  }

  /* Info bar adjustments */
  .info-bar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 25px;
    top: 70% !important;
  }

  .divider {
    width: 100%;
    height: 1px;
  }

  /* Marchons ensemble section */
  /* .marchons-ensemble-section .container>div {
     justify-content: center !important;
     gap: 20px;
   } */

  .card111 {
    margin: 10px !important;
    width: 300px !important;
    height: auto !important;
  }

  .cardd {
    width: 300px !important;
    height: 180px !important;
  }

  .slogan-bottom {
    font-size: 1.3em !important;
    padding: 0 20px;
  }

  /* CTA Section */
  .cta-content-wrapper {
    flex-direction: column;
  }

  .cta-title {
    font-size: 32px !important;
  }

  .cta-text-column {
    padding: 50px 30px;
    order: 2;
  }

  .cta-image-column {
    order: 1;
    height: 400px;
  }

  .stadium-img {
    width: 90%;
    height: 350px;
    margin-top: 30px;
  }

  /* Stats section */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats-section .stats-header h2 {
    font-size: 2.2rem;
  }

  .stats-section .stats-header p {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  /* Winners section */
  .winners-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .prize-card {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Register section */
  .register-header h2 {
    font-size: 32px !important;
  }

  .register-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  /* Join movement section */
  .header-content h1 {
    font-size: 32px !important;
    margin-bottom: 60px;
  }

  .description {
    font-size: 0.9rem;
    padding: 0 20px;
  }

  .subscription-form {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }

  .subscription-form input[type="email"] {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }

  .join-button {
    width: 100%;
    border-radius: 4px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Pour les mobiles */
@media (max-width: 767px) {

  /* Navbar */
  .navbar {
    padding: 15px 20px !important;
  }

  .logo-img {
    height: 70px !important;
  }

  /* Hero section */
  .main-title {
    font-size: 1.8em !important;
    top: 15% !important;
    padding: 0 20px;
  }

  .bottom-text {
    /* bottom: 18% !important; */
    padding: 0 20px;
  }

  .small-text {
    font-size: 16px !important;
  }

  .small-textz {
    font-size: 18px !important;
  }

  .slogan {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .info-bar {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: 30px;
    width: 90%;
  }

  /* Marchons ensemble section */
  .marchons-ensemble-section {
    padding: 50px 15px;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  .patriots-text {
    font-size: 1.6rem;
  }

  .card111 {
    width: 100% !important;
    max-width: 350px;
    margin: 10px auto !important;
  }

  .cardd {
    width: 100% !important;
    height: 200px !important;
  }

  .slogan-bottom {
    font-size: 1.1em !important;
    line-height: 1.4;
  }

  /* Preamble banner */
  .preamble-banner {
    height: auto;
    padding: 50px 20px;
  }

  .preamble-text {
    font-size: 1rem !important;
    line-height: 1.4;
  }

  /* CTA Section */
  .cta-text-column {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 26px !important;
  }

  .cta-description {
    font-size: 0.95rem;
  }

  .cta-image-column {
    height: 300px;
  }

  .stadium-img {
    width: 90%;
    height: 280px;
    margin-top: 0;
  }

  /* Stats section */
  .stats-section {
    padding: 70px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .stats-section .stats-header h2 {
    font-size: 1.8rem;
  }

  /* Winners section */
  .winners-section {
    padding: 70px 20px;
  }

  .section-header .section-title {
    font-size: 22px !important;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Register section */
  .register-section {
    padding: 40px 20px;
  }

  .register-header h2 {
    font-size: 26px !important;
  }

  .register-subtitle {
    font-size: 1rem;
  }

  /* Join movement section */
  .join-movement-section .card {
    padding: 30px 20px;
  }

  .header-content h1 {
    font-size: 26px !important;
    margin-bottom: 50px;
    padding: 0 10px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  /* Dashboard modal */
  .dashboard-container {
    max-height: 95vh;
    margin: 20px;
  }

  .dashboard-body {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .sidebar-nav {
    flex-direction: row !important;
    overflow-x: auto;
    padding: 10px !important;
  }

  .sidebar-item {
    white-space: nowrap;
    min-width: fit-content;
  }

  .dashboard-content {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

/* Pour les très petits mobiles */
@media (max-width: 480px) {

  /* Hero section */
  .main-title {
    font-size: 1.5em !important;
    top: 17% !important;
  }

  .bottom-text {
    /* bottom: 15% !important; */
  }

  .small-text {
    font-size: 19px !important;
  }

  .small-textz {
    font-size: 18px !important;
  }

  .slogan {
    font-size: 1.3rem;
  }

  /* CTA Section */
  .cta-title {
    font-size: 22px !important;
  }

  .register-btn {
    width: 90%;
    justify-content: center;
  }

  /* Primary buttons */
  .primary-btn {
    padding: 14px 25px;
    font-size: 1rem;
  }

  /* Stats section */
  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    font-size: 40px;
    width: 50px;
    height: 50px;
  }

  /* Winners section */
  .amount {
    font-size: 2.2rem;
  }

  /* Join movement section */
  .header-content h1 {
    font-size: 22px !important;
  }

  .description {
    font-size: 0.85rem;
  }

  /* Video optimization for mobile */
  .video-background video {
    object-position: 60% center;
  }
}

/* Pour les mobiles en mode paysage */
@media (max-height: 600px) and (orientation: landscape) {
  .main-header {
    min-height: 150vh;
  }

  .main-title {
    top: 12% !important;
    font-size: 1.8em !important;
  }

  .bottom-text {
    /* bottom: 12% !important; */
  }

  .info-bar {
    top: 60% !important;
  }
}

/* Correction spécifique pour le menu hamburger */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: #f0f3f8;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 101;
    gap: 40px;
  }

  .nav-links li a {
    color: #0D4DA5;
    font-size: 1.1rem;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
    z-index: 102;
    font-size: 2rem;
  }

  .mobile-btn-container {
    display: block !important;
    width: 45%;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 60px;
    margin-top: 54px;
  }

  .nav-cta {
    display: none;
  }
}

/* Correction pour les images dans les cartes */
@media (max-width: 991px) {

  .cardz1,
  .cardz2,
  .cardz3 {
    background-position: center;
    background-size: cover;
  }
}

/* Ajustement des marges et paddings sur mobile */
@media (max-width: 767px) {

  .marchons-ensemble-section,
  .stats-section,
  .winners-section,
  .register-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* --- Reset & Base --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* --- Variables --- */
:root {
  --primary-red: #E6193B;
  /* Rouge vif du drapeau/texte */
  --hover-red: #d60000;
  --nav-text: #f0f0f0;
}

.mr-2 {
  margin-right: 10px;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.primary-btn {
  background: #0d4da5;
  color: #fff;
  border: none;
  margin: 0 auto;
  padding: 16px 35px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 77, 165, 0.3);
}

/* --- Main Header Container --- */
.main-header {
  position: relative;
  width: 100%;
  min-height: 110vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Vidéo de fond */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay sombre pour améliorer la lisibilité */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 10, 0.3);
  z-index: 0;
}

/* Optimisations pour la vidéo */
.video-background {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Assurer que le contenu est au-dessus de la vidéo */
.navbar,
.hero-content {
  position: relative;
  z-index: 10;
}

/* Animation de fondu pour la vidéo */
.video-background video {
  opacity: 0;
  animation: fadeInVideo 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInVideo {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Pour les appareils mobiles, optimiser l'affichage */
@media (max-width: 768px) {
  .video-background video {
    object-position: center center;
  }

  @media (prefers-reduced-motion: reduce) {
    .video-background video {
      animation: none;
      opacity: 1;
    }
  }
}

/* Pour les appareils qui n'aiment pas les vidéos automatiques */
@media (hover: none) and (pointer: coarse) {
  .video-background video {
    /* Certains mobiles bloquent l'autoplay */
  }
}

/* --- Navbar --- */
.navbar {
  width: 100%;
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.logo-img {
  height: 85px;
  width: auto;
}

/* --- SÉPARATEUR DE LOGOS --- */
.logo-img+.logo-img {
  margin-left: 15px;
  border-left: 1px solid #ccc;
  padding-left: 15px;
}

.menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Liens de navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--primary-red);
}

/* --- NAVBAR SCROLL STYLE --- */
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 17px !important;
  transition: all 0.3s ease-in-out;
}

/* Le logo devient plus petit en scroll */
.navbar.scrolled .logo-img {
  height: 80px;
  transition: 0.3s ease;
}

/* Les liens deviennent foncés */
.navbar.scrolled .nav-links li a {
  color: #1b2432;
}

/* Le hamburger devient foncé */
.navbar.scrolled .hamburger i {
  color: #1b2432;
}

/* CTA en scroll */
.navbar.scrolled .btn-cta {
  background-color: #E6193B;
  color: #fff !important;
}

/* Bouton CTA (Appel à l'action) */
.btn-cta {
  background-color: var(--primary-red);
  color: #fff !important;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta:hover {
  background-color: var(--hover-red);
}

.mobile-only {
  display: none;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* --- Hero Content --- */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1300px;
  padding: 120px 20px 40px 20px;
}

/* Typographie Hero */
.main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.text-red {
  color: var(--primary-red);
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}

/* Espaceur pour simuler la zone du blason central si inclus dans le BG */
.spacer-crest {
  height: 150px;
  width: 100%;
}

/* .bottom-text {
   margin-bottom: 40px;
 } */

.small-text {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 5px;
  opacity: 0.9;
}

.slogan {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* --- Info Bar (Glassmorphism) --- */
.info-bar {
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px 40px;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 10px;
  position: absolute;
  top: 75%;
  text-align: center;
  width: auto;
  justify-content: center;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.icon-box {
  background: rgba(230, 166, 92, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 1.2rem;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text .label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
}

.info-text .value {
  font-size: 1rem;
  font-weight: 700;
}

.divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* --- Marchons Ensemble Section --- */
.marchons-ensemble-section {
  background-color: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
}

.marchons-ensemble-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Titre principal pour cette section */
.marchons-ensemble-section .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}

.patriots-text {
  display: block;
  color: #0D4DA5;
  font-size: 2.8rem;
  margin-top: 5px;
}

/* Correction du conteneur des cartes */
.marchons-ensemble-section>.container>.container {
  width: 100% !important;
  height: auto !important;
  margin-top: 30px !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 30px;
  padding: 0;
}

/* Cartes individuelles */
.card111 {
  width: 350px !important;
  height: auto !important;
  margin-bottom: 30px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card111 h4 {
  color: #0D4DA5 !important;
  margin-bottom: -1px !important;
  /* font-size: 1.2rem; */
  font-weight: 600;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 0 10px; */
  width: 100%;
}

.cardd {
  width: 350px !important;
  height: 200px !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  perspective: 1000px !important;
  margin-right: 0 !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* Slogan du bas */
.slogan-bottom {
  font-size: 1.6rem !important;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px !important;
  line-height: 1.4;
}

.slogan-bottom .equals {
  margin: 0 10px;
  font-weight: 400;
}

/* --- Section Préambule / Bannière --- */
/* .preamble-banner {
  height: 440px;
  background:
    linear-gradient(rgba(0, 50, 100, 0.7), rgba(0, 50, 100, 0.7)),
    url(../img/prelude-bg.jpg) center/cover;
  background-position-y: 40%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.preamble-banner .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1px;
  position: relative;
  z-index: 1;
}

.preamble-text {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.preamble-text strong {
  font-weight: 800;
} */

/* --- Section CTA (Concours) --- */
.cta-section {
  background-color: var(--primary-red);
  padding: 0;
}

.cta-content-wrapper {
  display: flex;
  max-width: 1200px;
  align-items: center;
  margin: 0 auto;
  color: #fff;
}

/* Colonne de Texte (Gauche) */
.cta-text-column {
  flex: 1;
  padding: 80px 50px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.line-separator {
  width: 50px;
  height: 3px;
  background-color: #fff;
  margin-bottom: 20px;
  display: block;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 25px;
}

.cta-title strong {
  font-weight: 800;
}

.cta-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.cta-description strong {
  font-weight: 700;
}

/* Liste à cocher */
.list-checkmarks {
  list-style: none;
  margin-bottom: 40px;
}

.list-checkmarks li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-checkmarks .fa-circle-check {
  color: #fff;
  font-size: 1.1rem;
}

/* Bouton d'inscription */
.register-btn {
  background-color: #0D4DA5;
  font-weight: 600;
  width: 80%;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 8px;
}

.register-btn:hover {
  background-color: #0c336b;
}

/* Colonne d'Image (Droite) */
.cta-image-column {
  flex: 1;
  display: flex;
  height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stadium-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* border-radius: 23px; */
}

/* --- Section Stats --- */
.stats-section {
  padding: 100px 20px;
  text-align: center;
  background: var(--primary-red);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(13, 77, 165, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.stats-section .stats-header {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 60px;
}

.stats-section .stats-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #fff;
  line-height: 1.2;
  position: relative;
}

.stats-section .stats-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #0d4da5, #e6193b);
  border-radius: 2px;
}

.stats-section .stats-header p {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
}

/* GRID AMÉLIORÉ */
.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* CARTES AVEC OMBRE DROITE ET BAS */
.stats-section .stat-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(13, 77, 165, 0.1);
  box-shadow:
    8px 8px 20px rgba(13, 77, 165, 0.08),
    4px 4px 10px rgba(13, 77, 165, 0.05);
  position: relative;
  overflow: hidden;
}

.stats-section .stat-card:hover {
  transform: translateY(-10px);
  box-shadow:
    12px 12px 25px rgba(13, 77, 165, 0.15),
    20px 20px 40px rgba(13, 77, 165, 0.1);
}

.number-stats-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ICONES */
.stat-icon {
  font-size: 45px;
}

.blue {
  color: #0d4da5;
}

.red {
  color: #e6193b;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
}

.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: #5c6f8a;
}

/* GAGNANTS SECTION */
.winners-section {
  padding: 100px 0;
  background-color: #0D4DA5;
  position: relative;
}

/* EN-TÊTE DE SECTION */
.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0d4da5;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #0d4da5, #e6193b);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  line-height: 1.6;
  max-width: 800px;
  margin: 25px auto 0;
}

/* GRID DES PRIX */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* CARTES DE PRIX */
.prize-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.prize-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* REGISTER SECTION */
.register-section {
  background: #f7f7f7;
  position: relative;
  overflow: hidden;
  padding: 50px;
  min-height: 100px;
}

.register-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.register-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0D4DA5;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.register-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #0a3d8c, #e6193b);
  border-radius: 2px;
}

.register-subtitle {
  font-size: 1.2rem;
  color: #0D4DA5;
  line-height: 1.6;
  max-width: 800px;
  margin: 25px auto 0;
}

/* Section Concours */
.contest-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* En-tête */
.contest-header {
  margin-bottom: 60px;
}

.main-title-prize {
  font-size: 44px;
  font-weight: 900;
  color: #00209F;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.main-title-prize::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #00209F, #E6193B);
  border-radius: 2px;
}

.subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #00209F;
  max-width: 800px;
  margin: 30px auto 0;
  padding: 0 20px;
}

/* Section Conditions en Flex */
/* Section Conditions en Flex */
.conditions-flex-section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(230, 25, 59, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(230, 25, 59, 0.1);
}

.section-title {
  font-size: 32px;
  color: #E6193B;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 700;
}

.conditions-flex-container {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.condition-flex-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: white;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 32, 159, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Pour la première ligne (3 cartes) */
.condition-flex-item:nth-child(-n+3) {
  /* flex: 0 0 calc(33.333% - 25px); */
}

/* Pour la deuxième ligne (2 cartes) */
.condition-flex-item:nth-child(n+4) {
  flex: 0 0 calc(50% - 25px);
  max-width: 450px;
  /* Un peu plus large pour compenser */
}

.condition-flex-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 32, 159, 0.15);
}

.condition-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00209F, #E6193B);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.condition-flex-item h3 {
  color: #00209F;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.condition-flex-item p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
  font-size: 15px;
}

/* Responsive pour les petits écrans */
@media (max-width: 1100px) {

  .condition-flex-item:nth-child(-n+3),
  .condition-flex-item:nth-child(n+4) {
    flex: 0 0 calc(50% - 25px);
    max-width: 400px;
  }
}

@media (max-width: 768px) {

  .condition-flex-item:nth-child(-n+3),
  .condition-flex-item:nth-child(n+4) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Section Honorez */
.honor-section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(0, 32, 159, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(0, 32, 159, 0.1);
}

.honor-title {
  font-size: 32px;
  color: #00209F;
  margin-bottom: 40px;
  font-weight: 700;
}

.honor-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.honor-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 32, 159, 0.1);
  transition: transform 0.3s ease;
}

.honor-item:hover {
  transform: translateY(-5px);
}

.honor-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00209F, #E6193B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: white;
}

.honor-item h3 {
  color: #00209F;
  font-size: 20px;
  font-weight: 600;
}

/* Message final */
.final-message {
  margin: 60px 0;
  padding: 40px;
  position: relative;
}

.final-message h2 {
  font-size: 36px;
  color: #00209F;
  font-weight: 800;
  margin: 20px 0;
  text-transform: uppercase;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 28px;
  color: #E6193B;
  animation: sparkle 2s infinite;
}

.stars i {
  animation: float 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.2s);
}

.stars i:nth-child(1) {
  --i: 1;
}

.stars i:nth-child(2) {
  --i: 2;
}

.stars i:nth-child(3) {
  --i: 3;
}

.stars i:nth-child(4) {
  --i: 4;
}

.stars i:nth-child(5) {
  --i: 5;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Section des primes en flex */
.prizes-flex-section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(0, 32, 159, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(0, 32, 159, 0.1);
}

.prizes-container {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.prize-flex-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 32, 159, 0.1);
  border: 1px solid rgba(0, 32, 159, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.prize-flex-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 32, 159, 0.15);
}

.prize-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.prize-icon {
  width: 50px;
  height: 50px;
  background: #00209F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.first-prize .prize-icon {
  background: #FFD700;
  color: #00209F;
}

.second-prize .prize-icon {
  background: #C0C0C0;
}

.third-prize .prize-icon {
  background: #CD7F32;
}

.prize-title {
  font-size: 24px;
  color: #00209F;
  font-weight: 700;
}

.prize-amount-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.prize-number {
  font-size: 60px;
  font-weight: 900;
  color: #00209F;
}

.first-prize .prize-number {
  color: #FFD700;
}

.second-prize .prize-number {
  color: #C0C0C0;
}

.third-prize .prize-number {
  color: #CD7F32;
}

.prize-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.prize-major {
  font-size: 28px;
  font-weight: 700;
  color: #00209F;
  line-height: 1;
}

.prize-currency {
  font-size: 16px;
  color: #666;
  margin-top: 5px;
}

.prize-description {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
  font-weight: 500;
}

.prize-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
}

.first-prize .prize-stars {
  color: #FFD700;
}

.second-prize .prize-stars {
  color: #C0C0C0;
}

.third-prize .prize-stars {
  color: #CD7F32;
}

/* Section finale des primes */
.prizes-final-section {
  /* margin-top: 80px; */
  padding: 80px 20px;
  background: #0d4da5;
  position: relative;
  overflow: hidden;
}

.prizes-final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #FFD700, #C0C0C0, #CD7F32);
}

.prizes-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.prizes-main-title {
  font-size: 42px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.prizes-main-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #FFD700;
  border-radius: 2px;
}

.prizes-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 30px auto;
  line-height: 1.6;
}

.ceremony-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
}

.ceremony-info i {
  color: #FFD700;
  font-size: 20px;
}

.prizes-final-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.prize-final-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: white;
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.prize-final-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
}

.first-prize-final::before {
  background: linear-gradient(90deg, #FFD700, #FFED4E);
}

.second-prize-final::before {
  background: linear-gradient(90deg, #C0C0C0, #E8E8E8);
}

.third-prize-final::before {
  background: linear-gradient(90deg, #CD7F32, #E6A96F);
}

.prize-final-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.prize-final-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.prize-final-rank {
  text-align: left;
}

.rank-number {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.first-prize-final .rank-number {
  color: #FFD700;
}

.second-prize-final .rank-number {
  color: #C0C0C0;
}

.third-prize-final .rank-number {
  color: #CD7F32;
}

.rank-label {
  font-size: 14px;
  font-weight: 700;
  color: #00209F;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.prize-final-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.first-prize-final .prize-final-icon {
  background: linear-gradient(135deg, #FFD700, #FFED4E);
}

.second-prize-final .prize-final-icon {
  background: linear-gradient(135deg, #C0C0C0, #E8E8E8);
}

.third-prize-final .prize-final-icon {
  background: linear-gradient(135deg, #CD7F32, #E6A96F);
}

.prize-final-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
}

.prize-final-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.first-prize-final .prize-final-number {
  color: #FFD700;
}

.second-prize-final .prize-final-number {
  color: #C0C0C0;
}

.third-prize-final .prize-final-number {
  color: #CD7F32;
}

.prize-final-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.prize-final-major {
  font-size: 32px;
  font-weight: 800;
  color: #00209F;
  line-height: 1;
}

.prize-final-currency {
  font-size: 18px;
  color: #666;
  font-weight: 600;
  margin-top: 5px;
}

.prize-final-description {
  font-size: 20px;
  color: #00209F;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px dashed rgba(0, 32, 159, 0.1);
}

.prize-final-details {
  margin-top: 25px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #555;
  font-size: 15px;
}

.detail-item i {
  font-size: 18px;
}

.first-prize-final .detail-item i {
  color: #FFD700;
}

.second-prize-final .detail-item i {
  color: #C0C0C0;
}

.third-prize-final .detail-item i {
  color: #CD7F32;
}

/* Animations */
@keyframes pulse-gold {

  0%,
  100% {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 215, 0, 0.4);
  }
}

@keyframes pulse-silver {

  0%,
  100% {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(192, 192, 192, 0.4);
  }
}

@keyframes pulse-bronze {

  0%,
  100% {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(205, 127, 50, 0.4);
  }
}

.first-prize-final {
  animation: pulse-gold 3s infinite;
}

.second-prize-final {
  animation: pulse-silver 3s infinite;
  animation-delay: 0.5s;
}

.third-prize-final {
  animation: pulse-bronze 3s infinite;
  animation-delay: 1s;
}

/* Responsive */
@media (max-width: 1024px) {

  .conditions-flex-container,
  .prizes-container,
  .prizes-final-container {
    gap: 20px;
  }

  .condition-flex-item,
  .prize-flex-card,
  .prize-final-card {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .contest-section {
    padding: 40px 15px;
  }

  .main-title-prize,
  .prizes-main-title {
    font-size: 32px;
  }

  .subtitle,
  .prizes-subtitle {
    font-size: 18px;
    padding: 0 10px;
  }

  .conditions-flex-section,
  .honor-section,
  .prizes-flex-section,
  .prizes-final-section {
    padding: 30px 20px;
  }

  .section-title,
  .honor-title {
    font-size: 26px;
  }

  .condition-flex-item,
  .honor-item,
  .prize-flex-card,
  .prize-final-card {
    min-width: 100%;
  }

  .final-message h2 {
    font-size: 28px;
  }

  .conditions-flex-container,
  .prizes-container,
  .prizes-final-container {
    flex-direction: column;
    align-items: center;
  }

  .prize-number,
  .prize-final-number {
    font-size: 52px;
  }

  .prize-major,
  .prize-final-major {
    font-size: 24px;
  }
}

@media (max-width: 480px) {

  .main-title-prize,
  .prizes-main-title {
    font-size: 26px;
  }

  .condition-flex-item,
  .honor-item,
  .prize-flex-card,
  .prize-final-card {
    padding: 25px 20px;
  }

  .prize-final-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .prize-final-rank {
    text-align: center;
  }

  .prize-final-amount {
    flex-direction: column;
    gap: 10px;
  }

  .prize-final-text {
    align-items: center;
    text-align: center;
  }

  .ceremony-info {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 15px;
  }
}
/* Section principale avec fond rouge */
.red-background {
  background-color: var(--primary-red);
  padding-top: 50px;
}

.join-movement-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Section principale avec image du maillot */
.step-with-image {
  position: relative;
  overflow: visible;
}

.step-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  /* margin-bottom: 20px; */
}

.maillot-image-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #00209F, #E6193B);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 32, 159, 0.2);
  position: relative;
  overflow: hidden;
  border: 3px solid white;
  outline: 2px solid #00209F;
}

.maillot-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.maillot-image-placeholder i {
  font-size: 48px;
  margin-bottom: 8px;
}

.maillot-image-placeholder span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 0 10px;
}

.image-caption {
  font-size: 12px;
  color: #666;
  font-style: italic;
  margin-top: 10px;
  padding: 5px 10px;
  background: rgba(0, 32, 159, 0.05);
  border-radius: 5px;
}

/* SECTION DES PRIMES AMÉLIORÉE */
.prizes-enhanced-section {
  padding: 80px 20px;
  background: #00209F;
  position: relative;
  overflow: hidden;
}

.prizes-enhanced-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  /* background: linear-gradient(90deg, #FFD700, #C0C0C0, #CD7F32); */
}

.prizes-enhanced-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.prizes-enhanced-title {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.prizes-enhanced-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #00209F, #E6193B);
  border-radius: 2px;
}

.prizes-enhanced-subtitle {
  font-size: 20px;
  color: #fff;
  max-width: 700px;
  margin: 30px auto;
  line-height: 1.6;
}

.ceremony-enhanced-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(255 255 255 / 10%);
  padding: 12px 25px;
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
  border: 1px solid rgba(230, 25, 59, 0.2);
}

.ceremony-enhanced-info i {
  color: #E6193B;
  font-size: 20px;
}

.prizes-enhanced-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.prize-enhanced-card {
  flex: 1;
  min-width: 320px;
  max-width: 380px;
  border-radius: 25px;
  padding: 40px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.prize-enhanced-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: -1;
  border-radius: 25px;
}

.prize-enhanced-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 70%);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.prize-enhanced-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

/* Badge amélioré */
.prize-enhanced-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: #FFD700;
  color: white;
  padding: 8px 40px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 5px 15px rgba(230, 25, 59, 0.3);
}

.prize-silver .prize-enhanced-badge {
  background: #6c757d;
}

.prize-bronze .prize-enhanced-badge {
  background: #8B4513;
}

/* Cartes spécifiques */
.prize-gold {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 255, 255, 0.95));
  border-top: 8px solid #E6193B;
}

.prize-silver {
  background: linear-gradient(145deg, rgba(192, 192, 192, 0.15), rgba(255, 255, 255, 0.95));
  border-top: 8px solid #C0C0C0;
}

.prize-bronze {
  background: linear-gradient(145deg, rgba(205, 127, 50, 0.15), rgba(255, 255, 255, 0.95));
  border-top: 8px solid #CD7F32;
}

/* En-tête des cartes */
.prize-enhanced-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.prize-enhanced-rank {
  text-align: left;
}

.enhanced-rank-number {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.prize-gold .enhanced-rank-number {
  color: #E6193B;
}

.prize-silver .enhanced-rank-number {
  color: #C0C0C0;
}

.prize-bronze .enhanced-rank-number {
  color: #CD7F32;
}

.enhanced-rank-label {
  font-size: 14px;
  font-weight: 700;
  color: #00209F;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.prize-enhanced-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.prize-gold .prize-enhanced-icon {
  background: linear-gradient(135deg, #FFD700, #FFC107);
}

.prize-silver .prize-enhanced-icon {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.prize-bronze .prize-enhanced-icon {
  background: linear-gradient(135deg, #CD7F32, #A0522D);
}

/* Montant amélioré */
.prize-enhanced-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
  padding: 20px;
  background: rgba(0, 32, 159, 0.05);
  border-radius: 15px;
  position: relative;
}

.prize-enhanced-amount.card1 {
    background: #E6193B;
}

.prize-enhanced-amount.card2 {
  background: #C0C0C0;
}

.prize-enhanced-amount.card3 {
  background: linear-gradient(135deg, #CD7F32, #A0522D);
}
.enhanced-amount-symbol {
  font-size: 36px;
  font-weight: 700;
  color: #00209F;
  opacity: 0.8;
}

.enhanced-amount-number {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #00209F, #1a3ab8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.prize-gold .enhanced-amount-number {
  background: linear-gradient(135deg, #fff, #00209f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prize-silver .enhanced-amount-number {
  background: linear-gradient(135deg, #fff, #A8A8A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prize-bronze .enhanced-amount-number {
  background: linear-gradient(135deg, #f1cba5, #A0522D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.enhanced-amount-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.enhanced-amount-major {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.enhanced-amount-currency {
  font-size: 18px;
  color: #666;
  font-weight: 600;
  margin-top: 5px;
}

.prize-enhanced-value {
  font-size: 22px;
  color: #00209F;
  font-weight: 700;
  margin: 20px 0;
  padding: 10px;
  background: rgba(0, 32, 159, 0.08);
  border-radius: 10px;
  display: inline-block;
}

/* Features améliorées */
.prize-enhanced-features {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border-left: 4px solid;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
  background: white;
}

.prize-gold .feature-item {
  border-left-color: #FFD700;
}

.prize-silver .feature-item {
  border-left-color: #C0C0C0;
}

.prize-bronze .feature-item {
  border-left-color: #CD7F32;
}

.feature-item i {
  font-size: 20px;
}

.prize-gold .feature-item i {
  color: #FFD700;
}

.prize-silver .feature-item i {
  color: #C0C0C0;
}

.prize-bronze .feature-item i {
  color: #CD7F32;
}

.feature-item span {
  color: #333;
  font-weight: 500;
  font-size: 15px;
}

/* Étoiles améliorées */
.prize-enhanced-stars {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 24px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid rgba(0, 32, 159, 0.1);
}

.prize-gold .prize-enhanced-stars {
  color: #E6193B;
}

.prize-silver .prize-enhanced-stars {
  color: #C0C0C0;
}

.prize-bronze .prize-enhanced-stars {
  color: #CD7F32;
}

.prize-enhanced-stars i {
  animation: star-pulse 2s infinite;
}

.prize-enhanced-stars i:nth-child(2) {
  animation-delay: 0.3s;
}

.prize-enhanced-stars i:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes star-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Effets de brillance spécifiques */
@keyframes gold-glow {

  0%,
  100% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 215, 0, 0.3);
  }
}

@keyframes silver-glow {

  0%,
  100% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 30px rgba(192, 192, 192, 0.3);
  }
}

@keyframes bronze-glow {

  0%,
  100% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 30px rgba(205, 127, 50, 0.3);
  }
}

.prize-gold {
  animation: gold-glow 4s infinite;
}

.prize-silver {
  animation: silver-glow 4s infinite;
  animation-delay: 0.5s;
}

.prize-bronze {
  animation: bronze-glow 4s infinite;
  animation-delay: 1s;
}

/* Responsive */
@media (max-width: 1024px) {

  .conditions-flex-container,
  .prizes-enhanced-container {
    gap: 25px;
  }

  .condition-flex-item,
  .prize-enhanced-card {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .contest-section {
    padding: 40px 15px;
  }

  .main-title-prize,
  .prizes-enhanced-title {
    font-size: 32px;
  }

  .subtitle,
  .prizes-enhanced-subtitle {
    font-size: 18px;
    padding: 0 10px;
  }

  .conditions-flex-section,
  .honor-section,
  .prizes-enhanced-section {
    padding: 30px 20px;
  }

  .section-title,
  .honor-title {
    font-size: 26px;
  }

  .condition-flex-item,
  .honor-item,
  .prize-enhanced-card {
    min-width: 100%;
  }

  .final-message h2 {
    font-size: 28px;
  }

  .conditions-flex-container,
  .prizes-enhanced-container {
    flex-direction: column;
    align-items: center;
  }

  .prize-enhanced-header {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .prize-enhanced-rank {
    text-align: center;
  }

  .enhanced-amount-number {
    font-size: 56px;
  }

  .enhanced-amount-major {
    font-size: 26px;
  }

  .prize-enhanced-value {
    font-size: 18px;
  }

  .maillot-image-placeholder {
    width: 100px;
    height: 100px;
  }

  .maillot-image-placeholder i {
    font-size: 36px;
  }
}

@media (max-width: 480px) {

  .main-title-prize,
  .prizes-enhanced-title {
    font-size: 26px;
  }

  .condition-flex-item,
  .honor-item,
  .prize-enhanced-card {
    padding: 25px 20px;
  }

  .prize-enhanced-amount {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .enhanced-amount-text {
    align-items: center;
  }

  .ceremony-enhanced-info {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 15px;
  }

  .maillot-image-placeholder {
    width: 90px;
    height: 90px;
  }

  .maillot-image-placeholder i {
    font-size: 32px;
  }

  .maillot-image-placeholder span {
    font-size: 11px;
  }
}

/* Conteneur principal (la carte blanche) */
.join-movement-section .card {
  background-color: white;
  padding: 50px 30px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contenu du haut */
.header-content {
  margin-bottom: 115px;
}

.header-content h1 {
  font-size: 30px;
  color: #000;
  margin-bottom: 80px;
}

.small-text {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Contenu du corps */
.description {
  max-width: 750px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 11px;
  line-height: 1.6;
}

/* Formulaire d'inscription */
.subscription-form {
  display: flex;
  justify-content: center;
  max-width: 750px;
  margin: 0 auto 20px;
  text-align: left;
}

.subscription-form input[type="email"] {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-right: none;
  font-size: 16px;
  border-radius: 4px 0 0 4px;
}

.join-button {
  background-color: #000;
  color: white;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.3s;
}

.join-button:hover {
  background-color: #333;
}

/* Footer */
.main-footer {
  background-color: #0D4DA5;
  color: #fff;
  padding-top: 50px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-red);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li a,
.footer-contact li {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact li i {
  margin-right: 10px;
}

.copyright {
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- RESPONSIVITÉ --- */

/* Pour les tablettes */
@media (max-width: 1024px) {
  .main-title {
    font-size: 2.8rem;
  }

  .slogan {
    font-size: 2.5rem;
  }

  .nav-links {
    gap: 15px;
  }
}

/* Pour les mobiles */
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
  }

  .hamburger {
    display: block;
    z-index: 102;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: #f0f3f8;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 101;
    gap: 40px;
  }

  .nav-links li a {
    color: #0D4DA5;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links.active,
  .hamburger {
    color: #fff;
  }

  .nav-cta {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  /* Hero Responsive */
  .hero-content {
    padding-top: 100px;
  }

  .main-title {
    font-size: 27px !important;
    margin-top: 60px;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .spacer-crest {
    height: 100px;
  }

  .slogan {
    font-size: 1.8rem;
  }

  /* Info Bar stack en mobile */
  .info-bar {
    flex-direction: column;
    gap: 15px;
    width: 133%;
    padding: 20px;
    align-items: flex-start;
    /* margin-top: 134%; */
    margin-bottom: 10px;
    position: absolute;
    top: 75%;
    text-align: center;
    width: auto;
    justify-content: center;
    align-items: center;
  }

  .divider {
    width: 100%;
    height: 1px;
  }

  .info-item {
    width: 100%;
  }

  /* Marchons Ensemble Section Responsive */
  .marchons-ensemble-section {
    padding: 50px 15px;
  }

  .marchons-ensemble-section .section-title {
    font-size: 1.8rem;
  }

  .patriots-text {
    font-size: 1.6rem;
  }

  .marchons-ensemble-section>.container>.container {
    flex-direction: column;
    align-items: center !important;
    gap: 25px;
  }

  .card111 {
    width: 100% !important;
    max-width: 350px !important;
    margin-bottom: 0 !important;
  }

  .cardd {
    width: 100% !important;
    height: 200px !important;
    max-width: 350px !important;
    margin: 0 auto !important;
  }

  .card111 h4 {
    font-size: 1.2rem;
    min-height: auto;
    margin-bottom: 10px !important;
  }

  .slogan-bottom {
    font-size: 1.1rem !important;
    line-height: 1.5;
    padding: 0 10px;
    margin-top: 20px !important;
  }

  .slogan-bottom .equals {
    margin: 0 5px;
  }

  /* CTA Section Responsive */
  .cta-content-wrapper {
    flex-direction: column;
  }

  /* .stadium-img {
    width: 80%;
    margin-top: 50px;
    height: 350px;
  } */

  .cta-text-column {
    padding: 50px 30px;
    order: 2;
  }

  .cta-image-column {
    order: 1;
    height: 300px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 0.95rem;
  }

  /* Stats Section Responsive */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card-horizontal {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
    gap: 5px;
  }

  .stat-card-horizontal .stat-content {
    text-align: center;
  }

  .stats-section .stats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 20px;
  }

  .stat-card {
    padding: 30px 25px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    font-size: 55px;
    width: 50px;
    height: 50px;
  }

  .stat-label {
    font-size: 1rem;
  }

  /* Winners Section Responsive */
  .winners-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 50px;
  }

  .contest-section .prize-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .register-section {
    padding: 40px 20px;
  }

  .register-header h2 {
    font-size: 22px !important;
  }

  .register-subtitle {
    font-size: 1rem;
  }

  /* Footer Responsive */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-links li a,
  .footer-contact li {
    justify-content: center;
  }
}

/* Pour les très petits mobiles */
@media (max-width: 480px) {
  .stats-section {
    padding: 50px 15px;
  }

  .stats-header h2 {
    font-size: 1.75rem;
  }

  .stats-header p {
    font-size: 1rem;
  }

  .stat-card {
    padding: 25px 20px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-icon {
    font-size: 50px;
    width: 70px;
    height: 70px;
  }

  /* Marchons Ensemble pour très petits mobiles */
  .marchons-ensemble-section .section-title {
    font-size: 1.5rem;
  }

  .patriots-text {
    font-size: 1.3rem;
  }

  .card111 h4 {
    font-size: 1.1rem;
    padding: 0 5px;
  }

  .cardd {
    height: 180px !important;
  }

  .slogan-bottom {
    font-size: 1rem !important;
    letter-spacing: 0.5px;
  }

  /* Footer pour très petits mobiles */
  .footer-grid {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-col {
    margin-bottom: 20px;
  }
}

/* Pour les mobiles en mode paysage */
@media (max-width: 767px) and (orientation: landscape) {
  .marchons-ensemble-section>.container>.container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center !important;
  }

  .card111 {
    width: 45% !important;
    max-width: 250px !important;
  }

  .cardd {
    height: 150px !important;
  }

  .card111 h4 {
    font-size: 1rem;
    min-height: 40px;
  }
}

/* Pour les tablettes en mode portrait */
@media (max-width: 991px) {
  .marchons-ensemble-section {
    padding: 60px 20px;
  }

  .marchons-ensemble-section .section-title {
    font-size: 2.2rem;
  }

  .patriots-text {
    font-size: 2rem;
  }

  .card111 {
    width: 280px !important;
    margin-bottom: 20px !important;
  }

  .cardd {
    width: 280px !important;
    height: 170px !important;
  }

  .card111 h4 {
    font-size: 13px;
    /* min-height: 50px; */
  }

  .slogan-bottom {
    font-size: 1.3rem !important;
    margin-top: 20px !important;
    padding: 0 20px;
  }
}

/* Pour les écrans moyens */
@media (max-width: 1200px) {
  .marchons-ensemble-section .section-title {
    font-size: 22px !important;
  }

  .patriots-text {
    font-size: 22px !important;
  }

  .marchons-ensemble-section>.container>.container {
    gap: 10px;
  }

  .card111 {
    width: 300px !important;
  }

  .cardd {
    width: 300px !important;
    height: 180px !important;
  }

  .slogan-bottom {
    font-size: 15px !important;
  }
}


/* MODAL 2 */
/* Styles spécifiques au formulaire football */
/* STEPS SIDEBAR */
.steps-sidebar {
  width: 320px;
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  color: white;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
}

.steps-container {
  flex: 1;
  padding: 0 25px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.step-item.active {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
  transform: translateX(10px);
}

.step-item.completed {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-item.active .step-number {
  background: white;
  color: #0d4da5;
}

.step-item.completed .step-number {
  background: #10b981;
  color: white;
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.step-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.program-info {
  padding: 25px;
  background: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.program-info h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.program-info p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* STEPS CONTENT */
.steps-content {
  flex: 1;
  padding: 30px;
  background: #fff;
  overflow-y: auto;
}

.step-panel {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.step-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: .8rem;
  font-weight: 700;
  color: #f2f3ff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-indicator {
  background: #0d4da5;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.step-description {
  color: #64748b;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* SESSION OPTIONS */
.session-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.session-option {
  position: relative;
}

.session-option input {
  display: none;
}

.session-option label {
  display: block;
  padding: 25px;
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.session-option input:checked+label {
  background: rgba(13, 77, 165, 0.05);
  border-color: #0d4da5;
  box-shadow: 0 8px 25px rgba(13, 77, 165, 0.1);
}

.session-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.session-header i {
  font-size: 2rem;
  color: #0d4da5;
}

.session-header h4 {
  margin: 0;
  color: #0d4da5;
  font-size: 1.2rem;
}

.session-date {
  color: #10b981;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.session-desc {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

/* POSITIONS GRID */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.position-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1b2432;
  font-size: 0.95rem;
}

.position-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

/* INPUT WITH UNIT */
.input-with-unit {
  position: relative;
}

.input-with-unit .form-input {
  padding-right: 50px;
}

.input-unit {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-weight: 600;
}

/* DOCUMENTS CHECKLIST */
.documents-checklist {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 4px solid #10b981;
}

.document-item.optional {
  border-left-color: #f59e0b;
}

.document-check {
  flex-shrink: 0;
}

.document-check i {
  font-size: 1.5rem;
  color: #10b981;
}

.document-item.optional .document-check i {
  color: #f59e0b;
}

.document-info h5 {
  margin: 0 0 5px 0;
  color: #1b2432;
}

.document-info p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

/* SUMMARY SECTION */
.summary-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .summary-section {
    grid-template-columns: 1fr;
  }
}

.summary-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  border-left: 4px solid #0d4da5;
}

.summary-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0d4da5;
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.summary-group {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e2e8f0;
}

.summary-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.summary-group h5 {
  color: #64748b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.summary-label {
  color: #64748b;
  font-weight: 500;
  margin-right: 8px;
}

.summary-value {
  color: #1b2432;
  font-weight: 600;
}

.documents-summary {
  list-style: none;
  padding: 0;
  margin: 0;
}

.documents-summary li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #1b2432;
}

.documents-summary li i {
  color: #10b981;
}

.contact-info-card {
  background: linear-gradient(135deg, #0d4da5 0%, #1a5fc9 100%);
  color: white;
  border-radius: 15px;
  padding: 30px;
}

.contact-info-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.contact-details i {
  font-size: 1.2rem;
  opacity: 0.9;
}

.important-note {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.important-note i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.important-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* STEP ACTIONS */
.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #e2e8f0;
}

.step-actions .btn-secondary {
  flex: 1;
  max-width: 200px;
}

.step-actions .form-submit {
  flex: 2;
  max-width: 300px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .steps-sidebar {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .dashboard-body {
    flex-direction: column;
  }

  .step-title {
    display: none;
  }

  .steps-sidebar {
    width: 100%;
    padding: 20px 0;
  }

  .steps-container {
    display: flex;
    overflow-x: auto;
    padding: 0 15px;
    gap: 10px;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
    min-width: 150px;
    padding: 15px;
  }

  .step-item.active {
    transform: translateY(-5px);
  }

  .program-info {
    display: none;
  }

  .step-actions {
    flex-direction: column;
    gap: 15px;
  }

  .step-actions .btn-secondary,
  .step-actions .form-submit {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .session-options {
    grid-template-columns: 1fr;
  }

  .summary-section {
    grid-template-columns: 1fr;
  }

  .step-title {
    font-size: 1.5rem;
  }
}