/* ══════════════════════════════════════════════════════
       services.php — styles spécifiques à cette page.
       Le design system, la nav, le footer, le top-strip,
       les animations de base et les boutons communs sont
       définis dans /assets/css/global.css (chargé via head.php).
    ══════════════════════════════════════════════════════ */

/* ─── BREADCRUMB ─── */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #edeae2;
  padding: 12px 24px;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--mid);
}
.breadcrumb-inner a {
  color: var(--azure);
  text-decoration: none;
}
.breadcrumb-inner a:hover {
  text-decoration: underline;
}
.breadcrumb-sep {
  color: #cbd5e1;
}

/* ─── HERO SERVICES ─── */
.page-hero {
  background: #fff;
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 77, 143, 0.45) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.page-hero-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero-kicker::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: #000;
  margin-bottom: 20px;
}
.page-hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.page-hero h2 {
  font-size: clamp(1.25rem, 4.5vw, 2rem);
  color: #000;
  margin-bottom: 20px;
  margin-top: 20px;
}
.page-hero h2 em {
  color: var(--gold);
  font-style: italic;
}
.page-hero-desc {
  color: #000;
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.75;
}
.page-hero-stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 24px;
}
.page-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.phs {
  text-align: center;
}
.phs-n {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.phs-l {
  font-size: 0.75rem;
  color: var(--mid);
  margin-top: 4px;
}
.page-hero-cta {
  position: relative;
  min-width: 280px;
}
.page-hero-cta img {
  width: 450px;
  display: block;
  border-radius: 14px;
}
.page-hero-cta-box {
  position: absolute;
  top: -65px;
  left: -20px;
}
.page-hero-cta-box {
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  padding: 32px 28px;
  min-width: 280px;
  width: 300px;
  text-align: center;
}
.page-hero-cta-box h3 {
  font-family: var(--serif);
  color: #000;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.page-hero-cta-box p {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), #e8b84b);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(201, 168, 76, 0.5);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.25s,
    background 0.25s;
  font-size: 0.95rem;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* ─── SOMMAIRE ANCRES ─── */
.service-nav {
  background: #fff;
  border-bottom: 1px solid #e9e5db;
  padding: 0 24px;
  position: sticky;
  top: 65px;
  z-index: 90;
}
.service-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.service-nav-inner::-webkit-scrollbar {
  display: none;
}
.snav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.snav-link:hover,
.snav-link.active {
  color: var(--azure);
  border-bottom-color: var(--azure);
}

/* ─── DARK SECTION (IA) ─── */
.svc-section.dark {
  background: var(--ink);
}
.svc-section.dark .svc-h2 {
  color: #fff;
}
.svc-section.dark .svc-lead {
  color: rgba(255, 255, 255, 0.7);
}
.svc-section.dark .svc-body-text {
  color: rgba(255, 255, 255, 0.5);
}
.svc-section.dark .svc-checklist li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.svc-section.dark .svc-kpi {
  background: rgba(255, 255, 255, 0.05);
}
.svc-section.dark .svc-kpi .kn {
  color: var(--gold);
}
.svc-section.dark .svc-kpi .kl {
  color: rgba(255, 255, 255, 0.4);
}
.svc-section.dark .svc-tag {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-lt);
}
.svc-section.dark .svc-link {
  color: var(--gold);
}

/* ─── PROCESS INLINE ─── */
.inline-process {
  display: flex;
  gap: 0;
  margin-top: 32px;
  flex-wrap: wrap;
}
.ip-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 160px;
  padding: 16px;
  border-right: 1px solid #ede9df;
}
.ip-step:last-child {
  border-right: none;
}
.ip-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  flex-shrink: 0;
}
.ip-text h5 {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.ip-text p {
  font-size: 0.78rem;
  color: var(--mid);
}
.svc-section.dark .ip-step {
  border-right-color: rgba(255, 255, 255, 0.08);
}
.svc-section.dark .ip-num {
  background: rgba(201, 168, 76, 0.15);
}
.svc-section.dark .ip-text h5 {
  color: #fff;
}

/* ─── FAQ ─── */
.faq-section {
  background: var(--chalk);
  padding: 88px 24px;
}
.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}
.faq-inner .section-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.faq-inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #000;
  margin-bottom: 48px;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #000;
  gap: 16px;
}
.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 0.9rem;
  color: #000;
  line-height: 1.8;
}
.faq-question[aria-expanded="true"] + .faq-answer {
  display: block;
}

/* ─── CTA BAND ─── */
.cta-band {
  background: #fff;
  padding: 80px 24px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #000;
  margin-bottom: 16px;
}
.cta-band h2 em {
  color: var(--gold);
  font-style: italic;
}
.cta-band p {
  color: rgba(0, 0, 0, 0.6);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1rem;
}
.cta-band-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE (spécifique services) ─── */
@media (max-width: 1024px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
  .page-hero-cta-box {
    top: -30px;
    left: -16px;
    width: 200px;
    min-width: 150px;
    padding: 10px;
  }
  .page-hero-cta-box h3 {
    font-family: var(--serif);
    color: #000;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .page-hero-cta-box p {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
  }
  .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold), #e8b84b);
    color: var(--ink);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    transition:
      transform 0.25s,
      box-shadow 0.25s;
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.35);
  }
  .svc-header,
  .svc-header.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
  .svc-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .svc-kpi-row {
    grid-template-columns: 1fr;
  }
  .inline-process {
    flex-direction: column;
  }
  .ip-step {
    border-right: none;
    border-bottom: 1px solid #ede9df;
  }
  .page-hero-stats {
    gap: 24px;
  }
}
