/* ============================================
   PAGE SERVICES — Maison Nova DZ
   ============================================ */

/* Nav active */
nav.links a.active {
  color: var(--gold-light);
}
nav.links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== HERO SERVICES ===== */
.services-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 170px 0 100px;
  color: var(--cream);
  overflow: hidden;
  background: var(--bg);
}
.services-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.services-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(13,26,18,.97) 0%, rgba(13,26,18,.78) 55%, rgba(13,26,18,.35) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(212,165,65,.18), transparent 60%);
}
.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.services-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--cream);
  font-weight: 500;
}
.services-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.services-hero p {
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  color: var(--cream-soft);
  max-width: 620px;
  margin-bottom: 38px;
  line-height: 1.7;
}

/* ===== NAVIGATION RAPIDE ===== */
.services-nav {
  background: var(--cream-deep);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
.services-nav-inner {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.services-nav-item {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(0,0,0,.06);
  transition: all .35s var(--ease);
}
.services-nav-item:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== SECTIONS DÉTAIL ===== */
.service-detail {
  background: var(--cream);
}
.service-detail--alt {
  background: var(--cream-soft);
}
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-detail-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.service-detail-visual:hover img {
  transform: scale(1.05);
}
.service-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,26,18,.35), transparent 55%);
  pointer-events: none;
}

.service-detail-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.service-detail-text h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  margin-bottom: 22px;
  font-weight: 500;
}
.service-detail-text h2 em {
  font-style: italic;
  color: var(--green);
}
.service-detail-text > p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 36px;
  max-width: 500px;
}

/* Features */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.service-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.03);
  transition: all .35s var(--ease);
}
.service-feature:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30,122,63,.2);
}
.service-feature-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,122,63,.14), rgba(30,122,63,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}
.service-feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
.service-feature p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
}

/* CTA group */
.service-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .service-detail-visual {
    aspect-ratio: 16 / 11;
    order: -1;
  }
  .services-hero {
    padding: 150px 0 80px;
    min-height: 60vh;
  }
}

@media (max-width: 560px) {
  .services-nav-item {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  .service-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .service-cta .btn {
    justify-content: center;
  }
}