/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0710;
  --bg-2: #140c1b;
  --card: #1a1020;
  --card-2: #211428;
  --line: #34203f;
  --text: #f3e9f6;
  --muted: #b39bc0;
  --pink: #ff3d8b;
  --pink-2: #ff7ab0;
  --violet: #8b5cf6;
  --gold: #ffcf5c;
  --green: #34d399;
  --red: #fb7185;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.4);
  --band-py: clamp(48px, 7vw, 86px);
  --wrap: 1180px;
  --wrap-narrow: 760px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: "Sora", sans-serif; line-height: 1.2; }
a { color: var(--pink-2); }

/* ===== LAYOUT : BANDES PLEINE LARGEUR + CONTENU CENTRÉ ===== */
.band {
  width: 100%;
  padding: var(--band-py) 0;
  background: var(--bg);
}
.band--alt {
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(139,92,246,.10), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band--hero {
  padding: clamp(56px, 9vw, 104px) 0;
  background:
    radial-gradient(1100px 560px at 80% -10%, rgba(139,92,246,.20), transparent 60%),
    radial-gradient(900px 480px at 0% 0%, rgba(255,61,139,.18), transparent 55%),
    var(--bg);
}
.band--cta {
  background:
    radial-gradient(800px 420px at 50% 50%, rgba(255,61,139,.20), transparent 70%),
    linear-gradient(135deg, rgba(139,92,246,.16), rgba(255,61,139,.12)),
    var(--bg-2);
  border-top: 1px solid var(--line);
}

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}
.wrap--narrow { width: min(var(--wrap-narrow), 100% - 40px); }

/* ===== PROSE (texte lisible) ===== */
.prose h2 { font-size: clamp(22px, 3.4vw, 33px); margin-bottom: 16px; }
.prose p { color: #ddd0e3; margin-bottom: 16px; max-width: 70ch; }
.prose p:last-child { margin-bottom: 0; }
.prose--center { text-align: center; }
.prose--center p { margin-inline: auto; }
.section-intro { color: var(--muted); }

.checklist { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checklist li { padding-left: 32px; position: relative; color: #e6dbea; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--green); color: #062; font-weight: 800;
  display: grid; place-items: center; font-size: 12px;
}

/* ===== AGE GATE ===== */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,3,9,.93); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.age-gate.is-hidden { display: none; }
.age-gate__box {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 6vw, 40px) clamp(22px, 5vw, 34px);
  max-width: 460px; text-align: center; box-shadow: var(--shadow);
}
.age-gate__badge {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 22px;
  margin-bottom: 18px;
}
.age-gate__box h2 { margin-bottom: 10px; }
.age-gate__box p { color: var(--muted); margin-bottom: 24px; }
.age-gate__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===== TOPBAR ===== */
.topbar {
  background: linear-gradient(90deg, var(--pink), var(--violet));
  color: #fff; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  padding: 9px 14px;
}

/* ===== HERO ===== */
.hero { text-align: center; }
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--pink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
  background: rgba(255,61,139,.08);
}
.hero h1 {
  font-size: clamp(28px, 6vw, 52px); font-weight: 800;
  background: linear-gradient(120deg, #fff, var(--pink-2) 60%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.lead { color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); margin: 0 auto 30px; max-width: 62ch; }

/* ===== TABLA ===== */
.featured {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, rgba(255,61,139,.16), rgba(139,92,246,.16));
  border: 1px solid rgba(255,207,92,.45);
  box-shadow: 0 0 0 1px rgba(255,207,92,.12), var(--shadow);
  margin: 28px 0;
}
.featured__badge {
  background: linear-gradient(135deg, var(--gold), #ff9e3d);
  color: #3a2200; font-family: "Sora", sans-serif; font-weight: 800;
  font-size: 13px; letter-spacing: .5px; padding: 9px 22px; text-align: center;
}
.featured__body {
  display: flex; align-items: center; gap: 22px;
  padding: clamp(20px, 4vw, 28px); flex-wrap: wrap;
}
.featured__txt { flex: 1 1 320px; }
.featured__txt h3 { font-size: clamp(19px, 3vw, 25px); margin-bottom: 6px; }
.featured__txt p { color: #e6dbea; }
.featured__body .btn { flex: none; }

.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.compare { width: 100%; border-collapse: collapse; min-width: 860px; }
.compare th, .compare td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px;
}
.compare thead th {
  background: linear-gradient(90deg, rgba(255,61,139,.18), rgba(139,92,246,.18));
  font-family: "Sora", sans-serif; font-weight: 700; color: #fff;
}
.compare tbody tr { background: var(--card); }
.compare tbody tr:nth-child(even) { background: var(--card-2); }
.compare tbody tr:hover { background: #2a1733; }
.compare tbody tr.more-row { display: none; }
.compare.is-expanded tbody tr.more-row { display: table-row; }
.table-more { text-align: center; margin-top: 18px; }

.tag {
  display: inline-block; font-size: 11px; font-weight: 800;
  padding: 3px 9px; border-radius: 999px; vertical-align: middle;
}
.tag--best { background: linear-gradient(135deg, var(--gold), #ff9e3d); color: #3a2200; }

.note {
  margin-top: 22px; padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(255,207,92,.08);
  border-radius: 0 12px 12px 0; color: #efe3c4;
}

/* ===== APP (à plat, pas de boîte) ===== */
.app {
  padding: clamp(36px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.app:first-of-type { border-top: 0; padding-top: clamp(24px, 4vw, 40px); }
/* Colonne de contenu lisible, centrée dans la bande */
.app__inner { max-width: 760px; margin: 0 auto; }
/* Boutons centrés */
.app__inner > .btn {
  display: block; width: -moz-fit-content; width: fit-content;
  margin-left: auto; margin-right: auto;
}
.app__rank {
  display: inline-block;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.app__rank--bonus { background: linear-gradient(135deg, var(--violet), #4f46e5); }
.app__head { margin-bottom: 18px; }
.app__head h3 { font-size: clamp(20px, 3.2vw, 28px); }
.app p { color: #ddd0e3; margin-bottom: 14px; }

.feat-title { margin: 22px 0 12px; color: var(--pink-2); font-size: 17px; }
.features { list-style: none; display: grid; gap: 10px; }
.features li {
  padding: 12px 16px; background: rgba(255,255,255,.03);
  border: 1px solid var(--line); border-radius: 12px;
  color: #e6dbea; font-size: 14.5px;
}
.features li strong { color: #fff; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.pros, .cons { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); }
.pros { background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.3); }
.cons { background: rgba(251,113,133,.07); border-color: rgba(251,113,133,.3); }
.pros h4 { color: var(--green); margin-bottom: 10px; font-size: 15px; }
.cons h4 { color: var(--red); margin-bottom: 10px; font-size: 15px; }
.pros ul, .cons ul { padding-left: 18px; display: grid; gap: 6px; }
.pros li, .cons li { color: #e6dbea; font-size: 14px; }

.ps {
  margin-top: 16px; font-size: 13.5px; color: var(--muted);
  background: rgba(139,92,246,.08); border-radius: 12px; padding: 14px 18px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { font-size: 17px; padding: 17px 38px; }
.btn--sm { font-size: 13px; padding: 9px 16px; white-space: nowrap; }
.btn--primary {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff; box-shadow: 0 12px 30px rgba(255,61,139,.35);
}
.btn--primary:hover { box-shadow: 0 16px 40px rgba(255,61,139,.5); filter: brightness(1.05); }
.btn--secondary {
  background: linear-gradient(135deg, var(--violet), #4f46e5);
  color: #fff; box-shadow: 0 12px 30px rgba(139,92,246,.32);
}
.btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn--ghost:hover { color: #fff; border-color: var(--pink-2); }
.cta { margin-top: 8px; }

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed; z-index: 90;
  right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 15px;
  color: #fff; text-decoration: none;
  padding: 15px 26px; border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 14px 34px rgba(255,61,139,.5);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.sticky-cta strong {
  background: var(--gold); color: #3a2200;
  font-size: 12px; padding: 2px 9px; border-radius: 999px;
}
.sticky-cta.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
  animation: sticky-pulse 2.4s ease-in-out infinite;
}
.sticky-cta:hover { filter: brightness(1.06); }
@keyframes sticky-pulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(255,61,139,.5); }
  50% { box-shadow: 0 14px 44px rgba(255,61,139,.85); }
}
@media (max-width: 680px) {
  .sticky-cta {
    left: 16px; right: 16px; bottom: 16px;
    justify-content: center; padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta.is-visible { animation: none; }
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0; text-align: center; color: var(--muted);
  font-size: 13px; background: var(--bg-2);
}
.footer__muted { opacity: .6; margin-top: 6px; }

/* ===== TABLETTE (≤ 1024px) ===== */
@media (max-width: 1024px) {
  :root { --wrap: 920px; }
  .featured__body { gap: 18px; }
  .featured__body .btn { width: 100%; }
}

/* ===== MOBILE (≤ 680px) ===== */
@media (max-width: 680px) {
  .wrap, .wrap--narrow { width: min(100% - 32px, 100%); }
  .prose p, .app p { max-width: none; }
  .proscons { grid-template-columns: 1fr; }

  /* CTA pleine largeur pour le tap */
  .hero .btn, .band--cta .btn, .app__inner > .btn,
  .featured__body .btn { width: 100%; }
  .btn--sm { width: auto; }

  /* Tabla en mode carte */
  .table-wrap { border: 0; box-shadow: none; overflow: visible; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare tbody tr {
    display: block; margin-bottom: 16px;
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  }
  .compare.is-expanded tbody tr.more-row { display: block; }
  .compare tbody td {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    border-bottom: 1px solid var(--line); padding: 12px 16px;
  }
  .compare tbody td:last-child { border-bottom: 0; }
  .compare tbody td::before {
    content: attr(data-label);
    font-weight: 700; color: var(--pink-2); font-family: "Sora", sans-serif;
  }
  .compare tbody td .btn { width: auto; }
}

/* ===== PETIT MOBILE (≤ 400px) ===== */
@media (max-width: 400px) {
  .topbar { font-size: 11px; }
  .age-gate__actions { flex-direction: column; }
  .age-gate__actions .btn { width: 100%; }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
