body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 100% de la hauteur de la vue */
}

main {
  width: 100%;
  flex: 1;
  margin-top: 5.5rem;
  font-family: var(--body-font);
  background-color: var(--white-color);
}

@media screen and (max-width: 1118px) {
  main {
    margin-top: 3.5rem;
  }
}

.faq-title {
  margin-top: 3%;
  font-family: var(--main-intro-text);
  font-size: 4rem;
  text-align: center;
  color: var(--blue-color-dark);
  padding: 3vh;
}

/* Nouveau */

.badge {
  background-color: var(--green-color-light);
  color: white;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
  vertical-align: super;
  margin-left: 5px;
}


/* ----------------------------------------------------------------
	Accordion
-----------------------------------------------------------------*/


.accordion {
  .accordion-item {
    border-bottom: 1px solid lightgray;
    button[aria-expanded='true'] {
      border-bottom: 1px solid blue;
    }
  }
  button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: text;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
    &:hover, &:focus {
      cursor: pointer;
      color: var(--blue-color-dark);
      &::after {
        cursor: pointer;
      }
    }
    .question {
      padding: 1em 1.5em 1em 0;
    }
    .icon {
      display: inline-block;
      position: absolute;
      top: 2.2rem;
      right: 0.5rem;
      width: 1.4rem;
      height: 1.4rem;
      border: 1px solid;
      border-radius: 22px;
      &::before {
        display: block;
        position: absolute;
        content: '';
        top: 9px;
        left: 5px;
        width: 10px;
        height: 2px;
        background: currentColor;
      }
      &::after {
        display: block;
        position: absolute;
        content: '';
        top: 5px;
        left: 9px;
        width: 2px;
        height: 10px;
        background: currentColor;
      }
    }
  }
  button[aria-expanded='true'] {
    color: var(--blue-color-light);
    .icon {
      &::after {
        width: 0;
      }
    }
    + .reponse {
      opacity: 1;
      max-height: 9em;
      transition: all 200ms linear;
      will-change: opacity, max-height;
    }
  }
  .reponse {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
    p {
      font-size: 1rem;
      font-weight: 300;
      margin: 2em 0;
    }
  }
}

 .accordion .question {
  margin-bottom: 10px;
  padding: 12px 20px;
  border-radius: 5px;
  border: 1px solid #e4e6ef;
  background: #f8f9fc;
  position: relative;
  display: block;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1.1em;
   }

.accordion .question {
  padding: 10px 0 10px 20px;
  margin: 0;
  font-size: var(--normal-font-size);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: var(--blue-color-dark);
  transition: 0.3s;
  font-family: var(--body-font);
  line-height: 1.5;
}

.fa-question-circle {
  padding: 0 0.5rem 0 0.5rem;
}
/* Section Photos */
.faq-photos {
  display: flex;
  margin: auto;
  gap: 10px;
  padding: 3vh 0 3vh 0;
  width: 100%;
}

.faq-photos img {
  width: 33.3%;
  border: solid 10px var(--blue-color-shadow);
}
/* Section Contact */

.wave-2 {
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-2 svg {
  position: relative;
  display: block;
  width: calc(170% + 1.3px);
  height: 101px;
  background-color: var(--white-color);
}

.wave-2 .shape-fill {
  fill: var(--blue-color-light);
}

#contactez-nous {
  background-color: var(--blue-color-light);
  padding: 50px 5%; /* Ajustez le padding pour les écrans plus petits */
  text-align: center;
  position: relative; /* Ajoutez cette propriété pour positionner la forme ondulée */
}

#contactez-nous h1 {
  color: var(--white-color);
  font-family: var(--main-intro-text);
  font-size: 60px;
  margin-bottom: 20px;
}

#contactForm {
  max-width: 40%; /* Assurez-vous que le formulaire prend toute la largeur sur les petits écrans */
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative; /* Ajoutez cette propriété pour empêcher que la forme ondulée ne soit cachée par le formulaire */
  z-index: 1; /* Assurez-vous que le formulaire est au premier plan */
}

#contactForm label {
  display: block;
  margin-bottom: 10px;
  color: #333;
}

#contactForm textarea,
#contactForm input {
  width: calc(100% - 20px); /* Ajustez la largeur pour prendre en compte le padding */
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#contactForm button {
  background-color: #6e96b2;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#contactForm button:hover {
  background-color: #567b95;
}

@media screen and (max-width: 1118px) {
  #contactForm {
    max-width: 100%;
  }
} 
/* Footer */

footer {
  background-color: var(--blue-color-light);
  padding: 10px 0;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 14px;
  font-family: var(--body-font);
  color: #ffffff;
}
