/* ==========================================================================
   COMPONENTS - IPTV FRANCE
   Composants UI : Pricing, Bundle Builder, Accordéons, Trust, WhatsApp, etc.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION & MOCKUP
   -------------------------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse-green 2s infinite;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  max-width: 950px;
  margin: 0 auto 1.5rem;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust-item svg {
  color: var(--success);
  width: 16px;
  height: 16px;
}

/* Mockup Stream Hero */
.hero-mockup-container {
  margin-top: 3.5rem;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-mockup-frame {
  background: linear-gradient(180deg, rgba(30, 41, 69, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(20px);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }

.mockup-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.mockup-channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mockup-channel-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.mockup-channel-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-primary);
}

.mockup-channel-meta {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   2. CARTES D'ABONNEMENTS (PRICING CARDS)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md), 0 0 30px rgba(99, 102, 241, 0.15);
}

/* Plan Recommandé (12 Mois + 3 Mois) */
.pricing-card.featured {
  background: linear-gradient(180deg, #182238 0%, #111827 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 12px 36px rgba(251, 191, 36, 0.18), 0 0 20px rgba(251, 191, 36, 0.15);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-plan-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.pricing-plan-tagline {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.pricing-price-wrapper {
  margin: 1.25rem 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-currency {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.price-amount {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.price-monthly-equiv {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
}

.pricing-bonus-callout {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fbbf24;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  color: var(--success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-delivery-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   3. BUILD-A-BUNDLE INTERACTIVE MODULE (6 SÉLECTIONS)
   -------------------------------------------------------------------------- */
.bundle-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.bundle-progress-wrapper {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.bundle-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.bundle-counter-text {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.bundle-counter-count {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--primary-light);
}

.bundle-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bundle-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.bundle-progress-bar-fill.complete {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.bundle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.bundle-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-fast);
  user-select: none;
}

.bundle-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.bundle-card.selected {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.bundle-checkbox {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-xs);
  border: 2px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.bundle-card.selected .bundle-checkbox {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #ffffff;
}

.bundle-checkbox svg {
  width: 14px;
  height: 14px;
  display: none;
}

.bundle-card.selected .bundle-checkbox svg {
  display: block;
}

.bundle-card-info {
  flex-grow: 1;
}

.bundle-card-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.bundle-card-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.bundle-card-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.bundle-footer-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.bundle-status-message {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   4. TABLEAU COMPARATIF TECHNIQUE (COMPARISON TABLE)
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

.comparison-table th, 
.comparison-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: rgba(11, 15, 25, 0.9);
  color: var(--text-primary);
  font-weight: 700;
}

.comparison-table th.col-featured {
  background: rgba(99, 102, 241, 0.15);
  border-left: 1px solid var(--border-active);
  border-right: 1px solid var(--border-active);
}

.comparison-table td.col-featured {
  background: rgba(99, 102, 241, 0.05);
  border-left: 1px solid var(--border-active);
  border-right: 1px solid var(--border-active);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check-icon {
  color: var(--success);
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   5. FOIRE AUX QUESTIONS (FAQ ACCORDION)
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.open {
  border-color: var(--border-active);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   6. SECTION CONFIANCE & RÉASSURANCE (TRUST SECTION)
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition-normal);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.trust-icon-box svg {
  width: 24px;
  height: 24px;
}

.trust-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
}

.trust-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. BOUTON WHATSAPP FLOTTANT PERSISTANT
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   7. BOUTON WHATSAPP FLOTTANT PERSISTANT (Positionnement Adaptatif Mobile/Desktop)
   -------------------------------------------------------------------------- */
.whatsapp-floating {
  position: fixed;
  /* Sur mobile : positionné au-dessus de la barre sticky (75px + 14px) */
  bottom: calc(75px + 14px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  z-index: 995;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  /* Footprint compact sur mobile (cercle élégant sans texte encombrant) */
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 15px rgba(37, 211, 102, 0.2);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.whatsapp-floating span {
  display: none; /* Masqué sur petit mobile pour ne jamais masquer les cartes ou boutons */
}

.whatsapp-floating svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-floating:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Sur tablette / écran moyen (>= 640px) : format pilule compacte avec texte */
@media (min-width: 640px) {
  .whatsapp-floating {
    width: auto;
    height: auto;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-full);
    right: 20px;
  }
  .whatsapp-floating span {
    display: inline;
    font-size: var(--text-xs);
    font-weight: 700;
  }
  .whatsapp-floating svg {
    width: 22px;
    height: 22px;
  }
}

/* Sur Desktop (>= 1024px) : barre sticky masquée, bouton calé à bottom: 24px */
@media (min-width: 1024px) {
  .whatsapp-floating {
    bottom: 24px;
    right: 24px;
    padding: 0.75rem 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   8. BARRE STICKY MOBILE CTA (Bas d'écran sur mobile)
   -------------------------------------------------------------------------- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(99, 102, 241, 0.35);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 990;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-sticky-plan {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-price {
  font-size: var(--text-sm);
  font-weight: 800;
  color: #fbbf24;
}

/* --------------------------------------------------------------------------
   9. BLOG & ARTICLES
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  color: var(--text-dim);
}

.blog-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.blog-excerpt {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.article-callout {
  background: rgba(99, 102, 241, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

/* Media Queries Responsives Composants */
@media (min-width: 640px) {
  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bundle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mobile-sticky-cta {
    display: none;
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   8. SWITCH MULTI-ÉCRANS (SCREEN SWITCHER)
   -------------------------------------------------------------------------- */
.pricing-screen-switcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2.5rem;
  max-width: 780px;
}

.screen-switch-pills {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 6px;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(16px);
  -webkit-overflow-scrolling: touch;
}

.screen-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen-switch-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.screen-switch-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4), 0 0 12px rgba(56, 189, 248, 0.2);
}

.screen-btn-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.screen-switch-desc {
  margin-top: 1rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.25rem;
  display: inline-flex;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.pricing-screen-note {
  margin-top: 0.35rem;
}

.price-updated-anim {
  animation: pricePulse 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pricePulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.04); opacity: 1; color: var(--accent-cyan); }
  100% { transform: scale(1); opacity: 1; }
}

/* Badge colors */
.badge-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* --------------------------------------------------------------------------
   9. VUE TARIFICATION SUR-MESURE (CUSTOM VIEW)
   -------------------------------------------------------------------------- */
#pricing-custom-view {
  max-width: 900px;
  margin: 0 auto;
}

.custom-pricing-card {
  background: linear-gradient(180deg, #131d33 0%, var(--bg-card) 100%);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.custom-pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.custom-pricing-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  margin: 0.75rem 0 0.5rem;
}

.custom-pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.custom-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.custom-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.custom-feature-item svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-cta-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   10. MODALE DE COMMANDE & 2 OPTIONS DE PAIEMENT (ORDER MODAL)
   -------------------------------------------------------------------------- */
.order-modal-dialog {
  max-width: 540px;
  width: 95%;
  background: linear-gradient(180deg, #131b2e 0%, #0b0f19 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  text-align: left;
}

.order-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.order-modal-icon {
  width: 56px;
  height: 56px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--primary-light);
}

.order-modal-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.order-modal-subtitle {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.order-summary-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.order-summary-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.order-summary-plan {
  display: block;
  font-size: var(--text-base);
  font-weight: 800;
  color: #ffffff;
}

.order-summary-screens-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.order-summary-price-col {
  text-align: right;
}

.order-summary-total-price {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #ffffff;
}

.order-summary-period-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.modal-screen-selector-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-screen-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
}

.modal-screen-pills {
  display: flex;
  gap: 6px;
}

.modal-pill-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.modal-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-pill-btn.active {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.order-summary-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-feat {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-feat svg {
  color: var(--success);
  flex-shrink: 0;
}

/* 2 Actions de Commande */
.order-actions-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.btn-checkout-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transition: all var(--transition-fast);
}

.btn-checkout-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-whatsapp-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  transition: all var(--transition-fast);
}

.btn-whatsapp-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.btn-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.btn-action-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-action-title {
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.2;
}

.btn-action-desc {
  font-size: 0.75rem;
  opacity: 0.85;
}

.btn-action-arrow {
  font-size: 1.25rem;
  font-weight: 800;
  padding-left: 0.5rem;
}

.order-modal-trust-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.modal-trust-badge svg {
  color: var(--success);
}
