/**
 * SERVICES-V2.CSS — Page test coaching
 * Base identique à services.css + sections problème, audit, grid 4 col
 */

/* ==========================================
   BASE
   ========================================== */
body {
  background: #0a0e13;
}

/* ==========================================
   1. HERO
   ========================================== */
.sv-hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, #0a0e13 0%, #12161f 100%);
  position: relative;
  overflow: hidden;
}

.sv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(43, 127, 217, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(29, 211, 199, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.sv-hero__content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.sv-hero__title {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.sv-hero__title .accent {
  background: linear-gradient(135deg, #2b7fd9 0%, #1dd3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sv-hero__subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.sv-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   SECTIONS COMMUNES
   ========================================== */
.sv-section {
  padding: 100px 0;
  position: relative;
}

.sv-section:nth-child(odd) {
  background: #0a0e13;
}

.sv-section:nth-child(even) {
  background: linear-gradient(180deg, #0d1116 0%, #10141a 100%);
}

.sv-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.sv-section__header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #2b7fd9 0%, #1dd3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sv-section__header p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================
   2. LE PROBLÈME
   ========================================== */
.sv-problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.sv-problem__card {
  padding: 2rem;
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.sv-problem__card:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}

.sv-problem__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.sv-problem__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sv-problem__card p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.sv-problem__transition {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1dd3c7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   3. PRICING (pyramide inversée)
   ========================================== */
.sv-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.sv-pricing__solo {
  max-width: 480px;
  margin: 0 auto;
}

.sv-pricing__solo .sv-pricing__card--featured {
  transform: none;
}

.sv-pricing__solo .sv-pricing__card--featured:hover {
  transform: translateY(-6px);
}

.sv-pricing__card {
  position: relative;
  background: rgba(15, 20, 25, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sv-pricing__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sv-pricing__card--featured {
  border-color: rgba(43, 127, 217, 0.5);
  background: rgba(43, 127, 217, 0.08);
  transform: scale(1.03);
}

.sv-pricing__card--featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.sv-pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1.25rem;
  background: linear-gradient(135deg, #2b7fd9, #1dd3c7);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
}

.sv-pricing__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.sv-pricing__head h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.sv-pricing__target {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.sv-pricing__price {
  text-align: center;
  padding: 1.25rem 0;
  margin-bottom: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-pricing__amount {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2b7fd9 0%, #1dd3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.sv-pricing__unit {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 0.25rem;
}

.sv-pricing__setup {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1.5rem;
}

.sv-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.sv-pricing__features li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.85);
}

.sv-pricing__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.sv-pricing__features li:first-child {
  padding-left: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sv-pricing__features li:first-child::before {
  display: none;
}

/* Vitrine = dernier card, masquer son "—" label */
.sv-pricing__card:last-child .sv-pricing__features li:first-child {
  display: none;
}

.sv-pricing__card .btn {
  width: 100%;
  justify-content: center;
}

.sv-pricing__note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   4. TOUT EST INCLUS
   ========================================== */
.sv-included__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.sv-included__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(15, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.sv-included__item:hover {
  background: rgba(43, 127, 217, 0.06);
  border-color: rgba(43, 127, 217, 0.25);
}

.sv-included__icon {
  flex-shrink: 0;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
}

.sv-included__item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.sv-included__item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ==========================================
   5. AUDIT & ACCOMPAGNEMENT
   ========================================== */
.sv-audit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  align-items: start;
}

.sv-audit__card {
  padding: 2.5rem;
  background: rgba(15, 20, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sv-audit__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sv-audit__card--featured {
  border-color: rgba(43, 127, 217, 0.5);
  background: rgba(43, 127, 217, 0.08);
}

.sv-audit__label {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1dd3c7;
  border: 1px solid rgba(29, 211, 199, 0.3);
  border-radius: 50px;
  background: rgba(29, 211, 199, 0.08);
  margin-bottom: 1.25rem;
}

.sv-audit__card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sv-audit__price {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2b7fd9 0%, #1dd3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1.5rem;
}

.sv-audit__card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.sv-audit__card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.8);
}

.sv-audit__card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.sv-audit__card .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   6. DIVIDER — TRANSITION SUR MESURE
   ========================================== */
.sv-divider {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a0e13 0%, #111820 50%, #0a0e13 100%);
  position: relative;
  overflow: hidden;
}

.sv-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(91, 79, 184, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.sv-divider__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.sv-divider__label {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b4fb8;
  border: 1px solid rgba(91, 79, 184, 0.3);
  border-radius: 50px;
  background: rgba(91, 79, 184, 0.08);
}

.sv-divider__title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #5b4fb8 0%, #1dd3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sv-divider__text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ==========================================
   SUR MESURE — 4 colonnes
   ========================================== */
.sv-custom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.sv-custom__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
}

.sv-custom__card {
  padding: 2rem;
  background: rgba(15, 20, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sv-custom__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sv-custom__card--featured {
  border-color: rgba(91, 79, 184, 0.5);
  background: rgba(91, 79, 184, 0.08);
}

.sv-custom__icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 1rem;
}

.sv-custom__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sv-custom__card > p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1.25rem;
}

.sv-custom__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.sv-custom__list li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.sv-custom__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #5b4fb8;
  font-weight: 700;
}

.sv-custom__card .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   FAQ
   ========================================== */
.sv-faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sv-faq__item {
  background: rgba(15, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sv-faq__item[open] {
  border-color: rgba(43, 127, 217, 0.3);
  background: rgba(43, 127, 217, 0.06);
}

.sv-faq__question {
  padding: 1.25rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s ease;
}

.sv-faq__question::-webkit-details-marker {
  display: none;
}

.sv-faq__question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.sv-faq__item[open] .sv-faq__question::after {
  content: '\2212';
  color: #1dd3c7;
}

.sv-faq__question:hover {
  color: #1dd3c7;
}

.sv-faq__answer {
  padding: 0 1.75rem 1.5rem;
}

.sv-faq__answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ==========================================
   CTA FINAL
   ========================================== */
.sv-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #2b7fd9 0%, #5b4fb8 100%);
  position: relative;
  overflow: hidden;
}

.sv-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.sv-cta__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.sv-cta__content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.sv-cta__content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ==========================================
   BOUTONS (overrides theme dark)
   ========================================== */
.sv-hero .btn-secondary,
.sv-section .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.sv-hero .btn-secondary:hover,
.sv-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .sv-hero__title {
    font-size: 2.75rem;
  }

  .sv-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .sv-pricing__card--featured {
    transform: none;
  }

  .sv-pricing__card--featured:hover {
    transform: translateY(-6px);
  }

  .sv-custom__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-audit__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .sv-hero {
    padding: 120px 0 80px;
  }

  .sv-hero__title {
    font-size: 2.25rem;
  }

  .sv-hero__subtitle {
    font-size: 1.1rem;
  }

  .sv-section__header h2 {
    font-size: 2rem;
  }

  .sv-section {
    padding: 70px 0;
  }

  .sv-problem__grid {
    grid-template-columns: 1fr;
  }

  .sv-included__grid {
    grid-template-columns: 1fr;
  }

  .sv-custom__grid,
  .sv-custom__grid--4 {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .sv-cta__content h2 {
    font-size: 2rem;
  }

  .sv-divider__title {
    font-size: 2rem;
  }

  .sv-faq__question {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  .sv-faq__answer {
    padding: 0 1.25rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .sv-hero__title {
    font-size: 1.875rem;
  }

  .sv-section__header h2 {
    font-size: 1.75rem;
  }

  .sv-hero__ctas {
    flex-direction: column;
  }

  .sv-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .sv-pricing__card {
    padding: 2rem 1.5rem;
  }

  .sv-audit__card {
    padding: 2rem 1.5rem;
  }
}
