/**
 * Correction de la mise en page des services
 * Force l'affichage à 2 cartes par ligne
 */

.services {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  justify-content: space-between !important;
  margin-top: 3rem !important;
}

.service-item {
  width: calc(50% - 1rem) !important;
  margin-bottom: 2rem !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  text-align: center !important;
}

.service-features {
  text-align: left !important;
  display: inline-block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Assure que chaque ligne contient exactement 2 cartes */
.service-item:nth-child(2n+1):last-child {
  margin-right: calc(50% + 1rem) !important;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .services {
    flex-direction: column !important;
  }
  
  .service-item {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
  }
  
  .service-item:nth-child(2n+1):last-child {
    margin-right: 0 !important;
  }
}
