/* Destination : assets/css/services.css */

/* ---------- En-tête de page ---------- */
.nh-page-hero {
  background: linear-gradient(180deg, var(--nh-rose-light) 0%, var(--nh-cream) 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.nh-page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; margin: 1rem 0 1rem; }
.nh-page-hero-text { color: var(--nh-grey-600); font-size: 1rem; }

/* ---------- Sommaire ---------- */
.nh-services-summary {
  position: sticky;
  top: 78px;
  z-index: 900;
  background: var(--nh-white);
  border-bottom: 1px solid var(--nh-grey-300);
  box-shadow: var(--nh-shadow-sm);
}
.nh-services-summary ul {
  list-style: none;
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.nh-services-summary a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nh-grey-600);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: var(--nh-transition);
}
.nh-services-summary a:hover,
.nh-services-summary a.active {
  background: var(--nh-rose-light);
  color: var(--nh-rose-dark);
}
.nh-services-summary a i { color: var(--nh-rose); }

/* ---------- Blocs de service détaillés ---------- */
.nh-service-detail-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  scroll-margin-top: 140px;
}
.nh-service-detail-block:not(:last-child) { border-bottom: 1px solid var(--nh-grey-300); }
.nh-service-reverse { direction: rtl; }
.nh-service-reverse > * { direction: ltr; }

.nh-service-detail-img { aspect-ratio: 4 / 3.2; border-radius: var(--nh-radius-lg); }
img.nh-service-detail-img { width: 100%; object-fit: cover; }

.nh-service-detail-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--nh-gradient-primary); color: var(--nh-white);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  margin-bottom: 1.2rem; box-shadow: var(--nh-shadow-glow);
}
.nh-service-detail-content h2 { font-size: 1.7rem; margin-bottom: 0.8rem; }
.nh-service-detail-lead { font-size: 1.02rem; color: var(--nh-rose-dark); font-weight: 600; margin-bottom: 1.2rem; }

.nh-service-detail-body { color: var(--nh-grey-600); font-size: 0.95rem; }
.nh-service-detail-body h4 { font-size: 1rem; color: var(--nh-dark); margin-top: 1.2rem; }
.nh-service-detail-body ul { padding-left: 1.2rem; margin-bottom: 0; }
.nh-service-detail-body li { margin-bottom: 0.5rem; }
.nh-service-detail-body li::marker { color: var(--nh-rose); }

.nh-service-detail-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

@media (max-width: 991.98px) {
  .nh-service-detail-block { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.5rem 0; }
  .nh-service-reverse { direction: ltr; }
  .nh-services-summary { top: 0; }
}