/* SurcoteAI — design sombre premium, mobile-first */

/* Fontes variables auto-hébergées (latin) — zéro dépendance externe,
   préchargées dans le HTML pour un LCP rapide. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/SpaceGrotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

:root {
  --bg: #0B0F14;
  --surface: #141B23;
  --border: #1F2A35;
  --accent: #3DDC84;
  --accent-dim: rgba(61, 220, 132, 0.12);
  --gold: #F5C518;
  --gold-dim: rgba(245, 197, 24, 0.12);
  --text: #E8EDF2;
  --text-2: #8A97A4;
  --danger: #FF5C5C;
  --radius: 16px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 50% -200px, #101823 0%, var(--bg) 60%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 110px; /* place pour le bandeau prévention fixe */
}

/* Verrou de scroll tant que la modal 18+ est présente — CSS pur, aucune
   mutation JS au chargement (le repaint global retardait le LCP).
   html.age-ok = confirmation déjà donnée (localStorage) : modal masquée. */
html:not(.age-ok) body:has(.age-gate:not(.is-closing)) { overflow: hidden; }

html.age-ok .age-gate { display: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.5em; }

a { color: var(--accent); }

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----------------------------------------------------------------------- */
/* Header sticky                                                            */
/* ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

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

#header-date {
  font-size: 0.78rem;
  color: var(--text-2);
}

/* ----------------------------------------------------------------------- */
/* Hero                                                                     */
/* ----------------------------------------------------------------------- */
.hero {
  padding: 36px 0 8px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero .tagline {
  color: var(--text-2);
  margin: 0 auto 24px;
  max-width: 320px;
}

/* Budget */
.budget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.budget-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 10px;
}

.budget-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.budget-field {
  position: relative;
  flex-shrink: 0;
}

#budget-input {
  width: 92px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 10px 28px 10px 12px;
  outline: none;
  transition: border-color 0.2s;
}

#budget-input:focus { border-color: var(--accent); }

.budget-field::after {
  content: '€';
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  font-size: 0.95rem;
  pointer-events: none;
}

/* Slider */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: pointer;
  transition: transform 0.15s;
}

input[type='range']::-webkit-slider-thumb:active { transform: scale(1.15); }

input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: pointer;
}

/* CTA */
.cta {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 15px 20px;
  background: var(--accent);
  color: #06210f;
  border: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 6px 24px rgba(61, 220, 132, 0.25);
}

.cta:hover { box-shadow: 0 8px 32px rgba(61, 220, 132, 0.4); }
.cta:active { transform: scale(0.98); }
.cta:disabled { opacity: 0.6; cursor: wait; }

/* ----------------------------------------------------------------------- */
/* Profils de mise                                                          */
/* ----------------------------------------------------------------------- */
.bankroll-section { padding: 28px 0 4px; }

.section-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.profile-tabs {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
}

.profile-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.profile-tab:hover { color: var(--text); }

.profile-tab.is-active {
  background: var(--accent-dim);
  color: var(--accent);
}

.profile-tab small {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  margin-top: 2px;
  opacity: 0.8;
}

#profile-description {
  font-size: 0.85rem;
  color: var(--text-2);
  margin: 12px 2px 0;
  min-height: 2.6em;
}

.warning-box {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 92, 92, 0.35);
  border-radius: 12px;
  background: rgba(255, 92, 92, 0.07);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.5;
}

.warning-box strong { color: var(--danger); }

/* ----------------------------------------------------------------------- */
/* Picks                                                                    */
/* ----------------------------------------------------------------------- */
.picks-section { padding: 28px 0 8px; }

#source-notice { margin-bottom: 12px; }

.notice-chip {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 12px;
}

.notice-warn {
  color: var(--gold);
  border-color: rgba(245, 197, 24, 0.35);
  background: var(--gold-dim);
}

.day-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 99px;
  padding: 5px 12px;
  margin-bottom: 10px;
}

.empty-state {
  color: var(--text-2);
  text-align: center;
  padding: 32px 12px;
}

/* Cartes */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.pick-header { margin-bottom: 14px; }

.pick-teams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.pick-teams .vs { color: var(--text-2); }

.pick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-2);
}

.pick-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.selection-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.badge-value {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(245, 197, 24, 0.4);
  border-radius: 99px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* Probabilité */
.prob-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.prob-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.prob-num .pct { font-size: 1.2rem; color: var(--text-2); }

.info-btn {
  background: none;
  border: none;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.74rem;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline dotted;
  transition: color 0.2s;
}

.info-btn:hover { color: var(--accent); }

.prob-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
  margin: 8px 0 4px;
}

.prob-fill {
  height: 100%;
  width: var(--w, 0%);
  border-radius: 4px;
  background: linear-gradient(90deg, #2aa866, var(--accent));
  animation: fill-grow 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fill-grow {
  from { width: 0; }
}

.tooltip {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.pick-odds-line {
  font-size: 0.83rem;
  color: var(--text-2);
  margin: 8px 0 12px;
}

.odd-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--text);
}

/* Accordéon comparateur */
.odds-accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.odds-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.odds-accordion summary::-webkit-details-marker { display: none; }
.odds-accordion summary:hover { background: rgba(255, 255, 255, 0.03); }

.odds-accordion .chevron { color: var(--text-2); transition: transform 0.25s; }
.odds-accordion[open] .chevron { transform: rotate(180deg); }

.odds-table {
  border-top: 1px solid var(--border);
  animation: slide-in 0.25s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.partner-note {
  font-size: 0.7rem;
  color: var(--text-2);
  margin: 10px 14px 6px;
}

.odds-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}

a.odds-row:hover, a.odds-row:active { background: var(--accent-dim); }

.odds-row.is-best { background: rgba(61, 220, 132, 0.06); }
.odds-row.is-best .odd-num { color: var(--accent); }

.odds-row .book-name { font-weight: 500; }

.odds-row.no-link { color: var(--text-2); }

.badge-best {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 99px;
  padding: 2px 8px;
  margin-left: 8px;
  white-space: nowrap;
}

/* Mise suggérée */
.pick-footer { margin-top: 14px; }

.stake-pill {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: 99px;
  padding: 8px 16px;
}

.stake-pill strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

/* Disclaimer picks */
.picks-disclaimer {
  font-size: 0.76rem;
  color: var(--text-2);
  margin: 4px 2px 0;
}

/* Skeletons */
.skeleton-card { min-height: 150px; }

.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, #283543 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.skeleton-line { height: 14px; margin-bottom: 12px; }
.skeleton-bar { height: 8px; margin-bottom: 12px; border-radius: 4px; }
.w-40 { width: 40%; }
.w-60 { width: 60%; }
.w-80 { width: 80%; }

/* ----------------------------------------------------------------------- */
/* FAQ + mentions légales                                                   */
/* ----------------------------------------------------------------------- */
.text-section { padding: 28px 0 8px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255, 255, 255, 0.03); }

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 0.84rem;
  color: var(--text-2);
}

.legal {
  font-size: 0.8rem;
  color: var(--text-2);
}

.legal h3 { font-size: 0.95rem; color: var(--text); margin-top: 1.2em; }

/* ----------------------------------------------------------------------- */
/* Footer + bandeau prévention                                              */
/* ----------------------------------------------------------------------- */
.site-footer {
  padding: 24px 0 24px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-2);
}

.site-footer nav {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--accent); }

.prevention-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #11161d;
  border-top: 1px solid rgba(255, 92, 92, 0.35);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  text-align: center;
}

.prevention-banner p {
  margin: 0 auto;
  max-width: 640px;
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--text-2);
}

.prevention-banner strong { color: var(--danger); font-weight: 600; }

/* ----------------------------------------------------------------------- */
/* Modal 18+                                                                */
/* ----------------------------------------------------------------------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 11, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px;
  transition: opacity 0.25s;
}

.age-gate.is-closing { opacity: 0; pointer-events: none; }

.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.age-gate-box .age-icon { font-size: 2.2rem; }

.age-gate-box h2 { font-size: 1.3rem; margin: 10px 0 6px; }

.age-gate-box p { color: var(--text-2); font-size: 0.85rem; margin: 0 0 20px; }

.age-gate-actions { display: flex; gap: 10px; }

.age-gate-actions button {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.2s;
}

.age-gate-actions button:active { transform: scale(0.97); }

#age-yes {
  background: var(--accent);
  color: #06210f;
  border: none;
}

#age-no {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

#age-no:hover { border-color: var(--danger); color: var(--danger); }

/* ----------------------------------------------------------------------- */
/* Desktop                                                                  */
/* ----------------------------------------------------------------------- */
@media (min-width: 600px) {
  .hero h1 { font-size: 2.4rem; }
  .prevention-banner p { font-size: 0.72rem; }
}

/* ======================================================================= */
/* V2 — Funnel Pass Mondial                                                */
/* ======================================================================= */

/* --- A. Barre d'urgence sticky --------------------------------------- */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--accent);
  color: #06210f;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  padding: 8px 12px;
  line-height: 1.4;
  /* Hauteur réservée pour deux lignes : le passage placeholder → compte à
     rebours ne décale jamais la page (CLS). */
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.urgency-bar strong { font-weight: 700; }

.urgency-clock {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Le header n'est plus sticky : la barre d'urgence occupe le haut. */
.site-header { position: static; backdrop-filter: none; background: transparent; }

.header-access {
  font-size: 0.78rem;
  color: var(--text-2);
  text-decoration: none;
}

.header-access:hover { color: var(--accent); }

.pass-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: 99px;
  padding: 5px 11px;
}

/* --- B. Hero ----------------------------------------------------------- */
.hero-pitch {
  position: relative;
  padding: 40px 0 16px;
}

.hero-pitch::before {
  content: '';
  position: absolute;
  inset: -24px -16px 0;
  z-index: -1;
  /* Lignes de terrain à ~3 % + dégradé radial vert pelouse depuis le bas */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400' fill='none' stroke='%233DDC84' stroke-opacity='0.03' stroke-width='1.5'%3E%3Ccircle cx='200' cy='200' r='70'/%3E%3Cline x1='0' y1='200' x2='400' y2='200'/%3E%3Crect x='40' y='0' width='320' height='110'/%3E%3Crect x='120' y='0' width='160' height='45'/%3E%3Crect x='40' y='290' width='320' height='110'/%3E%3Crect x='120' y='355' width='160' height='45'/%3E%3C/svg%3E") center / 400px repeat,
    radial-gradient(420px 320px at 50% 105%, rgba(61, 220, 132, 0.12) 0%, transparent 70%);
}

.hero-pitch h1 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-pitch .tagline { max-width: 360px; margin-bottom: 26px; }

.cta-reassurance {
  font-size: 0.74rem;
  color: var(--text-2);
  margin-top: 12px;
}

/* CTA principal en lien (et non bouton) */
a.cta {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 16px 20px;
  background: var(--accent);
  color: #06210f;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(61, 220, 132, 0.25);
  transition: transform 0.12s, box-shadow 0.2s;
}

a.cta:hover { box-shadow: 0 8px 32px rgba(61, 220, 132, 0.4); }
a.cta:active { transform: scale(0.98); }

/* Pulsation lente — UNE SEULE sur toute la page (CTA hero) */
.cta-pulse { animation: cta-pulse 2.5s ease-in-out infinite; }

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(61, 220, 132, 0.25); }
  50% { box-shadow: 0 6px 38px rgba(61, 220, 132, 0.5); }
}

/* --- C. Paywall picks floutés ------------------------------------------ */
.picks-toolbar { margin-bottom: 10px; }

.publish-note {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-2);
}

.badge-free {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #06210f;
  background: var(--accent);
  border-radius: 99px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.pick-card.is-free { border-color: rgba(61, 220, 132, 0.4); }

.lock-zone {
  position: relative;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
}

.lock-zone .blurred {
  filter: blur(8px) saturate(0.6);
  pointer-events: none;
  user-select: none;
  padding: 4px 2px 8px;
}

.lock-zone .blurred .pick-selection { margin-bottom: 8px; }
.lock-zone .blurred .pick-odds-line { margin: 6px 0 10px; }

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(20, 27, 35, 0.55);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(232, 237, 242, 0.12);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}

.lock-overlay:hover {
  background: rgba(20, 27, 35, 0.7);
  border-color: rgba(61, 220, 132, 0.45);
}

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(61, 220, 132, 0.14);
  border: 1px solid rgba(61, 220, 132, 0.35);
}

.lock-icon.big { width: 58px; height: 58px; margin-bottom: 6px; }

/* --- D. Compteur de valeur réel ---------------------------------------- */
.counter-section {
  margin: 28px 0 4px;
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.counter-figures {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.counter-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1.1;
}

.counter-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-2);
  max-width: 130px;
}

.counter-sep { color: var(--border); font-size: 1.6rem; }

.counter-line {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: var(--text-2);
}

.counter-line strong { color: var(--text); }

/* --- E. Comment ça marche ---------------------------------------------- */
.steps-section { padding: 28px 0 4px; }

.steps-tagline {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  margin: -4px 0 16px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.step-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-dim);
}

.step strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.step p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--text-2);
}

/* --- F. Démo bankroll --------------------------------------------------- */
.budget-card .profile-tabs { margin-top: 16px; }

.demo-amounts {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.demo-amount {
  flex: 1;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 6px;
  transition: border-color 0.2s;
}

.demo-amount.is-active { border-color: rgba(61, 220, 132, 0.5); }

.demo-amount span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-2);
}

.demo-amount strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin: 4px 0 2px;
}

.demo-amount small {
  display: block;
  font-size: 0.62rem;
  color: var(--text-2);
}

.demo-note {
  font-size: 0.76rem;
  color: var(--text-2);
  margin: 12px 2px 0;
}

/* --- G. Preuve sociale --------------------------------------------------- */
.testimonial blockquote {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.testimonial figcaption {
  font-size: 0.76rem;
  color: var(--text-2);
}

/* --- H. Tableau comparatif ----------------------------------------------- */
.compare-section { padding: 28px 0 4px; }

.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-2);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--text-2);
  width: 31%;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table .col-pass {
  background: rgba(61, 220, 132, 0.07);
  color: var(--text);
}

.compare-table thead .col-pass { color: var(--accent); }

/* --- J. CTA final --------------------------------------------------------- */
.final-cta {
  margin: 32px 0 8px;
  padding: 28px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: var(--radius);
}

.final-cta h2 { font-size: 1.4rem; }

.final-cta > p {
  color: var(--text-2);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

/* --- CTA sticky bottom (mobile) ------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 55; /* sous le bandeau prévention (60) — ne le recouvre jamais */
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(11, 15, 20, 0.96), rgba(11, 15, 20, 0.75));
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cta-compact {
  max-width: 480px;
  margin: 0 auto;
  padding: 13px 20px;
  font-size: 0.98rem;
}

/* --- Page /acces ------------------------------------------------------------ */
.access-section { padding: 24px 0 8px; }

.paid-banner {
  background: var(--accent-dim);
  border: 1px solid rgba(61, 220, 132, 0.4);
  color: var(--accent);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 14px;
}

.already-active { display: block; text-align: center; margin-bottom: 14px; }
.already-active a { color: var(--accent); }

.access-card {
  text-align: center;
  padding: 28px 20px;
}

.access-card h1 { font-size: 1.4rem; margin: 10px 0 8px; }

.access-intro {
  color: var(--text-2);
  font-size: 0.86rem;
  margin: 0 0 20px;
}

.field-label {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.field-input:focus { border-color: var(--accent); }

.field-hint {
  text-align: left;
  font-size: 0.74rem;
  color: var(--text-2);
  margin: 8px 2px 16px;
}

.access-message { font-size: 0.86rem; margin: 14px 0 0; min-height: 1.4em; }
.access-message.is-error { color: var(--danger); }
.access-message.is-success { color: var(--accent); }
.access-message a { color: var(--accent); }

.access-buy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 18px;
}

.access-buy a { color: var(--accent); font-weight: 600; }

.dash-invite {
  display: block;
  text-align: center;
  background: var(--accent-dim);
  border: 1px solid rgba(61, 220, 132, 0.4);
  border-radius: 12px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 14px;
  margin-bottom: 14px;
  transition: background 0.2s;
}

.dash-invite:hover { background: rgba(61, 220, 132, 0.2); }

/* --- Mode débloqué (Pass actif) -------------------------------------------- */
/* Les CTA d'achat disparaissent ; le badge header est posé par le JS. */
.is-unlocked a[data-checkout],
.is-unlocked .cta-reassurance,
.is-unlocked .final-cta,
.is-unlocked .sticky-cta { display: none; }

/* --- Animations au scroll ----------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================================= */
/* Dashboard membre                                                        */
/* ======================================================================= */
.dash-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.dash-subheader {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  font-size: 0.74rem;
  color: var(--text-2);
}

.dash-kickoff {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Onglets sticky sous le header */
.dash-tabs {
  position: sticky;
  top: 0;
  z-index: 49;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
}

.dash-tabs::-webkit-scrollbar { display: none; }

.dash-tab {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dash-tab.is-active {
  background: var(--accent-dim);
  border-color: rgba(61, 220, 132, 0.45);
  color: var(--accent);
}

.dash-main { padding-top: 14px; }

.dash-context {
  font-size: 0.78rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 16px;
}

.dash-panel { display: none; padding-bottom: 16px; }
.dash-panel.is-active { display: block; }

.dash-note {
  font-size: 0.82rem;
  color: var(--text-2);
  margin: -4px 0 14px;
}

/* États vides riches */
.empty-card { text-align: center; padding: 24px 18px; }
.empty-card h3 { font-size: 1.05rem; margin: 8px 0 6px; }
.empty-card p { color: var(--text-2); font-size: 0.85rem; margin: 0; }
.empty-icon { font-size: 1.8rem; }

.empty-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.empty-link {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 11px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.empty-link:hover { border-color: var(--accent); }

/* Bouton Suivre */
.dash-pick-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.follow-btn {
  background: transparent;
  border: 1px solid rgba(61, 220, 132, 0.45);
  border-radius: 99px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.follow-btn:hover:not(:disabled) { background: var(--accent-dim); }
.follow-btn.is-followed { border-color: var(--border); color: var(--text-2); cursor: default; }

/* Calendrier */
.cal-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 14px;
}

.cal-filters::-webkit-scrollbar { display: none; }

.cal-filter {
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.cal-filter.is-active { color: var(--accent); border-color: rgba(61, 220, 132, 0.45); }

.cal-card { padding: 15px 16px; }
.cal-head { margin-bottom: 10px; }

.badge-ispick {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 99px;
  padding: 2px 9px;
}

.cal-outcomes { margin-bottom: 10px; }

.cal-outcome {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) minmax(50px, 90px) 44px 44px;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.82rem;
}

.cal-outcome-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-legend { font-size: 0.64rem; color: var(--text-2); padding-bottom: 0; }

.cal-mini-bar {
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
  display: block;
}

.cal-mini-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #2aa866, var(--accent));
}

.cal-prob {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}

.cal-fair {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  text-align: right;
  font-size: 0.78rem;
}

.cal-comp { border-top: 1px solid var(--border); }

.cal-comp summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}

.cal-comp summary::-webkit-details-marker { display: none; }
.cal-comp summary:hover { color: var(--text); }
.cal-comp .chevron { transition: transform 0.25s; }
.cal-comp[open] .chevron { transform: rotate(180deg); }

.cal-comp-title {
  font-size: 0.78rem;
  font-weight: 600;
  margin: 12px 2px 6px;
}

/* Bankroll : exposition */
.exposure-card { padding: 14px 16px; }

.exposure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.exposure-table th, .exposure-table td {
  text-align: left;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
}

.exposure-table th { color: var(--text-2); font-size: 0.72rem; font-weight: 600; }
.exposure-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.exposure-table small { color: var(--text-2); }

.exposure-totals { margin-top: 12px; }

.exposure-totals div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.84rem;
}

.exposure-totals span { color: var(--text-2); }
.exposure-totals strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

.pos { color: var(--accent); }
.neg { color: var(--danger); }

/* Stats (journal + outil) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 8px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stat-label { display: block; font-size: 0.66rem; color: var(--text-2); margin-top: 3px; }

/* Graphe */
.chart-card { padding: 14px 16px; }
.chart-title { font-size: 0.78rem; color: var(--text-2); margin: 0 0 8px; }
.chart-card svg { width: 100%; height: auto; display: block; }

/* Journal */
.journal-entry, .tool-entry { padding: 13px 16px; }

.journal-main, .tool-entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.journal-sub { font-size: 0.76rem; color: var(--text-2); margin-top: 3px; }

.journal-status { text-align: right; flex-shrink: 0; }

.result-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 3px 10px;
}

.result-badge.won { color: var(--accent); background: var(--accent-dim); }
.result-badge.lost { color: var(--danger); background: rgba(255, 92, 92, 0.1); }
.result-badge.pending { color: var(--text-2); background: var(--bg); border: 1px solid var(--border); }

.auto-tag { display: block; font-size: 0.62rem; color: var(--text-2); margin-top: 3px; }

.journal-actions { display: flex; gap: 6px; margin-top: 10px; }

.result-btn {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.result-btn.won.is-set, .result-btn.won:hover { color: var(--accent); border-color: rgba(61, 220, 132, 0.5); }
.result-btn.lost.is-set, .result-btn.lost:hover { color: var(--danger); border-color: rgba(255, 92, 92, 0.5); }
.result-btn.reset { flex: 0 0 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
  .cta-pulse { animation: none; }
}
