
/* Fix Header overlap on hash navigation (#hud-overlay, #pastilles-autotag, etc.) */
section[id], div[id], article[id], h2[id], h3[id] {
  scroll-margin-top: 110px !important;
}

/* ---------- Ambiance Black Diamond Monolith : Noir Diamant, Platine Pur & Reflet Glace ---------- */
.felt-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(680px 340px at 78% 10%, rgba(125, 211, 252, 0.07), transparent 70%),
    radial-gradient(760px 480px at 12% 6%, rgba(226, 232, 240, 0.05), transparent 58%),
    radial-gradient(700px 500px at 50% 95%, rgba(56, 189, 248, 0.04), transparent 65%);
}
/* ==========================================================================
   SPINCRUSHER — BLACK DIAMOND MONOLITH DESIGN SYSTEM
   Palette officielle alignée sur theme.py ("black_diamond" : Noir Diamant #030304,
   Platine Pur #FFFFFF, Reflet Glace #7DD3FC, Sky Ice #38BDF8 & Carbone)
   Optimisé Core Web Vitals (CLS 0, polices locales auto-hébergées)
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Variable.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Variable.ttf') format('truetype');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #030304;
  --bg-0: #030304;
  --bg-1: #08080a;
  --bg-2: #0b0c10;
  --card: #0e0f13;
  --card-hi: #13151b;
  --elev: #16181f;
  --border: #22242c;
  --border-hi: #343846;
  --border-ice: #7dd3fc;
  --text: #ffffff;
  --text-soft: #e2e8f0;
  --muted: #8e93a4;
  --dim: #64697a;

  /* SpinCrusher Signature Black Diamond Monolith (theme.py "black_diamond") */
  --mint: #e2e8f0;
  --mint-hover: #ffffff;
  --mint-glow: rgba(226, 232, 240, 0.24);
  --emerald: #7dd3fc;
  --emerald-dark: #38bdf8;
  --emerald-glow: rgba(125, 211, 252, 0.25);
  --cyan: #7dd3fc;
  --cyan-glow: rgba(125, 211, 252, 0.25);
  --primary: #e2e8f0;
  --primary-hover: #ffffff;
  --primary-glow: rgba(125, 211, 252, 0.30);

  /* Secondary Accents (_PALETTES["black_diamond"]) */
  --gold: #fbbf24;
  --amber: #fbbf24;
  --green: #2dd4bf;
  --violet: #38bdf8;
  --violet-soft: #bae6fd;
  --amethyst: #a78bfa;
  --red: #f43f5e;
  --fish: #2dd4bf;
  --reg: #f43f5e;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.88);
  --shadow-glow: 0 0 38px rgba(125, 211, 252, 0.12);

  --font-display: 'Space Grotesk', 'Rajdhani', 'Chakra Petch', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', 'Sora', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-0);
  background-image:
    radial-gradient(680px 340px at 22% 4%, rgba(226, 232, 240, 0.06), transparent 65%),
    radial-gradient(640px 380px at 82% 10%, rgba(125, 211, 252, 0.06), transparent 65%),
    radial-gradient(700px 500px at 50% 95%, rgba(56, 189, 248, 0.04), transparent 65%);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle tactical grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TYPOGRAPHY & BADGES
   ========================================================================== */
h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(125, 211, 252, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(125, 211, 252, 0.32);
  margin-bottom: 16px;
}

.eyebrow.cyan {
  background: rgba(125, 211, 252, 0.1);
  color: var(--cyan);
  border-color: rgba(125, 211, 252, 0.32);
}

.eyebrow.violet {
  background: rgba(56, 189, 248, 0.12);
  color: var(--violet);
  border-color: rgba(56, 189, 248, 0.35);
}

.eyebrow.gold {
  background: rgba(125, 211, 252, 0.12);
  color: var(--amber);
  border-color: rgba(125, 211, 252, 0.35);
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 18%, #E2E8F0 52%, #7DD3FC 85%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-mint { color: var(--mint); }
.text-emerald { color: var(--mint); }
.text-cyan { color: var(--cyan); }
.text-gold { color: var(--amber); }
.text-violet { color: var(--violet); }
.text-red { color: var(--red); }
.text-muted { color: var(--muted); }

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ==========================================================================
   TOP BAR & STICKY NAVIGATION
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.12), rgba(125, 211, 252, 0.12), rgba(56, 189, 248, 0.12));
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  color: var(--text-soft);
  position: relative;
  z-index: 50;
}

.top-announcement strong {
  color: var(--emerald);
  font-weight: 700;
}

.top-announcement a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 4, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 48%, #7DD3FC 100%);
  display: grid;
  place-items: center;
  color: #030304;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 22px rgba(125, 211, 252, 0.38);
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--emerald);
  font-weight: 600;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--emerald);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: var(--elev);
  border: 1px solid var(--border-hi);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 48%, #7DD3FC 100%);
  color: #030304;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(125, 211, 252, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(125, 211, 252, 0.42);
}

.btn-secondary {
  background: rgba(29, 34, 50, 0.85);
  color: var(--text);
  border-color: var(--border-hi);
}

.btn-secondary:hover {
  border-color: var(--emerald);
  background: rgba(125, 211, 252, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--emerald);
  border-color: var(--emerald);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.04rem;
  border-radius: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 72px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero-lead {
  font-size: 1.14rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  max-width: 610px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-guarantees i {
  color: var(--emerald);
  font-style: normal;
  font-weight: 800;
}

/* Room Compatibility Strip */
.rooms-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.rooms-strip-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  font-weight: 700;
  margin-right: 6px;
}

.room-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border-hi);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-soft);
}

.room-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ==========================================================================
   INTERACTIVE HUD & POPOVER SHOWCASE
   ========================================================================== */
.showcase-panel {
  background: linear-gradient(180deg, #0e0f13 0%, #08080A 100%);
  border: 1px solid var(--border-hi);
  border-top: 2px solid var(--emerald);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(9, 11, 17, 0.9);
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #F43F5E; }
.window-dots span:nth-child(2) { background: #7EE8F2; }
.window-dots span:nth-child(3) { background: #7DD3FC; }

.showcase-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.showcase-tab {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.showcase-tab:hover {
  color: var(--text);
  border-color: var(--border-hi);
}

.showcase-tab.active {
  background: rgba(125, 211, 252, 0.15);
  color: var(--emerald);
  border-color: var(--emerald);
}

.showcase-body {
  padding: 18px;
}

.showcase-subtabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.subtab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-soft);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.subtab-btn.active {
  background: rgba(125, 211, 252, 0.15);
  color: var(--cyan);
  border-color: var(--cyan);
}

.showcase-frame {
  background: #030304;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-frame img {
  max-height: 360px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.showcase-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.showcase-caption strong {
  color: var(--emerald);
}

/* ==========================================================================
   KPI METRICS BAR
   ========================================================================== */
.kpi-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 10, 0.65);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.kpi-item {
  text-align: center;
  padding: 10px;
}

.kpi-val {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
}

.kpi-lbl {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ==========================================================================
   SECTIONS & BENTO CARDS
   ========================================================================== */
.section {
  padding: 88px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.7) 0%, rgba(3, 3, 4, 0.9) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
}

.card.accent-emerald { border-top: 2px solid var(--emerald); }
.card.accent-cyan { border-top: 2px solid var(--cyan); }
.card.accent-violet { border-top: 2px solid var(--violet); }
.card.accent-gold { border-top: 2px solid var(--gold); }
.card.accent-red { border-top: 2px solid var(--red); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.3);
}

.card.accent-cyan .card-icon {
  background: rgba(125, 211, 252, 0.12);
  border-color: rgba(125, 211, 252, 0.3);
}

.card.accent-violet .card-icon {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

.card.accent-gold .card-icon {
  background: rgba(125, 211, 252, 0.12);
  border-color: rgba(125, 211, 252, 0.3);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "✔";
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   14 MODULES EXPLORER (FILTERABLE GRID)
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--border-hi);
}

.filter-btn.active {
  background: rgba(125, 211, 252, 0.15);
  color: var(--emerald);
  border-color: var(--emerald);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.module-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.module-card:hover {
  border-color: var(--emerald);
  transform: translateY(-3px);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.module-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-emoji {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--elev);
  border: 1px solid var(--border-hi);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.module-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(125, 211, 252, 0.3);
}

.module-badge.pro {
  background: rgba(125, 211, 252, 0.14);
  color: var(--emerald);
  border-color: rgba(125, 211, 252, 0.38);
}

/* ==========================================================================
   VISUAL GALLERY & SPOT BLOCKS COMPARATOR
   ========================================================================== */
.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 64px;
  max-width: 100%;
  box-sizing: border-box;
}

.split-showcase > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .split-showcase {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

.split-showcase.reverse {
  direction: rtl;
}
.split-showcase.reverse > * {
  direction: ltr;
}

.visual-box {
  background: #030304;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.visual-box img {
  margin: 0 auto;
  border-radius: 8px;
}

/* ==========================================================================
   PRICING CARDS & BILLING SWITCH
   ========================================================================== */
.billing-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 42px;
}

.billing-toggle {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--border-hi);
  padding: 4px;
  border-radius: 999px;
}

.billing-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-btn.active {
  background: var(--emerald);
  color: #030304;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.price-card.popular {
  background: linear-gradient(180deg, #141821 0%, #0D0F14 100%);
  border: 2px solid var(--emerald);
  box-shadow: var(--shadow-card), 0 0 40px rgba(125, 211, 252, 0.16);
  transform: translateY(-6px);
}

.price-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-title {
  font-size: 1.65rem;
  font-weight: 800;
}

.price-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
  min-height: 42px;
}

.price-amount-box {
  margin: 20px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.price-main {
  font-family: var(--font-display);
  font-size: 2.65rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.price-period {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 4px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
  flex: 1;
}

.pf-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
}

.pf-row.on {
  color: var(--text-soft);
}

.pf-row.off {
  color: #526077;
  text-decoration: line-through;
}

.pf-check {
  font-weight: 900;
  flex-shrink: 0;
}

/* ==========================================================================
   CHECKOUT / ORDER TUNNEL MODAL & SECTION
   ========================================================================== */
.checkout-box {
  background: linear-gradient(180deg, #13161E 0%, #0A0B0F 100%);
  border: 1px solid var(--border-hi);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 880px;
  margin: 48px auto 0;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
}

.form-input, .form-select {
  background: #030304;
  border: 1px solid var(--border-hi);
  border-radius: 9px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--emerald);
}

.license-result-box {
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid var(--emerald);
  display: none;
}

.license-key-pill {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--emerald);
  background: #030304;
  border: 1px dashed var(--emerald);
  padding: 12px 18px;
  border-radius: 8px;
  display: inline-block;
  margin: 10px 0;
  user-select: all;
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th, .comp-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}

.comp-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(9, 11, 17, 0.65);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--emerald);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-toggle-icon {
  color: var(--emerald);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.96rem;
  display: none;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER & SEO LINKS
   ========================================================================== */
.site-footer {
  background: #030304;
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--emerald);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--dim);
}

/* ==========================================================================
   MODAL DOWNLOAD / TRIAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-top: 3px solid var(--emerald);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--elev);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================================================================
   CYBER-OBSIDIAN V2 — ULTRA-PREMIUM ENHANCEMENTS & INTERACTIVE COMPONENTS
   ========================================================================== */

/* 1. Barre de progression de lecture en haut d'écran */
#scroll-progress,
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--cyan) 60%, var(--violet) 100%);
  box-shadow: 0 0 14px rgba(125, 211, 252, 0.75);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* 2. Spotlight directionnel au survol des cartes (.card, .module-card, .price-card) */
.card::before,
.module-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(125, 211, 252, 0.09),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.card.accent-cyan::before {
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(125, 211, 252, 0.1),
    transparent 45%
  );
}

.card.accent-violet::before {
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(56, 189, 248, 0.11),
    transparent 45%
  );
}

.card.accent-gold::before {
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(125, 211, 252, 0.11),
    transparent 45%
  );
}

.card:hover::before,
.module-card:hover::before,
.price-card:hover::before {
  opacity: 1;
}

.card > *,
.module-card > *,
.price-card > * {
  position: relative;
  z-index: 1;
}

.module-card {
  position: relative;
  overflow: hidden;
}

/* Micro-interactions boutons & reflets subtils */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: rotate(25deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 125%;
}

/* Point lumineux pulsant pour badges live */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: scPulse 2s infinite ease-in-out;
}

@keyframes scPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

/* Images zoomables (Lightbox HD) */
.zoomable,
.showcase-frame img,
.visual-box img {
  cursor: zoom-in;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, opacity 0.2s ease;
}

.zoomable:hover,
.showcase-frame img:hover,
.visual-box img:hover {
  transform: scale(1.018);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.78), 0 0 22px rgba(125, 211, 252, 0.2);
}

.zoom-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(125, 211, 252, 0.09);
  border: 1px solid rgba(125, 211, 252, 0.28);
  cursor: pointer;
}

/* ==========================================================================
   3. SIMULATEUR DE TABLE 3-MAX SPIN & GO INTERACTIF
   ========================================================================== */
.poker-sim-wrapper {
  background: linear-gradient(180deg, #101218 0%, #08080A 100%);
  border: 1px solid var(--border-hi);
  border-top: 2px solid var(--emerald);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  margin-top: 24px;
}

.sim-table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.sim-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-control-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-right: 4px;
}

.sim-street-btn,
.sim-inspect-btn {
  background: var(--card);
  border: 1px solid var(--border-hi);
  color: var(--text-soft);
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sim-street-btn:hover,
.sim-inspect-btn:hover {
  border-color: var(--emerald);
  color: var(--text);
}

.sim-street-btn.active {
  background: var(--emerald);
  color: #030304;
  border-color: var(--emerald);
  box-shadow: 0 0 18px rgba(125, 211, 252, 0.35);
}

.sim-inspect-btn.active {
  background: rgba(125, 211, 252, 0.16);
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.22);
}

.poker-sim-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

/* Plateau de table 3-Max */
.poker-table-stage {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.poker-felt {
  width: 100%;
  max-width: 540px;
  height: 290px;
  border-radius: 160px;
  background: radial-gradient(ellipse at center, #0e0f13 0%, #08080a 65%, #030304 100%);
  border: 4px solid #22242c;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px rgba(125, 211, 252, 0.25),
    0 0 35px rgba(125, 211, 252, 0.12),
    0 25px 60px rgba(0, 0, 0, 0.85);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.poker-felt::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 140px;
  border: 1px dashed rgba(125, 211, 252, 0.25);
  pointer-events: none;
}

/* Indice de Qualité de Table (TQE) */
.tqe-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(7, 12, 18, 0.92);
  border: 1px solid var(--emerald);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.28);
}

.tqe-badge strong {
  color: var(--emerald);
}

.table-pot-box {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amber);
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.35);
}

.board-cards {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
}

.playing-card {
  width: 36px;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFFFFF 0%, #DFE2F5 100%);
  color: #0E0F13;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  border: 1px solid #C5C9E3;
  user-select: none;
}

.playing-card.red {
  color: #E0366F;
}

.playing-card.card-back {
  background: linear-gradient(135deg, #141720 0%, #07080b 100%);
  border: 1px solid rgba(125, 211, 252, 0.45);
  color: var(--violet-soft);
  font-size: 0.8rem;
}

/* Sièges Joueurs 3-Max */
.poker-seat {
  position: absolute;
  width: 215px;
  background: rgba(10, 11, 15, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(125, 211, 252, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 5;
}

.poker-seat:hover,
.poker-seat.active-seat {
  border-color: var(--cyan);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 0 30px rgba(125, 211, 252, 0.35);
  transform: translateY(-2px);
}

.poker-seat.seat-sb {
  top: 6px;
  left: 10px;
  border-top: 2px solid #ff86ae;
}

.poker-seat.seat-bb {
  top: 6px;
  right: 10px;
  border-top: 2px solid #f43f5e;
}

.poker-seat.seat-hero {
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 2px solid #7dd3fc;
  width: 235px;
}

.poker-seat.seat-hero:hover,
.poker-seat.seat-hero.active-seat {
  transform: translateX(-50%) translateY(-2px);
}

.seat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.seat-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.seat-stack {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  background: rgba(125, 211, 252, 0.14);
  padding: 2px 7px;
  border-radius: 5px;
}

/* Pastilles AutoTag sur le siège */
.seat-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}

.autotag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.autotag-pill.fish {
  background: rgba(255, 122, 184, 0.18);
  color: #ff86ae;
  border: 1px solid rgba(255, 122, 184, 0.5);
}

.autotag-pill.reg {
  background: rgba(255, 92, 92, 0.18);
  color: #f43f5e;
  border: 1px solid rgba(255, 92, 92, 0.5);
}

.autotag-pill.leak {
  background: rgba(125, 211, 252, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(125, 211, 252, 0.4);
}

.hud-add-note-btn {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--elev);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hud-add-note-btn:hover {
  background: var(--emerald);
  color: #030304;
}

/* Mini Grille HUD dans le siège */
.seat-hud-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #030304;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px;
  text-align: center;
}

.hud-mini-cell {
  display: flex;
  flex-direction: column;
}

.hud-mini-lbl {
  font-size: 0.62rem;
  color: var(--dim);
  text-transform: uppercase;
}

.hud-mini-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.hud-mini-val.hi-emerald { color: var(--emerald); }
.hud-mini-val.hi-cyan { color: var(--cyan); }
.hud-mini-val.hi-gold { color: var(--amber); }
.hud-mini-val.hi-red { color: var(--red); }

/* Panneau d'inspection droite du simulateur de table */
.poker-sim-inspector {
  background: #030304;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poker-sim-inspector img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  background: #030304;
  border: 1px solid var(--border);
}

.sim-note-toast {
  display: none;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 600;
}

.sim-note-toast.show {
  display: block;
}

/* ==========================================================================
   4. SÉLECTEUR DE PARCOURS GRINDER ("QUEL EST VOTRE PROFIL ?")
   ========================================================================== */
.grinder-profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.grinder-tab-btn {
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.grinder-tab-btn:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.grinder-tab-btn.active {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.14) 0%, rgba(20, 24, 36, 0.95) 100%);
  border: 2px solid var(--emerald);
  box-shadow: 0 0 28px rgba(125, 211, 252, 0.18);
}

.grinder-tab-stake {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
}

.grinder-tab-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.grinder-tab-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.grinder-recommendation-panel {
  background: linear-gradient(180deg, #0E0F13 0%, #08080A 100%);
  border: 1px solid var(--border-hi);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.grinder-rec-metrics {
  background: #030304;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   5. STEPPER TUNNEL DE COMMANDE 3 ÉTAPES & BARRE FLOTTANTE CTA
   ========================================================================== */
.checkout-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(9, 11, 16, 0.65);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.step-item.active {
  border-color: var(--emerald);
  background: rgba(125, 211, 252, 0.1);
  color: var(--text);
}

.step-item.done {
  border-color: var(--cyan);
  background: rgba(125, 211, 252, 0.1);
  color: var(--cyan);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--elev);
  border: 1px solid var(--border-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-item.active .step-num {
  background: var(--emerald);
  color: #030304;
  border-color: var(--emerald);
}

.step-item.done .step-num {
  background: var(--cyan);
  color: #030304;
  border-color: var(--cyan);
}

/* Barre flottante de conversion en bas d'écran */
.floating-cta-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(130%);
  width: calc(100% - 32px);
  max-width: 920px;
  background: rgba(13, 17, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hi);
  border-top: 2px solid var(--emerald);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(125, 211, 252, 0.2);
  z-index: 150;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.floating-cta-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.floating-cta-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.floating-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. LIGHTBOX HAUTE DÉFINITION PLEIN ÉCRAN (#sc-lightbox)
   ========================================================================== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-dialog {
  max-width: 1120px;
  width: 100%;
  background: #08080A;
  border: 1px solid var(--border-hi);
  border-top: 2px solid var(--emerald);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(125, 211, 252, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--emerald);
  background: rgba(125, 211, 252, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  max-height: 74vh;
  background: #030304;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
}

.lightbox-stage img {
  max-height: 68vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 24, 36, 0.9);
  border: 1px solid var(--border-hi);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
}

.lightbox-nav-btn:hover {
  background: var(--emerald);
  color: #030304;
  border-color: var(--emerald);
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.lightbox-caption {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .split-showcase,
  .poker-sim-grid,
  .grinder-recommendation-panel {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .grinder-profile-tabs,
  .checkout-stepper {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .price-card.popular {
    transform: none;
  }
  .poker-table-stage {
    min-height: 520px;
    flex-direction: column;
    gap: 12px;
  }
  .poker-seat {
    position: static;
    width: 100% !important;
    transform: none !important;
  }
  .floating-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }
}

/* ==========================================================================
   CYBER-OBSIDIAN V3 — LUXURY AURORA, LIVE TELEMETRY & INTERACTIVE UI WIDGETS
   ========================================================================== */

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #030304;
}
::-webkit-scrollbar-thumb {
  background: #22242c;
  border-radius: 999px;
  border: 2px solid #030304;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald);
}

/* Ambient Aurora Orbs behind Hero */
.hero-section {
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
  z-index: 0;
  animation: auroraFloat 14s infinite alternate ease-in-out;
}

.hero-section::before {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.16) 0%, rgba(125, 211, 252, 0.06) 60%, transparent 100%);
}

.hero-section::after {
  width: 560px;
  height: 560px;
  top: 40px;
  right: -120px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.14) 0%, rgba(56, 189, 248, 0.08) 60%, transparent 100%);
  animation-delay: -7s;
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -22px) scale(1.07); }
  100% { transform: translate(-18px, 24px) scale(0.96); }
}

/* Live Session Cockpit Minibar Replication (Top of Hero) */
.cockpit-live-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.95) 0%, rgba(14, 15, 19, 0.95) 50%, rgba(8, 8, 10, 0.95) 100%);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  padding: 9px 20px;
  margin-bottom: 36px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(125, 211, 252, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.cockpit-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--emerald);
  text-transform: uppercase;
}

.cockpit-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.cockpit-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

.cockpit-metric strong {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text);
}

.cockpit-sep {
  width: 1px;
  height: 16px;
  background: var(--border-hi);
}

/* Enhanced Glass Cards & Neon Top Bevel */
.card,
.price-card,
.module-card {
  background: linear-gradient(165deg, rgba(18, 20, 26, 0.92) 0%, rgba(11, 12, 16, 0.97) 100%);
  backdrop-filter: blur(12px);
  box-shadow:
    0 20px 45px -15px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
}

.card:hover,
.module-card:hover {
  box-shadow:
    0 26px 55px -12px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(125, 211, 252, 0.14),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.14);
}

/* Showcase Panel 3D Telemetry Chips */
.showcase-panel {
  position: relative;
  background: linear-gradient(165deg, #14161D 0%, #08080A 100%);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(125, 211, 252, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.telemetry-pills-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: rgba(6, 9, 15, 0.92);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.telemetry-pills-bar span strong {
  color: var(--emerald);
}

/* Upgraded 3-Max Poker Table Stage & Racetrack Felt */
.poker-table-stage {
  min-height: 450px;
  padding: 46px 24px;
  background: radial-gradient(circle at center, rgba(125, 211, 252, 0.08) 0%, transparent 70%);
}

.poker-felt {
  max-width: 560px;
  height: 310px;
  border-radius: 170px;
  background:
    radial-gradient(ellipse at center, #0e0f13 0%, #08080a 58%, #030304 100%);
  border: 6px solid #22242c;
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.35),
    inset 0 0 60px rgba(0, 0, 0, 0.95),
    inset 0 0 0 2px rgba(125, 211, 252, 0.2),
    0 0 45px rgba(125, 211, 252, 0.15),
    0 28px 65px rgba(0, 0, 0, 0.9);
}

/* Inner racetrack line on the poker felt */
.poker-felt::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 145px;
  border: 1px dashed rgba(125, 211, 252, 0.25);
  pointer-events: none;
}

.dealer-chip {
  position: absolute;
  bottom: 58px;
  left: calc(50% + 95px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7EE8F2 0%, #2BB5C5 100%);
  color: #030304;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  border: 2px solid #E0FBFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  z-index: 6;
}

.seat-pos-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.poker-sim-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   INTERACTIVE LAB PREVIEW WIDGETS (4-CURVE EV, 13x13 RANGE, SLOTS HEATMAP)
   ========================================================================== */
.lab-widgets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.ui-widget-card {
  background: linear-gradient(170deg, #0E0F13 0%, #030304 100%);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.ui-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ui-widget-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.ui-widget-stage {
  background: #030304;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 1. 4-Curve EV Chart SVG */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-soft);
}

.legend-line {
  width: 12px;
  height: 3px;
  border-radius: 2px;
}

.ev-svg-chart path {
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
  animation: drawCurve 2.6s ease-out forwards;
}

@keyframes drawCurve {
  from { stroke-dashoffset: 420; }
  to { stroke-dashoffset: 0; }
}

/* 2. Interactive 13x13 Preflop Range Mini-Matrix */
.mini-range-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  user-select: none;
}

.range-cell {
  aspect-ratio: 1.25;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030304;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.range-cell:hover {
  transform: scale(1.14);
  z-index: 2;
  filter: brightness(1.18);
}

.range-cell.act-raise { background: #2DD4BF; color: #030304; }
.range-cell.act-shove { background: #7DD3FC; color: #030304; }
.range-cell.act-call  { background: #FBBF24; color: #030304; }
.range-cell.act-mix   { background: linear-gradient(135deg, #7DD3FC 55%, #A78BFA 55%); color: #030304; }
.range-cell.act-fold  { background: #0e0f13; color: #6B7194; border: 1px solid #22242c; }

/* 3. Slots Advisor EV Heatmap */
.slots-heatmap {
  display: grid;
  grid-template-columns: 44px repeat(6, 1fr);
  gap: 4px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.heat-day {
  color: var(--muted);
  font-weight: 600;
}

.heat-cell {
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
}

.heat-low  { background: rgba(125, 211, 252, 0.12); color: var(--muted); }
.heat-med  { background: rgba(125, 211, 252, 0.24); color: var(--text); }
.heat-high { background: rgba(125, 211, 252, 0.55); color: #030304; }
.heat-max  { background: #7DD3FC; color: #030304; box-shadow: 0 0 12px rgba(125, 211, 252, 0.45); }

@media (max-width: 1024px) {
  .lab-widgets-grid {
    grid-template-columns: 1fr;
  }
  .cockpit-live-bar {
    border-radius: 16px;
    justify-content: center;
    text-align: center;
  }
}


/* Laser line animée sous la navigation */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(125, 211, 252, 0.8) 35%, rgba(125, 211, 252, 0.8) 65%, transparent 100%);
  background-size: 200% 100%;
  animation: laser-line 6s linear infinite;
  opacity: 0.9;
}
@keyframes laser-line {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* ==========================================================================
   NAVIGATION MEGAMENU & DROPDOWNS
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.18s, background 0.18s;
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger {
  color: var(--text);
  background: var(--card);
}

.dropdown-caret {
  font-size: 0.7rem;
  color: var(--mint);
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 310px;
  background: rgba(10, 11, 15, 0.98);
  border: 1px solid var(--border-hi);
  border-top: 2px solid var(--mint);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(125, 211, 252, 0.12);
  z-index: 250;
  backdrop-filter: blur(18px);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: block;
  animation: dropdown-pop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdown-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
  background: var(--card-hi);
  color: var(--text);
  transform: translateX(3px);
}

.nav-dropdown-item:hover strong {
  color: var(--mint);
}

.nav-dropdown-item i {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-top: 2px;
}

.nav-dropdown-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.15s ease;
}

.nav-dropdown-item .item-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.35;
}

.nav-dropdown-footer {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 6px;
}

.nav-dropdown-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--mint);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}

.nav-dropdown-footer a:hover {
  background: rgba(125, 211, 252, 0.12);
}

/* Breadcrumbs (Fil d'Ariane) pour Maillage Interne */
.breadcrumbs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumbs-bar a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumbs-bar a:hover {
  color: var(--mint);
}

.breadcrumbs-bar .sep {
  color: var(--dim);
}

.breadcrumbs-bar .current {
  color: var(--mint);
  font-weight: 600;
}

/* Support mobile pour le nouveau menu déroulant */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(11, 14, 23, 0.98);
    border-bottom: 1px solid var(--border-hi);
    padding: 18px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
    z-index: 180;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-item-dropdown {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--card);
    border-radius: var(--radius-sm);
  }
  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 1px solid var(--border);
    background: var(--card-hi);
    margin-top: 6px;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
  }
}


/* ==========================================================================
   PASTILLAGE AUTOMATIQUE IN-GAME — EXCLUSIVE SPOTLIGHT & INTERACTIVE PILLS
   ========================================================================== */
.autotag-spotlight-wrap {
  background: linear-gradient(165deg, rgba(16, 20, 29, 0.96) 0%, rgba(7, 8, 12, 0.99) 100%);
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-top: 3px solid var(--cyan);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card), 0 0 55px rgba(125, 211, 252, 0.14);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.autotag-interactive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1120px) {
  .autotag-interactive-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .autotag-spotlight-wrap {
    padding: 22px 16px !important;
  }
}

@media (max-width: 600px) {
  .hud-double-row-simulator, .sc-tooltip-inspector {
    padding: 14px 10px !important;
  }
  .hud-sim-seat-banner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .sc-live-badge {
    font-size: 0.76rem !important;
    padding: 5px 8px !important;
  }
}

.exclusive-market-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.18), rgba(125, 211, 252, 0.18));
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.autotag-interactive-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .autotag-interactive-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .autotag-spotlight-wrap {
    padding: 24px 18px !important;
  }
}

@media (max-width: 640px) {
  .hud-double-row-simulator {
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
    padding: 14px 10px !important;
  }
  .sc-tooltip-inspector {
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
    padding: 16px 12px !important;
  }
  .hud-sim-seat-banner {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

.hud-double-row-simulator {
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  background: #040507;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hud-sim-seat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #0c0e14;
  border: 1px solid var(--border-hi);
  border-left: 3px solid var(--cyan);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.hud-row-group {
  background: rgba(14, 16, 22, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.hud-row-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 10px;
}

.hud-badges-strip {
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-live-badge {
  max-width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #090b10;
  border: 1.5px solid var(--badge-clr, #7DD3FC);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sc-live-badge:hover,
.sc-live-badge.active {
  background: rgba(125, 211, 252, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 14px var(--badge-clr, rgba(125, 211, 252, 0.45));
}

.sc-badge-code {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--badge-clr, #7DD3FC);
  color: #030304;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.sc-badge-code.shape-hex {
  clip-path: polygon(15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%, 0% 50%);
  padding: 0 7px;
}

.sc-tooltip-inspector {
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  background: linear-gradient(180deg, #0d1017 0%, #06070b 100%);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sc-tooltip-exploit-box {
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.38);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 14px 16px;
}

.sc-shape-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ==========================================================================
   BLOG HUB & SEO LONG-FORM ARTICLES SYSTEM
   ========================================================================== */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(165deg, rgba(19, 23, 34, 0.96) 0%, rgba(9, 10, 15, 0.99) 100%);
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-top: 3px solid var(--cyan);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.blog-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.blog-search-input {
  background: #050608;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  padding: 11px 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  min-width: 290px;
  flex: 1;
  max-width: 420px;
  outline: none;
  transition: border-color 0.2s ease;
}

.blog-search-input:focus {
  border-color: var(--cyan);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-card), 0 0 28px rgba(125, 211, 252, 0.14);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}

.blog-card h2,
.blog-card h3 {
  font-size: 1.32rem;
  line-height: 1.28;
  margin: 8px 0 10px;
  transition: color 0.18s ease;
}

.blog-card:hover h2,
.blog-card:hover h3 {
  color: var(--cyan);
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.blog-tag-chip {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Long-Form SEO Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: start;
  padding: 36px 0 72px;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-toc-card {
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-top: 2px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 20px;
}

.article-toc-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.article-toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-toc-list a {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
  padding: 4px 0 4px 10px;
  border-left: 2px solid var(--border);
  transition: all 0.15s ease;
  display: block;
}

.article-toc-list a:hover {
  color: var(--text);
  border-left-color: var(--cyan);
}

.article-prose {
  background: rgba(11, 12, 16, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.article-prose h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  margin: 42px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  scroll-margin-top: 96px;
}

.article-prose h2:first-of-type {
  margin-top: 0;
}

.article-prose h3 {
  font-size: 1.28rem;
  margin: 28px 0 12px;
  color: var(--cyan);
}

.article-prose p {
  font-size: 1.03rem;
  line-height: 1.78;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-soft);
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose ul li,
.article-prose ol li {
  padding-left: 6px;
  line-height: 1.68;
}

.article-prose ul li::marker,
.article-prose ol li::marker {
  color: var(--cyan);
  font-weight: 700;
}

.article-callout {
  background: rgba(125, 211, 252, 0.07);
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 26px 0;
}

.article-callout.gold {
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.35);
  border-left-color: var(--amber);
}

.article-callout.emerald {
  background: rgba(45, 212, 191, 0.07);
  border-color: rgba(45, 212, 191, 0.35);
  border-left-color: var(--green);
}

.article-callout-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cyan);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-callout.gold .article-callout-title {
  color: var(--amber);
}

.article-callout.emerald .article-callout-title {
  color: var(--green);
}

.article-meta-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .autotag-interactive-grid,
  .blog-featured-card,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .article-prose {
    padding: 24px 20px;
  }
}


/* ==========================================================================
   7. MOBILE PERFECTION & INTERNATIONAL MULTILINGUAL UI (FR / EN)
   Correction intégrale : Zéro débordement horizontal (overflow-x),
   zéro élément coupé, grilles adaptatives et sélecteur de langue FR/EN.
   ========================================================================== */

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* Empêche les enfants de grilles/flex de forcer une largeur > 100vw */
main, section, article, aside, header, footer,
.hero-grid > *, .split-showcase > *, .poker-sim-grid > *,
.autotag-interactive-grid > *, .blog-featured-card > *,
.article-layout > *, .grinder-recommendation-panel > *,
.pillars-grid > *, .modules-grid > *, .pricing-grid > *,
.blog-grid > *, .lab-widgets-grid > *, .kpi-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Classes utilitaires utilisées sur les pages piliers & rooms */
.btn-outline {
  background: rgba(22, 24, 31, 0.85);
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(125, 211, 252, 0.1);
  color: var(--text);
}

.check-list {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: break-word;
}
.check-list li::before {
  content: "✔";
  color: var(--cyan);
  font-weight: 800;
  flex-shrink: 0;
}

.kpi-box {
  background: #08090D;
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

/* Sélecteur de langue FR / EN (Header & Menu Mobile) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #08090d;
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-pill {
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.lang-pill:hover {
  color: var(--text);
}

.lang-pill.active {
  background: rgba(125, 211, 252, 0.18);
  color: var(--cyan);
  border: 1px solid rgba(125, 211, 252, 0.35);
}

/* Bloc CTA injecté dans le menu déroulant sur mobile */
.nav-mobile-ctas {
  display: none;
}

/* Fil d'Ariane et blocs de code toujours fluides */
.breadcrumbs-bar {
  flex-wrap: wrap;
  row-gap: 4px;
}

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Correctifs Tablette & Mobile Navigation (<= 980px) */
@media (max-width: 980px) {
  .nav-bar {
    height: 66px;
    gap: 10px;
  }

  .brand-logo {
    font-size: 1.25rem;
    gap: 9px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 185px;
  }

  /* Masque les gros boutons du header sur mobile pour éviter tout débordement */
  .nav-actions .btn {
    display: none !important;
  }

  .nav-actions {
    gap: 6px;
    margin-left: auto;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    flex-shrink: 0;
  }

  .nav-links {
    top: 66px;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-hi);
  }

  .nav-mobile-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Correctifs Mobile Complet (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 52px 0;
  }

  .hero-section {
    padding: 32px 0 42px;
  }

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

  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.35rem) !important;
    line-height: 1.18;
    word-break: break-word;
  }

  .section-title {
    font-size: clamp(1.45rem, 5.8vw, 2rem) !important;
    line-height: 1.2;
  }

  .hero-lead,
  .section-subtitle {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .top-announcement {
    font-size: 0.75rem;
    line-height: 1.4;
    padding: 7px 12px;
  }

  .top-announcement a {
    display: inline-block;
    margin-left: 4px;
  }

  /* Boutons et badges : retour à la ligne autorisé pour ne jamais couper le texte */
  .btn,
  .btn-lg,
  .btn-sm {
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
    height: auto;
  }

  .btn-lg {
    padding: 13px 18px;
    font-size: 0.94rem;
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .eyebrow,
  .exclusive-market-ribbon,
  .zoom-hint-badge,
  .tqe-badge,
  .price-badge {
    white-space: normal !important;
    max-width: 100%;
    line-height: 1.35;
    height: auto;
    word-break: break-word;
  }

  .eyebrow,
  .exclusive-market-ribbon {
    font-size: 0.72rem;
    padding: 6px 12px;
    letter-spacing: 0.04em;
  }

  /* Toutes les grilles passent en 1 colonne propre (écrase aussi les styles inline) */
  .modules-grid,
  .blog-grid,
  .pricing-grid,
  .pillars-grid,
  .form-grid,
  .kpi-grid,
  .lab-widgets-grid,
  .checkout-stepper,
  .grinder-profile-tabs {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(2"],
  div[style*="minmax(300px"],
  div[style*="minmax(275px"],
  div[style*="minmax(270px"],
  div[style*="minmax(210px"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Séparateur du calculateur d'impact quand empilé en 1 colonne */
  div[style*="grid-template-columns:1fr 1fr"] > div[style*="border-left"] {
    border-left: none !important;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }

  /* Paddings de cartes allégés pour éviter la compression du texte */
  .card,
  .price-card,
  .module-card,
  .checkout-box,
  .blog-featured-card,
  .blog-card,
  .article-prose,
  .visual-box,
  .grinder-recommendation-panel,
  .modal-card {
    padding: 20px 16px !important;
    border-radius: 14px;
  }

  /* Cockpit Live Bar en haut du Hero */
  .cockpit-live-bar {
    padding: 12px 14px;
    gap: 8px;
    border-radius: 14px;
    margin-bottom: 24px;
  }

  .cockpit-status {
    font-size: 0.78rem;
    justify-content: center;
    width: 100%;
  }

  .cockpit-sep {
    display: none;
  }

  .cockpit-metrics {
    justify-content: center;
    gap: 6px 12px;
    width: 100%;
  }

  .cockpit-metric {
    font-size: 0.78rem;
  }

  /* Simulateur de Table 3-Max sur Mobile : aucun chevauchement ni hauteur coupée */
  .poker-sim-wrapper {
    padding: 16px 12px !important;
  }

  .poker-sim-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sim-street-btn,
  .sim-inspect-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    justify-content: center;
    font-size: 0.76rem;
    padding: 8px 8px;
  }

  .poker-table-stage {
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 0 !important;
  }

  .poker-felt {
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    border-radius: 22px !important;
    padding: 16px 12px !important;
    gap: 12px !important;
  }

  .poker-felt::before {
    border-radius: 16px !important;
    inset: 6px !important;
  }

  .poker-seat,
  .poker-seat.seat-hero,
  .poker-seat.seat-sb,
  .poker-seat.seat-bb {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }

  .dealer-chip {
    display: none !important;
  }

  .showcase-frame {
    min-height: 200px !important;
    padding: 8px;
  }

  .showcase-frame img {
    max-height: 240px;
    width: 100%;
    object-fit: contain;
  }

  /* Switch Mensuel / Annuel empilable sur mobile */
  .billing-switch-wrap {
    margin-bottom: 26px;
  }

  .billing-toggle {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 14px;
    padding: 5px;
    gap: 4px;
  }

  .billing-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.84rem;
    white-space: normal;
    line-height: 1.3;
    border-radius: 10px;
  }

  /* Lignes comparatives de coûts dans tarifs.html */
  #comparatif-cout-annuel div[style*="justify-content:space-between"] {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  #comparatif-cout-annuel strong[style*="white-space:nowrap"] {
    white-space: normal !important;
    font-size: 1.05rem !important;
  }

  /* Barre de recherche & Filtres du Blog */
  .blog-search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .blog-search-input {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .filter-bar {
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 7px 13px;
  }

  /* Tableaux comparatifs sur mobile */
  .comp-table th,
  .comp-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .comp-table td[style*="width:240px"] {
    width: auto !important;
    min-width: 110px;
  }

  /* Heatmap & Matrice 13x13 sur petits écrans */
  .slots-heatmap {
    grid-template-columns: 30px repeat(6, minmax(0, 1fr));
    gap: 3px;
    font-size: 0.6rem;
  }

  .heat-cell {
    font-size: 0.58rem;
    height: 22px;
  }

  /* Barre flottante de conversion bas d'écran */
  .floating-cta-bar {
    width: calc(100% - 20px);
    bottom: 10px;
    padding: 10px 14px;
    gap: 8px;
  }

  .floating-cta-info {
    font-size: 0.78rem;
    text-align: center;
    justify-content: center;
  }

  .floating-cta-actions {
    width: 100%;
    justify-content: stretch;
  }

  .floating-cta-actions .btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  /* Clé de licence générée */
  .license-key-pill {
    font-size: 1.05rem;
    padding: 10px 12px;
    word-break: break-all;
    max-width: 100%;
  }

  input#payment-ref-input {
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 400px) {
  .brand-sub {
    display: none;
  }
}
