/* ============================================
   BaisseDeCotes.fr — Style global v2
   Typographie : Inter + DM Sans (style Stripe/Linear)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --primary:      #0A0A0A;
  --accent:       #C8FF00;
  --red:          #E53935;
  --green:        #00C853;
  --bg:           #FFFFFF;
  --bg2:          #F7F8FA;
  --bg3:          #F0F2F5;
  --border:       #E5E7EB;
  --border2:      #D1D5DB;
  --text:         #111827;
  --text-2:       #374151;
  --text-muted:   #6B7280;
  --text-light:   #9CA3AF;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.11);
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-full:  9999px;
  --nav-h:        64px;
  --max-w:        1160px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
p  { color: var(--text-muted); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }

/* ── TICKER ── */
.ticker {
  background: var(--primary);
  padding: 9px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  padding: 0 2.5rem;
}
.ticker-item strong { color: rgba(255,255,255,0.85); }
.ticker-item .down  { color: #ff8a80; font-weight: 600; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo .hl {
  background: var(--primary);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
  font-family: var(--font-display);
}
.nav-links a:hover   { color: var(--text); background: var(--bg2); }
.nav-links a.active  { color: var(--text); font-weight: 600; }

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 7px 16px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  margin-left: 0.4rem;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.82 !important; }

.nav-mobile-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 5px; color: var(--text);
}

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.875rem;
  cursor: pointer; border: none;
  transition: all 0.18s ease;
  line-height: 1; white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #1f1f1f; box-shadow: 0 4px 14px rgba(0,0,0,0.18); transform: translateY(-1px); }

.btn-accent { background: var(--accent); color: var(--primary); }
.btn-accent:hover { filter: brightness(0.96); box-shadow: 0 4px 16px rgba(200,255,0,0.3); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--text-2); border: 1.5px solid var(--border2); }
.btn-ghost:hover { background: var(--bg2); }

.btn-lg { padding: 13px 26px; font-size: 0.95rem; }
.btn-sm { padding: 6px 13px; font-size: 0.78rem; }

/* ── CARDS ── */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600;
  font-family: var(--font-display); letter-spacing: 0.01em;
}
.badge-green  { background: rgba(0,200,83,.1);  color: #009c3b; }
.badge-red    { background: rgba(229,57,53,.1);  color: var(--red); }
.badge-accent { background: rgba(200,255,0,.22); color: #5c6800; }
.badge-dark   { background: var(--primary); color: white; }
.badge-muted  { background: var(--bg3); color: var(--text-muted); border: 1px solid var(--border); }

/* ── ALERT CARD ── */
.alert-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-md);
}
.alert-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.ac-match { font-weight: 700; font-size: 0.85rem; font-family: var(--font-display); }
.ac-live  { background: var(--red); color: white; font-size: 0.62rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; font-family: var(--font-display); letter-spacing: 0.04em; flex-shrink: 0; }
.ac-comp  { font-size: 0.7rem; color: var(--text-muted); }
.ac-sel   { font-size: 0.7rem; color: var(--text-muted); margin: 6px 0; }
.ac-odds  { display: flex; align-items: center; gap: 7px; }
.odds-old { font-family: var(--font-display); font-size: 0.95rem; color: var(--text-light); text-decoration: line-through; font-weight: 500; }
.odds-arr { color: var(--text-light); font-size: 0.8rem; }
.odds-new { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--red); letter-spacing: -0.04em; }
.odds-pct { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--red); background: rgba(229,57,53,.08); padding: 2px 6px; border-radius: 4px; }
.ac-time  { font-size: 0.62rem; color: var(--text-light); text-align: right; margin-top: 5px; }

/* ── STATS ── */
.stats-band { background: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-cell {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-cell:last-child { border-right: none; }
.stat-n { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; letter-spacing: -0.05em; color: white; line-height: 1; }
.stat-l { font-size: 0.78rem; color: rgba(255,255,255,.45); margin-top: 5px; font-weight: 500; }

/* ── FEATURES ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--border);
  gap: 1px;
}
.feat-cell { background: white; padding: 1.75rem; transition: background .2s; }
.feat-cell:hover { background: var(--bg2); }
.feat-icon {
  width: 38px; height: 38px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 0.875rem;
}

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.testi-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.testi-stars { color: #F59E0B; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.testi-q { font-size: 0.85rem; line-height: 1.65; color: var(--text-2); margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 9px; }
.testi-av { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; color: var(--accent); font-family: var(--font-display); flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.8rem; font-family: var(--font-display); }
.testi-role { font-size: 0.7rem; color: var(--text-muted); }

/* ── CTA ── */
.cta-box {
  background: var(--primary); border-radius: var(--radius-xl);
  padding: clamp(2.5rem,5vw,4.5rem) clamp(1.5rem,5vw,4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 350px;
  background: radial-gradient(ellipse,rgba(200,255,0,.1),transparent 70%);
  pointer-events: none;
}
.cta-box h2 { color: white; position: relative; }
.cta-box .cta-sub { color: rgba(255,255,255,.55); position: relative; margin: 0.875rem auto 2rem; font-size: 0.95rem; max-width: 400px; }

/* ── FOOTER ── */
footer { background: var(--primary); color: rgba(255,255,255,.5); padding: 3.5rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; color: white; letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.footer-desc { font-size: 0.8rem; line-height: 1.7; max-width: 210px; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.875rem; font-family: var(--font-display); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,.4); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; color: rgba(255,255,255,.25); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.125rem 0; cursor: pointer; font-weight: 600; font-size: 0.875rem; font-family: var(--font-display); gap: 1rem; transition: color .15s; }
.faq-q:hover { color: var(--text-muted); }
.faq-a { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; padding-bottom: 1.125rem; display: none; }
.faq-a.open { display: block; }
.faq-icon { font-size: 1.1rem; flex-shrink: 0; transition: transform .25s; color: var(--text-light); line-height: 1; }
.faq-icon.open { transform: rotate(45deg); }

/* ── FORMS ── */
.form-group { margin-bottom: 1.125rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--text-2); font-family: var(--font-display); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 9px 13px;
  border: 1.5px solid var(--border2); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--text); background: white; outline: none;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,0,.07); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 780px; margin: 0 auto; }
.pricing-card { background: white; border-radius: var(--radius-xl); border: 1.5px solid var(--border); padding: 2rem; position: relative; }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,0,.05), var(--shadow-lg); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--accent); padding: 3px 14px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; font-family: var(--font-display); white-space: nowrap; letter-spacing: .04em; }
.price-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price-per { font-size: 0.85rem; color: var(--text-muted); }
.feat-list { list-style: none; margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.feat-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.83rem; color: var(--text-2); }
.fl-check { color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 0.85rem; margin-top: 1px; }
.fl-cross { color: var(--text-light); flex-shrink: 0; font-size: 0.85rem; margin-top: 1px; }

/* ── CMD BOX ── */
.cmd-box { background: #0F1117; border-radius: var(--radius); padding: 0.875rem 1.125rem; margin-bottom: 0.625rem; }
.cmd-name { font-family: 'SF Mono','Fira Code',monospace; font-size: 0.85rem; font-weight: 600; color: #C8FF00; }
.cmd-desc { font-size: 0.75rem; color: rgba(255,255,255,.4); margin-top: 2px; }

/* ── SPORT CHIPS ── */
.chips-wrap { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.75rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; font-family: var(--font-display); }
.chip.on { background: var(--primary); color: white; border-color: var(--primary); }

/* ── FADE UP ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }

/* ── LEGAL ── */
.legal-content h2 { font-size: 1.2rem; margin: 2rem 0 0.875rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-content h3 { font-size: 0.95rem; margin: 1.375rem 0 0.5rem; color: var(--text-2); }
.legal-content p, .legal-content li { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.5rem; }
.legal-content ul { padding-left: 1.375rem; margin-bottom: 0.875rem; }
.legal-content a { color: var(--primary); font-weight: 600; }

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2,1fr); }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .stat-cell      { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-cell:nth-child(odd)      { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-cell:nth-last-child(-n+2){ border-bottom: none; }
  .testi-grid     { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1.25rem 1.25rem 1.75rem;
    gap: 0.2rem; z-index: 998; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; border-radius: var(--radius); font-size: 0.925rem; }
  .nav-cta { margin-left: 0 !important; margin-top: 0.375rem; justify-content: center; }
  .nav-mobile-btn { display: flex; align-items: center; }

  section { padding: 3rem 0; }

  .features-grid  { grid-template-columns: 1fr; }
  .testi-grid     { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-desc    { max-width: none; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-cell  { padding: 1.5rem 1rem; }

  .cta-box { padding: 2.25rem 1.25rem; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 11px 20px; font-size: 0.875rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
}