/* ==========================================================================
   Vamos2bet · Guia Argentina — estilos compartilhados (mobile-first)
   Paleta: azul-noite + celeste (#74ACDF) + lima (#B0FF00) + sol (#FFC83D)
   ========================================================================== */

:root {
  --bg: #061226;
  --bg-2: #0a1c3a;
  --surface: #0f2547;
  --surface-2: #14305c;
  --line: rgba(116, 172, 223, 0.22);
  --line-strong: rgba(116, 172, 223, 0.45);
  --sky: #74acdf;
  --sky-soft: #a9cdee;
  --lime: #b0ff00;
  --lime-dark: #86c700;
  --sun: #ffc83d;
  --text: #eaf2fb;
  --muted: #9fb6d1;
  --danger: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.65);
  --container: 1180px;
  --header-h: 64px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 85% -120px, rgba(116, 172, 223, 0.18), transparent 70%),
    radial-gradient(800px 420px at -10% 30%, rgba(176, 255, 0, 0.06), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-soft); text-decoration-color: rgba(169, 205, 238, 0.4); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 6.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 4.6vw, 2.15rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 3.2vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
strong { color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #05101f; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 18, 38, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 132px; height: auto; }
.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; content: ""; position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 12px 16px 20px; display: none; flex-direction: column; gap: 4px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-open .main-nav { display: flex; }
.main-nav a.nav-link {
  display: block; padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600;
}
.main-nav a.nav-link:hover { background: var(--surface); color: var(--lime); }
.main-nav a.nav-link[aria-current="page"] { background: var(--surface-2); color: var(--lime); }
.nav-cta { display: flex; gap: 10px; margin-top: 10px; }
.nav-cta .btn { flex: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 0.98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: #06142a; box-shadow: 0 10px 26px -10px rgba(176, 255, 0, 0.65); }
.btn-primary:hover { background: #c6ff3d; color: #06142a; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky-soft); background: rgba(116, 172, 223, 0.1); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .nav-toggle:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 28px; position: relative; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lime); background: rgba(176, 255, 0, 0.08); border: 1px solid rgba(176, 255, 0, 0.28); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.hero h1 .accent { color: var(--sky); }
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.hero-note { font-size: 0.85rem; color: var(--muted); }
.hero-art {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.hero-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { margin: 0; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.86rem; color: var(--sky-soft); font-weight: 600; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 14px 0 0; font-size: 0.86rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a { color: var(--sky-soft); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { color: var(--muted); }
.kicker { color: var(--sky); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; display: block; }

.grid { display: grid; gap: 16px; }
.card {
  position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.card::after {
  content: ""; position: absolute; right: -28px; top: -28px; width: 90px; height: 90px;
  background: linear-gradient(135deg, rgba(116, 172, 223, 0.22), transparent 70%); transform: rotate(18deg); border-radius: 14px;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card h3 { margin-bottom: 8px; position: relative; }
.card p { color: var(--muted); margin-bottom: 0; position: relative; }
.card .icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px; position: relative;
  display: grid; place-items: center; background: rgba(176, 255, 0, 0.1); border: 1px solid rgba(176, 255, 0, 0.3); color: var(--lime);
}
.card .icon svg { width: 24px; height: 24px; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative; margin: 0; padding: 18px 18px 18px 66px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 900; font-family: var(--font-display); color: #06142a;
  background: linear-gradient(135deg, var(--lime), var(--sky));
}
.steps strong { display: block; margin-bottom: 4px; }

.split { display: grid; gap: 22px; align-items: center; }
.panel {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: 22px; padding: 24px 20px;
}
.panel h3 { margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306142a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}

.notice {
  border: 1px solid rgba(255, 200, 61, 0.45); background: rgba(255, 200, 61, 0.08);
  border-radius: var(--radius-sm); padding: 14px 16px; color: #ffe6a3; font-size: 0.93rem; margin: 0 0 1.2em;
}
.notice strong { color: var(--sun); }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--lime); line-height: 1.1; }
.stat span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 1.4em; background: var(--bg-2); }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.94rem; }
caption { text-align: left; padding: 12px 14px; font-weight: 800; color: var(--sky-soft); caption-side: top; font-family: var(--font-display); }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--surface-2); color: #fff; font-weight: 700; border-top: 0; white-space: nowrap; }
tbody th { color: var(--sky-soft); font-weight: 700; width: 34%; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: rgba(15, 37, 71, 0.55); }

/* ---------- SEO block ---------- */
.seo-block { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(10, 28, 58, 0.7)); }
.seo-block .container { max-width: 900px; }
.seo-block h2 { margin-top: 0.4em; }
.seo-block h3 { margin-top: 1.4em; color: var(--sky-soft); }
.seo-block p, .seo-block li { color: #cfdcec; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin: 0 0 1.4em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 16px; font-weight: 700; position: relative; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; background: var(--surface-2); color: var(--lime); font-weight: 900; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--line-strong); }
.faq .answer { padding: 0 16px 16px; color: #cfdcec; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 10px 0 0; padding: 28px 22px; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #123a73, #0c2a55 60%, #0a1f42);
  border: 1px solid var(--line-strong);
}
.cta-band::before {
  content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 320px;
  background: repeating-linear-gradient(115deg, rgba(176, 255, 0, 0.16) 0 16px, transparent 16px 44px); transform: rotate(8deg);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--sky-soft); max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: #040d1c; border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand img { width: 150px; margin-bottom: 12px; }
.footer-col h4 { font-size: 0.95rem; color: #fff; margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--lime); }
.age-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid rgba(255, 107, 107, 0.45); border-radius: var(--radius-sm); background: rgba(255, 107, 107, 0.07); margin-top: 26px; }
.age-badge {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--danger); color: var(--danger);
  display: grid; place-items: center; font-weight: 900; font-family: var(--font-display);
}
.age-box p { margin: 0; color: #f2c9c9; }
.age-box strong { color: #fff; }
.legal-note { margin-top: 18px; font-size: 0.85rem; line-height: 1.55; }
.copyright { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 150px; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 2px; margin-left: auto;
    background: transparent; border: 0; padding: 0; max-height: none; overflow: visible;
  }
  .main-nav a.nav-link { padding: 10px 14px; font-size: 0.95rem; }
  .nav-cta { margin: 0 0 0 10px; }
  .nav-cta .btn { flex: none; padding: 10px 20px; }
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .section { padding: 60px 0; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split.rev > :first-child { order: 2; }
  .steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .steps.cols-4 li { padding: 70px 18px 18px; }
  .steps.cols-4 li::before { left: 18px; top: 18px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .cta-band { padding: 40px 44px; }
}
