
@media (min-width: 1024px) {
    html {
      font-size: clamp(16px, 1vw, 22px);
    }
  }

  .box {
    width: 160px;
    aspect-ratio: 1/1;
    background-color: blue;
    transform-origin: 50% 50%;
  }

  .apparition {
    background-color: blue;
  }

  section {
    min-height: 100vh;
    /* background-color: rgb(234, 237, 238); */
    display: flex;
    flex-flow: column nowrap;

    align-items: center;
    justify-content: center;
  }

  section:nth-child(odd) {
    background-color: #ffffff;
  }

  .content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .content.reverse {
    flex-direction: row-reverse;
  }

  .vide,
  .texte {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 300px;
  }

  .vide {
    background-color: #cdd6db;
  }

  .texte {
    font-size: 1.5rem;
  }

  @media (max-width: 768px) {
    .content,
    .content.reverse {
      flex-direction: column;
    }

    .vide,
    .texte {
      min-height: 45vh;
    }
  }

  body,
  html {

    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: sans-serif;
  }

  .video-scroll {
    position: relative;
    height: 100vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
  }

  .video-frame {
    width: 100%;
    max-width: 1000px;
    object-fit: contain;
  }

  .video-text {
    position: absolute;
top: 50%;
    /* transform: translateX(-50%); */
    color: rgb(0, 0, 0);
    font-size: 3rem;
    font-weight: 600;
    z-index: 200000;
    transition: opacity 0.5s;
    width: 40%;
    background-color: rgba(215, 183, 183, 0);
    opacity: 0;
    z-index: -10;
  }
  .video-text.active{
    opacity: 1;
  }
  #text-0{
    color: rgb(43, 43, 43);
    left: 55%;
  }
  #text-1{
text-align: end;
    right: 55%;
  }
  #text-2{

    left: 55%;
  }  
  #text-3{
    text-align: end;
    right: 55%;
    color: rgb(43, 43, 43);
  }
  #text-4{

    left: 55%;
  }
  #text-5{
    color: rgb(43, 43, 43);
    text-align: end;
    right: 55%;
  }
  /* #inactivity-message {
    position: fixed;
    bottom: 30px;
    left: 50%;

    background-color: rgb(0, 0, 0);
    color: white;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 1.2em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1000000000;
  } */
  #inactivity-arrow {
    position: fixed;
    bottom: 30px;
    left: 50%;
    font-size: 2.5em;
    color: rgb(0, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    animation: bounce 1.5s infinite;
    z-index: 1000000000;
    cursor: pointer;
  }

  #inactivity-arrow.visible {
    opacity: 1;
    pointer-events: auto; /* pour permettre le clic */
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(10px);
    }
  }
  /* formulaire */

  h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
  }

  p {
    font-size: 1em;
    margin-bottom: 30px;
    max-width: 600px;
text-align: center;
  }
a {
  text-decoration: none;
  color: #ffffff;
}
  button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button:hover {
    background-color: #0056b3;
  }

  .btn-container {
    margin-top: 20px;
  }
  /* intro---------- */
  .intro {
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem;
  text-align: center;
  font-family: sans-serif;
  overflow: hidden;
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.intro-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.intro-columns p {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateX(0); /* sera animé */
}

/* Classes de départ */
.left-text {
  transform: translateX(-100px);
}

.right-text {
  transform: translateX(100px);
}
/* formulaire  */



/* Style du formulaire */
form {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;


}

/* Style des labels */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
}

/* Style des champs texte, email, téléphone, etc. */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

/* Focus sur les champs */
input:focus,
select:focus,
textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Checkbox RGPD */
input[type="checkbox"] {
  margin-right: 8px;
}

/* Bouton envoyer */
button[type="submit"] {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.3s ease;
}

/* Effet au survol du bouton */
button[type="submit"]:hover {
  background-color: #0056b3;
}
/* Conteneur des deux champs sur la même ligne */
.row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

/* Chaque champ (nom/prénom) prend 50% de l’espace */
.column {
  flex: 1;
}
.form-wrapper {
  width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.close-button {
  text-decoration: none;
  font-size: 24px;
  color: #888;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #ff4d4d;
}

/* Ajustement mobile : repasser en colonne sur petit écran */
@media (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}
.form-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); /* Fond semi-transparent */
  display: none; /* Masqué par défaut */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Très élevé pour passer devant tout */
}
