/* ============================================================
   style.css — abonnementiptvsmarterspro.fr
   Design sombre premium : fond #0a0a0a, accent #0066ff, texte #fff
   Police : Poppins (Google Fonts)
   Mobile-first — breakpoints : 768px, 1200px
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ── VARIABLES CSS ────────────────────────────────────────── */
:root {
  --bg-primary:    #0a0a0a;
  --bg-secondary:  #111111;
  --bg-card:       #1a1a1a;
  --accent:        #0066ff;
  --accent-hover:  #0052cc;
  --accent-light:  rgba(0, 102, 255, 0.12);
  --gold:          #FFD700;
  --gold-dark:     #e6c200;
  --gold-light:    rgba(255, 215, 0, 0.12);
  --text-primary:  #ffffff;
  --text-secondary:#b0b0b0;
  --text-muted:    #666666;
  --success:       #25d366;
  --error:         #ff4444;
  --border:        rgba(255,255,255,0.08);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-accent: 0 4px 24px rgba(0,102,255,0.3);
  --shadow-gold:   0 4px 24px rgba(255,215,0,0.25);
  --transition:    0.25s ease;
  --font:          'Poppins', sans-serif;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 64px 0;
}

section:nth-child(even) {
  background-color: var(--bg-secondary);
}

/* ── NAVBAR ───────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 20px;
}

#header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 20px;
}

.nav-menu.open { display: flex; }

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-menu a:hover { color: var(--text-primary); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  background: var(--accent);
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  border: none !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO SECTION ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,102,255,0.15) 0%, transparent 60%),
              var(--bg-primary);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
}

.hero-title { color: var(--text-primary); }
.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,102,255,0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-gold {
  background: var(--gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  color: #000;
}

.btn-whatsapp {
  background: var(--success);
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  color: #fff;
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ── BADGES ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

.badge-blue  { background: var(--accent-light); color: var(--accent); }
.badge-gold  { background: var(--gold-light);   color: var(--gold);   }
.badge-green { background: rgba(37,211,102,0.12); color: var(--success); }
.badge-best  {
  background: linear-gradient(135deg, var(--accent), #7b2ff7);
  color: #fff;
  font-size: 0.75rem;
}

/* ── PRICING CARDS ────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* CARD GOLD */
.pricing-card.gold {
  border-color: rgba(255, 215, 0, 0.3);
}
.pricing-card.gold:hover {
  box-shadow: var(--shadow-gold);
}

.pricing-card.gold .pricing-price { color: var(--gold); }
.pricing-card.gold .pricing-check { color: var(--gold); }

/* CARD PREMIUM */
.pricing-card.premium {
  border-color: rgba(0, 102, 255, 0.4);
  background: linear-gradient(145deg, #0d1a33, var(--bg-card));
}
.pricing-card.premium:hover {
  box-shadow: var(--shadow-accent);
}

.pricing-card.premium .pricing-price { color: var(--accent); }
.pricing-card.premium .pricing-check { color: var(--accent); }

.pricing-badge-best {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #7b2ff7);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-monthly {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-check {
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* ── COMPARISON TABLE ─────────────────────────────────────── */
.comparison-wrapper {
  overflow-x: auto;
  margin-top: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  font-size: 1rem;
}

.comparison-table th.col-gold  { color: var(--gold); }
.comparison-table th.col-premium { color: var(--accent); }
.comparison-table td:first-child { text-align: left; color: var(--text-secondary); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }

.check-yes { color: var(--success); font-size: 1.1rem; }
.check-no  { color: var(--text-muted); font-size: 1.1rem; }

/* ── FEATURES GRID ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 { margin-bottom: 8px; }

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name { font-weight: 600; font-size: 0.95rem; }
.review-date { font-size: 0.78rem; color: var(--text-muted); }

.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.reviews-summary {
  text-align: center;
  margin-bottom: 32px;
}

.reviews-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.reviews-total {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── FAQ ACCORDION ────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

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

details.faq-item[open] {
  border-color: var(--accent);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── STEPS (HOW IT WORKS) ─────────────────────────────────── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 { margin-bottom: 6px; }

/* ── STATS SECTION ────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { max-width: 560px; margin: 0 auto 32px; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ── CHECKOUT FORM ────────────────────────────────────────── */
#progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  margin-top: 70px;
  overflow-x: auto;
}

.progress-step {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  min-width: 70px;
}

.progress-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.progress-step.active .progress-step-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.progress-step.completed .progress-step-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.progress-step-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: center;
}

.progress-step.active .progress-step-label { color: var(--accent); }

.progress-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-bottom: 22px;
  transition: background var(--transition);
}

.progress-connector.completed { background: var(--success); }

/* STEP PANELS */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* FORMULA SELECTOR */
.formula-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0;
}

.formula-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  cursor: pointer;
  transition: all var(--transition);
}

.formula-card:hover { border-color: rgba(0,102,255,0.4); }
.formula-card.selected { border-color: var(--accent); background: var(--accent-light); }
.formula-card.gold-card.selected { border-color: var(--gold); background: var(--gold-light); }

/* FORM FIELDS */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input.error { border-color: var(--error); }
.form-input.success { border-color: var(--success); }

.form-error {
  font-size: 0.8rem;
  color: var(--error);
  display: none;
}

.form-error.visible { display: block; }

/* DEVICE SELECTOR */
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.device-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}

.device-card:hover { border-color: var(--accent); }
.device-card.selected { border-color: var(--accent); background: var(--accent-light); }
.device-card .device-icon { font-size: 2rem; margin-bottom: 8px; }
.device-card .device-name { font-size: 0.82rem; font-weight: 600; }

/* ORDER SUMMARY */
.order-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.order-summary-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.order-summary-table td:first-child { color: var(--text-muted); }
.order-summary-table td:last-child  { font-weight: 600; text-align: right; }
.order-summary-table .total-row td  { color: var(--text-primary); font-size: 1.1rem; }

/* STICKY ORDER SUMMARY (desktop) */
#order-summary-sticky {
  display: none;
}

/* ── FOOTER ───────────────────────────────────────────────── */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── WHATSAPP FLOATING BUTTON ─────────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsapp-pulse 2.5s infinite;
}

#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}

#whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ── BACK TO TOP ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 9998;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* ── POPUP TEST GRATUIT ───────────────────────────────────── */
#popup-test {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#popup-test.visible { display: flex; }

.popup-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.popup-close:hover { color: var(--text-primary); }
.popup-box h3 { margin: 12px 0 8px; }
.popup-box p  { font-size: 0.9rem; margin-bottom: 24px; }

/* ── REASSURANCE BADGES ───────────────────────────────────── */
.reassurance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.reassurance-item span:first-child { font-size: 1.1rem; }

/* ── COUNTDOWN TIMER ──────────────────────────────────────── */
.countdown {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  margin: 16px 0;
}

/* ── CHECKMARK ANIMATION ──────────────────────────────────── */
.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(37,211,102,0.12);
  border: 3px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ── UTILITIES ────────────────────────────────────────────── */
.hidden    { display: none !important; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.section-header {
  margin-bottom: 8px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p  { max-width: 600px; }

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ── BREAKPOINT : 768px (tablette) ───────────────────────── */
@media (min-width: 768px) {

  section { padding: 80px 0; }

  /* Navbar */
  .nav-burger { display: none; }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    gap: 4px;
  }

  .nav-menu a {
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
  }

  /* Pricing */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  /* Formula selector */
  .formula-selector { grid-template-columns: repeat(2, 1fr); }

  /* Device grid */
  .device-grid { grid-template-columns: repeat(3, 1fr); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── BREAKPOINT : 1200px (desktop) ───────────────────────── */
@media (min-width: 1200px) {

  /* Features */
  .features-grid { grid-template-columns: repeat(3, 1fr); }

  /* Reviews */
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  /* Checkout : form + sticky sidebar */
  #checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  #order-summary-sticky {
    display: block;
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
  }
}
