* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  padding: 0;
}

.barre {
  background-color: black;
  border: none;
  height: 0.1em;
  width: 70%;
}

.bouton-container {
  margin-top: 30px;
  text-align: center;
}

p {
  color: darkslategrey;
  font-family: "Pompiere", sans-serif;
  font-size: 1.3em;
  font-style: normal;
  font-weight: 400;
}

strong {
  color: #c2385d;
  font-family: "Pompiere", sans-serif;
  font-size: 1em;
  font-style: normal;
  font-weight: 400;
}

nav {
  color: darkslategrey;
  font-family: "Enriqueta", serif;
  font-size: 1.1em;
  font-style: normal;
  font-weight: 400;
  padding-bottom: 1.7%;
  text-align: center;
}

nav img {
  vertical-align: middle; /* ou baseline, top, bottom selon ton besoin */
}

nav a {
  color: darkslategray; /* couleur du lien */
  text-decoration: none; /* retire le soulignement */ /* optionnel : rend le texte plus visible */
}

/* Optionnel : style au survol */
nav a:hover {
  color: #c2385d;
  text-decoration: underline;
}

header {
  background-color: #d1eae9;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.logo {
  padding-bottom: 1.8%;
  padding-top: 2.5%;
  text-align: center;
}

a {
  margin: 1.2%;
}

.no-underline {
  text-decoration: none;
}

.intro {
  background-color: #ffffff;
  color: darkslategrey;
  font-family: "Enriqueta", serif;
  font-style: normal;
  margin: 0;
  overflow: hidden;
  padding: 0;
  text-align: center;
}

h1 {
  color: darkslategrey;
  font-family: "Enriqueta", serif;
  font-size: 2.2em;
  font-style: normal;
  font-weight: 300;
  line-height: 200%;
  text-align: center;
}

h2 {
  color: darkslategrey;
  font-family: "Enriqueta", serif;
  font-size: 2em;
  font-style: normal;
  font-weight: 300;
  text-align: center;
}

h3 {
  color: darkslategrey;
  font-family: "Enriqueta", serif;
  font-size: 1.2em;
  font-style: normal;
  font-weight: 300;
  margin-bottom: 5%;
  text-align: left;
}

.citation {
  color: #1d9695;
  font-family: "Pompiere", sans-serif;
  font-size: 2.6em;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 4%;
  margin-top: 3%;
  text-align: center;
}

.bouton-reservation {
  background-color: #ffffff;
  border: #c2385d 1px solid;
  border-radius: 30px;
  color: #c2385d;
  display: inline-block; /* ✅ Pour que margin: auto fonctionne */
  font-family: "Enriqueta", sans-serif;
  font-size: 16px;
  line-height: 1.2; /* ✅ Centrage vertical + horizontal */
  max-width: 300px;
  padding: 12px 2em; /* ✅ Hauteur standard + largeur */
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: auto; /* ✅ S’adapte au texte */
}

/* Quand la souris est sur le bouton */
.bouton-reservation:hover {
  background-color: #ded2d3;
}

.bouton-reservation .icone {
  color: #c2385d;
  margin-left: 6px;
  transform: rotate(-10deg);
}

.cabinet {
  border-radius: 15px;
  box-shadow: #1d9695 0 0 36px 0, #d1eae9 0 0 0 1px;
  margin-bottom: 5%;
  margin-top: 5%;
  text-align: center;
}

.mains_texte {
  align-items: center;
  background-color: #d1eae9;
  display: flex;
  flex-direction: row;
  margin: 0;
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.mains_texte > *:not(:last-child) {
  margin-right: 30px;
}

.image-container {
  flex: 1;
  position: relative;
  z-index: 2;
}

.mains {
  display: block;
  margin-left: 3%;
  transform: translateY(-105px);
  transition: transform 0.3s ease; /* pour un rendu plus fluide lors du redimensionnement */
  width: 100%;
}

@media (max-width: 1024px) {
  .mains {
    transform: translateY(-70px);
  }
}

@media (max-width: 768px) {
  .mains {
    transform: translateY(-30px);
  }
}

@media (max-width: 480px) {
  .mains {
    margin-left: 0; /* Pour éviter un décalage inutile sur très petits écrans */
    transform: translateY(0);
  }
}

.texte {
  background-color: #ffffff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin: 1.3% 1.3% 1.3% -80px;
  padding: 100px;
  text-align: justify;
  z-index: 1;
}

.titre_boite {
  margin-top: 0;
  text-align: left;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .mains_texte {
    flex-direction: column;
    min-height: auto;
    padding: 20px;
  }

  .image-container,
  .texte {
    margin: 0;
    width: 100%;
  }

  .texte {
    box-shadow: none;
    margin-top: 20px;
    padding: 30px;
  }
}

.pour_qui {
  background-color: #ded2d3;
  margin: 0;
  overflow: hidden;
  text-align: center;
}

.pour_qui_titre {
  font-size: 2.5em;
  margin-bottom: 1%;
  margin-top: 3%;
}

.conteneur_colonnes {
  background-color: #ded2d3;
  color: darkslategrey;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 1em;
  justify-content: space-around;
  margin-bottom: 10px;
  min-width: 100%;
  overflow: hidden;
  padding: 20px;
  text-align: center;
}

.conteneur_colonnes > * {
  margin: 15px; /* remplace le gap */
}

.colonne {
  background-color: #ded2d3;
  flex: 1 1 23%;
  min-width: 280px; /* pour forcer l’empilement si trop petit */
  padding: 0.8%;
  text-align: center;
}

.colonne img {
  border-radius: 50%;
  height: auto;
  margin-bottom: 10px;
  max-width: 35%;
}

.colonne_titre {
  margin-bottom: 10%;
  margin-top: 10%;
  text-align: center;
}

.colonne p {
  line-height: 200%;
  margin: 0 auto; /* Centre le bloc <p> dans la colonne */
  max-width: 75%;
  text-align: center;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  .pour_qui {
    flex-direction: column;
  }

  .pour_qui > *:not(:last-child) {
    margin-bottom: 20px;
  }

  .colonne {
    flex: 1 1 100%;
    margin: 0;
    max-width: 100%;
    padding: 20px 15px;
    text-align: left;
  }

  .conteneur_colonnes {
    flex-direction: column;
    padding: 20px;
  }

  .colonne p {
    margin: 0;
    max-width: 100%;
    text-align: left;
  }

  .colonne img {
    display: block;
    height: auto;
    margin-bottom: 10px;
    max-width: 25%;
  }

  .colonne_titre {
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .bouton-reservation {
    font-size: 14px;
    max-width: 300px;
    padding: 12px 2em;
    width: 100%;
  }
}

.pour_quoi {
  background-color: #ffffff;
  margin: 0;
  overflow: hidden;
  padding: 20px;
  padding-bottom: 3%;
  padding-top: 3%;
}

.pour_quoi_titre {
  font-size: 2.5em;
  margin-top: 0;
}

.troubles {
  margin: 0 auto; /* centre l'image */
  text-align: center;
  width: 100%;
}

.troubles img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 75%; /* marges sur ordinateur */
}

.pres_anne {
  align-items: center; /* centre verticalement */
  background-color: #d1eae9;
  display: flex;
  margin: 0;
  overflow: hidden;
  padding-bottom: 5%;
}

.photo {
  flex: 1; /* occupe 1 part */
  margin-left: 12%;
  margin-top: 8%;
  padding-bottom: 3%;
}

.photo img {
  box-shadow: -12px 12px 0 rgba(29, 150, 149, 1);
  display: block;
  height: auto;
  width: 90%;
}

.bio_titre {
  font-family: "Enriqueta", serif;
  font-size: 2.5em;
  font-style: normal;
  font-weight: 400;
  margin-top: 12%;
  text-align: left;
}

.bio {
  flex: 1;
  line-height: 200%;
  margin-left: 2%;
  margin-right: 7%;
  text-align: justify;
}

.bio p {
  width: 91%;
}

@media (max-width: 600px) {
  .pres_anne {
    align-items: center; /* centre horizontalement */
    flex-direction: column; /* passe en colonne */
  }

  .photo,
  .bio {
    flex: none; /* enlever la flex-grow */
    margin: 10px auto; /* marge verticale + centrer horizontalement */
    width: 90vw; /* presque toute la largeur de l'écran */
  }

  .photo img {
    height: auto;
    margin-top: 20px;
    width: 100%; /* image prend toute la largeur de son bloc */
  }

  .bio {
    text-align: justify;
  }
}

.contact {
  background-color: #ffffff;
  margin: 0;
  overflow: hidden;
}

.coordonnees {
  margin-bottom: 0;
  padding-top: 3%;
}

.wrapper {
  padding: 3% 2% 3% 5%;
}

.conteneur_grid {
  color: darkslategrey;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  font-family: "Pompiere", sans-serif;
  row-gap: 0;
  column-gap: 0;
  padding: 0;
}

.conteneur_grid > * {
  margin: 0; /* Supprime les marges externes inutiles */
  padding: 0.5rem; /* Réduit les marges internes */
}

.conteneur_grid p,
.conteneur_grid h1,
.conteneur_grid h2,
.conteneur_grid h3,
.conteneur_grid ul,
.conteneur_grid li {
  margin: 0; /* Supprime les marges par défaut */
  padding: 0;
}

.conteneur_grid img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.box1 {
  align-items: center;
  display: grid;
  font-family: "Enriqueta", sans-serif;
  font-size: 1.6em;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
}

.box2 {
  display: grid;
  align-items: center;
  font-family: "Enriqueta", sans-serif;
  font-size: 1.6em;
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
}

.box3 {
  display: grid;
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 1;
  grid-row-end: 6;
  place-items: center;
}

.box4 {
  font-family: "Pompiere", sans-serif;
  font-size: 1.3em;
  line-height: 150%;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  padding-left: 5%;
}

ul {
  list-style: none;
  padding-left: 0; /* souvent utile aussi pour aligner le texte à gauche */
}

.box5 {
  font-family: "Pompiere", sans-serif;
  font-size: 1.3em;
  line-height: 170%;
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 3;
  padding-left: 5%;
  border-bottom: 0.1em dashed darkslategrey;
  display: grid;
  align-items: center;
}

.box6 {
  display: grid;
  align-items: center;
  font-family: "Enriqueta", sans-serif;
  font-size: 1.6em;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
}

address {
  font-style: normal;
}

.box7 {
  padding-right: 5%;
  text-align: right;
  display: grid;
  align-items: center;
  justify-content: flex-end;
}

.box8 {
  font-family: "Pompiere", sans-serif;
  font-size: 1.3em;
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 4;
  grid-row-end: 5;
  padding-left: 2.5% !important;
  font-style: italic;
}

.box9 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 5;
  grid-row-end: 6;
  padding-right: 5%;
  text-align: right;
  display: grid;
  align-items: center;
  justify-content: flex-end;
}

.box10 {
  display: grid;
  place-items: center;
  font-family: "Pompiere", sans-serif;
  font-size: 0.9em;
  grid-column-start: 2;
  grid-column-end: 5;
  grid-row-start: 5;
  grid-row-end: 6;
}

.box11 {
  display: grid;
  align-items: center;
  font-family: "Pompiere", sans-serif;
  font-size: 1.1em;
  line-height: 150%;
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 4;
}

.box12 {
  display: grid;
  align-items: center;
  font-family: "Pompiere", sans-serif;
  font-size: 1.3em;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
}

@media screen and (max-width: 768px) {
  .conteneur_grid {
    display: flex;
    flex-direction: column;
    gap: 2em;
  }

  .box1,
  .box2,
  .box3,
  .box4,
  .box5,
  .box6,
  .box7,
  .box8,
  .box9,
  .box10,
  .box11,
  .box12 {
    grid-column: auto;
    grid-row: auto;
    padding: 0 5%;
    text-align: center;
  }

  .box1 {
    order: 1;
  }
  .box2 {
    order: 3;
  }
  .box3 {
    order: 12;
  }
  .box4 {
    order: 2;
  }
  .box5 {
    order: 4;
  }
  .box6 {
    order: 5;
  }
  .box7 {
    order: 8;
  }
  .box8 {
    order: 7;
  }
  .box9 {
    order: 10;
  }
  .box10 {
    order: 11;
  }
  .box11 {
    order: 9;
  }
  .box12 {
    order: 6;
  }

  .box3 img,
  .box7 img,
  .box9 img {
    max-width: 100%;
    height: auto;
  }

  .box4,
  .box5,
  .box8,
  .box10,
  .box11,
  .box12 {
    text-align: justify;
  }

  .wrapper {
    padding: 5% 3%;
  }

  .box5 {
    border-bottom: none;
  }
}

@media screen and (min-width: 800px) and (max-width: 1200px) {
  .box3 img {
    max-width: 100%;
  }
}

.questions_frequentes {
  background-color: #ded2d3;
  padding: 1em 1em;
  padding-bottom: 3%;
}

.faq {
  display: flex;
  flex-wrap: wrap; /* Pour permettre le retour à la ligne si besoin */
  justify-content: center;
  flex-direction: row;
  gap: 0.6em; /* Crée l’espace entre les questions sans marge externe */
  margin-top: 3%;
  margin-left: 3%;
  margin-right: 3%;
}

.answer {
  display: none;
  padding: 0 1em;
  font-family: "Pompiere", sans-serif;
  font-size: 1.7em;
}

.question {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  margin-bottom: 1em;
  background-color: #ffffff;
  padding: 1em;
  border-radius: 20px;
  flex: 1 1 250px; /* largeur mini de chaque boîte */
  max-width: 200px; /* largeur maximale pour garder une cohérence visuelle */
  box-sizing: border-box; /* pour que padding ne déborde pas */
  font-size: 1.1em;
  color: darkslategray;
  width: 100%;
  margin: 0.6em 0;
}
.question span {
  font-family: "Enriqueta", sans-serif;
}

.question p {
  font-family: "Pompiere", sans-serif;
  font-size: 1.5em;
}

.question:hover .answer {
  display: block;
  background: #ffffff;
  padding: 0.5em;
  margin-top: 0.3em;
  border-radius: 15px;
}

.question.active .answer {
  display: block;
}

@media screen and (min-width: 900px) and (max-width: 1200px) {
  .question {
    flex: 1 1 calc(33.33% - 1em); /* 3 par ligne avec l'écart du gap */
    max-width: calc(33.33% - 1em);
  }
}

.desktop-only {
  display: inline;
}

/* Cache le <br> sur mobile */
@media screen and (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

.temoignages-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
  padding-top: 1%;
}

.temoignages {
  background-color: #d1eae9;
  overflow: hidden;
  padding-bottom: 4%;
  padding-top: 1%;
}

.temoignage {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.temoignage p {
  font-size: 1.5em;
}

.temoignage.anim {
  /* Animation uniquement si la classe .anim est ajoutée par JS */
  opacity: 0;
  transform: translateY(30px);
}

.temoignage.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.temoignage:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  .temoignage {
    margin-right: 3%;
    margin-left: 3%;
  }

  .temoignages {
    padding: 5%;
  }

  .temoignages-container {
    grid-template-columns: 1fr; /* colonne unique seulement en portrait */
  }
}

footer {
  text-align: center;
  font-family: "Enriqueta", serif;
  font-weight: 400;
  font-style: normal;
  background-color: #ffffff;
  overflow: hidden;
}

footer p {
  font-family: "Enriqueta", serif;
  font-size: 0.9em;
}

.footer {
  text-align: center;
}

footer img {
  vertical-align: middle; /* ou baseline, top, bottom selon ton besoin */
}

.footer_link {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .cabinet {
    width: 100%;
    height: auto;
    display: block;
    margin: 5% auto;
  }
}

@media (max-width: 600px) {
  .troubles img {
    max-width: 100%; /* occupe toute la largeur */
    width: 100%;
    margin: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .troubles img {
    max-width: 100%; /* occupe toute la largeur */
    width: 100%;
    margin: 0;
  }
}

.question {
  /* Suppression du style bouton par défaut */
  background: #ffffff;
  border: none;
  padding: 1em;
  border-radius: 20px;
  cursor: pointer;

  /* Style actuel */
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Pompiere", sans-serif;
  font-size: 0.9em;
  text-align: center;
  margin-bottom: 1em;
  flex: 1 1 250px; /* largeur mini de chaque boîte */
  max-width: 270px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.question:hover {
  background-color: #f5f5f5; /* léger effet au survol, optionnel */
}

.question:focus {
  outline: 2px solid #999; /* visible pour accessibilité */
  outline-offset: 2px;
}

.question h3,
.question p {
  width: 100%;
  margin: 0.6em 0;
  text-align: center;
}

.answer {
  display: none;
  background: #ffffff;
  padding: 0.5em;
  margin-top: 0.3em;
  border-radius: 15px;
  font-family: "Pompiere", sans-serif;
  font-size: 1.7em;
}

.question.active .answer {
  display: block;
}
