/* Page détail service — Safecheck RDC */

.service-single-hero {
  position: relative;
  background: #222d5a;
  overflow: hidden;
  padding: 3.25rem 0;
  text-align: center;
}

.service-single-hero .services-hero-shape {
  top: -130px;
  right: 18%;
  left: auto;
  width: 280px;
  height: 280px;
}

.service-single-title {
  position: relative;
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  color: rgb(255, 255, 255);
  line-height: 1.25;
  margin: 0 auto;
  max-width: 900px;
}

.service-single-content {
  padding: 4rem 0 4.5rem;
  background: var(--white);
}

.service-single-lead {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 35px;
  line-height: 39px;
  color: rgb(36, 49, 97);
  margin-bottom: 1.25rem;
  text-align: left;
}

.service-single-text {
  margin-bottom: 1rem;
  max-width: 560px;
  text-align: justify;
}

.service-single-text:last-of-type {
  margin-bottom: 0;
}

.service-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.service-back-link:hover {
  color: var(--green-primary);
}

/* Grille 2×2 — prestations */
.service-features-grid {
  padding: 3.5rem 0 4.5rem;
  background: var(--white);
}

.service-features-grid .container {
  max-width: 1200px;
}

.service-features-grid .row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
  justify-content: center;
}

.service-features-grid .row > [class*="col-"] {
  display: flex;
  justify-content: center;
}

.service-feature-card {
  background: var(--white);
  border: 1px solid rgba(153, 194, 33, 0.55);
  border-radius: 10px;
  width: 550px;
  max-width: 100%;
  height: 360.19px;
  box-sizing: border-box;
  padding: 1.75rem 1.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.service-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.service-feature-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--green-primary);
  margin: 0 auto 0.85rem;
  line-height: 1;
  flex-shrink: 0;
  text-align: center;
}

.service-feature-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: rgb(36, 49, 97);
  margin-bottom: 0.75rem;
  text-align: center;
  flex-shrink: 0;
  width: 100%;
}

.service-feature-text {
  text-align: center;
  margin-bottom: 0;
  flex: 0 1 auto;
  width: 100%;
  overflow-y: auto;
}

@media (max-width: 991.98px) {
  .service-single-hero .services-hero-shape {
    width: 220px;
    height: 220px;
    top: -100px;
    right: 5%;
  }
}

@media (max-width: 767.98px) {
  .service-single-content {
    padding: 2.5rem 0 3rem;
  }

  .service-single-hero {
    padding: 2.5rem 0;
  }

  .service-features-grid {
    padding: 2.5rem 0 3rem;
  }

  .service-feature-card {
    width: 100%;
    max-width: 550px;
    height: auto;
    aspect-ratio: 550 / 360.19;
    padding: 1.5rem 1.25rem;
  }

  .service-single-lead {
    font-size: 26px;
    line-height: 32px;
  }
}

@media (max-width: 767.98px) {
  .service-single-text,
  .service-feature-text {
    text-align: left;
  }

  .service-feature-card {
    aspect-ratio: auto;
    min-height: 0;
    padding: 1.35rem 1.1rem;
  }

  .service-features-grid .row {
    row-gap: 1rem;
  }
}

@media (max-width: 575.98px) {
  .service-single-lead {
    font-size: 22px;
    line-height: 28px;
  }

  .service-single-hero .services-hero-shape {
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .service-single-hero {
    padding: 2.75rem 0;
  }

  .service-single-content .row > .col-lg-6 {
    flex: 0 0 50%;
    width: 50%;
  }

  .service-single-lead {
    font-size: 1.65rem;
    line-height: 1.3;
  }

  .service-features-grid .col-md-6 {
    flex: 0 0 50%;
    width: 50%;
  }

  .service-feature-card {
    aspect-ratio: auto;
    min-height: 200px;
  }
}
