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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Empêche le scroll */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #000;
}

/* Container vidéo plein écran mobile */
.video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* dvh gère la barre de navigation dynamique sur mobile */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Formatage de la vidéo */
video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Overlay générique */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #EC2E20; 
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 10;
}

.overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Règle essentielle : permet de cliquer sur la vidéo dessous */
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Style des boutons */
.btn {
  padding: 18px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background-color: #ffffff;
  color: #000000;
    animation: pulse 2s infinite ease-in-out;
}
/* Définition de l'animation Pulse */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    /* Léger grossissement + aura lumineuse qui s'étend */
    transform: scale(1.06);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
.cta-content {
  text-align: center;
  color: #ffffff;
  width: 90%;
  max-width: 360px;
    box-sizing: border-box;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;

}
/*
.active .cta-content {
     padding: 130px 0 0 0;
}
*/

.cta-content h2 {
  margin-bottom: 24px;
    text-transform: uppercase;
    color: #000;
  font-size: 1.5rem;
/*  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);*/
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-cta {
  background-color: #ff3b30; /* Couleur d'action vive (ex: rouge/orange) */
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Bouton WhatsApp (Couleur officielle) */
.btn-whatsapp, .btn-email {
  background-color: #000;
  color: #ffffff;
    text-transform:uppercase;
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
    position: relative;
    text-align: center;
}

.btn-whatsapp:hover, .btn-email:hover {
  -moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-o-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);
}
.txtBtn {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    line-height: 45px;
    width: 160px;
    margin-left: 60px;
    font-size: 1.15em;
    text-align: left;
}
.txtBtn:before {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    display: block;
    left:-60px;
}
.btn-whatsapp .txtBtn:before{
    background: url("../assets/ico-whatsapp.png") center center no-repeat;
    background-size: contain;
}
.btn-email .txtBtn:before {
    background: url("../assets/ico-mail.png") center center no-repeat;
    background-size: contain;
}
