/* ─── Reset & Variables ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0D1117;
  --surface:  #161B22;
  --card:     #1C2128;
  --border:   #30363D;
  --primary:  #00D4A8;
  --good:     #00C851;
  --warning:  #FFB300;
  --danger:   #FF4444;
  --text:     #F0F6FC;
  --sub:      #8B949E;
  --gold:     #FFD700;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,.4);
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ──────────────────────────────────────────────── */
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: .95rem; font-weight: 600; }
p  { color: var(--sub); font-size: .95rem; }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); }

.text-primary { color: var(--primary); }

/* ─── Layout ──────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-surface { background: var(--surface); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head p { margin-top: 10px; font-size: 1.05rem; }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 10px; border: none;
  font-family: inherit; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all .18s; text-decoration: none;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: #000; }
.btn-primary:hover { background: #00bfa0; transform: translateY(-1px); text-decoration: none; }
.btn-outline  { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: rgba(0,212,168,.1); text-decoration: none; }
.btn-lg       { padding: 14px 32px; font-size: 1rem; }
.btn-sm       { padding: 7px 16px; font-size: .85rem; }
.btn-danger   { background: var(--danger); color: #fff; }

/* ─── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,17,23,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-brand  { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { font-size: 1.5rem; }
.brand-svg  { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-size: 1.05rem; font-weight: 900; color: var(--primary); letter-spacing: 1px; }
.brand-sub  { font-size: .65rem; color: var(--sub); display: block; line-height: 1; letter-spacing: .3px; }
.nav-links  { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-link   { color: var(--sub); padding: 8px 14px; border-radius: 8px; font-size: .9rem; font-weight: 500; transition: color .15s, background .15s; display: block; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.06); text-decoration: none; }
.nav-cta    { margin-left: 8px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,212,168,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-block;
  background: rgba(0,212,168,.1); color: var(--primary);
  border: 1px solid rgba(0,212,168,.3); border-radius: 50px;
  padding: 6px 18px; font-size: .85rem; font-weight: 600;
  margin-bottom: 24px; letter-spacing: .3px;
}
.hero-title  { margin-bottom: 20px; }
.hero-desc   { max-width: 600px; margin: 0 auto 36px; font-size: 1.05rem; color: var(--sub); }
.hero-btns   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats  { display: flex; gap: 0; justify-content: center; align-items: center; }
.hstat       { text-align: center; padding: 0 32px; }
.hstat-n     { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.hstat-l     { font-size: .8rem; color: var(--sub); letter-spacing: .5px; text-transform: uppercase; }
.hstat-div   { width: 1px; height: 36px; background: var(--border); }

/* ─── Acronym Strip (hero) ────────────────────────────────────── */
.acronym-strip {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 6px 12px; margin: 0 auto 32px; max-width: 700px;
}
.as-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,212,168,.07); border: 1px solid rgba(0,212,168,.2);
  border-radius: 10px; padding: 7px 14px;
  transition: background .18s, border-color .18s;
}
.as-item:hover { background: rgba(0,212,168,.13); border-color: rgba(0,212,168,.4); }
.as-l {
  font-size: 1.25rem; font-weight: 900; color: var(--primary);
  line-height: 1; min-width: 16px; text-align: center;
}
.as-body { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.as-full { font-size: .82rem; font-weight: 600; color: var(--text); line-height: 1.2; }
.as-pct  { font-size: .7rem; color: var(--primary); font-weight: 700; letter-spacing: .3px; }

/* ─── Pillars (legacy compact grid, kept for fallback) ────────── */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.pillar-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
  transition: border-color .2s, transform .2s;
}
.pillar-card:hover { border-color: rgba(0,212,168,.4); transform: translateY(-2px); }
.pillar-letter {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(0,212,168,.12); border: 1.5px solid rgba(0,212,168,.3);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--primary);
}
.pillar-info h3 { font-size: .95rem; margin-bottom: 4px; }
.pillar-info p  { font-size: .82rem; color: var(--sub); line-height: 1.5; }
.pillar-weight  { margin-top: 8px; font-size: .75rem; font-weight: 600; color: var(--primary); }

/* ─── Pillars New (pc-card) ───────────────────────────────────── */
.pillars-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Base card */
.pc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.pc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, rgba(0,212,168,.6), rgba(0,212,168,.1));
  opacity: 0; transition: opacity .2s;
}
.pc-card:hover {
  border-color: rgba(0,212,168,.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.pc-card:hover::before { opacity: 1; }

/* Highlighted card (Análise Jurídica) */
.pc-card--highlight {
  border-color: rgba(255,68,68,.3);
  background: linear-gradient(145deg, rgba(255,68,68,.05), var(--card));
}
.pc-card--highlight::before {
  background: linear-gradient(90deg, rgba(255,68,68,.7), rgba(255,68,68,.1));
}
.pc-card--highlight:hover { border-color: rgba(255,68,68,.55); }

/* Header row: badge + title-wrap + icon */
.pc-header {
  display: flex; align-items: center; gap: 14px;
}

/* Letter badge */
.pc-badge {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: rgba(0,212,168,.12);
  border: 2px solid rgba(0,212,168,.35);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--primary);
  letter-spacing: -1px;
}
.pc-badge--warn {
  background: rgba(255,68,68,.12);
  border-color: rgba(255,68,68,.4);
  color: var(--danger);
}
.pc-badge--gold {
  background: rgba(255,215,0,.12);
  border-color: rgba(255,215,0,.4);
  color: var(--gold);
}

/* Title + weight tag */
.pc-title-wrap { flex: 1; min-width: 0; }
.pc-title      { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pc-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  background: rgba(0,212,168,.1); color: var(--primary);
  border: 1px solid rgba(0,212,168,.25);
  border-radius: 50px; padding: 2px 9px;
  letter-spacing: .3px; text-transform: uppercase;
  white-space: nowrap;
}
.pc-tag--warn {
  background: rgba(255,68,68,.1); color: var(--danger);
  border-color: rgba(255,68,68,.3);
}
.pc-tag--gold {
  background: rgba(255,215,0,.1); color: var(--gold);
  border-color: rgba(255,215,0,.3);
}

/* Emoji icon */
.pc-icon { font-size: 1.6rem; flex-shrink: 0; }

/* Description paragraph */
.pc-desc {
  font-size: .875rem; color: var(--sub); line-height: 1.65;
  margin: 0;
}
.pc-desc strong { color: var(--text); }

/* Checklist */
.pc-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin: 0; padding: 0;
  border-top: 1px solid var(--border); padding-top: 14px;
  flex: 1;
}
.pc-list li {
  font-size: .82rem; color: var(--sub); line-height: 1.45;
  padding-left: 20px; position: relative;
}
.pc-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--primary); font-weight: 700; font-size: .8rem;
}
.pc-card--highlight .pc-list li::before { color: var(--danger); content: '!'; }

/* CTA link */
.pc-cta {
  display: inline-flex; align-items: center;
  font-size: .82rem; font-weight: 700;
  color: var(--primary); text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  background: rgba(0,212,168,.08); border: 1px solid rgba(0,212,168,.2);
  transition: background .15s, border-color .15s, transform .15s;
  align-self: flex-start; margin-top: auto;
}
.pc-cta:hover {
  background: rgba(0,212,168,.16); border-color: rgba(0,212,168,.45);
  text-decoration: none; transform: translateX(2px);
}
.pc-cta--warn {
  color: var(--danger);
  background: rgba(255,68,68,.08); border-color: rgba(255,68,68,.2);
}
.pc-cta--warn:hover {
  background: rgba(255,68,68,.16); border-color: rgba(255,68,68,.45);
}
.pc-cta--gold {
  color: var(--gold);
  background: rgba(255,215,0,.08); border-color: rgba(255,215,0,.2);
}
.pc-cta--gold:hover {
  background: rgba(255,215,0,.16); border-color: rgba(255,215,0,.45);
}

/* ─── Stepper ─────────────────────────────────────────────────── */
.stepper {
  display: flex; align-items: center; margin-bottom: 36px;
  padding: 20px 24px; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-item    { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-circle  {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; border: 2px solid var(--border);
  color: var(--sub); background: var(--card); transition: all .2s;
}
.step-label   { font-size: .72rem; color: var(--sub); white-space: nowrap; }
.step-line    { flex: 1; height: 2px; background: var(--border); margin: 0 6px; margin-bottom: 22px; transition: background .2s; }
.step-item.active .step-circle  { border-color: var(--primary); color: var(--primary); background: rgba(0,212,168,.12); }
.step-item.active .step-label   { color: var(--primary); font-weight: 600; }
.step-item.done .step-circle    { border-color: var(--primary); background: var(--primary); color: #000; }
.step-item.done .step-circle::after { content: '✓'; }
.step-item.done .step-circle    { font-size: 0; }
.step-item.done + .step-line    { background: var(--primary); }

/* ─── Step panels ─────────────────────────────────────────────── */
.step-panel         { display: none; animation: fadeIn .25s ease; }
.step-panel.active  { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.step-title-bar {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 28px;
}
.step-badge {
  flex-shrink: 0; width: 44px; height: 44px;
  background: rgba(0,212,168,.12); border: 2px solid var(--primary);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--primary);
}
.step-title-bar h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 2px; }
.step-title-bar p  { color: var(--sub); font-size: .88rem; font-style: italic; }

/* ─── Form Grid ───────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-col  { display: flex; flex-direction: column; gap: 16px; }

/* ─── Fields ──────────────────────────────────────────────────── */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: .82rem; font-weight: 500; color: var(--sub); letter-spacing: .2px; }
.field-input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-family: inherit; font-size: .95rem;
  transition: border-color .15s; outline: none;
}
.field-input:focus { border-color: var(--primary); }
.field-input::placeholder { color: var(--sub); }

/* ─── Range ───────────────────────────────────────────────────── */
.range-group { display: flex; flex-direction: column; gap: 8px; }
.range-group label { font-size: .85rem; color: var(--sub); display: flex; justify-content: space-between; }
input[type=range] {
  width: 100%; height: 5px; accent-color: var(--primary);
  background: var(--border); border-radius: 4px; outline: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--primary); cursor: pointer;
}

/* ─── Toggle Switch ───────────────────────────────────────────── */
.toggle-group { display: flex; flex-direction: column; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.toggle-item  { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.toggle-item:last-child { border-bottom: none; }
.toggle-item:hover { background: rgba(255,255,255,.03); }
.toggle-text  { flex: 1; }
.tl { display: block; font-size: .9rem; font-weight: 500; color: var(--text); }
.ts { display: block; font-size: .78rem; color: var(--sub); margin-top: 2px; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border); border-radius: 24px; transition: .2s;
}
.slider::before {
  position: absolute; content: '';
  width: 18px; height: 18px; left: 3px; bottom: 3px;
  background: var(--sub); border-radius: 50%; transition: .2s;
}
.switch input:checked + .slider           { background: var(--primary); }
.switch input:checked + .slider::before  { transform: translateX(20px); background: #000; }

.red-flags .toggle-item { border-left: 3px solid transparent; }
.red-flags .toggle-item:has(input:checked) { border-left-color: var(--danger); background: rgba(255,68,68,.04); }
.red-flags .tl::before { content: '🚩 '; }

/* ─── Card Boxes ──────────────────────────────────────────────── */
.card-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.box-title { font-size: .9rem; margin-bottom: 14px; color: var(--text); }

.highlight-box { border-color: rgba(0,212,168,.3); background: rgba(0,212,168,.04); }
.risco-total   { font-size: 1.8rem; font-weight: 800; color: var(--warning); margin: 8px 0; }
.box-note      { font-size: .8rem; color: var(--sub); }

/* ─── Chips ───────────────────────────────────────────────────── */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: 8px; font-size: .83rem;
  font-family: inherit; font-weight: 500; cursor: pointer;
  background: var(--surface); color: var(--sub);
  border: 1px solid var(--border); transition: all .15s;
}
.chip:hover       { border-color: var(--primary); color: var(--primary); }
.chip.active      { background: rgba(0,212,168,.15); border-color: var(--primary); color: var(--primary); font-weight: 600; }

/* ─── Alert ───────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .9rem; font-weight: 500; }
.alert-danger { background: rgba(255,68,68,.1); border: 1px solid rgba(255,68,68,.3); color: var(--danger); }
.alert-good   { background: rgba(0,200,81,.1); border: 1px solid rgba(0,200,81,.3); color: var(--good); }

/* ─── TETO Box ────────────────────────────────────────────────── */
.teto-box {
  background: linear-gradient(135deg, rgba(0,212,168,.12), rgba(0,212,168,.04));
  border: 1.5px solid rgba(0,212,168,.4);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.teto-label  { font-size: .85rem; color: var(--sub); margin-bottom: 6px; }
.teto-value  { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.teto-verdict { font-size: .9rem; font-weight: 600; padding: 6px 14px; border-radius: 8px; display: inline-block; margin-bottom: 12px; }
.teto-breakdown { font-size: .8rem; color: var(--sub); line-height: 1.8; text-align: left; }

/* ─── Formula ─────────────────────────────────────────────────── */
.formula-box    { background: var(--surface); border-radius: 8px; padding: 14px; }
.formula-title  { font-size: .8rem; font-weight: 600; color: var(--gold); display: block; margin-bottom: 8px; }
.formula-box code { font-size: .78rem; color: var(--primary); line-height: 1.7; display: block; font-family: 'Courier New', monospace; }

/* ─── Strategy Cards ──────────────────────────────────────────── */
.strategy-cards { display: flex; flex-direction: column; gap: 10px; }
.strategy-card  {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: var(--radius); border: 1.5px solid var(--border);
  cursor: pointer; transition: all .15s; background: var(--card);
}
.strategy-card input[type=radio] { display: none; }
.strategy-card:hover { border-color: rgba(0,212,168,.4); }
.strategy-card.active { border-color: var(--primary); background: rgba(0,212,168,.08); }
.sc-icon  { font-size: 1.6rem; flex-shrink: 0; }
.strategy-card .sc-name  { font-size: .95rem; font-weight: 600; color: var(--text); }
.strategy-card .sc-desc  { font-size: .78rem; color: var(--sub); margin-top: 2px; }

/* ─── Step Navigation ─────────────────────────────────────────── */
.step-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
}
.step-counter { font-size: .85rem; color: var(--sub); font-weight: 500; }

/* ─── Result ──────────────────────────────────────────────────── */
.result-layout     { display: grid; grid-template-columns: 340px 1fr; gap: 24px; }
.result-main-card  {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.result-score-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto 20px; }
.result-score-ring { transform: rotate(-90deg); }
.ring-track   { fill: none; stroke: var(--border); stroke-width: 12; }
.ring-fill    { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.ring-text    { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num     { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.ring-lbl     { font-size: .75rem; font-weight: 700; letter-spacing: .5px; margin-top: 2px; }
.result-verdict-tag {
  display: inline-block; padding: 6px 20px; border-radius: 50px;
  font-size: 1.1rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px;
}
.result-desc   { font-size: .9rem; color: var(--sub); margin-bottom: 20px; }
.result-finance { text-align: left; border-top: 1px solid var(--border); padding-top: 16px; }
.fin-row       { display: flex; justify-content: space-between; padding: 5px 0; font-size: .85rem; }
.fin-row .fl   { color: var(--sub); }
.fin-row .fv   { font-weight: 600; }
.fin-sep       { border: none; border-top: 1px solid var(--border); margin: 8px 0; }

.result-pillars-title { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.pillar-row    {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.pillar-header {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  cursor: pointer; user-select: none;
}
.pillar-header:hover { background: rgba(255,255,255,.03); }
.ph-letter {
  width: 34px; height: 34px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; flex-shrink: 0;
}
.ph-name   { flex: 1; font-size: .95rem; font-weight: 600; }
.ph-bar    { width: 80px; background: var(--border); border-radius: 4px; height: 5px; overflow: hidden; }
.ph-bar-fill { height: 100%; border-radius: 4px; transition: width .6s ease; }
.ph-score  { width: 36px; text-align: right; font-weight: 700; font-size: 1rem; }
.ph-toggle { color: var(--sub); font-size: .8rem; }
.pillar-body {
  display: none; padding: 0 16px 14px 64px;
  border-top: 1px solid var(--border);
}
.pillar-body.open { display: block; }
.finding-item { font-size: .83rem; color: var(--sub); padding: 3px 0; display: flex; gap: 6px; }
.finding-item::before { content: '•'; color: var(--border); flex-shrink: 0; }
.pillar-rec {
  margin-top: 10px; padding: 10px 14px; border-radius: 8px;
  font-size: .82rem; font-weight: 500;
}

/* ─── Calculator ──────────────────────────────────────────────── */
.calc-layout   { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.calc-inputs   { display: flex; flex-direction: column; gap: 16px; }
.calc-result   {
  position: sticky; top: 80px;
  background: var(--card); border: 1.5px solid rgba(0,212,168,.35);
  border-radius: var(--radius); overflow: hidden;
}
.result-main   { padding: 28px; text-align: center; background: linear-gradient(135deg, rgba(0,212,168,.1), transparent); }
.result-teto-label { font-size: .85rem; color: var(--sub); margin-bottom: 6px; }
.result-teto-value { font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.result-verdict    { font-size: .95rem; font-weight: 700; padding: 8px 20px; border-radius: 50px; display: inline-block; margin-top: 12px; }
.result-breakdown  { padding: 0 24px 16px; font-size: .85rem; }
.bd-row    { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid var(--border); }
.bd-row .bl { color: var(--sub); }
.bd-row .bv { font-weight: 600; }
.formula-display { padding: 16px 24px 20px; border-top: 1px solid var(--border); }
.formula-quote  { font-style: italic; font-size: .82rem; color: var(--sub); margin: 6px 0 4px; }
.formula-author { font-size: .75rem; color: var(--primary); font-weight: 500; }

/* ─── Sites ───────────────────────────────────────────────────── */
.sites-bar     { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sites-search  {
  width: 100%; padding: 13px 18px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text); font-family: inherit; font-size: .95rem; outline: none;
}
.sites-search:focus { border-color: var(--primary); }
.sites-search::placeholder { color: var(--sub); }
.sites-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn    {
  padding: 6px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--card); color: var(--sub); font-family: inherit;
  font-size: .82rem; font-weight: 500; cursor: pointer; transition: all .15s;
}
.filter-btn:hover  { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: rgba(0,212,168,.15); border-color: var(--primary); color: var(--primary); font-weight: 600; }
.sites-count   { font-size: .82rem; color: var(--sub); margin-bottom: 16px; }
.sites-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }

.site-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: border-color .2s, transform .2s; cursor: pointer; display: block;
  text-decoration: none; color: inherit;
}
.site-card:hover { border-color: rgba(0,212,168,.4); transform: translateY(-2px); text-decoration: none; }
.sc-top   { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.sc-emoji { font-size: 1.8rem; flex-shrink: 0; }
.sc-name-wrap { flex: 1; }
.site-card .sc-name  { font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.sc-url   { font-size: .78rem; color: var(--primary); }
.sc-gov   { font-size: .68rem; font-weight: 700; letter-spacing: .5px; background: rgba(0,212,168,.12); color: var(--primary); border-radius: 4px; padding: 2px 6px; vertical-align: middle; margin-left: 6px; }
.sc-open  { color: var(--sub); font-size: .8rem; flex-shrink: 0; margin-top: 2px; }
.site-card .sc-desc  { font-size: .8rem; color: var(--sub); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-tags  { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sc-tag   { font-size: .72rem; font-weight: 500; padding: 3px 8px; border-radius: 4px; }
.tag-type { background: rgba(255,179,0,.1); color: var(--warning); }
.tag-cat  { background: rgba(0,212,168,.1); color: var(--primary); }
.tag-cov  { background: rgba(139,148,158,.1); color: var(--sub); }
.sc-stars { margin-left: auto; display: flex; gap: 2px; }
.star     { font-size: .75rem; color: var(--border); }
.star.on  { color: var(--gold); }

/* ─── Junta Comercial filter & card ──────────────────────────── */
.filter-btn--junta {
  border-color: rgba(255,215,0,.4);
  color: var(--gold);
}
.filter-btn--junta:hover,
.filter-btn--junta.active {
  background: rgba(255,215,0,.12);
  border-color: var(--gold);
  color: var(--gold);
}
.site-card--junta {
  border-color: rgba(255,215,0,.25);
  background: linear-gradient(135deg, rgba(255,215,0,.04), var(--card));
}
.site-card--junta:hover { border-color: rgba(255,215,0,.5); }
.tag-junta { background: rgba(255,215,0,.12); color: var(--gold); }

/* ─── Callout boxes (estilo ebook) ───────────────────────────── */
.callout {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  margin-bottom: 20px; border: 1px solid;
}
.callout-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.callout-body {}
.callout-title { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.callout-body p { font-size: .85rem; line-height: 1.65; color: var(--sub); }

.callout-info  {
  background: rgba(255,215,0,.06);
  border-color: rgba(255,215,0,.3);
}
.callout-info .callout-title { color: var(--gold); }

.callout-warn  {
  background: rgba(255,68,68,.06);
  border-color: rgba(255,68,68,.3);
}
.callout-warn .callout-title { color: var(--danger); }

.callout-tip   {
  background: rgba(0,212,168,.06);
  border-color: rgba(0,212,168,.3);
}
.callout-tip .callout-title { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════
   SOBRE — Página de apresentação
═══════════════════════════════════════════════════════════════ */
.sobre-section { background: var(--bg); }

.sobre-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
  align-items: start;
}

/* ── Coluna visual ── */
.sobre-visual {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: sticky; top: 100px;
}
.sobre-avatar {
  width: 160px; height: 160px; margin-bottom: 20px;
}
.sobre-avatar svg { width: 100%; height: 100%; }
.sobre-name  { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.sobre-title { font-size: .82rem; color: var(--primary); font-weight: 600; margin: 4px 0 8px; }
.sobre-location { font-size: .78rem; color: var(--sub); margin-bottom: 16px; }
.sobre-insta {
  display: flex; align-items: center; gap: 8px;
  color: var(--sub); font-size: .82rem; text-decoration: none;
  border: 1px solid var(--border); border-radius: 50px;
  padding: 8px 16px; transition: all .2s;
}
.sobre-insta:hover { border-color: var(--primary); color: var(--primary); }

/* ── Coluna conteúdo ── */
.sobre-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.sobre-headline {
  font-size: 2.2rem; font-weight: 900; line-height: 1.15;
  margin-bottom: 24px;
}
.sobre-headline span { color: var(--primary); }

.sobre-lead {
  font-size: 1.05rem; color: var(--text); line-height: 1.75;
  margin-bottom: 18px; font-weight: 400;
}
.sobre-text {
  font-size: .93rem; color: var(--sub); line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Grid pilares ── */
.sobre-pilares {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 28px 0;
}
.sp-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,212,168,.05); border: 1px solid rgba(0,212,168,.15);
  border-radius: 10px; padding: 12px 14px;
}
.sp-letra {
  font-size: 1.3rem; font-weight: 900; color: var(--primary);
  width: 28px; flex-shrink: 0; text-align: center;
}
.sp-desc { font-size: .8rem; color: var(--text); line-height: 1.4; }

/* ── Quote ── */
.sobre-quote {
  border-left: 3px solid var(--primary); padding: 14px 20px;
  background: rgba(0,212,168,.05); border-radius: 0 10px 10px 0;
  margin: 28px 0; font-style: italic;
  font-size: 1.05rem; color: var(--text); line-height: 1.6;
}
.sobre-quote cite {
  display: block; font-size: .8rem; color: var(--sub);
  font-style: normal; margin-top: 8px; font-weight: 600;
}

.sobre-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Responsivo ── */
@media (max-width: 860px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-visual { position: static; }
  .sobre-headline { font-size: 1.75rem; }
}
@media (max-width: 600px) {
  .sobre-pilares { grid-template-columns: 1fr; }
  .sobre-headline { font-size: 1.45rem; }
  .sobre-cta-row { flex-direction: column; }
  .sobre-cta-row .btn { width: 100%; justify-content: center; }
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 10px; }
.footer-brand .brand-name { font-size: 1.1rem; }
.footer-quote  { font-style: italic; font-size: .9rem; color: var(--sub); margin-bottom: 8px; }
.footer-credit { font-size: .82rem; color: var(--sub); }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars-grid      { grid-template-columns: 1fr 1fr; }
  .pillars-grid-new  { grid-template-columns: 1fr 1fr; }
  .form-grid         { grid-template-columns: 1fr; }
  .calc-layout       { grid-template-columns: 1fr; }
  .calc-result       { position: static; }
  .result-layout     { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: 12px 0; gap: 4px;
  }
  .nav-links.open .nav-link { padding: 12px 24px; border-radius: 0; }
  .pillars-grid      { grid-template-columns: 1fr; }
  .pillars-grid-new  { grid-template-columns: 1fr; }
  .sites-grid        { grid-template-columns: 1fr; }
  .stepper           { overflow-x: auto; gap: 0; padding: 16px 12px; }
  .step-label        { display: none; }
  .hstat             { padding: 0 18px; }
  .hstat-n           { font-size: 1.5rem; }
  .acronym-strip     { gap: 6px 8px; }
  .as-item           { padding: 6px 10px; }
  .as-l              { font-size: 1.1rem; }
  .as-full           { font-size: .76rem; }
  .pc-card           { padding: 18px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .acronym-strip { gap: 5px; }
  .as-item { padding: 5px 9px; gap: 6px; }
}

/* ─── Login Page — Responsivo ───────────────────────────────── */
@media (max-width: 700px) {
  .lp-hero h1      { font-size: 1.8rem; }
  .lp-cards-row    { flex-direction: column; max-width: 420px; }
  .lp-login-toggle { font-size: .78rem; padding: 8px 14px; }
}
@media (max-width: 420px) {
  .lp-page    { padding: 0 12px 40px; }
  .lp-hero h1 { font-size: 1.5rem; }
  .lpc-top    { padding: 20px 20px 16px; }
  .lpc-features { padding: 18px 20px; }
  .lpc-btn    { margin: 0 20px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   PLANOS
═══════════════════════════════════════════════════════════════ */
.nav-link--cta {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 48px;
}

.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

/* Card destaque (anual) */
.plan-card--featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(0,212,168,.07), var(--card));
  box-shadow: 0 0 0 1px rgba(0,212,168,.3), 0 8px 32px rgba(0,212,168,.1);
}

.plan-badge-top {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  font-size: .78rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .3px;
}

.plan-header { display: flex; flex-direction: column; gap: 6px; }

.plan-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.plan-card--featured .plan-name { color: var(--primary); }

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  line-height: 1;
}
.plan-currency { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.plan-value    { font-size: 3rem; font-weight: 900; color: var(--text); line-height: 1; }
.plan-period   { font-size: .9rem; color: var(--sub); margin-bottom: 8px; }
.plan-card--featured .plan-value { color: var(--primary); }

.plan-desc         { font-size: .85rem; color: var(--sub); line-height: 1.5; margin: 0; }
.plan-desc-economy {
  font-size: .82rem;
  background: rgba(0,212,168,.1);
  border: 1px solid rgba(0,212,168,.25);
  color: var(--primary);
  border-radius: 8px;
  padding: 6px 12px;
  margin: 0;
}
.plan-desc-economy strong { color: var(--primary); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.plan-features li {
  font-size: .85rem;
  color: var(--sub);
  padding-left: 4px;
}
.plan-features li::first-letter { color: var(--primary); font-weight: 700; }
.plan-card--featured .plan-features li::first-letter { color: var(--primary); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
}
.plan-btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.plan-btn--outline:hover {
  background: rgba(0,212,168,.1);
  text-decoration: none;
}
.plan-btn--primary {
  background: var(--primary);
  color: #000;
  border: 2px solid var(--primary);
}
.plan-btn--primary:hover {
  background: #00bfa0;
  border-color: #00bfa0;
  transform: translateY(-1px);
  text-decoration: none;
}

.plan-guarantee {
  text-align: center;
  font-size: .78rem;
  color: var(--sub);
  margin: -8px 0 0;
}

/* Garantia inferior */
.plans-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
}
.pg-icon { font-size: 2.2rem; flex-shrink: 0; }
.plans-guarantee strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.plans-guarantee p { font-size: .85rem; color: var(--sub); margin: 0; }

@media (max-width: 680px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; }
  .plan-card  { padding: 28px 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   AUTH — Tela de Login / Vendas
═══════════════════════════════════════════════════════════════ */
.login-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg); overflow-y: auto;
  display: block;
}

.lp-page {
  min-height: 100vh; padding: 0 24px 48px;
  display: flex; flex-direction: column; align-items: center;
}

/* ── Header ── */
.lp-header {
  width: 100%; max-width: 900px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px; margin-bottom: 36px;
}
.lp-logo { display: flex; align-items: center; gap: 12px; }
.lp-logo .brand-svg { width: 42px; height: 42px; }
.lp-logo-name { font-size: 1.15rem; font-weight: 900; color: var(--primary); letter-spacing: 1px; }
.lp-logo-sub  { font-size: .68rem; color: var(--sub); letter-spacing: .3px; }
.lp-login-toggle {
  background: none; border: 1.5px solid var(--border); color: var(--text);
  padding: 9px 20px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.lp-login-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* ── Hero ── */
.lp-hero {
  text-align: center; margin-bottom: 40px;
  width: 100%; max-width: 720px;
}
.lp-hero-tag {
  display: inline-block; background: rgba(0,212,168,.1);
  border: 1px solid rgba(0,212,168,.25); border-radius: 50px;
  color: var(--primary); font-size: .78rem; font-weight: 700;
  padding: 6px 16px; margin-bottom: 18px; letter-spacing: .3px;
}
.lp-hero h1 {
  font-size: 2.6rem; font-weight: 900; line-height: 1.12; margin-bottom: 16px;
}
.lp-hero h1 span { color: var(--primary); }
.lp-hero p {
  font-size: .95rem; color: var(--sub); line-height: 1.75; margin-bottom: 28px;
}
.lp-hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; background: rgba(255,255,255,.03);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 24px; width: fit-content; margin: 0 auto;
}
.lp-stat { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.lp-stat-n { font-size: 1.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.lp-stat-l { font-size: .7rem; color: var(--sub); margin-top: 4px; }
.lp-stat-div { width: 1px; height: 36px; background: var(--border); }

/* ── Cards de planos ── */
.lp-cards-row {
  display: flex; gap: 20px; width: 100%; max-width: 820px;
  align-items: stretch;
}
.lpc-card {
  flex: 1; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface);
  transition: border-color .2s;
}
.lpc-card:hover { border-color: rgba(0,212,168,.35); }
.lpc-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 32px rgba(0,212,168,.15);
}

.lpc-top-badge {
  background: var(--primary); color: #000;
  text-align: center; font-size: .72rem; font-weight: 800;
  letter-spacing: .5px; padding: 8px 16px;
  text-transform: uppercase;
}

.lpc-top {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.lpc-label { font-size: .72rem; color: var(--sub); font-weight: 500; margin-bottom: 10px; }
.lpc-name  { font-size: 1.6rem; font-weight: 900; color: var(--text); margin-bottom: 8px; }
.lpc-price {
  display: flex; align-items: baseline; gap: 3px;
  font-weight: 800; color: var(--text); margin-bottom: 6px;
  font-size: 1.05rem;
}
.lpc-val   { font-size: 2.6rem; line-height: 1; color: var(--text); }
.lpc-cents { font-size: 1.2rem; vertical-align: super; line-height: 1; color: var(--text); font-weight: 800; }
.lpc-per   { font-size: .85rem; color: var(--sub); }
.lpc-sub   { font-size: .78rem; color: var(--sub); }
.lpc-sub--green { color: var(--primary) !important; font-weight: 600; }
.lpc-annual-note {
  text-align: center; font-size: .75rem; color: var(--sub);
  padding: 0 28px 20px; font-style: italic; margin-top: -8px;
}

/* Features list */
.lpc-features {
  list-style: none; padding: 24px 28px; flex: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.lpc-features li {
  font-size: .88rem; color: #c9d1d9; padding-left: 22px; position: relative; line-height: 1.45;
}
.lpc-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--primary); font-weight: 900;
}

/* CTA button */
.lpc-btn {
  display: block; text-align: center; text-decoration: none;
  margin: 0 28px 28px; padding: 14px;
  border-radius: 50px; font-size: .92rem; font-weight: 700;
  cursor: pointer; transition: all .2s; font-family: inherit;
  letter-spacing: .3px;
}
.lpc-btn--outline {
  border: 1.5px solid var(--text); color: var(--text); background: transparent;
}
.lpc-btn--outline:hover { background: rgba(255,255,255,.05); border-color: var(--primary); color: var(--primary); }
.lpc-btn--primary {
  background: var(--primary); color: #000; border: none;
}
.lpc-btn--primary:hover { background: #00c49e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,168,.3); }

/* Rodapé da página de planos */
.lp-footer-note {
  margin-top: 28px; font-size: .75rem; color: var(--sub);
  text-align: center; max-width: 600px; line-height: 1.6;
}

/* ── Painel de Login sobreposto ── */
.lp-login-panel {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(13,17,23,.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lp-login-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px; width: 100%; max-width: 420px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  display: flex; flex-direction: column;
}

/* Manter compatibilidade com classes de login antigas */
.login-card {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
  display: flex; flex-direction: column;
}

.login-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.login-key   { font-size: 2.2rem; line-height: 1; }
.login-brand { font-size: 1.3rem; font-weight: 900; color: var(--primary); letter-spacing: .5px; }
.login-sub   { font-size: .72rem; color: var(--sub); margin-top: 1px; }

.login-title { font-size: 1.45rem; margin-bottom: 8px; }
.login-desc  { font-size: .88rem; color: var(--sub); margin-bottom: 28px; line-height: 1.6; }

.auth-error {
  min-height: 18px; font-size: .82rem; color: var(--danger);
  margin: 10px 0 6px; line-height: 1.4;
}
.auth-error:empty { min-height: 0; margin: 0; }

.login-btn {
  width: 100%; justify-content: center;
  margin-top: 10px; padding: 13px;
  font-size: 1rem;
}

.login-forgot {
  background: none; border: none; cursor: pointer;
  color: var(--sub); font-size: .82rem; font-family: inherit;
  padding: 12px 0; align-self: center;
  transition: color .15s;
}
.login-forgot:hover { color: var(--primary); }

.login-footer {
  border-top: 1px solid var(--border);
  padding-top: 22px; margin-top: 6px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.login-footer p { font-size: .85rem; color: var(--sub); }

.login-buy-btn {
  width: 100%; justify-content: center;
  font-size: .9rem;
}

/* ─── Navbar: área do usuário logado ─────────────────────────── */
.nav-user-area {
  display: flex; align-items: center; gap: 10px; margin-left: auto;
}
.nav-username {
  font-size: .82rem; color: var(--sub); font-weight: 500;
  max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-admin-btn {
  font-size: .78rem; padding: 6px 12px;
}
.nav-logout-btn {
  font-size: .78rem; padding: 6px 12px;
  background: transparent; border: 1px solid rgba(255,68,68,.35);
  color: var(--danger); border-radius: 8px; cursor: pointer;
  font-family: inherit; font-weight: 600;
  transition: background .15s, border-color .15s;
}
.nav-logout-btn:hover {
  background: rgba(255,68,68,.12); border-color: var(--danger);
}

/* ═══════════════════════════════════════════════════════════════
   AUTH — Painel Admin (Modal)
═══════════════════════════════════════════════════════════════ */
.admin-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px 24px; overflow-y: auto;
}

.admin-modal {
  width: 100%; max-width: 720px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
  margin: auto;
}

.admin-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.admin-header h3 { font-size: 1.2rem; }

.admin-close {
  flex-shrink: 0; width: 34px; height: 34px;
  background: none; border: 1px solid var(--border); color: var(--sub);
  border-radius: 8px; cursor: pointer; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; transition: border-color .15s, color .15s;
}
.admin-close:hover { border-color: var(--danger); color: var(--danger); }

.admin-section {
  padding-bottom: 28px; margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.admin-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.admin-section h4 { font-size: .95rem; margin-bottom: 10px; }

.admin-add-form {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.admin-add-form .field-input { flex: 1; min-width: 160px; }
.admin-add-form .btn { white-space: nowrap; }

.admin-msg {
  font-size: .82rem; min-height: 18px; margin-top: 10px;
  color: var(--sub);
}

/* Webhook steps */
.webhook-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ws-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: var(--sub); line-height: 1.5;
}
.ws-n {
  flex-shrink: 0; width: 22px; height: 22px;
  background: rgba(0,212,168,.15); border: 1px solid rgba(0,212,168,.3);
  color: var(--primary); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800;
}
.webhook-url {
  display: block; background: var(--card); border: 1px solid rgba(0,212,168,.3);
  border-radius: 10px; padding: 12px 16px;
  font-size: .82rem; color: var(--primary);
  font-family: 'Courier New', monospace;
  word-break: break-all; user-select: all; cursor: text;
}

/* Lista de usuários */
.admin-user-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  margin-bottom: 8px; gap: 12px;
  transition: border-color .15s;
}
.admin-user-row:hover { border-color: rgba(0,212,168,.25); }
.admin-user-row:last-child { margin-bottom: 0; }

.aur-info  { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.aur-email { font-size: .88rem; font-weight: 600; color: var(--text); }
.aur-meta  { font-size: .75rem; color: var(--sub); }

.aur-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.aur-badge {
  font-size: .72rem; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; white-space: nowrap;
}
.aur-active   { background: rgba(0,200,81,.12); color: var(--good); }
.aur-inactive { background: rgba(255,68,68,.12); color: var(--danger); }

.aur-btn {
  font-size: .78rem; font-weight: 600; padding: 5px 12px;
  border-radius: 8px; cursor: pointer; border: 1px solid;
  font-family: inherit; transition: background .15s;
}
.aur-btn-block  { background: rgba(255,68,68,.08); color: var(--danger); border-color: rgba(255,68,68,.3); }
.aur-btn-block:hover  { background: rgba(255,68,68,.18); }
.aur-btn-unlock { background: rgba(0,200,81,.08); color: var(--good); border-color: rgba(0,200,81,.3); }
.aur-btn-unlock:hover { background: rgba(0,200,81,.18); }

.admin-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,212,168,.12); color: var(--primary);
  border: 1px solid rgba(0,212,168,.3);
  width: 24px; height: 24px; border-radius: 50%;
  font-size: .75rem; font-weight: 700; margin-left: 8px;
}

.admin-refresh-btn {
  background: none; border: 1px solid var(--border); color: var(--sub);
  font-size: .8rem; padding: 5px 12px; border-radius: 8px;
  cursor: pointer; font-family: inherit; transition: color .15s, border-color .15s;
}
.admin-refresh-btn:hover { color: var(--primary); border-color: var(--primary); }

.admin-loading, .admin-empty {
  font-size: .85rem; color: var(--sub);
  padding: 16px; text-align: center;
}

@media (max-width: 600px) {
  .login-card       { padding: 28px 22px; }
  .admin-modal      { padding: 24px 18px; }
  .admin-add-form   { flex-direction: column; }
  .admin-user-row   { flex-direction: column; align-items: flex-start; }
  .aur-actions      { width: 100%; }
}
