/* Importation de la police Whisper */
@import url('https://fonts.googleapis.com/css2?family=Whisper&display=swap');

/* Conteneur principal */
.cartesoins-container {
    text-align: center; /* Centre tous les éléments */
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Titre principal */
.main-title {
    font-family: 'Whisper', cursive;
    font-size: 6rem;
    font-weight: normal;
    margin-bottom: 20px;
    color: #000; /* Couleur noire */
}

/* Sous-titre */
.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700; /* Gras */
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000;
}

/* Section Image Notre Engagement */
.engagement-section {
    display: flex;
    justify-content: center; /* Centre l'image horizontalement */
    align-items: center;
    margin-top: 20px;
}

.engagement-image {
    max-width: 80%;
    height: auto;
    padding: 10px; /* Espacement interne autour de l'image */
}

/* Général */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.cartesoins-container {
    text-align: center;
    margin-bottom: 50px;
}


/* Engagement Section */
.engagement-section {
    margin: 30px 0 60px 0;
}

.engagement-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

/* Traitements Section */
.treatments-section {
    margin: 20px 0;
}

.treatment-category h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    text-align: start;
    color: #333;
    text-transform: uppercase;
    position: relative;
    margin-left: 30px;
}


/* Cartes de traitement */
.treatment-card {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
}

/* ImageMain à gauche */
.treatment-card img.img-main {
    max-width: 30%;
    border-radius: 10px;
    margin-right: 20px;
}

/* Contenu à droite */
.treatment-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.treatment-content h4 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.treatment-content p {
    font-size: 1rem;
    margin: 10px 0;
    color: #555;
}

.treatment-content img.img-sub {
    max-width: 100%;
    margin-top: 15px;
}

/* Espacement entre les cartes */
.row {
    margin: 0;
}

.col-md-6 {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 990px) {

    .treatment-card img.img-main {
        margin-right: 0;
        margin-bottom: 15px;        
        max-width: 40%;
    }
.img-sub-image{
    max-width: 60px !important;
}
.sub-image-title{
    font-size: 0.7em !important;
}
}
@media (max-width: 768px) {
    .treatment-card {
        flex-direction: column;
        text-align: center;
    }

    .treatment-card img.img-main {
        margin-right: 0;
        margin-bottom: 15px;
        max-width: 50%;
    }
        .sub-images-container{
        justify-content: center;
    }
    
}

@media (max-width:500px) {
    .engagement-image{
display: none;
    }
}






@-webkit-keyframes flipInX {
    from {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
      transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
      opacity: 0;
    }
  
    40% {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
      transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
    }
  
    60% {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
      transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
      opacity: 1;
    }
  
    80% {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
      transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
  
    to {
      -webkit-transform: perspective(400px);
      transform: perspective(400px);
    }
  }
  
  @keyframes flipInX {
    from {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
      transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
      opacity: 0;
    }
  
    40% {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
      transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
    }
  
    60% {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
      transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
      opacity: 1;
    }
  
    80% {
      -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
      transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
  
    to {
      -webkit-transform: perspective(400px);
      transform: perspective(400px);
    }
  }
  
  .flipInX {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    animation-name: flipInX;
  }
  
  .animated {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  


/* Conteneur principal pour le titre */
.treatment-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 350px;
    height: 120px;
    border: 2px solid #d4cbb6;
    border-radius: 20px;
    padding: 20px 20px;
    margin-bottom: 50px;
    margin-top: 50px;
}

/* Style pour le texte principal */
.treatment-title-box {
    text-align: center;
    flex: 1;
}

.treatment-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.treatment-highlight {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
}


/* Point en bas à droite */
.treatment-dot {
    position: absolute;
    right: -6px;
    bottom: 50px;
    width: 10px;
    height: 10px;
    background-color: #d4cbb6;
    border-radius: 50%;
}


.sub-images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.sub-image-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}
/* Aligner le titre "PROFOND" à droite */
.treatment-align-right {
    text-align: right; /* Aligne uniquement le texte à droite */
    margin-left: auto; /* Pousse l'élément vers la droite */
    display: block; /* Assure un comportement de bloc */
}
.treatment-dot2{
    position: absolute;
  right: 342px;
  bottom: 50px;
  width: 10px;
  height: 10px;
  background-color: #d4cbb6;
  border-radius: 50%;
}
.treatment-main-title2{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #333;
}