/* ==========================================
   SERVICES.CSS - BubbleWeb
   Pages services (prestation, backoffice, SEO, visuel)
   Palette chaude cohérente avec le nouveau design
   ========================================== */

/* ===== PAGE HERO (compact) ===== */
.page-hero {
  position: relative;
  padding: calc(7.5rem + var(--space-xl)) 0 var(--space-lg);
  text-align: center;
}

.page-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-warm-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.page-hero .badge-emoji {
  font-size: 1.1rem;
  animation: wave 2.5s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-10deg); }
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.page-hero .gradient-text {
  background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-amber, #FBBF24) 50%, var(--color-warm-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.page-hero .hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.page-hero .hero-ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero .btn {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.page-hero .btn-primary {
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  color: white;
  border: none;
  box-shadow: 0 0 30px var(--color-warm-glow);
}

.page-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--color-warm-glow), var(--shadow-md);
}

.page-hero .btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.page-hero .btn-secondary:hover {
  border-color: var(--color-warm);
  color: var(--color-warm);
  background: rgba(34, 211, 238, 0.05);
}


/* ===== SECTION STYLES ===== */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-alt {
  background: var(--color-bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 550px;
  margin: 0 auto;
}


/* ===== OFFERS GRID ===== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

/* Offer Card */
.offer-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.offer-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: var(--shadow-lg), 0 0 40px var(--color-warm-glow);
  transform: translateY(-4px);
}

.offer-card-alt {
  border-color: rgba(34, 211, 238, 0.25);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
}

/* Offer Header */
.offer-header {
  margin-bottom: var(--space-md);
}

.offer-label {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-full);
  color: var(--color-warm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.offer-card-alt .offer-label {
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  border: none;
  color: white;
}

.offer-header h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.offer-pitch {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* Offer Price */
.offer-price {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-md);
}

.price-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-warm);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-detail {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Offer Includes */
.offer-includes {
  margin-bottom: var(--space-md);
  flex: 1;
}

.offer-includes h4,
.offer-extras h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.offer-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.offer-includes li svg {
  flex-shrink: 0;
  color: var(--color-warm);
  margin-top: 0.1rem;
}

/* Offer Extras */
.offer-extras {
  padding: var(--space-sm);
  background: rgba(34, 211, 238, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(34, 211, 238, 0.1);
}

.offer-extras ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-extras li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
}

/* Offer CTA */
.offer-cta {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 0 25px var(--color-warm-glow);
}

.offer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--color-warm-glow), var(--shadow-sm);
}


/* ===== PROCESS TIMELINE ===== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Connecting line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-warm), var(--color-amber, #FBBF24));
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 0 25px var(--color-warm-glow);
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}


/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.faq-item[open] {
  border-color: var(--color-warm);
  box-shadow: 0 0 25px var(--color-warm-glow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question span {
  flex: 1;
  padding-right: var(--space-sm);
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-warm);
}

.faq-answer {
  padding: 0 var(--space-md) var(--space-md);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}


/* ===== FINAL CTA ===== */
.final-cta {
  padding: var(--space-xl) 0;
}

.final-cta .cta-content {
  text-align: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(59, 130, 246, 0.08) 50%, rgba(139, 92, 246, 0.06) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.final-cta .cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  position: relative;
}

.final-cta p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  position: relative;
}

.btn-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 0 30px var(--color-warm-glow);
  position: relative;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px var(--color-warm-glow), var(--shadow-md);
}


/* ===== FEATURES GRID (pour autres pages services) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--color-warm-glow);
}

.feature-emoji {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
  filter: drop-shadow(0 0 8px var(--color-warm-glow));
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}


/* ===== PRICING TABLE (pour pages avec tarifs multiples) ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--color-warm-glow);
}

.pricing-card.featured {
  border-color: var(--color-warm);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.pricing-card.featured::before {
  content: '⭐ Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.pricing-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-warm);
}

.pricing-header .price-suffix {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-warm);
  font-weight: 700;
}

.pricing-cta {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 0 20px var(--color-warm-glow);
}

.pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--color-warm-glow);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .process-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-md);
  }
  
  .step-number {
    margin: 0;
    flex-shrink: 0;
  }
  
  .step-content {
    padding-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: calc(4.5rem + var(--space-lg)) 0 var(--space-md);
  }
  
  .page-hero .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .page-hero .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .offer-card {
    padding: var(--space-md);
  }
  
  .price-amount {
    font-size: 1.75rem;
  }
  
  .final-cta .cta-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .btn-large {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}


/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .page-hero .badge-emoji,
  .page-hero .gradient-text,
  .offer-card,
  .offer-cta,
  .faq-item,
  .faq-question svg,
  .btn-large,
  .feature-card,
  .pricing-card {
    animation: none;
    transition: none;
  }
}