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

@font-face {
  font-family: "poppins";
  src: url(Poppins-ExtraLight.ttf);
}

body {
  font-family: "poppins", sans-serif;
  color: white;
  background: url("/images/bg-icnd5.jpg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.bodybg::before {
  content: ""; /* Nécessaire pour créer un pseudo-élément visible */
  position: fixed; /* Position fixe pour ne pas bouger avec le contenu */
  top: 0;
  left: 0;
  width: 100vw; /* Prend toute la largeur */
  height: 100vh; /* Prend toute la hauteur */
  z-index: -1; /* Place derrière tout le contenu */
  background: url("/images/bg-icnd5.jpg") no-repeat center center;
  background-size: cover;
  transform-origin: center; /* Point de pivot des transformations */
  transition: transform 0s linear; /* Animation douce */
}

.bodybg::before {
  transform: var(--transform, none); /* Définit la transformation */
}

.content {
  position: relative; /* Laisse le contenu statique */
  color: white;
  font-size: 1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 1.3rem;
}

h1 a {
  text-decoration: none; /* Aucun soulignement pour les liens */
  color: inherit; /* Garde la couleur par défaut du texte */
}

h1 a:visited {
  text-decoration: none; /* Évite le soulignement après visite */
  color: inherit; /* Préserve la couleur originale */
}

.logo-header {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 100px;
}

nav ul {
  font-size: 1rem;
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

nav a:hover {
  text-decoration: none;
}

.cta {
  color: rgb(255, 255, 255);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  margin: 50px 50px;
  padding: 20px;
}

.cta h1 {
  font-size: 5rem;
  margin: 20px 0px;
}

.cta p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
}

.cta ul {
  font-family: Arial, Helvetica, sans-serif;
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
}

.cta ul li {
  margin-bottom: 10px;
  font-size: 2rem;
  margin: 100px 0px 20px;
}

.cta .button {
  margin: 50px 0;
  padding: 10px 20px;
  background: #f64a4a;
  border: none;
  color: rgb(255, 255, 255);
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.cta .button:hover {
  background: #972929;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: rgb(255, 255, 255);
}

nav ul li a.button {
  padding: 10px 15px;
  border: 2px solid #ffffff; /* Bordure noire de 2px */
  border-radius: 8px; /* Bords arrondis */
  text-transform: uppercase; /* Optionnel pour un style en majuscules */
  font-weight: bold; /* Rendre le texte gras */
  color: #ffffff; /* Couleur du texte */
  transition: background-color 0.3s, color 0.3s; /* Animation des interactions */
}

nav ul li a.button:hover {
  background-color: #ffffff00; /* Fond noir au survol */
  color: #ff4a4a; /* Texte blanc au survol */
}

footer {
  padding: 10px 30px;
  background: rgba(0, 0, 0, 0.863);
}

.contactez-nous {
  width: 1100px;
  border: 1px solid;
  border-radius: 8px;
  padding: 0 50px 0 50px;
  background: rgba(91, 118, 153, 0);
}

.contactez-nous > h1 {
  font-weight: 500;
}

.contactez-nous > p {
  font-weight: 300;
}

form div {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 83px;
  margin-top: 25px;
}

form div > label {
  margin-bottom: 7px;
  font-weight: 600;
}

form div > input,
form div > select,
form div > textarea {
  background: #2e446496;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;

  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
  color: rgb(255, 255, 255);
}

form div > input,
form div > select {
  height: 50px;
  padding-left: 10px;
}

form div > select {
  appearance: none;
  background-size: 15px;
  background: #2e446496;
  background-position: right 10px top 50%;
  background-repeat: no-repeat;
}

form div > textarea {
  height: 195px;
  padding: 15px 0px 0px 10px;
}

form div > input::placeholder,
form div > textarea::placeholder {
  color: rgb(255, 255, 255);
}

form div > select:invalid {
  color: rgb(255, 255, 255);
}

form div > select option {
  background: #2e446496;
  color: #ffffff;
}

form div:last-child {
  align-items: center;
  margin-top: 20px;
}

form button {
  width: 450px;
  max-width: 500px;
  height: 60px;
  font-weight: 700;
  font-size: 28px;
  background: white;
  border: rgba(48, 48, 48, 0.5) solid 1px;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  color: #303030;
}

/* Styles de base */
.contactez-nous {
  max-width: 1100px; /* Largeur maximale */
  width: 90%; /* Largeur relative */
  margin: 0 auto; /* Centrer horizontalement */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  background: rgba(91, 118, 153, 0.1);
}

.contactez-nous > h1 {
  font-weight: 500;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contactez-nous > p {
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

form div {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 83px;
  margin-top: 25px;
}

form div > label {
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 1.1rem;
}

form div > input,
form div > select,
form div > textarea {
  background: rgba(46, 68, 100, 0.6);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
  color: rgb(255, 255, 255);
  padding: 10px;
}

form div > input,
form div > select {
  height: 50px;
}

form div > select {
  appearance: none;
  background: rgba(46, 68, 100, 0.6)
    url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  background-size: 15px;
}

form div > textarea {
  height: 150px;
  resize: vertical; /* Permettre le redimensionnement vertical */
}

form div > input::placeholder,
form div > textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

form div > select:invalid {
  color: rgba(255, 255, 255, 0.7);
}

form div > select option {
  background: rgba(46, 68, 100, 0.6);
  color: #ffffff;
}

form button {
  width: 100%;
  max-width: 450px;
  height: 60px;
  font-weight: 700;
  font-size: 1.5rem;
  background: white;
  border: 1px solid rgba(48, 48, 48, 0.5);
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  color: #303030;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

form button:hover {
  background: #f64a4a;
  color: white;
}

/* Styles pour les écrans de petite taille (mobile) */
@media screen and (max-width: 768px) {
  .contactez-nous {
    padding: 15px;
  }

  .contactez-nous > h1 {
    font-size: 2rem;
  }

  .contactez-nous > p {
    font-size: 1rem;
  }

  form div > label {
    font-size: 1rem;
  }

  form div > input,
  form div > select,
  form div > textarea {
    font-size: 0.9rem;
  }

  form button {
    font-size: 1.2rem;
    height: 50px;
  }
}

/* Styles pour les écrans très petits (mobile en mode portrait) */
@media screen and (max-width: 480px) {
  .contactez-nous {
    padding: 10px;
  }

  .contactez-nous > h1 {
    font-size: 1.8rem;
  }

  .contactez-nous > p {
    font-size: 0.9rem;
  }

  form div > label {
    font-size: 0.9rem;
  }

  form div > input,
  form div > select,
  form div > textarea {
    font-size: 0.8rem;
  }

  form button {
    font-size: 1rem;
    height: 45px;
  }
}

/* Responsive design pour le header et le footer */
@media screen and (max-width: 768px) {
  /* Masquer la navigation bureau en mobile */
  nav ul.desktop {
    display: none;
  }

  /* Afficher le menu burger en mobile */
  .burger {
    display: flex;
  }

  /* Afficher la navigation mobile lorsqu'elle est active */
  nav ul.mobile.active {
    display: flex;
  }
}

/* Styles pour le menu burger */
.burger {
  display: none; /* Masqué par défaut */
  flex-direction: column;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: all 0.3s;
}

/* Styles pour la navigation mobile (masquée par défaut) */
nav ul.mobile {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  z-index: 10;
  padding: 20px;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

/* Afficher la navigation mobile lorsque la classe .active est appliquée */
nav ul.mobile.active {
  display: flex;
}

/* Styles pour les liens dans la navigation mobile */
nav ul.mobile a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 80%;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

nav ul.mobile a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Afficher le menu burger en mode mobile */
@media screen and (max-width: 768px) {
  .burger {
    display: flex; /* Afficher le menu burger */
  }

  nav ul.desktop {
    display: none; /* Masquer la navigation desktop */
  }
}

/* Pied de page */
footer {
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 1rem 0;
  margin-top: auto; /* Assure que le footer reste en bas */
}

/* Styles pour le lien dans le logo */
footer a {
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
}

footer a:visited {
  color: inherit;
  text-decoration: none;
}

footer p {
  font-size: 0.9rem;
}

#mentions a {
  font-size: 0.9rem;
}
