

/* Styles pour le séparateur */
.separateur {
  width: 100%;
  height: 2px;
  background-color: #ccc;
  margin: 20px 0;
}

/* Section Pourquoi me choisir */
#pk-choisir {
  position: relative;
  text-align: center;
  color: white;
  background:url("img presta/bg_presta.jpg") no-repeat center center/cover;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#pk-choisir img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: brightness(0.7);
}

#pk-choisir h1 {
  font-size: 2.5rem;
  color: #fff;
  width: 100%;
}

#choix {
  display: flex;
  gap: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 8px;
}

#choix div {
  max-width: 300px;
  font-size: 1rem;
}
#choix div p, #choix div p b{
  color: #fff;
}
/* Styles pour chaque prestation */
#prestations {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

#prestations > div {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
#prestations > div:nth-of-type(odd) {
  flex-direction: row-reverse;
}

/* Styles pour les sections de texte */

#prestations > div {
  flex: 1;
  align-items: flex-start;
}
.texte {
  flex: 1;
}

.texte h2 {
  font-size: 1.8rem;
  color: #2a5298;
  margin-bottom: 10px;
}

.texte p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Styles pour les images avec boutons */
.photo-offres {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.photo-offres img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Conteneur pour les boutons, positionné en bas de l'image */
.photo-offres .button-container {
  position: absolute;
  bottom: 10px;
  display: flex;
  gap: 10px;
  width: 90%;
  justify-content: center;
  flex-wrap: wrap;
}

/* Style pour le bas de page Contact */
#prestations section {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: #555;
}

#prestations section p {
  margin: 10px 0;
}
/* Styles pour la section Contact */
#prestations section {
  text-align: center;
  margin: 50px 0;
  padding: 20px;
  background-color: #2a5298;
  color: #fff;
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1.6;
}

#prestations section p {
  margin: 10px 0;
}

#prestations section p:first-child {
  font-weight: bold;
  font-size: 1.3rem;
  color: gold;
}

.redirect-contact {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffd700;
  transition: all 0.2s;
  border: 2px solid #ffd700;
  padding: 5px 15px;
  border-radius: 8px;
}
.redirect-contact:hover {
  color: #2a5298;
  background-color: #ffd700;
}

.button-container a {
  text-decoration: none;
  position: relative;
  padding: 10px 40px;
  background-color: #e7dcbe;
  border-radius: 100px;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  border: 2px solid #cdc2a4;
  margin-bottom: 10px;
}
.button-container a:hover {
  background-color: #cdc2a4;
}

.divpbs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 50px 0;
  background-color: #efe8d5;
  border-bottom: 2px solid #cdc2a4;
}
.divpb {
  width: 150px;
  height: 250px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin-top: 20px;
}

.divpb img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  user-select: none;
}

/* Media query pour les écrans de moins de 768px (tablettes et petites fenêtres) */
/* Media query pour les écrans de moins de 768px (tablettes et petites fenêtres) */
@media (max-width: 768px) {
    #prestations > div {
      flex-direction: column !important;  /* Affichage en colonne pour les écrans plus petits */
      align-items: flex-start; /* Aligner les éléments au début de la colonne */
    }
  
    .texte {
      text-align: center;
    }
  
    .photo-offres {
      margin-bottom: 20px; /* Ajouter un espace sous les images */
    }
  
    .photo-offres img {
      width: 100%; /* Faire en sorte que l'image occupe toute la largeur disponible */
      height: auto; /* Garder les proportions de l'image */
    }
  }
  
  /* Media query pour les écrans de moins de 480px (mobiles) */
  @media (max-width: 480px) {
    #pk-choisir h1 {
      font-size: 1.8rem; /* Réduire la taille du titre sur les petits écrans */
    }
  
    #choix {
      flex-direction: column !important; /* Les choix "Pourquoi me choisir ?" seront empilés */
      gap: 10px;
      padding: 10px;
      width: 200px;
      gap: 10px;
    }
  
    #choix div {
      font-size: 0.9rem; /* Réduire la taille de la police des choix */
    }
  
    .photo-offres a {
      font-size: 1rem; /* Ajuster la taille des boutons pour les petits écrans */
    }
  }
  