/* Section des résultats */
.service-resultats-section {
  width: 100%;
  height: auto;
  padding: 112px 64px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.service-resultats-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grille pour l'en-tête (2 colonnes) */
.service-resultats-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 50px;
  align-items: start;
}

.service-resultats-title-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-resultats-badge {
  width: 92.4px;
  height: 33.2px;
  /* max-width: 738px; */
  margin: 0 0 16px 0;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid #134F50;
  border-radius: 40px;
  color: #134F50;
  /* Police */
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.service-resultats-title {
  margin: 0 0 0 0;
  /* Police */
  line-height: 1.2;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 52px;
  font-weight: 500;
}

.service-resultats-subtitle-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-resultats-subtitle {
  margin: 0 0 32px 0;
  color: #0D0D0D;
  /* Police */
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 350;
}

.service-resultats-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

/* Boutons */
.service-resultats-button {
  width: 138px;
  height: 43px;
  /* max-width: 738px; */
  margin: 0 0 0px 0;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #134F50;
  border-radius: 40px;
  cursor: pointer;
  /* Police */
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 350;
}

.service-resultats-button-primary {
  background-color: #134F50;
  color: white;
}

.service-resultats-button-primary:hover {
  background-color: #267871;
}

.service-resultats-button-secondary {
  background-color: transparent;
  color: #134F50;
  border: 1px solid #134F50;
}

.service-resultats-button-secondary:hover {
  background-color: rgba(19, 79, 80, 0.1);
}

/* Grille des cartes */
.service-resultats-grid {
  width: 100%;
  height: 712px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  grid-auto-rows: 1fr;
}

.service-resultats-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.service-resultats-card {
  width: 100%;
  height: 100%;
  min-height: 300px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
}

.service-resultats-card-content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  text-align: center;
  color: #1A1A1A;
}

.service-resultats-card-badge {
  width: 90%;
  height: 45px;
  /* max-width: 738px; */
  margin: 12px 0 auto 0;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 40px;
  /* Police */
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  font-size: 21.42px;
  font-weight: 350;
}

.service-resultats-card-value {
  /* margin-bottom: 10px; */
  text-align: left;
  /* Police */
  line-height: 1.2;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 128px;
  font-weight: 650;
}

.service-resultats-card-text {
  margin-top: 0px;
  text-align: left;
  /* Police */
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 350;
}

.service-resultats-card-image {
  width: 100%;
}

/* Styles spécifiques pour chaque couleur */
/* Bloc vert */
.service-resultats-card-green {
  background-color: #D1FFD8;
}

.service-resultats-card-green .service-resultats-card-badge {
  border: 1px solid #004B64;
  color: #004B64;
}

.service-resultats-card-green .service-resultats-card-value {
  color: #134F50;
}

.service-resultats-card-green .service-resultats-card-text {
  color: #004B64;
}

/* Bloc orange */
.service-resultats-card-orange {
  background-color: #FFE8CF;
}

.service-resultats-card-orange .service-resultats-card-badge {
  border: 1px solid #C22E15;
  color: #C22E15;
  background-color: #FFE8CF;
}

.service-resultats-card-orange .service-resultats-card-value {
  color: #C22E15;
}

.service-resultats-card-orange .service-resultats-card-text {
  color: #C22E15;
}

/* Bloc bleu */
.service-resultats-card-blue {
  background-color: #D9F4FF;
}

.service-resultats-card-blue .service-resultats-card-badge {
  border: 1px solid #134F50;
  color: #134F50;
  background-color: #D9F4FF;
}

.service-resultats-card-blue .service-resultats-card-value {
  color: #134F50;
}

.service-resultats-card-blue .service-resultats-card-text {
  color: #134F50;
}

/* Bloc gris 1 */
.service-resultats-card-gray-1 {
  background-color: #E0E0E0;
  box-sizing: border-box;
  background-image: url('/wp-content/themes/asso-o2c-theme/assets/img/page-services/bloc_resultats_1.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Bloc gris 2 */
.service-resultats-card-gray-2 {
  background-color: #E0E0E0;
  box-sizing: border-box;
  background-image: url('/wp-content/themes/asso-o2c-theme/assets/img/page-services/bloc_resultats_2.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Responsive pour écrans en dessous de 1250px */
@media (max-width: 1250px) {
  .service-resultats-title {
    font-size: 40px;
  }

  .service-resultats-subtitle {
    font-size: 16px;
  }

  .service-resultats-card-badge {
    font-size: 18px;
    width: 85%;
  }

  .service-resultats-card-value {
    font-size: 96px;
  }

  .service-resultats-card-text {
    font-size: 14px;
  }

  .service-resultats-button {
    font-size: 14px;
  }
}

/* Responsive pour écrans en dessous de 900px */
@media (max-width: 900px) {
  .service-resultats-section {
    height: auto;
    padding: 80px 30px;
  }

  .service-resultats-title {
    font-size: 32px;
  }

  .service-resultats-subtitle {
    font-size: 14px;
  }

  .service-resultats-card-badge {
    font-size: 16px;
    width: 90%;
    height: auto;
  }

  .service-resultats-card-value {
    font-size: 72px;
  }

  .service-resultats-card-text {
    font-size: 13px;
  }

  .service-resultats-button {
    font-size: 13px;
    width: 120px;
    height: 40px;
  }

  .service-resultats-card {
    min-height: 250px;
  }
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
  .service-resultats-section {
    height: auto;
    padding: 60px 20px;
  }

  .service-resultats-header-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-resultats-title {
    font-size: 28px;
  }

  .service-resultats-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .service-resultats-card {
    min-height: auto;
    padding: 15px;
  }

  .service-resultats-card-badge {
    margin: 8px 0 8px 0;
    font-size: 14px;
    width: 90%;
  }

  .service-resultats-card-value {
    font-size: 40px;
  }

  .service-resultats-card-text {
    font-size: 12px;
  }

  .service-resultats-buttons {
    justify-content: center;
  }

  .service-resultats-card-gray-1,
  .service-resultats-card-gray-2 {
    display: none;
  }
}
