/*
 | JB Analyse — landing page statique.
 | Même identité que JB Pronostics (noir, Inter, rouge #FF0800, bordures zinc),
 | sans Tailwind : une seule page, pas de build à maintenir.
 | Police auto-hébergée : aucun appel à Google Fonts (RGPD).
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --black: #000;
  --gray-800: #1f2937;
  --zinc-950: #09090b;
  --zinc-800: #27272a;
  --zinc-600: #52525b;
  --zinc-500: #71717a;
  --zinc-400: #a1a1aa;
  --zinc-300: #d4d4d8;
  --red: #FF0800;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 48rem; margin: 0 auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(to right, var(--gray-800), var(--black));
  border-bottom: 1px solid var(--zinc-800);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
.brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
.brand span { color: var(--red); }
.nav { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; }
.lang {
  color: var(--zinc-400); text-decoration: none;
  border: 1px solid var(--zinc-800); border-radius: 999px; padding: 0.25rem 0.75rem;
  transition: color .2s, border-color .2s;
}
.lang:hover { color: #fff; border-color: var(--zinc-600); }

/* Sections */
section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--zinc-800); }
.center { text-align: center; }

.pill {
  display: inline-block; margin-bottom: 1.5rem;
  padding: 0.25rem 1rem; border: 1px solid var(--red); border-radius: 999px;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 600; line-height: 1.15;
  letter-spacing: -0.02em; margin: 0 auto; max-width: 56rem;
}
h1 em { font-style: normal; color: var(--red); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; }

.lead { margin: 1.5rem auto 0; color: var(--zinc-400); font-size: 1.15rem; max-width: 42rem; }
.muted { color: var(--zinc-400); }
.small { font-size: 0.85rem; color: var(--zinc-500); }

.btn {
  display: inline-block; padding: 1rem 2rem; border-radius: 0.75rem;
  background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 8, 0, 0.18);
  transition: opacity .2s, box-shadow .2s;
}
.btn:hover { opacity: 0.95; box-shadow: 0 14px 32px rgba(255, 8, 0, 0.28); }
.btn-ghost {
  background: transparent; border: 1px solid var(--zinc-800); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--zinc-600); box-shadow: none; }
.actions { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Grilles */
.grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--zinc-950); border: 1px solid var(--zinc-800);
  border-radius: 1rem; padding: 1.5rem; transition: border-color .2s;
}
.card:hover { border-color: var(--zinc-600); }
.card p { margin: 0; color: var(--zinc-400); font-size: 0.95rem; }
.icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: rgba(255, 8, 0, 0.1); color: var(--red);
}
.icon svg { width: 1.3rem; height: 1.3rem; }

/* Étapes */
.step { text-align: center; }
.step .num {
  width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); font-weight: 600;
}
.step p { margin: 0; color: var(--zinc-400); font-size: 0.95rem; }

/* Sports */
.tags { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }
.tag {
  padding: 0.5rem 1.1rem; border: 1px solid var(--zinc-800); border-radius: 999px;
  background: var(--zinc-950); color: var(--zinc-300); font-size: 0.95rem;
}

/* Contact */
.contact {
  background: linear-gradient(to right, var(--gray-800), var(--black));
}

footer {
  border-top: 1px solid var(--zinc-800); padding: 2rem 0;
  color: var(--zinc-500); font-size: 0.85rem;
}
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--zinc-400); text-decoration: none; }
footer a:hover { color: #fff; }

/* Packs — même structure que jbpronostics (3 colonnes, l'annuel mis en avant) */
.packs { align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column;
  background: var(--zinc-950); border: 1px solid var(--zinc-800);
  border-radius: 0.75rem; padding: 2rem;
}
.pack-hl { border: 2px solid var(--red); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.pack h3 { font-size: 1.25rem; font-weight: 500; margin: 0; }
.pack .sub { margin: 0.5rem 0 0; color: var(--zinc-400); font-size: 0.9rem; }
.badge {
  position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 0.25rem 1rem; border-radius: 999px;
  background: var(--red); font-size: 0.85rem; font-weight: 600;
}
.badge-soft { background: var(--zinc-800); }
.price { margin: 1.5rem 0 0; font-size: 2.25rem; font-weight: 600; line-height: 1.2; }
.price small { font-size: 1rem; font-weight: 400; color: var(--zinc-400); }
.price-hl { color: var(--red); }
.approx { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--zinc-400); }
.features { list-style: none; margin: 1.5rem 0 0; padding: 0; flex: 1; }
.features li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem;
  font-size: 0.92rem; color: var(--zinc-300);
}
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem;
  width: 0.9rem; height: 0.5rem;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.pack .btn, .pack .btn-dark { margin-top: 1.5rem; text-align: center; }
.btn-dark {
  display: block; padding: 0.85rem 1.5rem; border-radius: 0.5rem;
  background: var(--zinc-800); color: #fff; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.btn-dark:hover { background: #3f3f46; }
.pack .btn { display: block; padding: 0.85rem 1.5rem; border-radius: 0.5rem; }
.pack-note { margin: 0.75rem 0 0; text-align: center; font-size: 0.75rem; color: var(--zinc-500); }
@media (min-width: 768px) { .packs { margin-top: 3.5rem; } }
@media (max-width: 767px) { .pack-hl { margin-top: 1rem; } .pack + .pack { margin-top: 1rem; } }
