/* Container principal : vidéo en fond (desktop), ratio respecté (mobile) */
.full-video-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Sur desktop, plein écran */
  overflow: hidden;
  font-family: Arial, sans-serif; /* Ou la police de votre thème */
}

/* Vidéo de fond */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Sur desktop, la vidéo couvre tout */
  z-index: 1;
}

/* Voile noir (overlay) */
.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  /* Dégradé vertical léger, ajustez l’opacité à votre goût */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.6)
  );
  z-index: 2;
}

/* Contenu (titre, boutons) par-dessus la vidéo et overlay */
.video-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;  
  justify-content: center;  
  text-align: center;
  height: 100%;
  color: #fff;
  padding: 2rem;
}

.video-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Boutons : groupés dans .buttons-container */
.buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; 
  margin-top: 1.5rem;
}

/* Styles communs */
.btn-white,
.btn-gold,
.btn-transparent {
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

/* Bouton blanc */
.btn-white {
  background-color: #fff;
  color: #000;
}
.btn-white:hover {
  background-color: #f2f2f2;
}

/* Bouton or */
.btn-gold {
  background-color: #cc0e11; /* Ajustez la nuance or */
  color: #fff;
}
.btn-gold:hover {
  background-color: #c8a060;
}

/* Bouton transparent (cadre blanc) */
.btn-transparent {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-transparent:hover {
  color: #000;
  background-color: #fff;
}

/* --- MEDIA QUERY : Sur mobile, adapter l’affichage de la vidéo --- */
@media (max-width: 767px) {
  .full-video-section {
    height: auto; /* La section grandit selon la vidéo */
  }
  .video-background {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain; /* Montre la vidéo entière (barres noires possibles) */
  }
  .video-overlay {
    display: none; /* On peut masquer ou réduire l'overlay sur mobile */
  }
  .video-content {
    position: static;
    margin-top: 1rem; /* Espace supplémentaire au-dessus */
    height: auto;
  }
}