/* ==========================================================================
   TipMax — design system "fintech premium"
   Tema escuro em camadas · acento esmeralda (dinheiro/campo) · âmbar p/ conversão
   Sem dependências externas. Números em tabular-nums.
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens -- */
:root {
  /* superfícies em camadas (profundidade, não flat) */
  --bg:          #07080b;
  --bg-grad-1:   #0b0e14;
  --bg-grad-2:   #070809;
  --surface:     #101319;
  --surface-2:   #161a22;
  --surface-3:   #1c212b;
  --border:      #232a35;
  --border-2:    #2d3542;
  --border-lift: rgba(255,255,255,.05);

  /* texto */
  --text:   #e9edf4;
  --muted:  #98a2b3;
  --faint:  #626c7b;

  /* acento primário — esmeralda */
  --emerald:        #12b981;
  --emerald-2:      #0ea371;
  --emerald-bright: #35e3a7;
  --emerald-soft:   rgba(18,185,129,.12);
  --emerald-line:   rgba(18,185,129,.35);

  /* conversão — âmbar */
  --amber:        #f5a524;
  --amber-2:      #e0901a;
  --amber-bright: #ffbe4d;
  --amber-soft:   rgba(245,165,36,.12);

  /* semânticos */
  --win:     #35e3a7;
  --loss:    #fb6b84;
  --void:    #8b95a6;
  --pending: #f5a524;
  --info:    #56b6e6;

  /* forma */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-glow: 0 18px 40px -20px rgba(18,185,129,.45);

  --ease: cubic-bezier(.2,.7,.3,1);
  --container: 1120px;
}

/* ---------------------------------------------------------------- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(18,185,129,.10), transparent 60%),
    radial-gradient(1000px 640px at 0% 0%, rgba(245,165,36,.05), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2) 45%, var(--bg));
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--emerald-bright); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--emerald); }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; font-weight: 700; }

::selection { background: rgba(18,185,129,.28); color: #fff; }

/* números tabulares para odds, EV, métricas */
.num, .tip-odd, .metric-value, .table td.num, .kpi-value { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; border-radius: 4px; }

/* --------------------------------------------------------------- Layout --- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.content { flex: 1 0 auto; width: 100%; padding-bottom: 3rem; }
.page { padding-block: clamp(1.5rem, 4vw, 2.75rem); }
.stack > * + * { margin-top: 1rem; }

/* Faixas full-bleed com fundo próprio (landing) */
.band { position: relative; }
.band-alt { background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0)); border-block: 1px solid var(--border); }

/* ---------------------------------------------------------------- Header -- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,11,15,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 62px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--emerald-bright), var(--emerald-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px -8px rgba(18,185,129,.8);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand b { color: var(--emerald-bright); font-weight: 800; }

.nav-links { list-style: none; display: flex; gap: .3rem; align-items: center; padding: 0; }
.nav-links a:not(.btn-nav) {
  color: var(--muted); font-size: .93rem; font-weight: 500;
  padding: .45rem .7rem; border-radius: var(--r-sm);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:not(.btn-nav):hover { color: var(--text); background: var(--surface-2); }
.nav-user { color: var(--faint); font-size: .86rem; padding-inline: .5rem; display: inline-flex; align-items: center; gap: .4rem; }
.nav-user::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }
.btn-nav {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  color: #241800; font-weight: 700; padding: .5rem .9rem; border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -10px rgba(245,165,36,.8);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
}
.btn-nav:hover { color: #241800; filter: brightness(1.05); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 22px -10px rgba(245,165,36,.9); }

/* menu mobile — CSS puro (checkbox + label), sem JS */
.nav-toggle { display: none; }
.nav-burger { display: none; }
@media (max-width: 780px) {
  .nav-burger {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border: 1px solid var(--border-2); border-radius: var(--r-sm);
    background: var(--surface-2); color: var(--text); cursor: pointer;
  }
  .nav-burger svg { width: 20px; height: 20px; }
  .nav-links-wrap {
    position: absolute; top: 62px; left: 0; right: 0;
    background: rgba(10,12,16,.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .28s var(--ease);
  }
  .nav-toggle:checked ~ .nav-links-wrap { max-height: 380px; }
  .nav-links { flex-direction: column; align-items: stretch; padding: .6rem clamp(1rem,4vw,2rem) 1rem; gap: .15rem; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn-nav) { display: block; padding: .7rem .6rem; }
  .btn-nav { display: block; text-align: center; margin-top: .35rem; }
  .nav-user { padding: .55rem .6rem; }
}

/* ---------------------------------------------------------------- Flash --- */
.flash-wrap { padding-top: 1rem; }
.flashes { list-style: none; padding: 0; display: grid; gap: .55rem; }
.flash {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem; border-radius: var(--r-md);
  border: 1px solid var(--border-2); background: var(--surface-2);
  font-size: .93rem; box-shadow: var(--shadow-1);
}
.flash::before { content: ""; width: 4px; align-self: stretch; border-radius: 4px; background: var(--muted); }
.flash-erro { border-color: rgba(251,107,132,.4); background: rgba(251,107,132,.08); }
.flash-erro::before { background: var(--loss); }
.flash-sucesso { border-color: rgba(53,227,167,.35); background: rgba(53,227,167,.08); }
.flash-sucesso::before { background: var(--win); }
.flash-aviso { border-color: rgba(245,165,36,.4); background: rgba(245,165,36,.08); }
.flash-aviso::before { background: var(--amber); }

/* --------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.15rem; border-radius: var(--r-md); border: 1px solid transparent;
  font-size: .97rem; font-weight: 650; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.03rem; border-radius: var(--r-lg); }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--emerald-bright), var(--emerald-2));
  color: #04180f; border-color: rgba(0,0,0,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--shadow-glow);
}
.btn-primary:hover { color: #04180f; transform: translateY(-1px); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }

.btn-cta {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  color: #241800; border-color: rgba(0,0,0,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 34px -18px rgba(245,165,36,.85);
}
.btn-cta:hover { color: #241800; transform: translateY(-1px); filter: brightness(1.04); }
.btn-cta:active { transform: translateY(0); }

.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn-secondary:hover { color: var(--text); border-color: var(--emerald-line); background: var(--surface-3); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--emerald-line); background: rgba(255,255,255,.03); }

/* --------------------------------------------------------------- Footer --- */
.site-footer { border-top: 1px solid var(--border); background: rgba(0,0,0,.25); margin-top: auto; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--text); }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.footer-brand .brand-mark svg { width: 15px; height: 15px; }
.footer-meta { color: var(--faint); font-size: .82rem; max-width: 46ch; }
.footer-meta a { color: var(--muted); }
.footer-legal { color: var(--faint); font-size: .8rem; }
.age-badge { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--border-2); border-radius: var(--r-pill); padding: .2rem .6rem; font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.age-badge b { color: var(--amber-bright); }

/* ========================================================== LANDING ====== */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem;
  padding: .35rem .75rem; border-radius: var(--r-pill);
  border: 1px solid var(--emerald-line); background: var(--emerald-soft);
  color: var(--emerald-bright); font-size: .8rem; font-weight: 650; letter-spacing: .01em;
}
.eyebrow svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -.03em; }
.hero h1 .accent { color: var(--emerald-bright); }
.hero .lead { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.22rem); margin-top: 1.1rem; max-width: 54ch; }
.cta-row { display: flex; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 1.8rem; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 17px; height: 17px; color: var(--emerald-bright); }

/* card ilustrativo do hero — mock de tip (não são dados reais) */
.hero-card {
  position: relative; border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--border-lift);
  padding: 1.25rem; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px; background: linear-gradient(90deg, var(--emerald), var(--amber)); opacity: .8; }
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.hero-card .hc-match { font-weight: 700; font-size: 1.12rem; margin: .5rem 0 .1rem; }
.hero-card .hc-sub { color: var(--muted); font-size: .88rem; }
.hero-card .hc-pick { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--r-md); background: var(--surface-3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-card .hc-pick .lbl { color: var(--muted); font-size: .78rem; }
.hero-card .hc-pick .sel { font-weight: 700; }
.hero-card .hc-odd { text-align: right; }
.hero-card .hc-odd .o { font-size: 1.5rem; font-weight: 800; color: var(--emerald-bright); font-variant-numeric: tabular-nums; }
.hero-card .hc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; margin-top: .8rem; }
.hc-stat { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--r-sm); padding: .55rem .6rem; text-align: center; }
.hc-stat .v { font-weight: 700; font-variant-numeric: tabular-nums; }
.hc-stat .v.pos { color: var(--emerald-bright); }
.hc-stat .k { color: var(--faint); font-size: .72rem; margin-top: .1rem; }
.hero-card .hc-note { margin-top: .7rem; font-size: .72rem; color: var(--faint); text-align: center; }

/* seção genérica */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker { color: var(--emerald-bright); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.15rem); margin-top: .5rem; }
.section-head p { color: var(--muted); margin-top: .7rem; font-size: 1.05rem; }

/* como funciona — 3 passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { position: relative; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.step:hover { border-color: var(--emerald-line); transform: translateY(-3px); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--emerald-soft); border: 1px solid var(--emerald-line); color: var(--emerald-bright); font-weight: 800; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.step-icon { width: 22px; height: 22px; color: var(--emerald-bright); }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); margin-top: .5rem; font-size: .95rem; }
.step-arrow { position: absolute; top: 50%; right: -1rem; transform: translateY(-50%); color: var(--border-2); z-index: 2; }
.step-arrow svg { width: 22px; height: 22px; }

/* transparência — destaque central */
.transparency { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: linear-gradient(150deg, rgba(18,185,129,.10), rgba(18,185,129,0) 55%), var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow-2); }
.transparency .verified-seal { display: inline-flex; align-items: center; gap: .5rem; color: var(--emerald-bright); font-weight: 700; font-size: .85rem; margin-bottom: 1rem; }
.transparency .verified-seal svg { width: 20px; height: 20px; }
.transparency h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.transparency p { color: var(--muted); margin-top: .8rem; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text); font-size: .97rem; }
.check-list svg { width: 20px; height: 20px; color: var(--emerald-bright); flex: none; margin-top: 1px; }
.transparency-visual { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); padding: 1.2rem; }
.tv-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.tv-row:last-child { border-bottom: 0; }
.tv-row .g { color: var(--muted); }
.tv-row .score { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.tv-tag { font-size: .74rem; font-weight: 700; padding: .15rem .5rem; border-radius: var(--r-pill); }
.tv-tag.won { color: var(--win); background: rgba(53,227,167,.12); }
.tv-tag.lost { color: var(--loss); background: rgba(251,107,132,.12); }

/* prova social honesta */
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.proof-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; text-align: center; }
.proof-card svg { width: 26px; height: 26px; color: var(--emerald-bright); margin: 0 auto .7rem; }
.proof-card h3 { font-size: 1.02rem; }
.proof-card p { color: var(--muted); font-size: .9rem; margin-top: .4rem; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; max-width: 780px; margin-inline: auto; }
.plan { position: relative; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: 1.8rem; display: flex; flex-direction: column; }
.plan-featured { border-color: var(--emerald-line); box-shadow: 0 24px 60px -30px rgba(18,185,129,.55); }
.plan-featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, var(--emerald), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-badge { position: absolute; top: -.7rem; right: 1.3rem; background: linear-gradient(180deg, var(--emerald-bright), var(--emerald-2)); color: #04180f; font-size: .72rem; font-weight: 800; padding: .25rem .7rem; border-radius: var(--r-pill); letter-spacing: .02em; }
.plan h3 { font-size: 1.2rem; }
.plan .price { display: flex; align-items: baseline; gap: .3rem; margin: 1rem 0; }
.plan .price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .price .per { color: var(--muted); font-size: .95rem; }
.plan .price .free { font-size: 2rem; font-weight: 800; color: var(--emerald-bright); }
.plan-feats { list-style: none; padding: 0; margin: .4rem 0 1.5rem; display: grid; gap: .65rem; }
.plan-feats li { display: flex; gap: .55rem; align-items: flex-start; color: var(--muted); font-size: .94rem; }
.plan-feats svg { width: 18px; height: 18px; color: var(--emerald-bright); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-note { text-align: center; color: var(--faint); font-size: .82rem; margin-top: 1.2rem; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.05rem 1.2rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { color: var(--faint); transition: transform .2s var(--ease); flex: none; }
.faq-item[open] summary .chev { transform: rotate(180deg); color: var(--emerald-bright); }
.faq-item .faq-body { padding: 0 1.2rem 1.15rem; color: var(--muted); font-size: .95rem; }

/* CTA final */
.cta-band { text-align: center; background: linear-gradient(150deg, rgba(18,185,129,.14), rgba(245,165,36,.06)); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-2); }
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.cta-band p { color: var(--muted); margin: .8rem auto 0; max-width: 52ch; }
.cta-band .cta-row { justify-content: center; }

.responsible { display: flex; align-items: flex-start; gap: .8rem; max-width: 760px; margin: 2rem auto 0; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); color: var(--muted); font-size: .87rem; }
.responsible svg { width: 22px; height: 22px; color: var(--amber-bright); flex: none; }

/* ============================================================ AUTH ======= */
.auth-shell { min-height: calc(100vh - 62px); display: grid; place-items: center; padding: clamp(1.5rem,5vw,3rem) 1rem; }
.auth-card { width: 100%; max-width: 420px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-2); }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; margin-bottom: 1.6rem; }
.auth-brand .brand-mark { width: 46px; height: 46px; border-radius: 13px; }
.auth-brand .brand-mark svg { width: 26px; height: 26px; }
.auth-card h1 { font-size: 1.5rem; text-align: center; }
.auth-sub { text-align: center; color: var(--muted); font-size: .93rem; margin-top: .35rem; margin-bottom: 1.4rem; }
.form { display: grid; gap: .35rem; }
.field { display: grid; gap: .35rem; margin-bottom: .9rem; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 550; }
.field input[type="text"], .field input[type="email"], .field input[type="password"] {
  width: 100%; padding: .72rem .85rem; border-radius: var(--r-md);
  border: 1px solid var(--border-2); background: var(--bg); color: var(--text);
  font-size: 1rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); background: var(--surface); }
.checkbox { display: flex; align-items: center; gap: .5rem; color: var(--text); font-size: .92rem; margin: .2rem 0 1rem; cursor: pointer; }
.checkbox input { width: 17px; height: 17px; accent-color: var(--emerald); }
.form .btn { margin-top: .3rem; }
.auth-alt { text-align: center; color: var(--muted); margin-top: 1.3rem; font-size: .93rem; }
.auth-legal { text-align: center; color: var(--faint); font-size: .78rem; margin-top: 1rem; }

/* ============================================================ PAINEL ===== */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.page-head h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.page-head .sub { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.date-chip { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .85rem; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-pill); padding: .4rem .8rem; }
.date-chip svg { width: 15px; height: 15px; color: var(--emerald-bright); }

/* banners */
.banner { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r-lg); border: 1px solid var(--border-2); margin-bottom: 1.4rem; background: var(--surface); }
.banner svg.b-icon { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.banner .b-body { flex: 1; }
.banner .b-body strong { display: block; margin-bottom: .15rem; }
.banner p { color: var(--muted); font-size: .92rem; }
.banner .btn { flex: none; align-self: center; }
.banner-upgrade { border-color: rgba(245,165,36,.35); background: linear-gradient(150deg, var(--amber-soft), transparent 70%), var(--surface); }
.banner-upgrade svg.b-icon { color: var(--amber-bright); }
.banner-trial { border-color: var(--emerald-line); background: linear-gradient(150deg, var(--emerald-soft), transparent 70%), var(--surface); }
.banner-trial svg.b-icon { color: var(--emerald-bright); }

/* resumo do dia */
.day-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.ds-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: .9rem 1rem; }
.ds-item .v { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ds-item .v.pos { color: var(--emerald-bright); }
.ds-item .k { color: var(--muted); font-size: .8rem; margin-top: .15rem; }

/* tips */
.tips-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.tip-card {
  position: relative; background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.15rem 1.25rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tip-visible:hover { border-color: var(--emerald-line); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.tip-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tip-league { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 650; }
.tip-league svg { width: 14px; height: 14px; color: var(--faint); }
.tip-match { font-weight: 700; font-size: 1.14rem; flex-basis: 100%; margin-top: .15rem; letter-spacing: -.01em; }
.tag { font-size: .68rem; padding: .18rem .5rem; border-radius: var(--r-pill); font-weight: 700; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .25rem; }
.tag svg { width: 12px; height: 12px; }
.tag-premium { background: linear-gradient(180deg, var(--amber-bright), var(--amber)); color: #241800; margin-left: auto; }
.tag-conf { border: 1px solid var(--border-2); color: var(--muted); }
.tag-conf.alta { color: var(--emerald-bright); border-color: var(--emerald-line); background: var(--emerald-soft); }
.tag-conf.media { color: var(--amber-bright); border-color: rgba(245,165,36,.35); background: var(--amber-soft); }
.tag-conf .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* bloco do pick em destaque */
.pick {
  margin-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r-md); padding: .85rem 1rem;
}
.pick-main .pick-label { color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.pick-main .pick-sel { font-weight: 700; font-size: 1.05rem; margin-top: .1rem; }
.pick-main .pick-book { color: var(--muted); font-size: .82rem; margin-top: .15rem; display: inline-flex; align-items: center; gap: .3rem; }
.pick-book svg { width: 13px; height: 13px; }
.pick-odd { text-align: right; flex: none; }
.pick-odd .o { font-size: 1.6rem; font-weight: 800; color: var(--emerald-bright); font-variant-numeric: tabular-nums; line-height: 1; }
.pick-odd .l { color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; margin-top: .2rem; }

/* chips de métricas da tip */
.tip-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--r-sm); padding: .4rem .65rem; font-size: .85rem; }
.chip .ck { color: var(--faint); }
.chip .cv { font-weight: 700; font-variant-numeric: tabular-nums; }
.chip .cv.pos { color: var(--emerald-bright); }
.chip svg { width: 15px; height: 15px; color: var(--muted); }

/* justificativa expansível */
.tip-why { margin-top: .85rem; border-top: 1px solid var(--border); }
.tip-why summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; padding-top: .75rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.tip-why summary::-webkit-details-marker { display: none; }
.tip-why summary:hover { color: var(--text); }
.tip-why summary .chev { transition: transform .2s var(--ease); }
.tip-why[open] summary .chev { transform: rotate(180deg); color: var(--emerald-bright); }
.tip-why .why-body { color: var(--text); font-size: .93rem; padding: .6rem 0 .2rem; line-height: 1.6; }

/* teaser bloqueado */
.tip-locked { border-style: dashed; }
.tip-teaser { position: relative; margin-top: .9rem; border-radius: var(--r-md); overflow: hidden; }
.tip-teaser .teaser-fake { padding: .85rem 1rem; background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r-md); filter: blur(6px); user-select: none; pointer-events: none; }
.teaser-fake .row { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.teaser-fake .bar { height: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--border-2), var(--surface-2)); }
.tip-lock-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; background: radial-gradient(circle at center, rgba(10,12,16,.55), rgba(10,12,16,.82)); }
.tip-lock-overlay .lock-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-soft); border: 1px solid rgba(245,165,36,.4); color: var(--amber-bright); }
.tip-lock-overlay .lock-ic svg { width: 18px; height: 18px; }
.tip-lock-note { color: var(--text); font-weight: 650; font-size: .9rem; }
.tip-lock-cta { margin-top: .2rem; }

/* estado vazio (disciplina) */
.empty-state { text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--r-lg); padding: 2.4rem 1.5rem; }
.empty-state .es-icon { width: 52px; height: 52px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 15px; background: var(--emerald-soft); border: 1px solid var(--emerald-line); color: var(--emerald-bright); }
.empty-state .es-icon svg { width: 26px; height: 26px; }
.empty-state h2, .empty-state strong { color: var(--text); font-size: 1.15rem; display: block; margin-bottom: .4rem; }
.empty-state p { max-width: 46ch; margin-inline: auto; font-size: .95rem; }

/* ========================================================= DESEMPENHO ==== */
.perf-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.perf-hero .lead { color: var(--muted); max-width: 58ch; margin-top: .4rem; }
.verified-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--emerald-line); background: var(--emerald-soft); color: var(--emerald-bright); font-size: .85rem; font-weight: 700; }
.verified-badge svg { width: 18px; height: 18px; }

.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem; margin: 1.2rem 0; }
.metric { position: relative; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.3rem 1.25rem; overflow: hidden; }
.metric::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--emerald); opacity: .7; }
.metric .metric-top { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .82rem; }
.metric .metric-top svg { width: 16px; height: 16px; color: var(--faint); }
.metric-value { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin-top: .5rem; }
.metric-value.pos { color: var(--emerald-bright); }
.metric-value.neg { color: var(--loss); }
.metric-label { display: block; color: var(--faint); font-size: .82rem; margin-top: .2rem; }

/* card do gráfico */
.chart-card { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.3rem; margin: 1.4rem 0; }
.chart-card .chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.chart-card h2 { font-size: 1.15rem; }
.chart-card .chart-sub { color: var(--muted); font-size: .85rem; }
.chart-wrap { position: relative; height: 300px; }
.chart-wrap canvas { max-width: 100%; }
.chart-skeleton { position: absolute; inset: 0; border-radius: var(--r-md); background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .chart-skeleton { animation: none; } }

/* -------------------------------------------------------------- Tables --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); -webkit-overflow-scrolling: touch; }
.section-title { font-size: 1.2rem; margin: 1.8rem 0 .8rem; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table thead th { text-align: left; padding: .8rem .9rem; color: var(--faint); font-weight: 650; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border-2); background: rgba(255,255,255,.015); position: sticky; top: 0; }
.table tbody td { padding: .8rem .9rem; border-bottom: 1px solid var(--border); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s var(--ease); }
.table tbody tr:hover { background: rgba(255,255,255,.02); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.t-game { font-weight: 600; }
.t-score { font-variant-numeric: tabular-nums; font-weight: 700; }

.result-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; border-radius: var(--r-pill); font-size: .78rem; font-weight: 700; }
.result-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.result-won { color: var(--win); background: rgba(53,227,167,.1); }
.result-lost { color: var(--loss); background: rgba(251,107,132,.1); }
.result-void { color: var(--void); background: rgba(139,149,166,.1); }
.result-pending { color: var(--pending); background: rgba(245,165,36,.1); }
td.result-won, td.result-lost, td.result-void, td.result-pending { background: transparent; }
.profit-pos { color: var(--win); font-weight: 700; }
.profit-neg { color: var(--loss); font-weight: 700; }

/* ============================================================= ADMIN ===== */
.admin-tabs { display: inline-flex; gap: .25rem; padding: .3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-tabs a { color: var(--muted); font-size: .9rem; font-weight: 600; padding: .5rem .95rem; border-radius: var(--r-sm); transition: color .15s var(--ease), background .15s var(--ease); }
.admin-tabs a:hover { color: var(--text); }
.admin-tabs a.active { color: var(--text); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--border-2); }
.admin-tabs a.active { color: var(--emerald-bright); }

.admin h1 { font-size: clamp(1.5rem,3.4vw,1.9rem); margin-bottom: .3rem; }
.admin > .sub { color: var(--muted); margin-bottom: 1.2rem; font-size: .93rem; }

.actions { white-space: nowrap; }
.actions form { display: inline-flex; gap: .35rem; flex-wrap: wrap; }
.btn-xs { padding: .32rem .6rem; font-size: .8rem; border-radius: var(--r-sm); font-weight: 600; background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); cursor: pointer; transition: border-color .15s var(--ease), color .15s var(--ease); }
.btn-xs:hover { border-color: var(--emerald-line); }
.btn-xs.danger:hover { border-color: rgba(251,107,132,.5); color: var(--loss); }
.btn-xs.warn:hover { border-color: rgba(245,165,36,.5); color: var(--amber-bright); }

.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: var(--r-pill); font-size: .76rem; font-weight: 700; }
.badge-premium { color: var(--amber-bright); background: var(--amber-soft); border: 1px solid rgba(245,165,36,.3); }
.badge-trial { color: var(--muted); background: var(--surface-3); border: 1px solid var(--border-2); }
.badge-yes { color: var(--win); }
.badge-no { color: var(--faint); }

.filter { display: flex; gap: .6rem; align-items: center; margin-bottom: 1.2rem; flex-wrap: wrap; }
.filter label { color: var(--muted); font-size: .9rem; }
.select {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2);
  border-radius: var(--r-sm); padding: .5rem .75rem; font-size: .92rem; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; padding-right: 2.1rem;
}
.select:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }

.health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1rem; }
.health-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.2rem 1.3rem; }
.health-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); display: flex; align-items: center; gap: .5rem; }
.health-card h3 svg { width: 16px; height: 16px; color: var(--emerald-bright); }
.health-card .hc-val { margin-top: .6rem; font-size: 1rem; }
.health-card .hc-val em { color: var(--faint); font-style: normal; }
.health-card ul { list-style: none; padding: 0; margin-top: .5rem; display: grid; gap: .4rem; }
.health-card ul li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .4rem 0; border-bottom: 1px solid var(--border); }
.health-card ul li:last-child { border-bottom: 0; }
.health-card ul li .prov { color: var(--muted); }

/* ============================================================= ERRORS ==== */
.error-page { min-height: calc(100vh - 62px); display: grid; place-items: center; text-align: center; padding: 2rem 1rem; }
.error-inner { max-width: 460px; }
.error-code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, var(--text), var(--faint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-icon { width: 64px; height: 64px; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-2); color: var(--emerald-bright); }
.error-icon svg { width: 32px; height: 32px; }
.error-page h1 { font-size: 1.4rem; margin: .8rem 0 .5rem; }
.error-page p { color: var(--muted); margin-bottom: 1.6rem; }

/* ========================================================== Responsivo === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; margin-inline: auto; width: 100%; }
  .transparency { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .pick { flex-direction: row; }
  .page-head { align-items: flex-start; }
  .banner { flex-wrap: wrap; }
  .banner .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* animação sutil de entrada */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .5s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
