/* ==========================================
   SERVME - PAGES PUBLIC DESKTOP PRICING
   Pricing page desktop - DESKTOP uniquement
   Extrait de pricing.css (hors @media mobile)
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family) !important;
}

body {
  /* font-family hérite de design-system.css via var(--font-family) */
  background: #ffffff;
  color: #222222;
}

/* Hero styles moved to sections/desktop/hero-pages.css */
/* Header styles moved to layout/desktop/header.css */

/* Main content */
.pricing-main {
  padding: 80px 40px;
  background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Toggle Mensuel/Annuel */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 1rem;
  font-weight: 600;
  color: #666666;
}

.toggle-label.active {
  color: #FF385C;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: #E0E0E0;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: #FF385C;
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(28px);
}

.savings-badge {
  background: #4CAF50;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Tabs */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-tab {
  padding: 14px 32px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #FF385C;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #FF385C;
}

.pricing-tab.active {
  background: #FF385C;
  color: white;
}

.pricing-tab:hover {
  transform: translateY(-2px);
}

/* Plans grid */
.pricing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.pricing-card.popular {
  border: 2px solid #FF385C;
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255,56,92,0.15);
}

.popular-badge {
  background: #FF385C;
  color: white;
  text-align: center;
  padding: 6px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.card-header {
  text-align: center;
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 8px;
}

.card-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FF385C;
  margin-bottom: 8px;
}

.card-price-unit {
  font-size: 1rem;
  font-weight: 400;
  color: #666666;
}

.card-subtitle {
  color: #666666;
  font-size: 0.9rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.card-features li {
  padding: 12px 0;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-icon {
  font-size: 1.2rem;
}

.feature-icon.check {
  color: #4CAF50;
}

.feature-icon.cross {
  color: #CCCCCC;
}

.card-features li.disabled {
  color: #CCCCCC;
}

.card-action {
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 16px;
}

.card-action.primary {
  background: #FF385C;
  color: white;
  border: 2px solid #FF385C;
}

.card-action.primary:hover {
  background: #E6325A;
  transform: translateY(-2px);
}

.card-action.secondary {
  background: transparent;
  color: #FF385C;
  border: 2px solid #FF385C;
}

.card-action.secondary:hover {
  background: rgba(255,56,92,0.05);
  transform: translateY(-2px);
}

/* ================================================
   RESPONSIVE MOBILE
   ================================================ */

@media (max-width: 768px) {
  .pricing-main {
    padding: 40px 20px;
  }
  
  .pricing-plans {
    grid-template-columns: 1fr; /* 1 colonne en mobile */
    gap: 24px;
  }
  
  .pricing-card {
    padding: 24px; /* Padding réduit pour mobile */
  }
}

