/* 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 */
  }
  
  html, body {
    -webkit-text-size-adjust: 100%; /* Empêche Safari de zoomer les textes */
  }

  /* ------ 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: bold;
    transition: color 0.3s;
  }
  
  .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;
  }
}
  /* ------ SECTION HERO ------ */
  .hero-section {
    height: 100vh; /* Prend toute la hauteur de la fenêtre */
    background: url('https://via.placeholder.com/1920x1080') center/cover no-repeat;
    position: relative;
    -webkit-display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
  }
  .hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Aligne les éléments verticalement */
    overflow: hidden;
}

.video-container {
  position: relative;
  width: 60%;
  max-width: 800px;
  z-index: 2;
}

.hero-video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Ajout du cadre en PNG */
.video-frame {
  position: absolute;
  top: 50%;
  left: 50.5%;
  width: 102.8%;
  height: 102.8%;
  transform: translate(-50%, -50%); /* Centre parfaitement le cadre */
  background-image: url("../img/png_tv.png"); /* Assure-toi que le chemin est correct */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none; /* Empêche le cadre d’interférer avec la vidéo */
  z-index: 3; /* Pour s'assurer qu'il est au-dessus de la vidéo */
}

.titre-content {
    position: relative;
    text-align: center;
    z-index: 1; /* Met le texte sous la vidéo */
    margin-top: 20px; /* Espacement sous la vidéo */
    color: rgb(218, 16, 16);
}

.hero-title {
  font-size: 5rem;
    font-family: 'kanit', sans-serif;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
.hero-subtitle {
    font-size: 3rem;
    font-family: 'kanit', sans-serif;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
  }
  
  /* Ajustements sur mobile */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
  }
  
  .btn-primary {
    background-color: #FCCA03;
    color: #000000;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .btn-primary:hover {
    background-color: #d6a602;
  }
  
  /* ------ 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;
  }
  
  .container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
 /* ------ SECTION titre ------ */
 .titre-section  {
  font-size: 2rem;
  font-family: 'inter', sans-serif;
  font-weight: 900;
  margin-top: 150px;  /* Réduit l'espace en haut de la section */
  padding-top: 10px;  /* Ajuste l'espacement interne pour éviter une superposition */
  margin-bottom: 1rem;
  color: #FCCA03;
}

  /* ------ SECTION ABOUT ------ */
  .about-section h2 {
    font-size: 2rem;
    font-family: 'inter', sans-serif;
    font-weight: 900;
    margin-top: -150px;  /* Réduit l'espace en haut de la section */
    padding-top: 10px;  /* Ajuste l'espacement interne pour éviter une superposition */
    margin-bottom: 1rem;
    color: #FCCA03;
  }
  
  .about-section p {
    font-weight: 100;  /* Réduit l'épaisseur du texte (300 = léger, 400 = normal, 700 = gras) */
    line-height: 1.5;  /* Augmente l'espace entre les lignes */
    font-size: 16px;   /* Ajuste la taille du texte si nécessaire */
    color: #dddddd;    /* Change la couleur si nécessaire (plus doux) */
  }
  
  /* ------ SECTION SCHEDULE ------ */
  .schedule-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    color: #FCCA03;
  }
  
  .schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .schedule-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
  }
  
  .schedule-item h3 {
    margin-bottom: 1rem;
    color: #FFFFFF;
  }
  
  /* ------ SECTION TEAMS ------ */
  .teams-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    color: #FCCA03;
  }
  
  .teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    justify-items: center;
  }
  
  @media screen and (max-width: 768px) {
    .teams-grid {
      grid-template-columns: 1fr;
    }
  }

  .team-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    width: 50%;
    max-width: 250px;
  }
  
  .team-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  
  .team-card h3 {
    margin-bottom: 0.5rem;
    color: #FFFFFF;
  }
  
  .yellow-line {
    border: 0;
    height: 2px;
    background-color: #FCCA03;
    width: 50%;
    margin: 0 auto;
    position: relative;
    top: 40px;
}

  /* ------ SECTION CONTACT ------ */
  .contact-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    color: #FCCA03;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  input[type="text"],
input[type="email"],
textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
}

  
  /* ------ PIED DE PAGE ------ */
  .main-footer {
    background-color: #101018;
    padding: 2rem;
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content p {
    color: #AAAAAA;
    margin-bottom: 0;
  }
  
  .social-links a {
    color: #FCCA03;
  font-weight: bold;
    margin: 0 0.3rem;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-links a:hover {
    color: #ffffff;
  }
  
  img, video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
  }
  