/* ==================================================
  *  Style global pour body et layout
================================================== */
body {
  display: flex;
  flex-direction: column; /* empile header, main, footer */
  min-height: 100vh;      /* prend toute la hauteur de la fenêtre */
  margin: 0;
  background: url('../images/services-image-taxi.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
}

/* Conteneur principal pour le contenu de la page */
#main-services {
  flex: 1;                 /* occupe tout l'espace restant */
  display: flex;
  justify-content: center;  /* centre horizontalement */
  align-items: flex-start;  /* top ou center selon besoin */
  padding: 20px;
  box-sizing: border-box;
}

/* ==================================================
  *  Service Box
================================================== */
.service-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;         /* largeur maximale */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: left;
  margin: 0 auto;           /* centré horizontalement */
  position: relative;       /* nécessaire pour le ::after */
}

/* Liste des services */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
}

.service-list li {
  margin-bottom: 15px;
}

/* Titre de section */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
}

/* Image cachet */
.image-cachet {
  display: block;
  margin: 20px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Cachet positionné dans service-box */
.service-box::after {
  content: "";
  position: absolute;
  bottom: 0px;        /* distance depuis le bas de la boîte */
  right: 10px;        /* distance depuis la droite */
  width: 150px;
  height: 100px;
  background: url('../images/services-cachet-assurance-maladie.png') no-repeat center center;
  background-size: contain;
  opacity: 0.9;
}

.container-services {
  padding-top: 380px;
  padding-bottom: 120px; /* espace avant le footer */
}





@media (max-width: 600px) {
    .service-box {
        padding: 20px;
        max-width: 90%;
    }
    .service-box::after {
        width: 100px;
        height: 70px;
        right: 5px;
        bottom: 5px;
    }
}



















