/* =====================================================================
   Páginas públicas (Suporte, Termos de Uso, Taxas) — padrão do painel
   Clean: barra branca no topo, fundo cinza claro, cards brancos com borda fina.
   Cores vêm do banco pelo datafy-skin (--primary, --bg, --surface...).
   ===================================================================== */
html body { background: var(--bg, #F3F4F7) !important; color: var(--text, #0E1016); font-family: var(--font-panel, 'Inter', system-ui, sans-serif); margin: 0; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }

/* topo */
.pub-top { position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 clamp(16px, 4vw, 32px); background: var(--surface, #fff); border-bottom: 1px solid var(--border, #E2E4EA); }
.pub-back { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius, 6px); font-size: 14px; font-weight: 600; color: var(--text, #0E1016) !important; background: var(--surface, #fff); transition: border-color .15s; }
.pub-back:hover { border-color: var(--text, #0E1016); }
.pub-logo img { display: block; max-height: 30px; width: auto; }

/* estrutura comum */
.pub-wrap { width: min(100%, 1080px); margin: 0 auto; padding: 32px clamp(16px, 4vw, 32px) 48px; }
.pub-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6A7080); }
.pub-eyebrow i, .pub-eyebrow .pulse { color: var(--primary, #EF4444); }
.pub-title { margin: 8px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text, #0E1016); }
.pub-title .grad { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.pub-lead { margin: 10px 0 0; max-width: 620px; font-size: 15px; line-height: 1.6; color: var(--muted, #6A7080); }
.pub-card { background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); }
footer.pub-foot, .pub-foot { text-align: center; padding: 24px 16px 32px; font-size: 13px; color: var(--muted, #6A7080); }
footer.pub-foot p { margin: 0; }
.pub-hide { display: none !important; }

/* ── SUPORTE ── */
.sp-aurora, .sp-top { display: none !important; }
.sp-shell { width: min(100%, 1080px); margin: 0 auto; padding: 32px clamp(16px, 4vw, 32px) 48px; }
.sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; align-items: start; }
.sp-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6A7080); background: none; border: 0; padding: 0; }
.sp-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--success, #15A34A); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success, #15A34A) 20%, transparent); }
.sp-title { margin: 8px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text, #0E1016); font-family: inherit; }
.sp-title .grad { color: var(--primary, #EF4444); background: none; -webkit-text-fill-color: currentColor; }
.sp-lead { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted, #6A7080); }
.sp-features { margin-top: 24px; background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); overflow: hidden; }
.sp-feat { display: flex; align-items: center; gap: 14px; padding: 15px 20px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.sp-feat + .sp-feat { border-top: 1px solid var(--border, #E2E4EA); }
.sp-feat-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: var(--radius, 6px); background: var(--primary-soft, #FEF2F2); color: var(--primary, #EF4444); border: 0; font-size: 17px; }
.sp-feat-tx { display: flex; flex-direction: column; min-width: 0; }
.sp-feat-tx strong { font-size: 14px; font-weight: 600; color: var(--text, #0E1016); }
.sp-feat-tx span { font-size: 13px; color: var(--muted, #6A7080); }
.sp-card { background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); box-shadow: none; padding: 0; overflow: hidden; }
.sp-card::before, .sp-card::after { display: none !important; }
.sp-card h2 { margin: 0; padding: 18px 24px 0; font-size: 17px; font-weight: 700; color: var(--text, #0E1016); font-family: inherit; }
.sp-card .sub { margin: 4px 0 0; padding: 0 24px 18px; font-size: 13px; color: var(--muted, #6A7080); border-bottom: 1px solid var(--border, #E2E4EA); }
#suporteForm { padding: 20px 24px 24px; }
.sp-field { position: relative; display: flex; flex-direction: column-reverse; margin: 0 0 14px; }
.sp-field .fico { display: none; }
.sp-field label { position: static !important; transform: none !important; display: block; margin: 0 0 6px; padding: 0; font-size: 13px; font-weight: 600; color: var(--text-2, #3A3D45) !important; background: none !important; pointer-events: auto; }
.sp-field label .req { color: var(--primary, #EF4444); }
.sp-input, .sp-textarea { width: 100%; height: 44px; padding: 0 14px !important; background: var(--field-bg, var(--surface, #fff)) !important; border: 1px solid var(--border, #E2E4EA) !important; border-radius: var(--radius, 6px) !important; color: var(--text, #0E1016); font: inherit; font-size: 15px; outline: 0; box-shadow: none !important; transition: border-color .15s, box-shadow .15s; }
.sp-textarea { height: auto; min-height: 140px; padding: 12px 14px !important; line-height: 1.55; resize: vertical; }
.sp-input:focus, .sp-textarea:focus { border-color: var(--primary, #EF4444) !important; box-shadow: inset 0 0 0 1px var(--primary, #EF4444) !important; }
.sp-field.is-invalid .sp-input, .sp-field.is-invalid .sp-textarea, .sp-input.is-invalid, .sp-textarea.is-invalid { border-color: var(--danger, #DC2626) !important; box-shadow: inset 0 0 0 1px var(--danger, #DC2626) !important; }
.sp-submit { width: 100%; height: 44px; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius, 6px); background: var(--primary, #EF4444); color: var(--on-primary, #fff); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: none; transition: background .15s; }
.sp-submit:hover { background: var(--primary-hover, #DC2626); transform: none; }
.sp-submit:disabled { opacity: .55; cursor: wait; }
.sp-note { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted, #6A7080); }

/* ── TERMOS ── */
.tm-progress { position: fixed; top: 64px; left: 0; height: 2px; width: 0; background: var(--primary, #EF4444); z-index: 21; transition: width .1s linear; }
.tm-hero { background: none; border: 0; padding: 0; }
.tm-hero::before, .tm-hero::after { display: none !important; }
.tm-hero-inner { width: min(100%, 1080px); margin: 0 auto; padding: 32px clamp(16px, 4vw, 32px) 0; text-align: left; }
.tm-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6A7080); background: none; border: 0; padding: 0; }
.tm-badge i { color: var(--primary, #EF4444); }
.tm-hero h1 { margin: 8px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text, #0E1016); font-family: inherit; }
.tm-hero h1 .grad { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.tm-hero p { margin: 10px 0 0; max-width: 620px; font-size: 15px; line-height: 1.6; color: var(--muted, #6A7080); }
.tm-updated { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; height: 28px; padding: 0 10px; border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius, 6px); background: var(--surface, #fff); font-size: 12px; color: var(--text-2, #3A3D45); }
.tm-wrap { width: min(100%, 1080px); margin: 0 auto; padding: 24px clamp(16px, 4vw, 32px) 0; }
.tm-back { display: none !important; }
.tm-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.tm-toc { position: sticky; top: 88px; background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); padding: 8px 0; }
.tm-toc-title { padding: 10px 16px 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6A7080); }
.tm-toc a { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: 13.5px; color: var(--text-2, #3A3D45); border-left: 2px solid transparent; transition: background .12s; }
.tm-toc a:hover { background: var(--hover, #F6F7F9); }
.tm-toc a.active { color: var(--text, #0E1016); font-weight: 600; border-left-color: var(--primary, #EF4444); background: var(--hover, #F6F7F9); }
.tm-toc a .n { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm, 4px); background: var(--bg, #F3F4F7); font-size: 11px; font-weight: 700; color: var(--muted, #6A7080); }
.tm-toc a.active .n { background: var(--primary, #EF4444); color: var(--on-primary, #fff); }
.tm-content { background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); overflow: hidden; }
.tm-sec { padding: 24px; border: 0; border-radius: 0; background: none; box-shadow: none; margin: 0; scroll-margin-top: 84px; }
.tm-sec + .tm-sec { border-top: 1px solid var(--border, #E2E4EA); }
.tm-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tm-sec-n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: var(--radius, 6px); background: var(--primary-soft, #FEF2F2); color: var(--primary, #EF4444); font-size: 13px; font-weight: 800; border: 0; }
.tm-sec h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text, #0E1016); font-family: inherit; }
.tm-sec p, .tm-sec li { font-size: 14.5px; line-height: 1.7; color: var(--text-2, #3A3D45); }
.tm-sec p { margin: 0 0 10px; }
.tm-sec ul { margin: 0 0 10px; padding-left: 20px; }
.tm-sec strong { color: var(--text, #0E1016); }
.tm-sec :is(.highlight, .warning, .alert, .tm-alert, .tm-note, .danger, .notice) { display: block; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--border, #E2E4EA); border-left: 3px solid var(--warning, #D97706); border-radius: var(--radius, 6px); background: var(--surface, #fff); color: var(--text-2, #3A3D45); }
.tm-sec .btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius, 6px); background: var(--surface, #fff); color: var(--text, #0E1016); font-size: 14px; font-weight: 600; box-shadow: none; }
.tm-sec .btn:hover { border-color: var(--text, #0E1016); }
.tm-sec .btn i { color: var(--primary, #EF4444); }
.tm-accept { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 18px 24px; border-top: 1px solid var(--border, #E2E4EA); background: color-mix(in srgb, var(--bg, #F3F4F7) 50%, var(--surface, #fff)); border-radius: 0; font-size: 14px; color: var(--text-2, #3A3D45); }
.tm-accept i { color: var(--success, #15A34A); font-size: 18px; }
.tm-wrap > footer { text-align: center; padding: 24px 0 32px; font-size: 13px; color: var(--muted, #6A7080); }
.tm-wrap > footer p { margin: 0; }

/* ── TAXAS ── */
.tx-hero { background: none; border: 0; padding: 0; }
.tx-hero::before, .tx-hero::after { display: none !important; }
.tx-hero-inner { width: min(100%, 860px); margin: 0 auto; padding: 32px clamp(16px, 4vw, 32px) 0; text-align: left; }
.tx-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6A7080); background: none; border: 0; padding: 0; }
.tx-badge i { color: var(--primary, #EF4444); }
.tx-hero h1 { margin: 8px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text, #0E1016); font-family: inherit; }
.tx-hero h1 .grad { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.tx-hero p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted, #6A7080); }
.tx-wrap { width: min(100%, 860px); margin: 0 auto; padding: 24px clamp(16px, 4vw, 32px) 32px; display: grid; gap: 16px; }
.tx-back { display: none !important; }
.tx-main { background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); box-shadow: none; padding: 24px; text-align: left; position: relative; overflow: hidden; }
.tx-main::before, .tx-main::after { display: none !important; }
.tx-main-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted, #6A7080); }
.tx-main-label i { color: var(--primary, #EF4444); }
.tx-price { margin-top: 8px; font-size: clamp(44px, 9vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text, #0E1016); background: none; -webkit-text-fill-color: currentColor; font-family: inherit; }
.tx-price .pct { font-size: .5em; margin-left: 2px; color: var(--muted, #6A7080); -webkit-text-fill-color: currentColor; }
.tx-sub { margin-top: 6px; font-size: 14px; color: var(--muted, #6A7080); }
.tx-fixed { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; height: 30px; padding: 0 10px; border-radius: var(--radius, 6px); background: var(--primary-soft, #FEF2F2); color: var(--primary, #EF4444); font-size: 13px; font-weight: 600; border: 0; }
.tx-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); overflow: hidden; }
.tx-perk { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.tx-perk + .tx-perk { border-left: 1px solid var(--border, #E2E4EA); }
.tx-perk-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: var(--radius, 6px); background: var(--primary-soft, #FEF2F2); color: var(--primary, #EF4444); font-size: 17px; border: 0; }
.tx-perk-tx { display: flex; flex-direction: column; min-width: 0; }
.tx-perk-tx strong { font-size: 14px; font-weight: 600; color: var(--text, #0E1016); }
.tx-perk-tx span { font-size: 13px; color: var(--muted, #6A7080); }
.tx-info { background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius-lg, 6px); overflow: hidden; box-shadow: none; }
.tx-info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 20px; border: 0; background: none; }
.tx-info-row + .tx-info-row { border-top: 1px solid var(--border, #E2E4EA); }
.tx-info-row .k { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2, #3A3D45); }
.tx-info-row .k i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--radius, 6px); background: var(--bg, #F3F4F7); color: var(--muted, #6A7080); font-size: 14px; }
.tx-info-row .v { font-size: 14px; font-weight: 700; color: var(--text, #0E1016); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--surface, #fff); border: 1px solid var(--border, #E2E4EA); border-left: 3px solid var(--primary, #EF4444); border-radius: var(--radius, 6px); font-size: 13.5px; line-height: 1.6; color: var(--text-2, #3A3D45); }
.tx-note i { color: var(--primary, #EF4444); margin-top: 2px; }
body > footer { text-align: center; padding: 8px 16px 32px; font-size: 13px; color: var(--muted, #6A7080); background: none; border: 0; }

@media (max-width: 900px) {
  .sp-grid, .tm-grid { grid-template-columns: 1fr; }
  .tm-toc { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .tm-toc::-webkit-scrollbar { display: none; }
  .tm-toc-title { display: none; }
  .tm-toc a { flex: none; border: 1px solid var(--border, #E2E4EA); border-radius: var(--radius, 6px); padding: 6px 10px 6px 6px; white-space: nowrap; }
  .tm-toc a.active { border-color: var(--primary, #EF4444); }
}
@media (max-width: 640px) {
  .pub-top { height: 56px; }
  .tm-progress { top: 56px; }
  .sp-shell, .pub-wrap { padding: 20px 16px 32px; }
  .tm-hero-inner, .tx-hero-inner { padding: 20px 16px 0; }
  .tm-wrap, .tx-wrap { padding-left: 16px; padding-right: 16px; }
  .sp-card h2, .sp-card .sub, #suporteForm { padding-left: 16px; padding-right: 16px; }
  .tm-sec { padding: 18px 16px; }
  .tm-accept { padding: 16px; }
  .tx-perks { grid-template-columns: 1fr; }
  .tx-perk + .tx-perk { border-left: 0; border-top: 1px solid var(--border, #E2E4EA); }
  .tx-main { padding: 20px 16px; }
  .tx-info-row { padding: 12px 16px; }
}
/* caixas de destaque dos termos */
.tm-sec .highlight-danger, .tm-sec .highlight-success { display: block; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--border, #E2E4EA); border-left: 3px solid var(--danger, #DC2626); border-radius: var(--radius, 6px); background: color-mix(in srgb, var(--danger, #DC2626) 5%, var(--surface, #fff)); color: var(--text-2, #3A3D45); font-size: 14px; line-height: 1.6; }
.tm-sec .highlight-success { border-left-color: var(--success, #15A34A); background: color-mix(in srgb, var(--success, #15A34A) 6%, var(--surface, #fff)); }
/* a regra global de cards do tema (:root:root) punha borda em cada item interno: aqui eles são linhas de uma lista só */
:root:root:root:root :is(.sp-feat, .tx-perk, .tm-sec, .tm-accept) { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
:root:root:root:root .sp-feat + .sp-feat, :root:root:root:root .tm-sec + .tm-sec, :root:root:root:root .tm-accept { border-top: 1px solid var(--border, #E2E4EA) !important; }
:root:root:root:root .tx-perk + .tx-perk { border-left: 1px solid var(--border, #E2E4EA) !important; }
@media (max-width: 640px) { :root:root:root:root .tx-perk + .tx-perk { border-left: 0 !important; border-top: 1px solid var(--border, #E2E4EA) !important; } }
