/* ════════════════════════════════════════════════════════════════════════════
   AlphaPronos AI — Premium Sombre theme (investment-grade)
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Palette Premium Sombre ────────────────────────────────────────────── */
  --bg-primary:       #0B0F1A;                        /* bleu nuit profond */
  --bg-secondary:     #141B2E;                        /* bleu nuit clair */
  --bg-card:          #1A2138;                        /* cards */
  --bg-card-hover:    #1F2640;                        /* cards hover */
  --border-subtle:    #2A3150;                        /* bordures / séparateurs */
  --border-gold:      rgba(245, 197, 24, 0.3);        /* bordure or translucide hover */

  --gold:             #F5C518;                        /* or principal */
  --gold-bright:      #FFD93D;                        /* or vif hover */
  --gold-deep:        #D4A017;                        /* or foncé gradient */
  --gold-glow:        rgba(245, 197, 24, 0.25);       /* halo or translucide */

  --text-primary:     #FFFFFF;                        /* titres */
  --text-secondary:   #B8BFD1;                        /* corps */
  --text-muted:       #7A8299;                        /* meta */

  --success:          #22C55E;                        /* wins */
  --danger:           #EF4444;                        /* loss */
  --info:             #3B82F6;                        /* info */

  /* ── Gradients premium ─────────────────────────────────────────────────── */
  --gradient-gold:         linear-gradient(135deg, #F5C518 0%, #D4A017 100%);
  --gradient-gold-subtle:  linear-gradient(135deg, rgba(245,197,24,0.15) 0%, rgba(212,160,23,0.05) 100%);
  --gradient-glow:         radial-gradient(ellipse at center, rgba(245,197,24,0.15) 0%, transparent 70%);
  --gradient-bg:           linear-gradient(180deg, #0B0F1A 0%, #141B2E 100%);

  /* ── Timing ────────────────────────────────────────────────────────────── */
  --ease-smooth:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       150ms;
  --t-base:       300ms;

  /* ── Alias retro-compatibilité (étapes B-I migreront vers les nouveaux) ── */
  --bg:          var(--bg-primary);
  --bg-elevated: var(--bg-secondary);
  --border:      var(--border-subtle);
  --gold-dim:    var(--gold-deep);
  --text:        var(--text-primary);
  --muted:       var(--text-muted);
  --green:       var(--success);
  --red:         var(--danger);
  --orange:      #D29922;
}

/* ── Reset global ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--gradient-bg);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Safety: images never overflow */
img, svg { max-width: 100%; height: auto; display: block; }

/* ── Typographie : titres en Space Grotesk ────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

p { line-height: 1.65; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
a:hover { color: var(--gold-bright); }

/* ── Utils ─────────────────────────────────────────────────────────────────── */
.tabular-nums { font-variant-numeric: tabular-nums; }

/* ── Accessibilité : focus visible ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Selection ─────────────────────────────────────────────────────────────── */
::selection {
  background: var(--gold);
  color: var(--bg-primary);
}

main { flex: 1; }

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header + Navigation (Premium Sombre) ─────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  gap: 16px;
}

/* Brand (logo + text) */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  position: relative;
  transition: transform var(--t-fast) ease;
}
.brand:hover { transform: translateY(-1px); color: inherit; }
.brand-logo {
  height: 56px !important;
  width: auto !important;
  max-width: 160px;
  display: block;
  position: static;
  transition: filter var(--t-base) var(--ease-smooth);
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 22px rgba(245, 197, 24, 0.55));
}
.brand-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-text .brand-ai {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
  transition: color var(--t-fast) ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease-smooth);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}
.nav-cta { margin-left: 6px; }

/* Hamburger mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 102;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.nav-toggle:hover {
  background: var(--bg-card);
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 320ms var(--ease-smooth),
    opacity 180ms ease,
    top 320ms var(--ease-smooth);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-toggle.is-open { border-color: var(--border-subtle); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 101;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 380ms;
}
.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 300ms var(--ease-smooth);
}
.mobile-drawer.is-open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  /* Hauteur dynamique : 100dvh gère les mobiles modernes avec barre du navigateur variable */
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-left: 1px solid var(--border-subtle);
  padding: 88px 24px calc(32px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  transition: transform 380ms var(--ease-smooth);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-drawer.is-open .drawer-panel {
  transform: translateX(0);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.5);
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-links a {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
  border: 1px solid transparent;
}
.drawer-links a:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}
.drawer-links .btn-gold,
.drawer-links .btn-ghost {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 1rem;
}
.drawer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 12px 8px;
}

/* Body scroll lock when drawer open */
body.drawer-open { overflow: hidden; }

/* Responsive */
@media (max-width: 768px) {
  .navbar-inner { padding: 10px 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .brand { gap: 10px; }
  .brand-logo { height: 44px !important; }
  .brand-text { font-size: 1.05rem; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-gold, .btn-outline, .btn-ghost {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: 0 4px 18px rgba(245, 197, 24, 0.28);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245, 197, 24, 0.45);
  color: var(--bg-primary);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}
.btn-outline:hover {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-subtle);
  font-weight: 500;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-large { padding: 14px 28px; font-size: 1.05em; }
.btn-small { padding: 6px 14px; font-size: 0.85em; }
.btn-block { display: block; width: 100%; }

/* ── Flash messages ────────────────────────────────────────────────────── */
.flash-container {
  max-width: 600px;
  margin: 20px auto 0;
  padding: 0 24px;
}
.flash {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.92em;
}
.flash-error { background: rgba(248, 81, 73, 0.15); color: var(--red); border: 1px solid var(--red); }
.flash-success { background: rgba(63, 185, 80, 0.15); color: var(--green); border: 1px solid var(--green); }

/* ── Hero (Premium Sombre) ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Glow doré en arrière-plan */
.hero-glow {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(245, 197, 24, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 30% 25% at 30% 70%, rgba(212, 160, 23, 0.14) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.75;
  will-change: opacity;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge IA */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  white-space: nowrap;
}
.hero-badge-icon {
  font-size: 16px;
  line-height: 1;
  animation: pulse-subtle 2.8s ease-in-out infinite;
}
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.15); }
}

/* Titre H1 */
.hero-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.hero-title-ai {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  padding: 0 0.05em;
}

/* Slogan + sous-sous-titre */
.hero-slogan {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  max-width: 640px;
}
.hero-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-bottom: 48px;
}

/* CTA group */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-large {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: 12px;
  font-weight: 600;
}

/* ── Fade-up animation (Intersection Observer) ────────────────────────── */
.fade-up-init {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms var(--ease-smooth),
    transform 700ms var(--ease-smooth);
  will-change: opacity, transform;
}
.fade-up-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up-init { opacity: 1; transform: none; transition: none; }
  .hero-badge-icon { animation: none; }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
section { padding: 110px 0; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.gold { color: var(--gold); }
.muted { color: var(--text-muted); }
.small { font-size: 0.85em; }

/* ── Stats (Résultats en temps réel) ──────────────────────────────────── */
.stats {
  position: relative;
  background: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 1023px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid > *:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid > *:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
}

.stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 400ms var(--ease-smooth),
    border-color 400ms var(--ease-smooth),
    box-shadow 400ms var(--ease-smooth),
    background 400ms var(--ease-smooth);
}
.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(245, 197, 24, 0.15);
}

.stat-emoji {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
}
.stat-sport {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.stat-percent {
  margin: 8px 0 20px;
  line-height: 1;
}
.stat-countup {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.stat-progress {
  width: 100%;
  height: 8px;
  background: rgba(42, 49, 80, 0.6);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}
.stat-progress-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-gold);
  border-radius: inherit;
  transition: width 1800ms var(--ease-smooth);
  box-shadow: inset 0 0 8px rgba(245, 197, 24, 0.4);
}
.stat-ratio {
  font-size: 14px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

@media (prefers-reduced-motion: reduce) {
  .stat-progress-fill { transition: none; }
}

/* Total banner */
.total-banner {
  text-align: center;
  padding: 24px 32px;
  background: var(--gradient-gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 8px;
}
.total-number {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  font-size: 1.8em;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ── How it works — Timeline Premium ──────────────────────────────────── */
.how { background: transparent; }

.how-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 72px; /* place pour les numéros qui débordent */
}

.how-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px 24px 32px;
  text-align: center;
  transition: transform 300ms var(--ease-smooth),
              border-color 300ms var(--ease-smooth),
              box-shadow 300ms var(--ease-smooth);
}
.how-step:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 197, 24, 0.12);
}

/* Numéro rond qui déborde en haut */
.how-step-num {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 64px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.3);
  z-index: 2;
  font-variant-numeric: tabular-nums;
}

/* Ligne pointillée horizontale entre cards (desktop) */
.how-step::after {
  content: '';
  position: absolute;
  top: 0;
  right: -24px; /* = -gap pour rejoindre la card suivante */
  width: 24px;
  height: 2px;
  /* Pointillé via repeating-linear-gradient pour un meilleur contrôle */
  background-image: linear-gradient(to right, rgba(245, 197, 24, 0.4) 50%, transparent 50%);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  opacity: 0.7;
  z-index: 1;
}
.how-step:last-child::after { display: none; }

/* Icône SVG Lucide */
.how-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
  border-radius: 12px;
  border: 1px solid var(--border-gold);
}
.how-step-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.how-step-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.how-step-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Responsive Timeline ──────────────────────────────────────────────── */

/* Tablet : 2 colonnes 2 lignes */
@media (max-width: 1023px) and (min-width: 641px) {
  .how-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 24px;
  }
  /* Cacher la ligne horizontale entre card 2 et 3 (saut de ligne) */
  .how-step:nth-child(2)::after { display: none; }
}

/* Mobile : 1 colonne verticale avec trait vertical à gauche */
@media (max-width: 640px) {
  .how-timeline {
    grid-template-columns: 1fr;
    gap: 56px; /* place pour les numéros entre cards */
    padding-left: 40px;
    position: relative;
    margin-top: 40px;
  }
  /* Trait vertical continu à gauche */
  .how-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 12px;
    width: 2px;
    background-image: linear-gradient(to bottom, rgba(245, 197, 24, 0.4) 50%, transparent 50%);
    background-size: 2px 10px;
    background-repeat: repeat-y;
    opacity: 0.7;
    z-index: 0;
  }
  .how-step {
    padding: 24px 20px;
    text-align: left;
  }
  /* Numéro à gauche aligné avec le trait */
  .how-step-num {
    position: absolute;
    top: 20px;
    left: -40px;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 20px;
    line-height: 44px;
  }
  /* Désactiver la ligne horizontale */
  .how-step::after { display: none; }
  .how-step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  .how-step-icon svg { width: 22px; height: 22px; }
  .how-step-title { font-size: 18px; }
  .how-step-desc { font-size: 14px; }
}

/* ── Pricing (premium) ─────────────────────────────────────────────────── */
.pricing { background: linear-gradient(180deg, #060606 0%, var(--bg) 100%); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 8px 16px; /* top pour le badge DUO, latéral pour l'effet scale */
  align-items: stretch;
}
/* Tablet : 2×2 */
@media (max-width: 1199px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
/* Mobile : 1 colonne */
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 8px; }
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(26, 33, 56, 0.92) 0%, rgba(26, 33, 56, 0.78) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 197, 24, 0.35);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

/* DUO featured : scale + or */
.price-card.price-featured {
  border: 2px solid var(--gold);
  background:
    linear-gradient(180deg, rgba(245, 197, 24, 0.06) 0%, rgba(26, 33, 56, 0.85) 60%);
  box-shadow: 0 16px 48px rgba(245, 197, 24, 0.22), 0 0 0 1px rgba(245, 197, 24, 0.18);
  transform: scale(1.02);
  z-index: 2;
}
.price-card.price-featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 22px 60px rgba(245, 197, 24, 0.32), 0 0 0 1px rgba(245, 197, 24, 0.25);
}
@media (max-width: 1199px) {
  .price-card.price-featured { transform: none; }
  .price-card.price-featured:hover { transform: translateY(-4px); }
}

/* Badge "⭐ Le plus choisi" sur DUO */
.price-card.price-featured::before {
  content: "⭐ Le plus choisi";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--bg-primary);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.45);
}

/* Head : badge + prix centrés */
.price-head {
  text-align: center;
  margin-bottom: 4px;
}

.price-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  color: var(--text-muted, #9aa3b2);
  background: rgba(255, 255, 255, 0.02);
  text-transform: uppercase;
}
.price-badge.gold {
  color: var(--bg-primary);
  background: var(--gradient-gold);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35);
}

.price-amount {
  font-family: 'Poppins', 'Space Grotesk', sans-serif;
  font-size: 2.8em;
  font-weight: 800;
  color: var(--text, #fff);
  line-height: 1;
  margin: 0;
}
.price-amount-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.price-per {
  font-size: 0.38em;
  color: var(--text-muted, #9aa3b2);
  font-weight: 500;
  margin-left: 4px;
  -webkit-text-fill-color: var(--text-muted, #9aa3b2); /* garde le /mois lisible même sur DUO */
  background: none;
}

/* Séparateur subtil */
.price-sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.10) 50%, transparent 100%);
  margin: 20px 0 18px;
}

/* Features */
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-features .feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text, #e8ecf4);
  text-align: left;
}
.feat-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.feat-ok .feat-icon {
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
}
.feat-ko .feat-icon {
  background: rgba(184, 191, 209, 0.1);
  color: var(--text-muted, #94a3b8);
}
.feat-ko { color: var(--text-muted, #9aa3b2); }

/* CTAs tarifs */
.price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  margin-top: auto;
  letter-spacing: 0.01em;
}
.price-cta-subtle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text, #e8ecf4);
}
.price-cta-subtle:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.price-cta-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.price-cta-outline:hover {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.3);
}
.price-cta-gold {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: 0 6px 22px rgba(245, 197, 24, 0.38);
}
.price-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245, 197, 24, 0.55);
  color: var(--bg-primary);
}

/* Mobile : réduire padding + min-height */
@media (max-width: 640px) {
  .price-card { padding: 28px 22px; min-height: 0; border-radius: 20px; }
  .price-amount { font-size: 2.4em; }
}

/* ── Auth (login/register) ─────────────────────────────────────────────── */
.auth-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.auth-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 24px rgba(245, 197, 24, 0.35));
}
.auth-card h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8em;
  margin-bottom: 8px;
}
.auth-form {
  margin-top: 28px;
  text-align: left;
}
.auth-form label {
  display: block;
  margin-bottom: 16px;
}
.auth-form label span {
  display: block;
  color: var(--muted);
  font-size: 0.85em;
  margin-bottom: 6px;
  font-weight: 500;
}
.auth-form input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1em;
  font-family: inherit;
  transition: all 0.2s;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.auth-form button { margin-top: 12px; padding: 14px; font-size: 1em; }
.auth-link { margin-top: 20px; color: var(--muted); }
.auth-link a { color: var(--gold); text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }

/* ── Member dashboard (premium) ────────────────────────────────────────── */
.member-section { padding: 48px 0 96px; }
.member-container { max-width: 800px; }

.member-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.member-head-left { flex: 1; min-width: 260px; }
.member-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary, #fff);
  margin: 0 0 8px;
}
.member-sub {
  color: var(--text-muted, #9aa3b2);
  font-size: 15px;
  margin: 0;
}
.member-sub strong { color: var(--text-primary, #fff); font-weight: 600; }

/* Predictions list */
.predictions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

/* ── Prediction card ───────────────────────────────────────────────── */
.pred-card {
  position: relative;
  background: var(--bg-card, #1A2138);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 24px 28px;
  transition: transform 300ms var(--ease-smooth, ease), border-color 300ms var(--ease-smooth, ease), box-shadow 300ms var(--ease-smooth, ease);
  overflow: hidden;
}
.pred-card:hover {
  border-color: rgba(245, 197, 24, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245, 197, 24, 0.10), 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* Locked card */
.pred-card-locked {
  border: 1px dashed rgba(245, 197, 24, 0.3);
  opacity: 0.96;
}
.pred-card-locked:hover {
  border-color: rgba(245, 197, 24, 0.55);
  transform: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Row 1 - header */
.pred-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pred-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.pred-sport {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pred-sport-emoji { font-size: 14px; line-height: 1; }
.pred-sport.sport-football   { background: rgba(59, 130, 246, 0.14); color: #60a5fa; }
.pred-sport.sport-basketball { background: rgba(249, 115, 22, 0.14); color: #fb923c; }
.pred-sport.sport-hockey     { background: rgba(99, 102, 241, 0.16); color: #a5b4fc; }
.pred-sport.sport-tennis     { background: rgba(34, 197, 94, 0.14);  color: #4ade80; }

.pred-league {
  font-size: 12px;
  color: var(--text-muted, #9aa3b2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Header right badges */
.pred-head-right { flex: 0 0 auto; }
.pred-conf-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pred-conf-premium {
  background: var(--gradient-gold, linear-gradient(135deg, #F5C518 0%, #E5A90F 100%));
  color: var(--bg-primary, #0B0F1A);
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35);
}
.pred-conf-premium .pred-conf-icon { font-size: 12px; }
.pred-conf-standard {
  background: transparent;
  border: 1px solid var(--gold, #F5C518);
  color: var(--gold, #F5C518);
}

/* Result pills */
.pred-result-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pred-result-pill.result-win  { background: rgba(34, 197, 94, 0.15);  color: #22c55e; }
.pred-result-pill.result-loss { background: rgba(239, 68, 68, 0.15);  color: #ef4444; }
.pred-result-pill.result-void { background: rgba(184, 191, 209, 0.12); color: var(--text-muted, #9aa3b2); }

/* Lock pill (header right) */
.pred-lock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold, #F5C518);
}

/* Row 2 - match */
.pred-match {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-primary, #fff);
  margin: 12px 0 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.pred-vs {
  color: var(--text-muted, #9aa3b2);
  font-weight: 500;
  font-size: 0.82em;
}

.pred-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.pred-meta-icon { font-size: 13px; line-height: 1; }

/* Row 3 - prono box */
.pred-prono-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(245, 197, 24, 0.06);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 12px;
}
.pred-prono-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold, #F5C518);
  margin-bottom: 4px;
}
.pred-prono-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #fff);
  line-height: 1.3;
}
.pred-prono-box.is-blurred .pred-prono-text {
  filter: blur(4px);
  user-select: none;
}

/* Footer */
.pred-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(42, 49, 80, 0.4);
}
.pred-included-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted, #9aa3b2);
  letter-spacing: 0.02em;
}
.pred-included-tag svg { color: var(--gold, #F5C518); }

/* ── Upgrade overlay (locked card) ─────────────────────────────────── */
.pred-upgrade-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 3;
}
.pred-upgrade-inner {
  max-width: calc(100% - 16px);
  min-width: 0;
  text-align: center;
  background: rgba(10, 15, 26, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.pred-upgrade-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold, #F5C518);
  margin-bottom: 10px;
}
.pred-upgrade-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.pred-upgrade-desc {
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
  line-height: 1.5;
  margin: 0 0 14px;
}
.pred-upgrade-desc strong { color: var(--gold, #F5C518); font-weight: 600; }
.pred-upgrade-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 10px;
  background: var(--gradient-gold, linear-gradient(135deg, #F5C518 0%, #E5A90F 100%));
  color: var(--bg-primary, #0B0F1A);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 22px rgba(245, 197, 24, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pred-upgrade-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 197, 24, 0.5);
  color: var(--bg-primary, #0B0F1A);
}

/* ── Empty state ───────────────────────────────────────────────────── */
.pred-empty {
  text-align: center;
  padding: 72px 24px;
  background: var(--bg-card, #1A2138);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  margin-top: 24px;
}
.pred-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #F5C518);
  margin-bottom: 18px;
  opacity: 0.9;
}
.pred-empty-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pred-empty-desc {
  color: var(--text-muted, #9aa3b2);
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Member CTA banner ─────────────────────────────────────────────── */
.member-cta {
  margin-top: 48px;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--bg-card, #1A2138) 0%, rgba(245, 197, 24, 0.08) 100%);
  border: 1px solid rgba(245, 197, 24, 0.3);
  border-radius: 20px;
  text-align: center;
}
.member-cta-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.member-cta-spark { font-size: 22px; line-height: 1; }
.member-cta h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0;
  letter-spacing: -0.01em;
}
.member-cta p {
  color: var(--text-muted, #9aa3b2);
  font-size: 15px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.member-cta-btn {
  width: auto;
  display: inline-flex;
  padding: 12px 28px;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .member-section { padding: 32px 0 64px; }
  .pred-card { padding: 20px 22px; border-radius: 18px; }
  .pred-match { font-size: 18px; gap: 6px; }
  .pred-prono-box { padding: 12px 16px; }
  .pred-prono-text { font-size: 15px; }
  .pred-head { flex-wrap: wrap; }
  .pred-upgrade-inner { padding: 16px 18px; }
  .pred-upgrade-title { font-size: 15px; }
  .pred-upgrade-desc { font-size: 12.5px; }
  .pred-upgrade-icon { width: 40px; height: 40px; }
  .pred-upgrade-icon svg { width: 22px; height: 22px; }
  .member-cta { padding: 24px 22px; }
  .member-cta h3 { font-size: 17px; }
}

/* ── Admin Dashboard (Premium Sombre) ────────────────────────────────── */
.admin-section { padding: 40px 0 80px; }
.admin-container { max-width: 1280px; padding: 0 24px; }

/* Header */
.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.admin-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 8px 0 8px;
}
.admin-title .gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.admin-header p.muted { font-size: 16px; color: var(--text-muted); }
.admin-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 200ms var(--ease-smooth);
}
.admin-actions .btn-outline:hover {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.25);
}

/* Tabs premium (pill style) */
.admin-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  margin-bottom: 28px;
  background: rgba(26, 33, 56, 0.5);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  max-width: 100%;
}
.admin-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease-smooth);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-tab:hover { color: var(--text-primary); }
.admin-tab.is-active {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.25);
}
.tab-count {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
}
.admin-tab.is-active .tab-count {
  background: rgba(11, 15, 26, 0.25);
  color: var(--bg-primary);
}

.admin-panel { display: none; margin-top: 12px; }
.admin-panel.is-active { display: block; }

/* Stats grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) { .admin-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .admin-stats-grid { grid-template-columns: 1fr; } }

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px 28px;
  transition: all 300ms var(--ease-smooth);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.admin-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 197, 24, 0.10);
}
.admin-card-highlight {
  background:
    linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(26, 33, 56, 0.9) 100%);
  border-color: var(--border-gold);
}
.admin-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.admin-card-value {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
  word-break: break-word;
}
.admin-card-value.gold-gradient,
.admin-card-highlight .admin-card-value {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.admin-card-email {
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
  background: none;
  margin: 4px 0 8px;
  letter-spacing: normal;
}
.admin-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.growth-up   { color: #4ADE80; font-weight: 600; }
.growth-down { color: #F87171; font-weight: 600; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 10px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 150ms ease;
}
.copy-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 197, 24, 0.1);
}

/* Filters : pills individuels */
.admin-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-group {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-chip.is-active {
  background: rgba(245, 197, 24, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}
.admin-search {
  flex: 1;
  min-width: 240px;
  padding: 12px 16px 12px 44px;
  background: var(--bg-card) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8299' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>") no-repeat 16px center;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 150ms ease;
}
.admin-search::placeholder { color: var(--text-muted); }
.admin-search:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.2);
}

/* Table */
.admin-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 900px;
}
.admin-table th {
  text-align: left;
  padding: 16px 20px;
  background: rgba(42, 49, 80, 0.3);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.admin-table td {
  padding: 16px 20px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(42, 49, 80, 0.5);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr { transition: background 150ms ease; }
.admin-table tbody tr:hover td { background: rgba(31, 38, 64, 0.5); }
.col-email {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* Badges plans — unifiés ici */
.plan-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan-free {
  background: rgba(184, 191, 209, 0.15);
  color: var(--text-muted);
}
.plan-starter {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}
.plan-duo {
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
}
.plan-elite {
  background: var(--gradient-gold);
  color: var(--bg-primary);
}
.plan-premium {
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
}

/* Badges status */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.status-active {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}
.status-canceled {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}
.status-other {
  background: rgba(210, 153, 34, 0.15);
  color: #D29922;
}
.status-none {
  background: rgba(184, 191, 209, 0.1);
  color: var(--text-muted);
  font-weight: 500;
}

.sports-mini {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: capitalize;
}

/* Action buttons */
.admin-actions-cell { white-space: nowrap; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 150ms ease;
  margin-right: 4px;
}
.icon-btn:hover {
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
}

.stripe-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.stripe-link:hover { text-decoration: underline; }

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.page-btn {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 150ms ease;
}
.page-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Empty panel */
.empty-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 60px 24px;
  text-align: center;
}
.empty-panel .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-panel h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

/* Modal */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal.is-open { display: flex; }
.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.admin-modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.admin-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 150ms ease;
}
.admin-modal-close:hover { color: var(--text-primary); }
.admin-modal-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.admin-modal-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 18px;
  font-size: 14px;
}
.admin-modal-details dt {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.admin-modal-details dd {
  color: var(--text-primary);
  word-break: break-all;
}

/* Nav admin link */
.nav-admin {
  position: relative;
  color: var(--gold) !important;
}
.nav-admin-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* Responsive admin */
@media (max-width: 1023px) {
  .admin-container { padding: 0 20px; }
}
@media (max-width: 640px) {
  .admin-section { padding: 24px 0 60px; }
  .admin-container { padding: 0 16px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-tabs { width: 100%; overflow-x: auto; }
  .admin-tab { padding: 8px 14px; font-size: 13px; }
  .admin-card { padding: 20px 22px; min-height: auto; }
  .admin-card-value { font-size: 28px; }
  .admin-filters { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-group { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .admin-search { min-width: 0; }
  /* Tableau : colonnes non-essentielles masquées sur mobile */
  .admin-table th:nth-child(5),
  .admin-table td:nth-child(5),
  .admin-table th:nth-child(7),
  .admin-table td:nth-child(7) { display: none; }
}

/* ── Sport selection form ──────────────────────────────────────────────── */
.sports-form {
  text-align: left;
  margin-top: 28px;
}
.sport-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.05em;
}
.sport-option:hover { border-color: var(--gold); }
.sport-option input:checked + span { color: var(--gold); font-weight: 700; }
.sport-option input[type="radio"],
.sport-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

/* ── Account page (premium) ───────────────────────────────────────────── */
.account-section { padding: 48px 0 96px; }
.account-container { max-width: 1040px; }

/* Header */
.account-header {
  margin-bottom: 36px;
}
.account-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold, #F5C518);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.account-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary, #fff);
  margin: 0 0 10px;
}
.account-sub {
  color: var(--text-muted, #9aa3b2);
  font-size: 16px;
  margin: 0;
}
.account-sub strong { color: var(--text-primary, #fff); font-weight: 600; }

/* Grid 2 cols desktop */
.account-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
.account-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 899px) {
  .account-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Generic card */
.account-card {
  background: var(--bg-card, #1A2138);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 32px 36px;
  position: relative;
}
.account-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold, #F5C518);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.account-card-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #fff);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

/* Plan card (paid gradient) */
.account-plan-paid {
  border-color: var(--border-gold, rgba(245, 197, 24, 0.35));
  background: linear-gradient(180deg, var(--bg-card, #1A2138) 0%, rgba(245, 197, 24, 0.04) 100%);
}
.account-plan-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.account-plan-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.account-plan-name-gold {
  background: var(--gradient-gold, linear-gradient(135deg, #F5C518 0%, #E5A90F 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan-pill-free {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted, #9aa3b2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.plan-pill-gold {
  background: var(--gradient-gold, linear-gradient(135deg, #F5C518 0%, #E5A90F 100%));
  color: var(--bg-primary, #0B0F1A);
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35);
}
.account-plan-desc {
  color: var(--text-muted, #9aa3b2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.account-plan-desc strong {
  color: var(--text-primary, #fff);
  font-weight: 600;
}

/* Status pills */
.account-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.status-pill .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.02);
}
.status-pill-active   { background: rgba(34, 197, 94, 0.15);  color: #4ADE80; }
.status-pill-canceled { background: rgba(239, 68, 68, 0.12);  color: #F87171; }
.status-pill-warning  { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }
.status-note {
  font-size: 12.5px;
  color: var(--text-muted, #9aa3b2);
}

/* Separator subtle */
.account-sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.10) 50%, transparent 100%);
  margin: 22px 0 16px;
}
.account-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted, #9aa3b2);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Sport pills list */
.sport-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.25);
  color: var(--gold, #F5C518);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.account-sports-free {
  color: var(--text-muted, #9aa3b2);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Action buttons (vertical stack) */
.account-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  margin-bottom: 10px;
}
.account-btn:last-child { margin-bottom: 0; }
.account-btn-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.12);
  color: var(--gold, #F5C518);
}
.account-btn-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.account-btn-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary, #fff);
  line-height: 1.3;
}
.account-btn-desc {
  font-size: 12.5px;
  color: var(--text-muted, #9aa3b2);
  line-height: 1.4;
}

.account-btn-outline {
  border-color: rgba(245, 197, 24, 0.35);
  background: rgba(245, 197, 24, 0.04);
}
.account-btn-outline:hover {
  border-color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.15);
}

.account-btn-gold {
  border-color: transparent;
  background: var(--gradient-gold, linear-gradient(135deg, #F5C518 0%, #E5A90F 100%));
  box-shadow: 0 6px 22px rgba(245, 197, 24, 0.35);
}
.account-btn-gold .account-btn-icon {
  background: rgba(11, 15, 26, 0.18);
  color: var(--bg-primary, #0B0F1A);
}
.account-btn-gold .account-btn-label,
.account-btn-gold .account-btn-desc {
  color: var(--bg-primary, #0B0F1A);
}
.account-btn-gold .account-btn-desc { opacity: 0.8; }
.account-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(245, 197, 24, 0.5);
}

.account-btn-subtle {
  border-color: rgba(255, 255, 255, 0.08);
}
.account-btn-subtle .account-btn-icon {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted, #9aa3b2);
}
.account-btn-subtle .account-btn-label { font-size: 14px; color: var(--text-secondary, #d4d9e1); }
.account-btn-subtle:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.04);
  transform: translateY(-2px);
}
.account-btn-subtle:hover .account-btn-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
}

.account-cancel-form { margin: 0; }

/* Info box for manual accounts */
.account-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(245, 197, 24, 0.06);
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-radius: 12px;
}
.account-info-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.account-info-box strong {
  display: block;
  color: var(--text-primary, #fff);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.account-info-box p {
  color: var(--text-muted, #9aa3b2);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* Support card list */
.account-support-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-support-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.account-support-list li:last-child { border-bottom: none; }
.account-support-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-secondary, #d4d9e1);
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.account-support-list a:hover {
  color: var(--gold, #F5C518);
  transform: translateX(4px);
}
.account-support-logout { color: var(--text-muted, #9aa3b2) !important; }
.account-support-logout:hover { color: #F87171 !important; }

/* Legacy status-* (conservé pour compat éventuelle) */
.status-active { color: #4ADE80; font-weight: 600; }
.status-canceled { color: #F87171; }
.status-warning { color: #FBBF24; font-weight: 600; }

/* Mobile */
@media (max-width: 640px) {
  .account-section { padding: 32px 0 72px; }
  .account-card { padding: 24px 22px; border-radius: 18px; }
  .account-plan-name { font-size: 24px; }
  .account-btn { padding: 12px 14px; }
  .account-btn-label { font-size: 14px; }
  .account-btn-desc { font-size: 12px; }
}

/* ── Subscribe placeholder ─────────────────────────────────────────────── */
.subscribe-section {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.subscribe-card {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 56px 44px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 60px var(--gold-glow);
}
.subscribe-icon { font-size: 4em; margin-bottom: 20px; }
.subscribe-card h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2em;
  margin-bottom: 20px;
}
.subscribe-msg { font-size: 1.2em; color: var(--text); margin-bottom: 12px; }
.subscribe-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ── Footer (premium) ──────────────────────────────────────────────────── */
.footer-separator {
  height: 1px;
  max-width: 1200px;
  margin: 80px auto 0;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 197, 24, 0.4) 50%, transparent 100%);
}
.site-footer {
  background: var(--bg-primary, #0B0F1A);
  border-top: 1px solid rgba(245, 197, 24, 0.15);
  padding: 60px 24px 32px;
  margin-top: auto;
  color: var(--text-secondary, #d4d9e1);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid principal 3 colonnes desktop */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer { padding: 40px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-separator { margin: 64px auto 0; }
}

/* Col 1 — Brand */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary, #fff);
  margin-bottom: 16px;
}
.footer-logo {
  width: auto;
  height: 44px;
  display: block;
}
.footer-brand-text {
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary, #fff);
}
.footer-brand-ai {
  background: var(--gradient-gold, linear-gradient(135deg, #F5C518 0%, #E5A90F 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.footer-tagline {
  color: var(--text-secondary, #d4d9e1);
  font-size: 15px;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 0 14px;
}
.footer-pitch {
  color: var(--text-muted, #9aa3b2);
  font-size: 13px;
  line-height: 1.65;
  max-width: 280px;
  margin: 0;
}

/* Titres de colonnes */
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold, #F5C518);
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer-col-title-support { margin-top: 28px; }

/* Col 2 — Liens */
.footer-links-list,
.footer-social-list,
.footer-support-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links-list li a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary, #d4d9e1);
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
}
.footer-links-list li a:hover {
  color: var(--gold, #F5C518);
  transform: translateX(4px);
}

/* Col 3 — Social */
.footer-social-list li { margin-bottom: 12px; }
.footer-social-list li:last-child { margin-bottom: 0; }
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  text-decoration: none;
  color: var(--text-secondary, #d4d9e1);
  transition: color 200ms ease, transform 200ms ease;
}
.footer-social-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.08);
  color: var(--text-muted, #9aa3b2);
  transition: background 200ms ease, color 200ms ease;
}
.footer-social-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.footer-social-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary, #fff);
  line-height: 1.2;
}
.footer-social-sub {
  font-size: 12.5px;
  color: var(--text-muted, #9aa3b2);
}
.footer-social-link:hover {
  color: var(--gold, #F5C518);
  transform: translateX(4px);
}
.footer-social-link:hover .footer-social-icon {
  background: rgba(245, 197, 24, 0.18);
  color: var(--gold, #F5C518);
}
.footer-social-link:hover .footer-social-label { color: var(--gold, #F5C518); }

/* Support links */
.footer-support-list li { margin-bottom: 2px; }
.footer-support-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary, #d4d9e1);
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
}
.footer-support-list li a:hover {
  color: var(--gold, #F5C518);
  transform: translateX(4px);
}

/* Bottom bar */
.footer-divider {
  height: 1px;
  background: rgba(42, 49, 80, 0.5);
  margin: 48px 0 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-left {
  max-width: 640px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
  margin: 0 0 4px;
}
.footer-responsible {
  font-size: 12px;
  color: var(--text-muted, #9aa3b2);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
}
.footer-legal-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.footer-legal-list li a {
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-legal-list li a:hover { color: var(--gold, #F5C518); }

/* Placeholders "Coming soon" (pages pas encore créées) */
.footer-link-soon {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-muted, #9aa3b2);
  cursor: not-allowed;
  opacity: 0.6;
  transition: opacity 200ms ease;
  user-select: none;
}
.footer-link-soon:hover { opacity: 0.8; }

.footer-legal-link-soon {
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
  cursor: not-allowed;
  opacity: 0.5;
  transition: opacity 200ms ease;
  user-select: none;
}
.footer-legal-link-soon:hover { opacity: 0.7; }

@media (max-width: 640px) {
  .footer-divider { margin: 32px 0 20px; }
  .footer-bottom { flex-direction: column; gap: 18px; }
  .footer-legal-list { gap: 16px 20px; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Note : .navbar/.brand/.nav-* gérés par le breakpoint 768px plus haut */
  .hero { min-height: 70vh; padding: 56px 20px 80px; }
  .hero-badge { font-size: 12px; padding: 8px 16px; margin-bottom: 24px; letter-spacing: 0.03em; }
  .hero-badge-icon { font-size: 14px; }
  .hero-subtitle { font-size: 12px; letter-spacing: 0.15em; margin-bottom: 36px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 340px; }
  .hero-cta a { width: 100%; }
  .btn-large { padding: 16px 28px; font-size: 16px; }
  section { padding: 70px 0; }
  .section-header { margin-bottom: 48px; }
  .stat-card { padding: 28px 20px; }
  .stat-emoji { font-size: 56px; }
  .stat-sport { font-size: 20px; }
  .total-banner { font-size: 15px; padding: 20px 24px; }
  .auth-card { padding: 32px 24px; }
  /* admin iframe legacy override supprimé (nouveau dashboard admin) */
}

/* === Phase 2a : Bandeau promo lancement === */
.promo-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg,
    rgba(245,197,24,0.12) 0%,
    rgba(245,197,24,0.22) 50%,
    rgba(245,197,24,0.12) 100%);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
  z-index: 50;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245,197,24,0.18) 50%,
    transparent 100%);
  animation: promo-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes promo-shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}
.promo-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.promo-banner-emoji { font-size: 18px; line-height: 1; }
.promo-banner-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}
.promo-banner-text strong { color: var(--gold); font-weight: 600; }
.promo-banner-sep { color: var(--text-muted); margin: 0 2px; }
.promo-banner-code {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(245,197,24,0.18);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  font-family: 'Space Grotesk', monospace;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.8px;
  color: var(--gold);
  user-select: all;
}
.promo-banner-expiry {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.promo-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--gradient-gold);
  color: #0B0F1A;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
  white-space: nowrap;
}
.promo-banner-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,197,24,0.35);
}
@media (max-width: 640px) {
  .promo-banner-inner { padding: 8px 14px; gap: 8px; }
  .promo-banner-text { font-size: 12.5px; gap: 6px; }
  .promo-banner-sep, .promo-banner-expiry { display: none; }
  .promo-banner-cta { padding: 5px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-banner::before { animation: none; display: none; }
  .promo-banner-cta:hover { transform: none; }
}

/* === Phase 2a : Badges réduction /account === */
.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}
.account-badge-trial {
  background: rgba(245,197,24,0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.account-badge-promo {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
}
