/* ==========================================================================
   XTREME HD IPTV - MASTER DESIGN SYSTEM (PURE WHITE / CLEAN LIGHT THEME)
   Inspired by iptv-cotenord.ca & Apple Design Language
   100% Non-Copyright Assets, High-Authority Editorial Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800;900&family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,700;9..144,800&display=swap');

:root {
  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-hover: #cbd5e1;
  --border-accent: #93c5fd;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  
  --accent-red: #dc2626;
  --accent-red-hover: #b91c1c;
  --accent-gold: #f59e0b;
  --emerald: #10b981;
  
  --wa-green: #25d366;
  --wa-hover: #20ba59;
  --wa-dark: #128c7e;
  
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 18px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-featured: 0 16px 40px rgba(37, 99, 235, 0.18);
  --shadow-btn: 0 4px 14px rgba(37, 99, 235, 0.22);
  
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-main);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, .font-heading {
  color: var(--text-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.serif-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.wrap, .container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  transition: var(--transition);
}

.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
}

.brand .logo-badge {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.brand span.highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-body);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a.nav-link-hot {
  color: var(--accent-red);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a.nav-link-hot:hover {
  color: var(--accent-red-hover);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.currency-switcher {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 2px;
}

.curr-btn {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.curr-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.nav-wa-btn {
  background: var(--wa-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.nav-wa-btn:hover {
  background: var(--wa-hover);
  transform: translateY(-1px);
}

.nav-wa-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   HERO SECTION (WHITE / LIGHT CLEAN FOLD)
   ========================================================================== */
.hero-shop {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.shop-eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.shop-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  color: var(--text-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.65rem;
}

.shop-headline {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  color: var(--text-heading);
  font-weight: 600;
  max-width: 38rem;
  margin-bottom: 1rem;
}

.shop-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.shop-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-essai {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-essai:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-buy {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-buy:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
}

.btn-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-heading);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* PAYMENT TRUST & TRUST ROW */
.hero-pay {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.pay-badge {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-heading);
}

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.trust-row li::before {
  content: "✔";
  color: var(--emerald);
  font-weight: 800;
}

/* HERO MEDIA (TV SHOWCASE) */
.hero-media-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.hero-media-card:hover {
  box-shadow: var(--shadow-hover);
}

.hero-media-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.media-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 0.82rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-red);
  font-weight: 800;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   SERVER STATUS BAR (LIVE METRICS)
   ========================================================================== */
.server-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  font-size: 0.86rem;
}

.server-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.status-metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-body);
}

.status-metric .metric-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
}

/* ==========================================================================
   VISUAL DEVICE SECTION ("SUR VOTRE TV, EN FAMILLE")
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-white {
  background: #ffffff;
}

.section-subtle {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-head p.sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.visual-device .device-figure {
  margin: 2rem 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.visual-device .device-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.section-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ==========================================================================
   POURQUOI CHOISIR (WHY CHOOSE) - 2-COLUMN ICON GRID
   ========================================================================== */
.pourquoi-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2.5rem;
}

.pourquoi-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pourquoi-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.pourquoi-ico {
  flex: 0 0 2.6rem;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
}

.pourquoi-ico svg {
  width: 1.45rem;
  height: 1.45rem;
}

.pourquoi-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--text-heading);
}

.pourquoi-item p {
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.45;
}

/* ==========================================================================
   ORDER IN 3 STEPS ("COMMANDER EN 3 ÉTAPES")
   ========================================================================== */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

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

.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   VIP FEATURE INCLUSIONS ("INCLUS AVEC CHAQUE FORFAIT")
   ========================================================================== */
.vip-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.vip-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vip-grid li:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.vip-grid strong {
  color: var(--text-heading);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vip-grid span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ==========================================================================
   PRICING & DEVICE TOGGLE SECTION ("FORFAITS & INCLUSIONS")
   ========================================================================== */
#tarifs {
  scroll-margin-top: 5rem;
}

.pricing-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.device-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.device-btn {
  appearance: none;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-body);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.device-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.device-btn.active, .device-btn[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.featcol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.featcol {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.featcol-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-featured);
  background: #ffffff;
}

.featcol-best {
  border: 2px solid var(--accent-gold);
}

.featcol-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.featcol-badge.best-val {
  background: var(--accent-gold);
  color: #000;
}

.featcol-title {
  margin: 0;
  color: var(--text-heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.featcol-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.65rem 0 0.35rem;
  line-height: 1;
}

.featcol-amount {
  font-size: clamp(2.4rem, 3.8vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-heading);
}

.featcol-currency {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.featcol-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.featcol-sub {
  margin: 0.2rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.featcol-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.featcol-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.4;
}

.featcol-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.featcol-check {
  color: var(--emerald);
  font-weight: 800;
  flex: 0 0 auto;
}

.featcol-cta {
  margin-top: 1.4rem;
  width: 100%;
}

.featcol-note {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   SPORTS & LIVE MATCH CENTER
   ========================================================================== */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.match-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.match-header .league {
  color: var(--text-muted);
  text-transform: uppercase;
}

.match-header .live-badge {
  background: var(--accent-red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.7rem;
}

.teams-wrap {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
}

.match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   COMPATIBLE DEVICES & APPS
   ========================================================================== */
.devices-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.devices-showcase img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.device-apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.app-box strong {
  display: block;
  color: var(--text-heading);
  font-size: 0.98rem;
}

.app-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.accordion {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--border-accent);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.2rem 1.4rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header .acc-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1.4rem;
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.55;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 0 1.4rem 1.3rem;
}

.accordion-item.active .acc-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2rem;
  color: var(--text-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING WHATSAPP & SALES POPUP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--wa-green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  background: var(--wa-hover);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.live-sales-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 990;
  transition: opacity 0.3s ease;
  max-width: 320px;
}

.popup-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex: 0 0 36px;
}

.popup-text h5 {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-heading);
}

.popup-text p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .featcol-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .server-bar-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .vip-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .devices-showcase {
    grid-template-columns: 1fr;
  }
  
  .sports-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  
  .pourquoi-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .device-btn {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }
}

@media (max-width: 560px) {
  .featcol-grid {
    grid-template-columns: 1fr;
  }
  
  .sports-grid {
    grid-template-columns: 1fr;
  }
  
  .vip-grid {
    grid-template-columns: 1fr;
  }
  
  .server-bar-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .shop-cta-row .btn {
    width: 100%;
  }
  
  .device-btn {
    flex: 1 1 100%;
  }
}
