.footerPage {
  height: 100vh;
  width: 100vw;
}

.formulaire {
  height: 70%;
  background-color: var(--colorv9);
  display: flex;
}

.formulaire__gauche {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formulaire__droite {
  width: 60%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: var(--text-color2);
}

.formulaire__champs {
  height: 70%;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Centre tous les éléments horizontalement */
  text-align: center;
  margin: auto;
  background-color: var(--colorv11);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 1rem;
  border: 1px lightgrey solid;
}

.formulaire__champs h4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.formulaire__champs p {
  margin-bottom: 1rem;
  width: 90%;
  margin: auto;
  margin-bottom: 1rem;
}

.enteteFormulaire {
  width: 100%;
  text-align: center;
}

.formulaire__bouton {
  border-radius: 10rem;
  font-weight: bold;
  font-size: 1rem;
  background: linear-gradient(90deg, var(--colorv1), var(--colorv12));
  color: var(--text-color2);
  border: 2px solid var(--text-color2);
  cursor: pointer;
  transition: background-color 0.8s ease-in-out, transform 0.3s ease-in-out;
  padding: 0.75rem 1.5rem;
  margin: 1.5rem auto 1rem auto;
  display: block;
  text-align: center;
}

/* ✅ HOVER */
.formulaire__bouton:hover {
  transform: scale(1.05);
  background-position: right;
  background: linear-gradient(90deg, var(--colorv12), var(--colorv1));
  border: 1px solid var(--colorv2);
}

.listeChamp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-radius: 0.3rem;
  color: var(--text-color2);
}

.listeChamp input,
.formulaire__bouton {
  height: 2rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--colorv1);
  color: var(--text-color2);
  border: none;
}

/* ✅ CONTAINER DU BOUTON */
.boutonFormulaire {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 1rem;
}

.formulaire__bouton {
  grid-column: span 2;
}

.listeChamp input:nth-child(1),
.listeChamp input:nth-child(2) {
  grid-column: span 1;
}

.listeChamp input:nth-child(3) {
  grid-column: span 2;
}

.listeChamp input:nth-child(4),
.listeChamp input:nth-child(5) {
  grid-column: span 1;
}

.listeChamp input:nth-child(6) {
  grid-column: span 2;
}

.listeChamp input:nth-child(7) {
  grid-column: span 2;
}

.listeChamp textarea {
  grid-column: span 2;
  width: 100%;
  padding: 0.5rem;
  height: 3.5rem;
  background-color: var(--colorv1);
  border-radius: 0.5rem;
  border: none;
  color: var(--text-color2);
}

.contact {
  height: 30%;
  background: linear-gradient(
    45deg,
    var(--colorv4) 0%,
    var(--colorv4) 20%,
    var(--colorv5) 60%,
    var(--colorv6) 100%
  );
}

.choixContact {
  display: flex;
  flex-direction: column;
}

.formulaire__gauche h3 {
  margin-top: 10%;
  margin-bottom: 5%;
  color: var(--text-color2);
  font-size: 2.5rem;
}

.choixContact1,
.choixContact2,
.choixContact3 {
  color: var(--text-color2);
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  width: 35rem;
  padding-left: 1rem;
  margin-bottom: 2rem;
  height: 3rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 6%;
}

.choixContact li:hover {
  background-color: var(--colorv11);
  color: var(--text-colorv2);
  border: solid 2px var(--colorv1);
}

.choixContact1 img,
.choixContact2 img,
.choixContact3 img {
  height: 1rem;
  width: 1rem;
  color: var(--colorv1);
  margin-right: 1rem;
}

/* Navigateurs modernes */
input::placeholder,
textarea::placeholder {
  color: var(--text-color2);
}

/*CONTACT*/
.contact {
  display: flex;
}

.contact__logo {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.contact__logo img {
  margin-bottom: 1.5rem;
}

.contact__info {
  width: 70%;
  display: flex;
  justify-content: space-evenly;
}

.contact__info2,
.contact__info3 {
  width: 40%;
  margin-top: 1rem;
}

.contact__info1 h4,
.contact__info2 h4,
.contact__info3 h4 {
  margin-bottom: 0.75rem;
  margin-top: 1rem;
  font-size: 1.4rem;
}

.contact__info-li {
  font-weight: light;
  font-style: light;
  font-size: 0.95rem;
  color: gray;
  margin-bottom: 0.45rem;
  margin-left: 0.5rem;
}
/* Écrans inférieurs à 1200px (tablettes en paysage et petits laptops) */
@media screen and (max-width: 1199px) {
  .formulaire {
    flex-direction: column;
    height: auto;
  }

  .formulaire__gauche,
  .formulaire__droite {
    width: 100%;
    padding: 1rem;
  }

  .formulaire__champs {
    width: 90%;
  }

  .listeChamp {
    grid-template-columns: 1fr;
  }

  .listeChamp input,
  .listeChamp textarea,
  .formulaire__bouton {
    grid-column: span 1 !important;
  }

  .choixContact1,
  .choixContact2,
  .choixContact3 {
    width: auto;
    margin-left: 0;
    padding-left: 0.5rem;
  }

  .formulaire__gauche h3 {
    font-size: 2rem;
    text-align: center;
  }

  .contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 1rem 0;
  }

  .contact__logo,
  .contact__info {
    width: 100%;
  }

  .contact__info {
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
  }

  .contact__info2,
  .contact__info3 {
    width: 100%;
  }

  .formulaire__bouton {
    font-size: 1rem;
    height: 2.8rem;
    max-width: 220px;
  }
}

/* Écrans inférieurs à 768px (tablettes en portrait et smartphones larges) */
@media screen and (max-width: 767px) {
  .formulaire__champs h4 {
    font-size: 1.4rem;
  }

  .formulaire__champs p {
    font-size: 0.9rem;
  }

  .formulaire__bouton {
    font-size: 0.95rem;
    height: 2.6rem;
    max-width: 90%;
  }

  .formulaire__gauche h3 {
    font-size: 1.6rem;
  }

  .choixContact1,
  .choixContact2,
  .choixContact3 {
    font-size: 1rem;
  }

  .contact__info-li {
    font-size: 0.85rem;
  }
}

/* Écrans inférieurs à 480px (mobiles) */
@media screen and (max-width: 479px) {
  .formulaire__champs {
    width: 95%;
  }

  .listeChamp {
    gap: 0.5rem;
  }

  .formulaire__bouton {
    font-size: 0.9rem;
    height: 2.4rem;
    max-width: 100%;
    border-radius: 1.5rem;
  }

  .formulaire__gauche h3 {
    font-size: 1.3rem;
  }

  .contact__info2 h4,
  .contact__info3 h4 {
    font-size: 1.2rem;
  }

  .contact__info-li {
    font-size: 0.8rem;
  }
}
