/* Réinitialisation rapide */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Supprime le flash bleu au clic */
    -webkit-font-smoothing: antialiased; /* Améliore le rendu des textes */
  }
  
  html {
    scroll-behavior: smooth;
    
  }
  
  body {
    font-family: 'inter', sans-serif;
    font-weight: 300;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    color: #FFFFFF;
    background-color: #161623; /* Couleur de fond sombre */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  body > * {
    flex: 1;
}

  html, body {
    -webkit-text-size-adjust: 100%; /* Empêche Safari de zoomer les textes */
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* ------ HEADER & NAVBAR ------ */
  .main-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #101018;
    
  }
  
   .navbar {
    display: flex;
    align-items: center;
    /* On place tout à gauche (flex-start) au lieu de répartir l’espace */
    justify-content: space; 
    /* On utilise un léger espace horizontal entre le logo et les liens */
    gap: 2rem;  
    height: 80px;
    padding: 0 2rem;
      }
  
  
  .logo img {
    /* Ajustez la taille de votre logo si besoin */
    height: 60px;
    width: auto;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: regular;
    transition: color 0.3s;
    font-weight: bold;
  }
  
  .nav-links li a:hover {
    color: #058216;
  }
  
  /* Menu Burger pour Mobile */
.burger-menu {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    background: black;
    width: 100%;
    top: 60px;
    left: 0;
    padding: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .burger-menu {
    display: block;
  }
}
 
  /* ------ SECTIONS GÉNÉRALES ------ */
  section {
    padding: 5rem 2rem;
  }
  
  /* Pour éviter que le contenu ne soit caché par la navbar fixe */
  section:not(.hero-section) {
    margin-top: 60px;
  }
  
  .inscription-hero-image-container img {
    max-width: 100%;  /* S'assure que l'image ne dépasse pas la largeur du conteneur */
    height: auto;  /* Garde le ratio d'origine */
    width: 100%;  /* Réduit l'image à 50% de sa taille originale */
    display: block;
    margin-top: -80px; /* Centre l'image */
    
  }

.logo-cashprize-container {
  position: absolute;
  top: 25%;
  left: 50%;
  align-items: center;
  justify-content: center;
  width: 50%;  /* Réduit l'image à 50% de sa taille originale */
  display: flex;
  transform: translate(-50%, -50%);
  z-index: 10;
   
} 

.logo-cashprize-container img{
    max-width: 100%;  /* S'assure que l'image ne dépasse pas la largeur du conteneur */
    height: auto;  /* Garde le ratio d'origine */
    width: 20%;  /* Réduit l'image à 50% de sa taille originale */
       
  }

  .inscription-section {
  flex-grow: 1; /* Permet à la section de prendre tout l’espace dispo */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: unset;
  }

/* Remonter le titre "Inscription à Climax Tournament" */
.inscription-section h1 {
  margin-top: -200px; /* Supprime toute marge supérieure excessive */
  padding-top: 10px; /* Ajoute un léger espace pour éviter qu'il ne touche le haut */
  font-size: 60px; /* Ajuste la taille si nécessaire */
  text-align: left; /* Assure qu'il reste bien centré */
}

.inscription-section h2 {
  font-size: 20px;
  font-weight: normal;
  text-transform: none;
  text-decoration: none;
  margin: 0px;
  margin-top: 50px;
}

.inscription-section h3 {
  font-family: 'inter', sans-serif;
  font-size: 30px;
  font-weight: bold;
  text-transform: none;
  text-decoration: none;
  margin: 0px;
  margin-top: 20px;
}

.inscription-section h4 {
  font-size: 20px;
  font-weight: normal;
  text-transform: none;
  text-decoration: none;
  margin: 0 auto;
  margin-top: 70px;
  width: 100%;
  max-width: 2000px;
  }

 
/* Conteneur principal du texte et des encadrés */
.inscription-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: -50px;
  margin-left: auto;
}

/* Texte */
.inscription-text {
  flex: 1;
  max-width: 50%; /* Limite la largeur du texte */
}

/* Conteneur des encadrés */
.info-section {
  display: flex;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 10px; /* Espacement entre les encadrés */
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  margin-top: -200px;
  align-items: normal;
  justify-content: flex-end;
  gap: 30px;
  }

/* Style des encadrés */
.info-box {
  background-color: #101018; /* Noir foncé */
  color: white;
  border: 1px solid #333; /* Bordure fine */
  text-align: center;
  padding: 20px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40%;
  height: 100%;
  position: relative;
  margin-top: 0;
}

.info-box p {
  margin-bottom: 40px; /* Ajoute de l'espace pour ne pas cacher le texte */
}

/* Pied de l'encadré */
.info-label {
  background-color: #22222e; /* Gris foncé */
  font-size: 14px;
  font-style: italic;
  text-transform: uppercase;
  padding: 12px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  }

/* Style spécial pour l'encadré en bleu */
.info-box.highlight .info-label {
  background-color: #009dff; /* Bleu vif */
  color: white;
}

/* Responsive : empile en 1 colonne sur mobile */
@media screen and (max-width: 768px) {
  .info-section {
      grid-template-columns: 1fr;
  }
}

/* Effet au survol */
.info-box:hover {
  transform: scale(1.05);
  border-color: #ffcc00; /* Changement de couleur */
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  
  .inscription-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .inscription-text {
      max-width: 100%;
  }

  .info-section {
      width: 100%;
      grid-template-columns: 1fr; /* Passe en colonne unique sur mobile */
  }
}
.button-container {
  display: flex;
  justify-content: center; /* Centre le bouton horizontalement */
  margin-top: 0%; /* Espace entre le texte et le bouton */
}

/* Style du bouton */
.button-container .btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin: 0px;
  margin-top: 45px;
  justify-content: center;
}

/* Effet au survol */
.button-container .btn:hover {
  background-color: #fff;
  color: #000; /* Changez cette couleur selon vos préférences */
  border-color: #000; /* Changez cette couleur selon vos préférences */
}

/* Conteneur principal */
.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

form {
    background: #101018;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    margin: auto;
    margin-top: -50px;

}

label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-weight: 500;
}

input[type="checkbox"] {
  width: 20px; /* Taille de la case à cocher */
  height: 20px;
  accent-color: #FCCA03; /* Change la couleur au clic */
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: none;
    background: #333;
    color: white;
}

button {
    font-weight: bold;
    margin-top: 15px;
    padding: 10px;
    background: #4CAF50;
    color: rgb(240, 238, 238);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #4CAF49;
}

 /* Responsive */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }
}
 
/* ------ PIED DE PAGE ------ */
.main-footer {
  background-color: #101018;
  padding: 1rem 0;
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-content p {
  color: #AAAAAA;
  margin-bottom: 0;
  font-size: 20px; /* Ajuste la taille du texte si nécessaire */
  padding-bottom: 1rem; /* Descend légèrement le texte */
}

.social-links a {
  color: #FCCA03;
  margin: 0 0.3rem;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 20px;
  font-weight: bold;
}

.social-links a:hover {
  color: #ffffff;
}
