/* =============================================================
   FaceHOOK — Services Page Styles
   Premium agency experience — Stripe / Linear / Framer inspired
   ============================================================= */

/* =============================================================
   SECTION 1 — HERO
   ============================================================= */
.sp-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--dark); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.sp-hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}

.sp-hero__orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
}
.sp-hero__orb--1 {
  width: 600px; height: 600px; top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(24,119,242,0.35), transparent 70%);
  animation: spOrbFloat 12s ease-in-out infinite alternate;
}
.sp-hero__orb--2 {
  width: 500px; height: 500px; bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(37,99,235,0.25), transparent 70%);
  animation: spOrbFloat 15s ease-in-out infinite alternate-reverse;
}
.sp-hero__orb--3 {
  width: 300px; height: 300px; top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  animation: spOrbFloat 10s ease-in-out infinite alternate;
}

@keyframes spOrbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.1); }
}

.sp-hero__grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(59,130,246,0.04) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(59,130,246,0.04) 0 1px, transparent 1px 60px);
  -webkit-mask: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 100%);
          mask: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 100%);
}

.sp-hero__inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 860px; margin-inline: auto;
}

.sp-hero__badges { margin-bottom: 32px; }

.sp-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 8px 20px; border-radius: 999px;
}
.sp-pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-light);
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
  animation: pulseDot 2s ease-in-out infinite;
}

.sp-hero__title {
  font-family: var(--font-title); font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.sp-hero__accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.sp-hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.7;
  color: var(--muted-light); max-width: 640px; margin-inline: auto;
  margin-bottom: 40px;
}

.sp-hero__cta {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-bottom: 56px;
}
.sp-hero__cta .btn { min-height: 56px; }

.sp-hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.sp-trust {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500; color: var(--muted-light);
}
.sp-trust svg { color: var(--blue-light); }


/* =============================================================
   SECTION 2 — STUDIO
   ============================================================= */
.sp-studio {
  position: relative; background: var(--dark); color: #fff; overflow: hidden;
  padding: 100px 0 120px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sp-studio__glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(24,119,242,0.2), transparent 70%);
  filter: blur(80px); pointer-events: none;
}

.kicker--dark {
  color: var(--blue-light); background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3);
}

.sp-studio__title {
  font-family: var(--font-title); font-weight: 800; color: #fff;
  font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.sp-grad-text {
  background: linear-gradient(135deg, #3B82F6, #93C5FD, #93C5FD);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.sp-studio__lead {
  font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.7;
  color: var(--muted-light); max-width: 680px; margin-inline: auto;
}

/* Video placeholder */
.sp-studio__video {
  margin: 56px auto 0; max-width: 960px;
}
.sp-studio__player {
  position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #0C1322 0%, #162040 50%, #0A1A38 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .3s ease, box-shadow .3s ease;
}
.sp-studio__player:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 40px 80px -20px rgba(24,119,242,0.3);
}
.sp-studio__play {
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(24,119,242,0.9); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 0 0 0 rgba(24,119,242,0.4);
  animation: spPlayPulse 2.5s ease-in-out infinite;
  position: relative; z-index: 1;
}
.sp-studio__player:hover .sp-studio__play {
  transform: scale(1.1); box-shadow: 0 0 40px rgba(24,119,242,0.6);
}
@keyframes spPlayPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24,119,242,0.4); }
  50%      { box-shadow: 0 0 0 20px rgba(24,119,242,0); }
}
.sp-studio__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 28px;
  background: linear-gradient(180deg, transparent 50%, rgba(8,12,22,0.7) 100%);
}
.sp-studio__overlay-text {
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

/* Formats tags */
.sp-studio__formats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 48px auto 0; max-width: 800px;
}
.sp-format {
  font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px; border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.sp-format:hover {
  background: rgba(24,119,242,0.15); color: #fff; border-color: rgba(59,130,246,0.4);
}

/* Feature cards */
.sp-studio__features {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin: 56px auto 0; max-width: 1000px;
}

.sp-feat {
  position: relative; padding: 28px 24px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color .3s ease, transform .35s ease, box-shadow .35s ease;
}
.sp-feat:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(24,119,242,0.3);
}

.sp-feat__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(24,119,242,0.14); color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sp-feat__icon svg { width: 24px; height: 24px; }

.sp-feat h4 {
  font-family: var(--font-title); font-weight: 700; color: #fff;
  font-size: 1.1rem; margin-bottom: 8px;
}
.sp-feat p { margin: 0; font-size: 0.9rem; color: var(--muted-light); line-height: 1.5; }

.sp-studio__cta {
  text-align: center; margin-top: 56px;
}


/* =============================================================
   SECTION 3 — EXPERTISES
   ============================================================= */
.sp-expertises { padding-block: 100px; }
.sp-expertises .section__head { margin-bottom: 64px; }

.sp-exp {
  position: relative; margin-bottom: 80px; padding: 48px 32px 44px; border-radius: 28px;
  background: var(--dark); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .4s ease;
}
.sp-exp:last-child { margin-bottom: 0; }
.sp-exp:hover { border-color: rgba(255,255,255,0.12); }

.sp-exp__accent {
  position: absolute; top: -80px; right: -80px; width: 300px; height: 300px;
  border-radius: 50%; filter: blur(100px); opacity: 0.2; pointer-events: none;
  transition: opacity .5s ease;
}
.sp-exp:hover .sp-exp__accent { opacity: 0.35; }
.sp-exp__accent--blue   { background: #1877F2; }
.sp-exp__accent--violet { background: #2563EB; }
.sp-exp__accent--green  { background: #10B981; }
.sp-exp__accent--amber  { background: #06B6D4; }

.sp-exp__header {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 36px;
}

.sp-exp__num {
  font-family: var(--font-title); font-weight: 800; font-size: 4rem;
  line-height: 1; opacity: 0.08; color: #fff;
  position: absolute; top: -12px; right: 0;
}

.sp-exp__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-light);
}

.sp-exp__title {
  font-family: var(--font-title); font-weight: 800; color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.15;
  letter-spacing: -0.02em;
}

.sp-exp__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}

/* Individual service cards */
.sp-svc {
  padding: 28px 24px; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: background .3s ease, border-color .3s ease, transform .35s ease;
}
.sp-svc:hover {
  background: rgba(255,255,255,0.08); transform: translateY(-3px);
}

.sp-svc__head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}

.sp-svc__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.sp-svc__icon svg { width: 24px; height: 24px; }

.sp-svc--blue .sp-svc__icon   { background: rgba(24,119,242,0.16); color: #93C5FD; }
.sp-svc--violet .sp-svc__icon { background: rgba(37,99,235,0.16); color: #93C5FD; }
.sp-svc--green .sp-svc__icon  { background: rgba(16,185,129,0.16);  color: #6EE7B7; }
.sp-svc--amber .sp-svc__icon  { background: rgba(6,182,212,0.16); color: #A5F3FC; }

.sp-svc--blue:hover   { border-color: rgba(24,119,242,0.35); }
.sp-svc--violet:hover { border-color: rgba(37,99,235,0.35); }
.sp-svc--green:hover  { border-color: rgba(16,185,129,0.35); }
.sp-svc--amber:hover  { border-color: rgba(6,182,212,0.35); }

.sp-svc__head h4 {
  font-family: var(--font-title); font-weight: 700; color: #fff;
  font-size: 1.15rem; margin: 0;
}

.sp-svc__list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
}
.sp-svc__list li {
  position: relative; padding-left: 24px; font-size: 0.9rem;
  color: var(--muted-light); line-height: 1.5;
}
.sp-svc__list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
}
.sp-svc--blue .sp-svc__list li::before   { background: #3B82F6; }
.sp-svc--violet .sp-svc__list li::before { background: #60A5FA; }
.sp-svc--green .sp-svc__list li::before  { background: #34D399; }
.sp-svc--amber .sp-svc__list li::before  { background: #67E8F9; }


/* =============================================================
   SECTION 4 — METHOD / TIMELINE
   ============================================================= */
.sp-method { padding-block: 100px; }

.sp-timeline {
  position: relative; max-width: 700px; margin-inline: auto;
  padding-left: 40px;
}

.sp-timeline__line {
  position: absolute; left: 18px; top: 0; bottom: 0; width: 2px;
  background: rgba(255,255,255,0.08);
}
.sp-timeline__progress {
  width: 100%; height: 0%; background: var(--grad);
  border-radius: 2px; transition: height .6s ease;
}

.sp-step {
  position: relative; padding-bottom: 52px;
}
.sp-step:last-child { padding-bottom: 0; }

.sp-step__dot {
  position: absolute; left: -40px; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--dark-2); border: 2px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  z-index: 1; transition: border-color .4s ease, box-shadow .4s ease;
}
.sp-step.visible .sp-step__dot {
  border-color: var(--blue); box-shadow: 0 0 20px rgba(24,119,242,0.4);
}

.sp-step__num {
  font-family: var(--font-title); font-weight: 800; font-size: 0.85rem;
  color: var(--muted-light); transition: color .4s ease;
}
.sp-step.visible .sp-step__num { color: var(--blue-light); }

.sp-step__content {
  padding-top: 2px;
}
.sp-step__title {
  font-family: var(--font-title); font-weight: 700; color: #fff;
  font-size: 1.25rem; margin-bottom: 10px;
}
.sp-step p {
  margin: 0; font-size: 0.95rem; color: var(--muted-light); line-height: 1.6;
  max-width: 520px;
}


/* =============================================================
   SECTION 5 — RESULTS / COUNTERS
   ============================================================= */
.sp-results { padding-block: 100px; }

.sp-counters {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  max-width: 900px; margin-inline: auto;
}

.sp-counter {
  text-align: center; padding: 40px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8,33,77,0.4), rgba(4,18,46,0.4));
  border: 1px solid rgba(59,130,246,0.14);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.sp-counter:hover {
  transform: translateY(-4px); border-color: var(--blue);
  box-shadow: 0 20px 50px -16px rgba(24,119,242,0.2);
}

.sp-counter__num {
  display: block; font-family: var(--font-title); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sp-counter__label {
  display: block; margin-top: 12px; font-size: 0.9rem; font-weight: 500;
  color: var(--muted-light);
}


/* =============================================================
   SECTION 6 — FAQ
   ============================================================= */
.sp-faq { padding-block: 100px; }

.sp-accordion { display: grid; gap: 12px; }

.sp-acc {
  border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: border-color .3s ease, background .3s ease;
}
.sp-acc[open] { border-color: rgba(59,130,246,0.3); background: rgba(255,255,255,0.06); }

.sp-acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem; color: #fff;
  transition: color .2s ease;
}
.sp-acc__q::-webkit-details-marker { display: none; }
.sp-acc__q::marker { content: ""; }
.sp-acc__q:hover { color: var(--blue-light); }

.sp-acc__chevron {
  flex-shrink: 0; color: var(--muted-light);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.sp-acc[open] .sp-acc__chevron { transform: rotate(180deg); }

.sp-acc__a {
  padding: 0 24px 22px;
  animation: spAccOpen .35s ease;
}
.sp-acc__a p {
  margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--muted-light);
}

@keyframes spAccOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =============================================================
   SECTION 7 — FINAL CTA
   ============================================================= */
.sp-final {
  position: relative; overflow: hidden;
  padding: 120px 0 140px;
  background: linear-gradient(180deg, var(--dark) 0%, #0A1A38 50%, var(--dark) 100%);
}

.sp-final__bg { position: absolute; inset: 0; pointer-events: none; }
.sp-final__orb { position: absolute; border-radius: 50%; filter: blur(120px); }
.sp-final__orb--1 {
  width: 500px; height: 500px; top: -100px; left: 20%;
  background: radial-gradient(circle, rgba(24,119,242,0.3), transparent 70%);
}
.sp-final__orb--2 {
  width: 400px; height: 400px; bottom: -100px; right: 20%;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent 70%);
}

.sp-final__inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 800px; margin-inline: auto;
}

.sp-final__title {
  font-family: var(--font-title); font-weight: 800; color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.12;
  letter-spacing: -0.03em; margin-bottom: 20px;
}

.sp-final__sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted-light);
  line-height: 1.6; margin-bottom: 40px;
}

.sp-final__buttons {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}


/* =============================================================
   SHARED UTILS
   ============================================================= */
.btn--lg { padding: 16px 30px; font-size: 1rem; border-radius: 14px; }


/* =============================================================
   RESPONSIVE
   ============================================================= */

/* Tablet >= 768px */
@media (min-width: 768px) {
  .sp-hero { padding-top: calc(var(--header-h) + 80px); padding-bottom: 100px; }
  .sp-hero__cta { flex-direction: row; align-items: stretch; justify-content: center; }
  .sp-final__buttons { flex-direction: row; justify-content: center; }

  .sp-studio__features { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .sp-exp__header { flex-direction: row; align-items: center; gap: 24px; }
  .sp-exp__grid { grid-template-columns: repeat(2, 1fr); }
  .sp-exp { padding: 52px 40px 48px; }

  .sp-counters { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* Desktop >= 1280px */
@media (min-width: 1280px) {
  .sp-hero__title { font-size: 3.6rem; }

  .sp-studio__features { grid-template-columns: repeat(4, 1fr); }

  .sp-exp { padding: 60px 56px 52px; margin-bottom: 48px; }
  .sp-exp__num { font-size: 5rem; top: -16px; }

  .sp-timeline { padding-left: 60px; }
  .sp-step__dot { left: -60px; width: 42px; height: 42px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .sp-hero__orb, .sp-studio__play, .sp-pill__dot { animation: none !important; }
  .sp-acc__a { animation: none !important; }
  .sp-timeline__progress { transition: none !important; }
}

/* =============================================================
   THÈME CLAIR — page Services
   Les sections « signature » (hero, studio, final) restent sombres ;
   les sections claires reçoivent des textes foncés lisibles.
   ============================================================= */
[data-theme="light"] .sp-hero,
[data-theme="light"] .sp-studio,
[data-theme="light"] .sp-final { background: #020817; }

/* Méthode (timeline) : titres d'étape sur fond clair */
[data-theme="light"] .sp-step__title { color: #0A2540; }
[data-theme="light"] .sp-step p { color: #475569; }

/* Résultats : libellés lisibles */
[data-theme="light"] .sp-counter__label { color: #475569; }

/* En-têtes de section claires */
[data-theme="light"] .sp-expertises .section__title,
[data-theme="light"] .sp-results .section__title { color: #0A2540; }
