
/* A3. Nos prestations : quatre cartes, carrousel au doigt sur mobile, quatre colonnes sur ordinateur */
.sp-03-prestations__head { margin-bottom: var(--sp-section-head-gap); }

/* Piste : sur mobile, elle déborde jusqu'aux bords de l'écran et défile au doigt avec accroche */
.sp-03-prestations__track {
  position: relative;
  display: flex;
  gap: var(--sp-4);
  list-style: none;
  margin: 0 calc(-1 * var(--sp-gutter));
  padding: 0 var(--sp-gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--sp-gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sp-03-prestations__track::-webkit-scrollbar { display: none; }
.sp-03-prestations__item {
  flex: 0 0 min(78vw, 360px);
  scroll-snap-align: start;
}

/* Carte entière cliquable : un seul lien, pas de cadre, la photo porte la carte */
.sp-03-prestations__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--sp-radius-md);
}
.sp-03-prestations__card:focus-visible { outline-offset: 6px; }
.sp-03-prestations__photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--sp-radius-md);
  background: var(--sp-surface);
  margin-bottom: var(--sp-4);
}
.sp-03-prestations__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-03-prestations__title {
  margin-bottom: var(--sp-2);
  transition: color var(--sp-fast) var(--sp-ease);
}
.sp-03-prestations__text {
  margin: 0 0 var(--sp-3);
  color: var(--sp-muted);
}
.sp-03-prestations__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  min-height: 44px;
  color: var(--sp-blue);
  font-weight: var(--sp-weight-semibold);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--sp-fast) var(--sp-ease), color var(--sp-fast) var(--sp-ease);
}
.sp-03-prestations__link svg { width: 18px; height: 18px; flex: none; }
.sp-03-prestations__card:hover .sp-03-prestations__title { color: var(--sp-blue); }
.sp-03-prestations__card:hover .sp-03-prestations__link {
  color: var(--sp-blue-dark);
  text-decoration-color: currentColor;
}

/* Indicateur de position : quatre points, sans interaction, mobile seulement */
.sp-03-prestations__dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.sp-03-prestations__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--sp-radius-full);
  background: var(--sp-line-strong);
  transition: background-color var(--sp-fast) var(--sp-ease), width var(--sp-fast) var(--sp-ease);
}
.sp-03-prestations__dot.is-active {
  width: 18px;
  background: var(--sp-blue);
}

@media (min-width: 768px) {
  .sp-03-prestations__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-grid-gap);
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .sp-03-prestations__item { flex: none; }
  .sp-03-prestations__dots { display: none; }
}
@media (min-width: 1024px) {
  .sp-03-prestations__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sp-03-prestations__photo { margin-bottom: var(--sp-5); }
}

