/**
 * Doctiva - Page Services (Landing Premium)
 */

/* === RESET DU WRAPPER THÈME PARENT === */
.page-template-page-doctiva-services .site-main,
.page-template-page-doctiva-pro .site-main,
.page-template-page-doctiva-media .site-main {
  padding: 0 !important;
  margin: 0 !important;
}

.page-template-page-doctiva-services .site-content,
.page-template-page-doctiva-pro .site-content,
.page-template-page-doctiva-media .site-content {
  padding: 0 !important;
}

/* === GLOBAL === */
.services-page,
.doctiva-pro-page,
.doctiva-media-page {
  background: #f8fafc;
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* === HERO === */
.services-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
  color: #fff;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #DCE8FF;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-intro {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 550px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* === BOUTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #2563EB;
  color: #fff;
  border: 1px solid #2563EB;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-large {
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

/* === SECTION PILIERS === */
.services-pillars {
  padding: 80px 0;
  background: #fff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: #fff;
  border: 1px solid #E7EDF5;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(2, 6, 23, .06);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(2, 6, 23, .12);
  border-color: #2563EB;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  background: #F6F9FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
}

.pillar-description {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 16px;
}

.pillar-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pillar-benefits li {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.pillar-benefits li:last-child {
  margin-bottom: 0;
}

.pillar-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563EB;
  font-weight: 700;
}

.pillar-link {
  color: #2563EB;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* === SECTION POURQUOI === */
.services-why {
  padding: 80px 0;
  background: #f8fafc;
}

.why-intro {
  font-size: 17px;
  color: #475569;
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.why-list li {
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
  padding: 16px 20px 16px 56px;
  background: #fff;
  border: 1px solid #E7EDF5;
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .04);
}

.why-list li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 20px;
  color: #2563EB;
  font-weight: 700;
}

.why-list li:last-child {
  margin-bottom: 0;
}

/* === SECTION COMMENT ÇA MARCHE === */
.services-how {
  padding: 80px 0;
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: #fff;
  border: 2px solid #E7EDF5;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: #2563EB;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  line-height: 1.3;
}

.step-description {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* === CTA FINAL === */
.services-cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
  color: #fff;
}

.cta-final-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.cta-final-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 32px;
}

.cta-final-card .btn-primary {
  background: #2563EB;
  color: #fff;
}

.cta-final-card .btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    display: none; /* Cache l'image sur mobile pour simplicité */
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 60px 0;
  }
  
  .services-pillars,
  .services-why,
  .services-how,
  .services-cta-final {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .pillar-card {
    padding: 28px 24px;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .services-hero {
    padding: 40px 0;
  }
  
  .services-pillars,
  .services-why,
  .services-how,
  .services-cta-final {
    padding: 48px 0;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-intro {
    font-size: 16px;
  }
  
  .pillar-card {
    padding: 24px 20px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .why-list li {
    padding: 14px 18px 14px 48px;
  }
}

