/* ==========================================================================
   ProMax TV Player — Feuille de style principale
   Design : fond #0B0B0B, dégradé or #D4A017 → #F4C542, police Outfit
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0B0B0B;
  --gold: #D4A017;
  --gold-light: #F4C542;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --gold-gradient: linear-gradient(90deg, #D4A017 0%, #F4C542 100%);
  --gold-gradient-br: linear-gradient(135deg, #D4A017 0%, #B8860B 50%, #7a5a08 100%);
  --radius: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.max-3xl { max-width: 768px; margin-left: auto; margin-right: auto; }
.max-4xl { max-width: 896px; margin-left: auto; margin-right: auto; }
.max-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }
.max-6xl { max-width: 1152px; margin-left: auto; margin-right: auto; }

/* ---------- Utilitaires design ---------- */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
  font-family: inherit;
  text-align: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #000;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.5);
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(212, 160, 23, 0.1);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.2);
  transform: scale(1.05);
}

.btn-block { width: 100%; }
.btn-max-xs { max-width: 20rem; width: 100%; }

/* ---------- Badge / pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
}

.pill .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 160, 23, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212, 160, 23, 0.35));
}

.site-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 11, 11, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

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

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav .btn-primary { margin-top: 0.5rem; }

/* ---------- Sections génériques ---------- */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
}

.section-inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 160, 23, 0.15) 0%, rgba(11, 11, 11, 1) 70%);
}

.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(100px);
}

.hero-blob.a { top: 25%; left: 25%; width: 24rem; height: 24rem; background: rgba(212, 160, 23, 0.1); }
.hero-blob.b { bottom: 25%; right: 25%; width: 16rem; height: 16rem; background: rgba(244, 197, 66, 0.1); filter: blur(80px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1152px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-copy { text-align: left; }

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-media-frame {
  position: relative;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, #F4C542, rgba(212, 160, 23, 0.4), #F4C542);
  box-shadow: 0 0 60px rgba(212, 160, 23, 0.35);
  animation: float 6s ease-in-out infinite;
}

.hero-media-frame .inner {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-rating {
  margin-top: 2.5rem;
  text-align: center;
}

.hero-rating .stars { color: var(--gold-light); font-size: 1.25rem; letter-spacing: 0.2em; }
.hero-rating .count { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; margin-top: 0.25rem; }

/* ---------- Stats grid (produits) ---------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes Abonnements (Products) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1152px; margin: 0 auto; align-items: stretch; }

.plan-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #121212;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 160, 23, 0.4);
  box-shadow: 0 0 40px rgba(212, 160, 23, 0.2);
}

.plan-card.popular {
  border-color: rgba(212, 160, 23, 0.6);
  box-shadow: 0 0 50px rgba(212, 160, 23, 0.25);
}

.plan-card.popular:hover { box-shadow: 0 0 70px rgba(212, 160, 23, 0.45); }

.plan-head {
  padding: 1.5rem;
  background: var(--gold-gradient-br);
  color: #000;
}

.plan-head .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.plan-head h3 { font-size: 1.5rem; font-weight: 800; color: #000; margin-bottom: 0.25rem; }
.plan-head .tagline { color: rgba(0, 0, 0, 0.7); font-size: 0.85rem; }
.plan-head .screens-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.2);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
}
.plan-head .price { margin-top: 1rem; font-size: 1.875rem; font-weight: 800; color: #000; }
.plan-head .price span { font-size: 1rem; font-weight: 500; color: rgba(0, 0, 0, 0.7); }
.plan-head .price-note { font-size: 0.7rem; color: rgba(0, 0, 0, 0.6); margin-top: 0.25rem; }
.plan-head .logo { width: 5rem; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45)); }

.popular-badge {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: #000;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 1rem;
}

.plan-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 160, 23, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 0.25rem;
  text-align: center;
}

.plan-stat .val { font-size: 0.75rem; font-weight: 700; }
.plan-stat .lbl { font-size: 0.62rem; color: rgba(255, 255, 255, 0.5); }
.plan-stat .ic { color: var(--gold); font-size: 1.1rem; line-height: 1; }

.plan-body { padding: 0 1.5rem 1rem; flex-grow: 1; }
.plan-body h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.feature-list { display: flex; flex-direction: column; gap: 0.65rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.feature-list .check { color: var(--gold-light); flex-shrink: 0; margin-top: 0.1rem; font-weight: bold; }

.uptime {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 160, 23, 0.3);
  background: rgba(212, 160, 23, 0.05);
  padding: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-devices { padding: 0 1.5rem 1rem; }
.plan-devices h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.device-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.25rem; }
.device-icons span { font-size: 0.55rem; color: rgba(255, 255, 255, 0.5); text-align: center; }

.plan-foot {
  padding: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}
.plan-foot .row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.plan-foot .price { font-size: 1.25rem; font-weight: 800; }
.plan-foot .price span { font-size: 0.75rem; font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.plan-foot .instant { margin-top: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 0.25rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- Cartes glass génériques (packs, features...) ---------- */
.card {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}
.card:hover { border-color: rgba(212, 160, 23, 0.4); transform: translateY(-4px); }

.pack-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
}
.pack-card.popular { border-color: rgba(212, 160, 23, 0.6); box-shadow: 0 0 50px rgba(212, 160, 23, 0.2); }

.pack-ribbon {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.5);
  white-space: nowrap;
}

.pack-head { text-align: center; margin-bottom: 2rem; }
.pack-head img { width: 5rem; margin: 0 auto 1rem; filter: drop-shadow(0 0 12px rgba(212, 160, 23, 0.5)); }
.pack-head .name { font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.pack-head .big { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.pack-head .price { font-size: 1.875rem; font-weight: 700; }
.pack-head .old { font-size: 1.1rem; color: rgba(255, 255, 255, 0.4); text-decoration: line-through; margin-left: 0.75rem; }
.pack-head .per { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); margin-top: 0.25rem; }

.pack-mini { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Icon feature box ---------- */
.icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--gold-gradient-br);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #000;
}
.icon-box.round { border-radius: 9999px; }

.feature-card .ic { color: var(--gold); font-size: 2.25rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); }
.feature-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* ---------- Tables ---------- */
.table-wrap { border-radius: 1.5rem; border: 1px solid var(--border); overflow: hidden; max-width: 1024px; margin: 0 auto; }
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; text-align: left; }
table.compare th, table.compare td { padding: 1rem 1.5rem; }
table.compare thead tr { border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
table.compare th { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
table.compare tbody tr { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
table.compare tbody tr:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }
table.compare td { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
table.compare .center { text-align: center; }
table.compare .col-popular { background: rgba(212, 160, 23, 0.05); }
.tick { color: var(--gold-light); font-weight: bold; }
.cross { color: rgba(255, 255, 255, 0.25); }
.cross-red { color: rgba(239, 68, 68, 0.6); }
.col-head { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.col-head .badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.15rem 0.6rem; border-radius: 9999px; background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.4); color: var(--gold-light); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; }
.col-head .s { font-size: 0.85rem; font-weight: 700; }
.col-head .pr { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.col-head img { height: 2rem; width: auto; }

.guarantees { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; max-width: 1024px; margin-left: auto; margin-right: auto; }
.guarantee-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; border-radius: 9999px;
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.8);
}

/* ---------- Compatibilité ---------- */
.compat-image { max-width: 1024px; margin: 0 auto 3rem; }
.compat-image img { filter: drop-shadow(0 0 60px rgba(212, 160, 23, 0.25)); width: 100%; }
.badge-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 896px; margin: 0 auto; }
.badge-cloud .b {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: 9999px;
  font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  transition: transform 0.2s;
}
.badge-cloud .b:hover { transform: scale(1.08); }
.badge-cloud .b .ic { color: var(--gold); }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.step:hover { border-color: rgba(212, 160, 23, 0.4); }
.step .num {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--gold-gradient-br);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 1.25rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: rgba(255, 255, 255, 0.7); margin: 0; }

.code-box {
  margin: 2.5rem auto 0;
  border-radius: 1.5rem;
  border: 1px solid rgba(212, 160, 23, 0.4);
  padding: 2rem;
  text-align: center;
  max-width: 28rem;
}
.code-box .label { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.5rem; }
.code-box .code { font-size: 2.5rem; font-weight: 800; letter-spacing: 0.15em; }

/* ---------- Testimonials ---------- */
.testimonial { border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; height: 100%; }
.testimonial .stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial p { font-style: italic; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); flex-grow: 1; margin-bottom: 1.5rem; }
.testimonial .author { font-weight: 600; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border-radius: 1rem; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(212, 160, 23, 0.5); }
.faq-q {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-q span { font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.faq-q .chevron { color: var(--gold); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 1.5rem 1rem; color: rgba(255, 255, 255, 0.6); }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Reseller / Order (commande) ---------- */
.panel-block {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(212, 160, 23, 0.3);
  box-shadow: 0 0 50px rgba(212, 160, 23, 0.1);
}
@media (min-width: 768px) { .panel-block { padding: 4rem; } }

.reseller-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.advantage-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.advantage-row .ic { width: 2rem; height: 2rem; border-radius: 9999px; background: rgba(212,160,23,0.2); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.advantage-row span { font-weight: 500; color: rgba(255, 255, 255, 0.9); }

/* Order form */
.order-panel { border-radius: 1.5rem; border: 1px solid var(--border); padding: 2rem; max-width: 768px; margin: 0 auto; }
@media (min-width: 768px) { .order-panel { padding: 2.5rem; } }
.order-label { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.pack-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.pack-option {
  position: relative;
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: left;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s;
  color: inherit;
  font-family: inherit;
}
.pack-option:hover { border-color: rgba(255, 255, 255, 0.25); }
.pack-option.selected { border-color: var(--gold); background: rgba(212, 160, 23, 0.1); box-shadow: 0 0 25px rgba(212, 160, 23, 0.15); }
.pack-option .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.pack-option .nm { font-weight: 700; }
.pack-option .tg { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 0.75rem; }
.pack-option .pr { font-size: 1.5rem; font-weight: 700; }
.pack-option .mo { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.pack-option .best {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--gold-gradient); color: #000; font-size: 0.62rem; font-weight: 700;
  padding: 0.1rem 0.75rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.pack-option .selmark { color: var(--gold-light); font-weight: bold; }

.recap { border-radius: 1rem; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); padding: 1.5rem; margin-bottom: 2rem; }
.recap .line { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.5rem; }
.recap .divider { border-top: 1px solid var(--border); margin: 0.75rem 0; }
.recap .total { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }

.order-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.order-actions > * { flex: 1; min-width: 200px; }
.order-badges { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.order-badges span { display: inline-flex; align-items: center; gap: 0.25rem; }
.order-badges .ic { color: var(--gold); }

/* Commande summary (page-commande) */
.commande-card { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 0 60px rgba(212, 160, 23, 0.15); border: 1px solid rgba(212, 160, 23, 0.3); max-width: 640px; margin: 0 auto; }
.commande-head { padding: 1.5rem; background: var(--gold-gradient-br); color: #000; display: flex; align-items: center; justify-content: space-between; }
.commande-head h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.commande-head p { color: rgba(0, 0, 0, 0.7); font-size: 0.85rem; margin: 0.25rem 0 0; }
.commande-head img { width: 4rem; object-fit: contain; }
.commande-body { padding: 2rem; }
.commande-body .line { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.commande-body .line .k { color: rgba(255, 255, 255, 0.7); }
.commande-body .line .v { font-weight: 600; }
.commande-body .line .v.gold { color: var(--gold-light); }
.commande-body .total { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.commande-body .total .k { font-size: 1.1rem; font-weight: 700; }
.commande-body .total .v { font-size: 1.875rem; font-weight: 800; }
.commande-note { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-align: center; margin-top: 1rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1024px; margin: 0 auto; }
.blog-card { border-radius: 1.5rem; padding: 2rem; border: 1px solid var(--border); display: flex; flex-direction: column; transition: border-color 0.3s; }
.blog-card:hover { border-color: rgba(212, 160, 23, 0.4); }
.blog-cat { align-self: flex-start; background: var(--gold-gradient); color: #000; font-size: 0.62rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.blog-card h2 { font-size: 1.25rem; line-height: 1.35; margin-bottom: 0.75rem; }
.blog-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); flex-grow: 1; margin-bottom: 1.5rem; }
.blog-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 1.5rem; }
.blog-more { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--gold-light); transition: color 0.2s; }
.blog-more:hover { color: var(--gold); }

.article { max-width: 768px; margin: 0 auto; }
.article h1 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; }
.article .meta { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 3rem; }
.article-body h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.article-body p { color: rgba(255, 255, 255, 0.75); }
.article-body img { border-radius: 1rem; margin: 1.5rem 0; }
.article-cta { margin-top: 4rem; border-radius: 1.5rem; border: 1px solid rgba(212, 160, 23, 0.3); padding: 2rem; text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 2rem; transition: color 0.2s; }
.back-link:hover { color: var(--gold); }

/* ---------- Page header (sous-pages) ---------- */
.page-hero { padding: 10rem 0 3rem; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 255, 255, 0.65); max-width: 42rem; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 896px; margin: 0 auto; }
.contact-card { border-radius: 1.5rem; padding: 2.5rem; text-align: center; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; transition: border-color 0.3s; }
.contact-card:hover { border-color: rgba(212, 160, 23, 0.4); }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.contact-card p { color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; flex-grow: 1; }
.contact-highlights { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.contact-highlights .h { display: flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.contact-highlights .ic { color: var(--gold); }

/* App download */
.apps-note { border-radius: 1rem; border: 1px solid rgba(212, 160, 23, 0.3); padding: 1.25rem; margin: 0 auto 3rem; display: flex; align-items: flex-start; gap: 1rem; max-width: 768px; }
.apps-note .ic { color: var(--gold-light); flex-shrink: 0; font-size: 1.5rem; }
.apps-note p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); margin: 0; }
.platform { margin-bottom: 2.5rem; }
.platform-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.platform-head .ic { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--gold-gradient-br); display: flex; align-items: center; justify-content: center; color: #000; }
.platform-head h3 { font-size: 1.25rem; margin: 0; }
.platform-head .note { font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); }
.app-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.app-card { border-radius: 1.5rem; padding: 1.5rem; border: 1px solid var(--border); display: flex; flex-direction: column; transition: border-color 0.3s; }
.app-card:hover { border-color: rgba(212, 160, 23, 0.4); }
.app-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.app-card h4 { margin: 0; font-weight: 700; }
.app-card .badge { background: var(--gold-gradient); color: #000; font-size: 0.62rem; font-weight: 700; padding: 0.1rem 0.75rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; }
.app-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); flex-grow: 1; margin-bottom: 1.5rem; }
.app-card .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.app-card .actions > * { flex: 1; min-width: 130px; font-size: 0.85rem; padding: 0.6rem 1rem; }

/* screenshots */
.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1152px; margin: 0 auto; }
.shot { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border); transition: border-color 0.3s; }
.shot:hover { border-color: rgba(212, 160, 23, 0.4); }
.shot figcaption { padding: 1.5rem; }
.shot h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.shot p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #000; padding: 4rem 0 2rem; border-top: 1px solid rgba(212, 160, 23, 0.2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 5rem; width: auto; margin-bottom: 0.5rem; filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.35)); }
.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; max-width: 24rem; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-col h4 { color: #fff; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a, .footer-col .txt { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; transition: color 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; color: rgba(255, 255, 255, 0.4); font-size: 0.9rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
  .plans, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .reseller-grid { grid-template-columns: 1fr; }
  .reseller-media { display: none; }
}

@media (max-width: 768px) {
  .grid-2, .blog-grid, .contact-grid, .app-cards, .shots-grid, .pack-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .section { padding: 4rem 0; }
  .page-hero { padding: 8rem 0 2rem; }
  .order-actions { flex-direction: column; }
}
