/* Styles généraux */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Assure que le body prend toute la hauteur de l'écran */
  }
  
  .title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  /* Adaptation pour les téléphones */
  
  @media screen and (max-width: 1680px) {
    .title {
      font-size: 1.5rem;
    }
  
    .seo {
      font-size: 15px;
    }
  }
  
  @media screen and (max-width: 1580px) {
    .title {
      font-size: 1.5rem;
    }
  
    .seo {
      font-size: 10px;
    }
  }
  
  @media screen and (max-width: 1280px) {
    .title {
      font-size: 1.5rem;
    }
  }

  
  .seo {
    color: #f9f9f9;
  }
  
  @media screen and (max-width: 768px) {
    .seo {
      font-size: 7px;
    }
  }

  .text-container .subtitle {
    text-align: center; /* Centre le texte horizontalement */
    width: 100%;        /* Prend tout l'espace disponible */
  }

  /* Styles généraux */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  padding: 20px;
  gap: 20px;
}

.image-container {
  flex: 1;
}

.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.responsive-image2 {
  width: 100%;
  height: auto;
  border-radius: 60px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border: 5px solid #afafaf; /* Ajoute une bordure rose de 3px */
}

.text-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: rgb(237, 212, 218);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* Pour inclure les padding dans la taille */
  margin-left: 25px;
  margin-right: 25px;
}

.title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 20px;
}

.subtitle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #555;
  text-align: center;
}

.description {
  font-size: 2rem;
  color: #333;
  text-align: center;
  margin-top: 25px;
  text-align: justify;
}

@media screen and (max-width: 1280px) {
  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .description {
    font-size: 1rem;
  }

  .text-container {
    max-width: 90%; /* Texte prend presque tout l'espace sur mobile */
    margin: 0 auto; /* Centrer horizontalement */
  }

  .text-container2 {
    max-width: 90%; /* Texte prend presque tout l'espace sur mobile */
    margin: 0 auto; /* Centrer horizontalement */
  }
}


@media screen and (max-width: 1100px) {
  .container {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  .container2 {
    flex-direction: column;
    gap: 10px;
  }

  .responsive-image {
    height: auto; /* Laisse l'image s'adapter */
    padding: 20px;
    border-radius: 30px;
  }

  .responsive-image2 {
    height: auto; /* Laisse l'image s'adapter */
  }

  .text-container {
    height: auto; /* Adapte la hauteur au contenu */
  }

  .text-container2 {
    height: auto; /* Adapte la hauteur au contenu */
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
    text-align: center;
  }
}

.black-section {
  width: 100%;
  background-color: #bdbdbd;
  margin-top: 25px;
}


/* Styles pour le sous-titre centré */
.text-container .subtitle {
  text-align: center; /* Centre le texte horizontalement */
  width: 100%;        /* Prend tout l'espace disponible */
}

.text-container2 .subtitle {
  text-align: center; /* Centre le texte horizontalement */
  width: 100%;        /* Prend tout l'espace disponible */
}

/* Inversion pour la deuxième section */
.container.reversed {
  flex-direction: row-reverse; /* Inverse l'ordre de l'image et du texte */
}

/* Responsive design pour inverser les sections */
@media screen and (max-width: 1100px) {
  .container,
  .container.reversed {
    flex-direction: column; /* Empile les éléments en colonne */
  }

  /* Correction spécifique pour que l'image 2 passe en dessous du texte */
  .container.reversed .image-container {
    order: 2; 
  }
}


.seo {
  color: #f9f9f9;
}

@media screen and (max-width: 768px) {
  .seo {
    font-size: 7px;
  }
}

.text-container2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  box-sizing: border-box; /* Pour inclure les padding dans la taille */
  margin-left: 25px;
  margin-right: 25px;
}
