/* ============================================
   SERVICE PAGES - SXM SUCCESS TRAINING
   ============================================ */

.service-page {
  padding-top: 80px;
}

/* Hero Section */
.service-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #111827 0%, #0E1116 100%);
}

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

.service-label {
  display: inline-block;
  background: rgba(244,124,97,0.15);
  color: #f47c61;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.service-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F9FAFB;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.service-intro {
  font-size: 1.1rem;
  color: #9CA3AF;
  line-height: 1.7;
  margin: 0;
}

.service-hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a2e 0%, #0d1117 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 200px;
  max-height: 320px;
}

/* Effet rayonnement signature vert/orange en bas */
.service-hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(
    to top,
    rgba(244, 124, 97, 0.25) 0%,
    rgba(16, 185, 129, 0.15) 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.service-hero-image img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 0;
  filter: drop-shadow(0 4px 20px rgba(244, 124, 97, 0.2));
}

.image-credit {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}

/* Content Section */
.service-content {
  padding: 60px 0 80px;
  background: #0E1116;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.service-main h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F9FAFB;
  margin: 0 0 1.5rem 0;
}

.service-main h2:not(:first-child) {
  margin-top: 3rem;
}

.service-main p {
  color: #9CA3AF;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Feature Cards */
.service-feature {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.service-feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f47c61;
  margin: 0 0 0.75rem 0;
}

.service-feature p {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA Box */
.service-cta {
  background: linear-gradient(135deg, rgba(244,124,97,0.1) 0%, rgba(244,124,97,0.05) 100%);
  border: 1px solid rgba(244,124,97,0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.service-cta h3 {
  font-size: 1.25rem;
  color: #F9FAFB;
  margin: 0 0 0.5rem 0;
}

.service-cta p {
  margin-bottom: 1.5rem;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #F9FAFB;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card li {
  padding: 0.5rem 0;
  color: #9CA3AF;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card li::before {
  content: "✓";
  color: #f47c61;
  font-weight: bold;
}

.sidebar-links li::before {
  content: "→";
}

.sidebar-links a {
  color: #9CA3AF;
  transition: color 0.2s;
}

.sidebar-links a:hover {
  color: #f47c61;
}

/* Responsive */
@media (max-width: 900px) {
  .service-hero .container {
    grid-template-columns: 1fr;
  }
  
  .service-hero-image {
    order: -1;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .service-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .service-hero {
    padding: 40px 0 30px;
  }
  
  .service-hero-image {
    min-height: 150px;
    max-height: 220px;
    padding: 1.5rem;
  }
  
  .service-hero-image img {
    max-height: 160px;
  }
  
  .service-hero-image::after {
    height: 50px;
  }
  
  .service-content {
    padding: 40px 0 60px;
  }
}
