/* ------------------------------
   TITRE DE PAGE
------------------------------ */
.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h1 {
  color: #1A3D6B;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-title .page-subtitle {
  color: #555;
  font-size: 1.1rem;
}

/* ------------------------------
   GRILLE DES SERVICES (4 COLONNES)
------------------------------ */
.services-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes sur grand écran */
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 60px; /* Espace avant le bouton de contact */
}

/* ------------------------------
   BLOC SERVICE
------------------------------ */
.service-block {
  background: #f5f8fc;
  border-left: 4px solid #1A3D6B;
  padding: 25px;
  border-radius: 6px;
  transition: background 0.2s ease;
  
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.service-block:hover {
  background: #e8f0fa;
}

.service-block h2 {
  color: #1A3D6B;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.service-block p {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* ------------------------------
   RESPONSIVE TABLETTE & MOBILE
------------------------------ */
@media (max-width: 1024px) {
  .services-page {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
  }
}

@media (max-width: 600px) {
  .services-page {
    grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
    gap: 15px;
  }

  .service-block {
    min-height: auto; /* Laisse le bloc s'adapter naturellement sur mobile */
    padding: 20px;
  }
}