
.contacts {
  /* background: red; */
  margin: 70px auto;
}

.contacts > div{
  width: 70%;
  background-color: var(--color_beige);
  padding: 30px;
  padding-bottom: 0px;
  margin: auto;
}



/* ---------------------------------- */
/*          Section Contacts          */
/* ---------------------------------- */

.contacts-content {
  margin-left: 0px !important;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;

  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.contacts-content > div{
  width: 48%;
  min-height: 200px;
  border-radius: 30px;
  border: 0px solid blue;
}


.contacts-content > div:nth-child(4){
  overflow: hidden;
}

.contacts-content h2 {
  font-size: x-large;
  text-align: left;
  margin: 12px;
  color: var(--color_text);
}


.contacts-content .info-box{
  width: 65%;
  margin: auto;
}

.contacts-content .info-box p{
  color: var(--color_text);
}


.contacts-content .emails{
    padding: 20px;
}

.contacts-content .emails p:not(:last-child){
    padding-bottom: 20px;
}

.contacts-content .emails b{
  text-transform: uppercase;
  font-weight: 900;
  font-variation-settings: 'wght' 900;
  font-family: 'Open Sans Static', 'Open Sans', sans-serif;
}

.contacts-content .emails span{
  font-style: italic;
}

.contacts-content .emails a {
  color: var(--color_rouge);
  font-weight: 900;
  font-variation-settings: 'wght' 900;
  font-family: 'Open Sans Static', 'Open Sans', sans-serif;
}





.wpcf7 form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  padding-top: 0px;
}

.wpcf7 textarea {
  resize: none;
}

/* Champs texte et email */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  background-color: var(--color_orange);
  padding: 30px 40px !important;
  font-size: 14px;
  border: none;
  border-radius: 25px;
  color: var(--color_blanc) !important;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 5px 0 var(--color_rouge);
  margin-top: 4px;
  width: 100%; /* au cas où Contact Form 7 restructure */
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #ffffffab;
  text-transform: uppercase;
}

/* Labels */
.wpcf7-form label {
  text-transform: uppercase;
  color: var(--color_texte);
  font-weight: 700;
  margin-left: 18px;
  font-size: large;
}



.wpcf7 p {
    width: 48%;
}

.wpcf7 p:nth-child(6),
.wpcf7 p:nth-child(8),
.wpcf7 p:nth-child(7) {
    width: 100%;
}

span.wpcf7-list-item-label {
    text-transform: initial;
    font-size: 13px;
}



input[type="submit"] {
  display: inline-block;
  background-color: var(--color_rouge);
  color: var(--color_beige);
  padding: 10px 70px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 5px 0 var(--color_orange);
  text-decoration: none;
  text-transform: uppercase;
  line-height: inherit;
  transition: all 0.2s ease-in-out;
  text-align: center !important;
  cursor: pointer;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus,
.wpcf7 .wpcf7-submit:active {
  color: var(--color_beige);
  background-color: var(--color_rouge);
  box-shadow: 0 3px 0 #600000;
  transform: translateY(2px);
}

.wpcf7-response-output {
  border: 2px solid #16a34a;
  background-color: #dcfce7;
  color: #166534;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 700;

  font-size: 16px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Réinitialisation de base */
.wpcf7-response-output {
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
  margin-top: 20px;
}

/* Par défaut (vert) */
.wpcf7-response-output {
  border: 2px solid #16a34a;
  background-color: #dcfce7;
  color: #166534;
}

/* Erreur générique : si le message ne contient pas la classe prévue */
.wpcf7-form.invalid .wpcf7-response-output {
  border: 2px solid #f59e0b !important;
  background-color: #fef3c7 !important;
  color: #92400e !important;
}

/* En cas d'erreur d'envoi */
.wpcf7-form.failed .wpcf7-response-output {
  border: 2px solid #dc2626 !important;
  background-color: #fee2e2 !important;
  color: #991b1b !important;
}









/* ----------------------------- */
/*          Section FAQ          */
/* ----------------------------- */

.faq-content {
  margin-right:  0px !important;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}


#faq-container {
  width: 80%;
  max-width: 800px;
  margin: auto;
  }

  .faq-level {
  margin: 20px 0;
  }

  .faq-level p{
    margin-bottom: 15px;
  }

  .faq-level hr {
    margin: 20px auto;
  }

  .faq-level a{
    color: var(--color_rouge);
    text-decoration: underline;
  }

  .faq-choice{
    width: 100%;
    margin-bottom: 20px;
  }

  .hidden {
  display: none;
  }

  .disable{
    background-color: #a89094 !important;
    cursor: no-drop !important;
  }

  .back {
    width: fit-content;
    background: none;
    color: #903142;
    padding: 0px 0px 5px 0px;
    font-size: xx-large;
    box-shadow: none;
  }

  .back:hover{
    background: none !important;
    color: var(--color_orange) !important;
  }

  /* Ajoutez ces styles au fichier styles.css */

  /* Animation de fondu */
  @keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
  }

  /* Appliquer l'animation à l'affichage */
  .faq-level.hidden {
  display: none; /* Masquer complètement */
  }

  .faq-level.fade-in {
  animation: fadeIn 0.5s ease-in-out;
  display: block; /* Nécessaire pour que l'élément soit visible */
  opacity: 1; /* Assurez-vous que l'opacité finale est pleine */
  }









  @media (max-width: 1440px) {
    .contacts > div{
      width: 98%;
    }
    .contacts-content .info-box {
      width: 90% !important;
    }
  }

  @media (max-width: 830px) {
    .contacts > div{
      padding: 20px;
    }
  }

  @media (max-width: 700px) {
    .contacts-content > div{
      width: 100%;
    }
  }

  @media (max-width: 768px) {
    .contacts-content {
        display: flex;
        flex-direction: column;
        gap: 82px;
    }

    .contacts-content > div {
        width: 100%;
    }
  }







/* */
