:root {
  --main-blue: #96b6c5;
  /* --pink: #e6a3b8; */
  /* --pink: #f8e5e6; */
  /* --pink: #f7b2b3; */
  /* --pink: #ecd3d2; */
  /* --pink: #f2c9cc; */
  /* Préféré */
  --pink: #f2d5d5;
  /* --pink: #EBAABE; */
  /* --pink: #e4bce5; */
  --grey: #4e4e4e;
  --beige: #eee0c9;
  --beige-dark: #e2e1aa;
  --white: #f1f0e8;
  --blue: #212e53;
  --font-family: "Montserrat", "Times New Roman", Verdana;
  --font-family-titles: "Playfair Display", "Times New Roman", Verdana;
}

.border-image {
  border-color: var(--grey);
  border: 2px solid;
}

.service-image {
  object-fit: cover;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  max-width: none;
}

@media screen and (max-width: 768px) {
  .service-image {
    width: 70px;
    height: 70px;
  }
}

.footer-copyright {
  background-color: var(--grey);
  color: white;
}

.text-gray-custom {
  color: var(--grey);
}

.text-white-custom {
  color: var(--white);
}

body p,
body li {
  line-height: 25px;
  color: var(--grey);
}

.footer-copyright {
  background-color: var(--grey);
}

.footer-copyright p {
  color: white;
}

main {
  min-height: 100dvh;
}

h3 {
  margin-bottom: 1rem;
  color: var(--grey);
}

h2 {
  margin-bottom: 1.5rem;
  color: var(--blue);
}

h4 {
  margin-bottom: 0.5rem;
  color: var(--grey);
  font-style: italic;
}

/* CSS pour le header */

.-translate-y-full {
  --tw-translate-y: -100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Photo fixe à gauche des accordéons */
.flex-container {
  display: flex;
  justify-content: space-between;
}

.image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Centre l'image verticalement */
  min-height: 500px;
  /* Réglez cette hauteur en fonction de vos besoins */
  position: relative;
}

.image-column img {
  position: absolute;
  top: 0;
  height: auto;
}

.content-column {
  flex: 2;
  /* Ajoutez du padding si nécessaire */
  padding: 0 20px;
}

/* Ajout de classes pour gérer le changement de style lors du défilement */
.header-scroll {
  background-color: var(--grey) !important;
  color: white;
}

.header-scroll a {
  color: white;
}

.button-rdv {
  border-color: black;
}

.header-scroll .button-rdv {
  background-color: var(--grey);
  color: white;
  border-color: white !important;
}

.hover\:\!bg-pink:hover {
  background-color: var(--pink) !important;
}

.\!bg-pink {
  background-color: var(--pink) !important;
}

.hover\:\!text-white:hover {
  color: white !important;
}

.hover\:\!bg-gray:hover {
  background-color: var(--grey) !important;
}

@media (min-width: 1024px) {
  .hidden.lg\:\!flex {
    display: flex !important;
  }
}

@media (min-width: 1280px) {
  .hidden.xl\:\!flex {
    display: flex !important;
  }
}

.header-scroll .button-rdv:hover {
  color: var(--grey) !important;
  border-color: var(--pink) !important;
  background-color: var(--pink) !important;
}

.button-rdv:hover {
  border-color: var(--grey);
  border-width: 1px;
}

.button-hover-white {
  color: var(--grey);
}

.button-hover-white:hover {
  color: white;
}

/* Style pour l'animation de l'accordéon */
.accordion-content {
  overflow: hidden;
  transition:
    max-height 0.5s ease-out,
    padding-top 0.5s ease-out,
    padding-bottom 0.5s ease-out;
  max-height: 0;
  /* Essentiel pour l'initialisation */
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 2.25rem !important;
  margin-top: 0.5rem;
}

.hidden {
  display: none !important;
}

header:not(.header-scroll) .logo {
  /* Make logo gray instead of white when bg is pink */
  filter: brightness(0) invert(0.5);
}

.blockquote {
  font-family: "Sofia", "Times New Roman", Verdana;
}

/* Sidebar */

.active-link {
  color: var(--grey);
  font-weight: bold;
}

.sidebar-link-h3 {
  margin-left: 20px;
  /* Indentation pour les liens h3 */
}

#sidebar-links-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#sidebar-links-container>li>a {
  font-size: 16px;
}

#sidebar-links-container {
  list-style-type: none;
  padding-left: 20px;
  counter-reset: section subsection;
  /* Initialise les compteurs pour les h2 et h3 */
}

#sidebar-links-container .sidebar-link::before {
  counter-increment: section;
  /* Incrémente le compteur de section pour les h2 */
  content: counter(section) ". ";
  /* Affiche le compteur pour les h2 */
  margin-right: 8px;
}

#sidebar-links-container .sidebar-link-h3::before {
  counter-increment: subsection;
  /* Incrémente le compteur global de sous-section pour les h3 */
  content: counter(subsection, lower-alpha) ". ";
  /* Affiche le compteur pour les h3 */
  margin-right: 8px;
}

#sidebar-links-container .sidebar-link-h3 {
  font-size: 13px;
}

.sidebar-link-h3.hidden {
  display: none;
  /* Masque les sous-titres `h3` par défaut */
}

/* Texte justifié */
.content p,
.accordion-content p,
.accordion-content ul,
#details-1 p,
#details-2 p,
#details-3 p,
#details-4 p,
#details-5 p,
#details-6 p,
#details-7 p,
#details-8 p,
#details-9 p,
#details-10 p,
#details-11 p,
#details-12 p,
#details-13 p,
#details-14 p,
#details-15 p {
  text-align: justify;
}

.margins {
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Header avec titre */
.background-with-overlay {
  position: relative;
  background-position: center;
  /* Centre l'image de fond verticalement et horizontalement */
  background-size: cover;
  /* S'assure que l'image de fond couvre toute la zone sans perdre ses proportions */
  height: 50vh;
  /* Définit la hauteur de l'élément */
  will-change: background-position;
}

@media (max-width: 768px) {
  .background-with-overlay {
    height: 70vh;
  }
}

.background-with-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  /* Noir semi-transparent */
  z-index: 1;
}

.background-with-overlay>* {
  position: relative;
  z-index: 2;
}

.resume-intervention {
  text-shadow:
    0px 0px 0px white,
    /* Haut-droite */
    0px 0px 0px white,
    /* Bas-droite */
    0 0px 0px white,
    /* Haut-gauche */
    -0.125px -0.125px 0px white;
  /* Bas-gauche */
}

.resume-intervention li,
#sidebar-links-container li {
  line-height: 35px !important;
}

/* Cercles */
.circle {
  background-color: white;
  border-radius: 50%;
  padding: 80px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 25%;
  flex-shrink: 0;
}

.small-circle {
  width: 25%;
  height: 25%;
  background-color: var(--pink);
  /* Couleur du petit cercle */
  border-radius: 50%;
  position: absolute;
  top: 2%;
  right: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--grey);
}

.small-circle-sofcpre {
  width: 30%;
  height: 30%;
  background-color: var(--blue);
  /* Couleur du petit cercle */
  border-radius: 50%;
  position: absolute;
  top: 80%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.small-circle-pricing {
  width: 22%;
  height: 22%;
  background-color: var(--pink);
  /* Couleur du petit cercle */
  border-radius: 50%;
  position: absolute;
  top: 95%;
  right: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.small-circle-pricing.small-circle-bigger {
  width: 25%;
  height: 25%;
  right: 35%;
  top: 90%;
}

.qa-circle {
  width: 60px;
  height: 70px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.qa-circle p {
  font-size: 10px;
  color: var(--dark-blue);
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

/* Gestion du logo */
.logo {
  width: 250px;
  height: auto;
  max-width: unset;
}

@media screen and (max-width: 768px) {
  .logo {
    width: 180px;
    height: auto;
    max-width: unset;
  }

  .text-3xl {
    font-size: 1.5rem;
  }
}

.blockquote {
  font-family: "Sofia", "Times New Roman", Verdana;
}

.wrapper {
  list-style-type: none;
  padding: 0;
  border-radius: 3px;
}

/* Effets cercles */

/* Style de base pour les cercles */
.circle,
.small-circle,
.small-circle-sofcpre,
.small-circle-pricing {
  transition: transform 0.3s ease-in-out;
  /* Animation douce pour la transformation */
}

/* Effet de grossissement au survol pour le cercle principal */
.circle:hover {
  transform: scale(1.05);
  /* Grossit légèrement le cercle */
}

/* Effet de rotation pour le petit cercle (exemple) */
.small-circle:hover {
  transform: rotate(45deg);
  /* Tourne le cercle de 45 degrés */
}

/* Déplacement vers le haut pour le cercle des questions et réponses */
.small-circle-sofcpre:hover {
  transform: translateY(-10px);
  /* Déplace légèrement vers le haut */
}

/* Effet de basculement pour le cercle des tarifs */
.small-circle-pricing:hover {
  transform: scale(1.1) rotate(-5deg);
  /* Grossit et tourne légèrement le cercle */
}

/* Avis en tant que femme */

.testimonial-block {
  display: flex;
  /* Modifié pour utiliser flexbox */
  flex-wrap: wrap;
  /* Permet aux éléments de passer à la ligne suivante si nécessaire */
  padding: 20px;
  background-color: #f9f9f9;
}

.testimonial-title {
  color: #333;
  margin-bottom: 15px;
  /* Ajout pour forcer le texte sur deux lignes et ajouter des marges latérales */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-left: 20px;
  /* Marge gauche */
  margin-right: 20px;
  /* Marge droite */

  font-size: 35px;
  /* Ajustez selon vos besoins */
  max-width: 100%;
  /* Assurez-vous que le titre ne dépasse pas 100% de son conteneur */
  word-wrap: break-word;
  /* Pour s'assurer que le titre passe à la ligne si nécessaire */
  text-align: center;
  /* Si vous voulez aligner à gauche dans le conteneur */
}

/* Ajoutez la règle pour forcer la séparation sur deux lignes si nécessaire */
.testimonial-title h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-header {
  flex-basis: 60%;
  /* Définit la base à 50% de la div parent */
  display: flex;
  flex-direction: column;
  /* Changez la direction pour empiler verticalement */
  justify-content: center;
  /* Centrer le contenu verticalement */
}

.testimonial-content {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  text-align: left;
  /* Centrer le texte de la citation */
}

.testimonial-content p {
  quotes: "“""”""‘""’";
  text-align: center !important;
  line-height: 3 !important;
}

.testimonial-content p:before {
  content: open-quote;
  font-size: 5em;
  line-height: 0.1em;
  margin-right: 10px;
  vertical-align: -0.4em;
  color: #ccc;
  /* Couleur de la citation ouvrante */
}

.testimonial-content p:after {
  content: close-quote;
  font-size: 5em;
  line-height: 0.1em;
  margin-left: 10px;
  vertical-align: -0.4em;
  color: #ccc;
  /* Couleur de la citation fermante */
}

.testimonial-image {
  /* Retrait du flex-basis temporairement */
  /* flex-basis: 40%; */
  /* Définit la base à 50% de la div parent */
  /* Répartition 1/3 */
  display: flex;
  justify-content: center;
  /* Centre l'image horizontalement */
  align-items: center;
  /* Centre l'image verticalement */
}

/* Ajoutez ce qui suit pour gérer l'espacement autour de l'image */
.testimonial-image img {
  max-height: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  /* Espace entre l'image et le contenu du témoignage */
}

.testimonial-text {
  flex: 2;
  /* Répartition 2/3 */
  padding-left: 20px;
  /* Ajoute un peu d'espace entre l'image et le texte */
}

/* Tests */
.mb-5 {
  border-left: 5px solid var(--pink);
  padding: 20px;
  margin-bottom: 40px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mb-5 h2 {
  margin-bottom: 20px;
  color: var(--dark-grey);
}

.mb-5 p {
  text-align: justify;
  line-height: 1.6;
}

.outer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}

form {
  display: flex;
  min-width: 80%;
  flex-direction: column;
  padding: 20px;
  border-radius: 8px;
}

input {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact button {
  background-color: #212e53;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.textarea {
  height: 150px;
}

.text-left {
  max-width: 70%;
}

.contact em {
  margin-right: 5px;
  color: #212e53;
}

@media screen and (min-width: 1024px) {
  .pr-large {
    padding-right: 80px !important;
  }

  /* Ajustement du padding-bottom pour les écrans larges */
  .content-wrapper {
    padding-bottom: 250px !important;
    /* Réduction du padding-bottom pour les grands écrans */
  }
}

.services-grid>div>div {
  display: flex;
  flex-direction: row;
}

.services-grid>div>div:nth-child(1) {
  flex-shrink: 0;
}

.services-grid>div>div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.cabinet-text {
  margin-left: calc(5rem + 50%);
}

@media screen and (max-width: 768px) {
  .cabinet-text {
    margin-left: 0;
    margin-top: 500px;
  }
}

.salle-attente-div {
  height: 100%;
}

@media screen and (max-width: 768px) {
  .salle-attente-div {
    height: 500px;
    width: 100%;
  }
}

.hover\:bg-pink:hover {
  background-color: var(--pink);
}

.text-pink {
  color: var(--pink);
}

/* Fil d'ariane */
.breadcrumb {
  list-style: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb li {
  color: white;
  font-size: 1rem;
}

.breadcrumb li+li:before {
  content: "\2022";
  /* Remplacez par le caractère de votre choix */
  color: white;
  padding: 0 8px;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.size-medium {
  font-size: 1.5em;
}

ul {
  list-style: initial;
  padding-left: 40px;
}

/* Tableaux tarifs */

.styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 10px 10px 10px 1px rgba(0, 0, 0, 0.08);
}

.styled-table thead tr {
  background-color: var(--pink);
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 1px solid;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: var(--pink);
}

/* Tarifs */
/* Style pour les tableaux de chirurgie avec prise en charge et non prise en charge */
/* Première colonne alignée à gauche, seconde colonne centrée */
.styled-table tr td:first-child {
  text-align: left;
}

.styled-table tr td:nth-child(2) {
  text-align: center;
}

/* Style pour les tableaux contenant les tarifs */
/* Première colonne alignée à gauche, seconde colonne alignée à droite */
.centered-table tr th,
.centered-table tr td {
  text-align: left;
  /* Alignement par défaut pour toutes les cellules */
}

.centered-table tr td:nth-child(2),
.centered-table tr td:nth-child(3) {
  text-align: right;
  /* Alignement à droite pour les 2e et 3e colonnes des tarifs */
}

/* Illustration / vignette */
.profile-pic {
  width: 150px;
  /* Plus petit sur mobile */
  height: 150px;
  /* Plus petit sur mobile */
  top: calc(100vh - 225px);
  /* Ajustez selon le besoin */
  right: 5%;
  /* Ajustez pour centrer sur petits écrans */
  z-index: 2;
  border-radius: 50%;
  /* Rend la vignette parfaitement ronde */
  background-size: cover;
  /* S'assure que l'image couvre bien tout l'espace */
  background-position: center;
  /* Centre l'image dans la vignette */
  border: 4px solid white;
  /* Bord blanc de 4px */
  position: absolute;
  /* Position verticale pour qu'elle déborde sur la section suivante */
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .profile-pic {
    /* Centré pour les écrans mobiles */
    left: 38%;
    /* Taille originale pour tablette et ordinateur */
    top: calc(50vh - 120px);
  }

  h1 {
    line-height: 3rem !important;
  }

  .styled-table {
    min-width: unset;
  }

  /* Fil d'ariane */
  .breadcrumb {
    list-style: none;
    padding: 0;
    display: flex;
    /* Changez en 'flex' pour permettre le wrap */
    flex-wrap: wrap;
    /* Autorise les éléments à passer à la ligne suivante */
    align-items: center;
    justify-content: center;
  }

  .breadcrumb li {
    color: white;
    font-size: 1rem;
  }

  .breadcrumb li:not(:last-child) {
    display: inline-flex;
    /* Les éléments, sauf le dernier, seront affichés sur la même ligne */
    align-items: center;
  }

  .breadcrumb li+li:before {
    content: "\2022";
    /* Caractère de séparation */
    color: white;
    padding: 0 8px;
  }

  .breadcrumb a {
    color: white;
    text-decoration: none;
  }

  .breadcrumb a:hover {
    text-decoration: underline;
  }

  /* Assurez-vous que le dernier élément passe à la ligne suivante */
  .breadcrumb li:last-child {
    width: 100%;
    /* Donne au dernier élément la largeur complète pour forcer le saut de ligne */
    text-align: center;
    /* Si vous souhaitez centrer le texte du dernier élément */
  }
}

@media (min-width: 769px) {
  .profile-pic {
    width: 300px;
    /* Taille originale pour tablette et ordinateur */
    height: 300px;
    /* Taille originale pour tablette et ordinateur */
    top: calc(50vh - 150px);
    /* Position verticale ajustée */
    right: 10%;
    /* Marge droite pour tablette et ordinateur */
  }
}

.button-rdv-black:hover {
  color: var(--grey) !important;
  background-color: var(--pink);
  border-color: var(--pink) !important;
}

/* tarifs */
.col-description {
  border-top-color: transparent;
  border-left-color: transparent;
  background-color: transparent;
  box-shadow: none !important;
}

/* En bref */
.circle,
.small-circle,
.small-circle-sofcpre,
.small-circle-pricing {
  border-radius: 50%;
  /* Rend l'élément circulaire */
  width: 150px;
  /* Largeur du cercle */
  height: 150px;
  /* Hauteur du cercle, identique à la largeur pour un cercle parfait */
  /* text-align: center; */
  /* Centre le texte à l'intérieur du cercle */
  display: flex;
  /* align-items: center; */
  /* Centre le contenu du cercle verticalement */
  /* justify-content: center; */
  /* Centre le contenu du cercle horizontalement */
}

.circle>ul {
  padding-left: 0px;
  text-align: center;
}

/* Vous pouvez ajuster la taille pour les petits cercles si nécessaire */
.small-circle,
.small-circle-sofcpre,
.small-circle-pricing {
  width: 100px;
  /* Largeur du petit cercle */
  height: 100px;
  /* Hauteur du petit cercle, identique à la largeur pour un cercle parfait */
}

.circle {
  width: 500px;
  /* Largeur du cercle */
  height: 500px;
  /* Hauteur du cercle, identique à la largeur pour un cercle parfait */
}

.small-circle-empty {
  width: 250px !important;
  height: 250px !important;
  margin-left: 36%;
}

@media screen and (max-width: 768px) {
  .circle {
    height: 300px;
    padding: 50px;
    margin-left: 0;
    width: 100%;
  }

  .circle ul li,
  .circle ul li span {
    font-size: 12px !important;
    line-height: normal;
  }

  .circle ul {
    gap: 0.25rem;
  }

  .circle h2 {
    margin-bottom: 0px;
  }

  .small-circle {
    min-width: 35%;
    min-height: 35%;
    right: 0%;
  }

  .small-circle-empty {
    margin-left: 8%;
  }

  .mt-10 {
    margin-top: 10rem;
  }
}

.service-text {
  width: 350px;
}

/* Page d'accueil */
#presentation>p {
  margin-bottom: 20px;
}

h3 {
  font-size: 20px !important;
  font-weight: bold;
}

h3>a,
a>h3 {
  text-decoration: underline;
  text-decoration-style: dotted;
  font-weight: 600;
  text-underline-offset: 5px;
  margin-left: 20px;
}

/* Carousel */
.carousel-img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
  /* Cela garantit que l'image sera redimensionnée correctement tout en conservant son ratio. */
}

.carousel {
  width: 100%;
  height: 100%;
}

.carousel .slide {
  position: relative;
  width: max-content;
}

@media (max-width: 1024px) {
  swiper-slide {
    width: 100% !important;
    margin: 0 !important;
  }

  swiper-slide.is-duplicate {
    display: none;
  }

  swiper-container {
    height: max-content !important;
  }
}

swiper-slide {
  width: max-content;
}

.carousel .slide>div:nth-child(2) {
  top: 0;
  left: 0;
  width: 100%;
}

/* Limiter la largeur du conteneur Swiper et centrer le contenu */
.swiper-container {
  max-width: 100%;
  margin: 0 auto;
}

/* S'assurer que les diapositives ne dépassent pas une certaine largeur */
.swiper-slide {
  max-width: 300px;
  /* Ajustez cette valeur selon vos besoins */
}

/* Menu */
.chevron-up-wrapper {
  text-align: center;
  width: 100%;
}

.chevron-up {
  cursor: pointer;
  font-size: 2.5rem;
  /* Taille ajustée pour être plus visible */
  color: #000;
  /* Ajustez la couleur si nécessaire */
  margin-bottom: 1rem;
  /* Espace en-dessous du chevron */
}

.chevron-up-wrapper.hidden {
  display: none;
}