/* =========================================================
   PAGE NOS SERVICES — V2
   Garde les cartes de la page d'accueil.
   ========================================================= */

.services-page {
  padding: 58px 0 100px;
  background: #fff;
}

.services-page-shell {
  width: min(1450px, 92%);
  margin: 0 auto;
}

/* Fil d'Ariane */
.services-page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  padding: 10px 18px;
  border-radius: 45px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(4, 31, 45, .08);
  font-family: "Roboto", sans-serif;
  font-size: .9rem;
  font-weight: 600;
}

.services-page-breadcrumb,
.services-page-breadcrumb a {
  color: #159a83;
  text-decoration: none;
}

/* Titre + compteur */
.services-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;

  /* volontairement aucun trait */
  border: 0;
}

.services-page-heading-text p {
  margin: 0 0 18px;
  font-family: "Roboto", sans-serif;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #159a83;
}

.services-page-heading-text h1 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  color: #041f2d;
}

.services-page-count {
  flex: 0 0 auto;
  padding-bottom: 7px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #041f2d;
  white-space: nowrap;
}

.services-page-count strong {
  font-weight: 800;
}

/* =========================================================
   GRILLE
   Les cartes gardent le même HTML/classes que l'accueil.
   ========================================================= */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

/* Neutralise d'éventuelles contraintes slider/accueil uniquement
   à l'intérieur de cette page. */
.services-page-grid .service-item {
  width: 100%;
  min-width: 0;
  margin: 0;
}

/* On conserve le rendu des blocs de l'accueil.
   Ces règles ne font que sécuriser leur dimension dans la grille. */
.services-page-grid .service-card-inner,
.services-page-grid .service-card-face,
.services-page-grid .service-card-front {
  width: 100%;
}

/* Aucun séparateur général entre titre et grille */
.services-page-heading::after,
.services-page-heading::before {
  display: none;
  content: none;
}

@media (max-width: 1050px) {
  .services-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .services-page {
    padding-top: 36px;
  }

  .services-page-shell {
    width: calc(100% - 36px);
  }

  .services-page-breadcrumb {
    margin-bottom: 38px;
  }

  .services-page-heading {
    display: block;
    margin-bottom: 34px;
  }

  .services-page-count {
  flex: 0 0 auto;
  padding-bottom: 7px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #041f2d;
  white-space: nowrap;
}

  .services-page-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* ==========================================================
   MOBILE — RESPIRATION SOUS LE HEADER
   ========================================================== */
@media (max-width: 700px) {
  .services-page {
    padding-top: 70px;
  }
}

