/* ======================================
   PRESTARENA — Sous-pages services
   ====================================== */

body.subpage {
  padding-top: 72px; /* espace navbar fixe */
}

/* ---------- HERO SOUS-PAGE ---------- */
.subpage-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 32px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.subpage-back:hover { opacity: 1; }

.subpage-hero-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}

.subpage-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.subpage-hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.subpage-hero-desc {
  font-size: 1.125rem;
  color: var(--text-on-dark);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ---------- PHOTO BANNER ---------- */
.subpage-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  overflow: hidden;
}

.subpage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.subpage-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 24, 41, 0.72) 0%,
    rgba(12, 24, 41, 0.3) 50%,
    rgba(12, 24, 41, 0.08) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 40px 48px;
}

.subpage-photo-overlay p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: var(--white);
  max-width: 560px;
  line-height: 1.5;
  opacity: 0.92;
}

.subpage-photo-overlay p::before {
  content: '"';
  color: var(--gold);
}
.subpage-photo-overlay p::after {
  content: '"';
  color: var(--gold);
}

@media (max-width: 768px) {
  .subpage-photo {
    aspect-ratio: 16 / 9;
  }
  .subpage-photo-overlay {
    padding: 20px 24px;
    background: linear-gradient(
      to top,
      rgba(12, 24, 41, 0.75) 0%,
      rgba(12, 24, 41, 0.2) 60%,
      transparent 100%
    );
  }
}

/* ---------- CONTENU DÉTAIL ---------- */
.subpage-content {
  padding: 80px 0;
  background: var(--cream);
}

.service-detail-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 48px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(12, 24, 41, 0.08);
  align-items: start;
}

.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-block.reverse {
  background: rgba(201, 168, 76, 0.03);
  margin: 0 -24px;
  padding: 56px 24px;
  border-radius: var(--radius);
  border-bottom: none;
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.service-detail-body h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-detail-intro {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.75;
}

.service-detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.sdf-item {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(12, 24, 41, 0.06);
  box-shadow: var(--shadow);
}

.sdf-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.sdf-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ---------- FAQ ---------- */
.subpage-faq {
  padding: 80px 0;
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(12, 24, 41, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(201, 168, 76, 0.04);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ---------- CTA SECTION ---------- */
.subpage-cta {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
}

.subpage-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.subpage-cta p {
  color: var(--text-on-dark);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .subpage-hero { padding: 48px 0 64px; }

  .service-detail-block,
  .service-detail-block.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
    margin: 0;
  }

  .service-detail-icon {
    width: 52px;
    height: 52px;
  }

  .service-detail-features {
    grid-template-columns: 1fr;
  }
}
