
:root {
  --bg: #EEF2EE;
  --surface: #FFFFFF;
  --ink: #132520;
  --muted: #5E6F67;
  --line: #D9E2DB;
  --brand: #0C6B4F;
  --brand-escuro: #0A5740;
  --brand-ink: #F2FBF7;
  --credit: #157A4E;
  --debit: #AE3F2F;
  --chip: #E3EDE6;
  --sombra: 0 10px 30px rgba(19, 37, 32, .08);
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "Consolas", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1210;
    --surface: #141D18;
    --ink: #E6EFE9;
    --muted: #8FA398;
    --line: #24332B;
    --brand: #0F7A5A;
    --brand-escuro: #0B5C44;
    --brand-ink: #EAF7F1;
    --credit: #57C592;
    --debit: #E4826F;
    --chip: #1B2820;
    --sombra: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
}
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark span { color: var(--brand); }
.wordmark-mini { font-size: 1.15rem; }
.login-sub {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.login {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem 16px;
}
.login-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sombra);
  padding: 2rem 1.75rem;
}
.login-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.6rem;
}
.login-rodape { font-size: .75rem; color: var(--muted); text-align: center; }
.campo { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.campo > span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.campo > span em { text-transform: none; letter-spacing: 0; font-style: normal; font-weight: 400; }
.campo input, .campo select, .extrato-filtros select {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .8rem;
  width: 100%;
}
.campo input:focus-visible, .campo select:focus-visible,
button:focus-visible, .extrato-filtros select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.campo input[readonly] { color: var(--muted); }
.campo-duplo { display: flex; gap: .8rem; }
.campo-duplo .campo { flex: 1; min-width: 0; }
.campo-valor .valor-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 .8rem;
}
.valor-prefixo { color: var(--muted); font-weight: 600; }
.campo-valor input {
  border: none;
  background: transparent;
  padding: .7rem 0;
  font-size: 1.25rem;
}
.campo-valor input:focus-visible { outline: none; }
.campo-valor .valor-wrap:focus-within { outline: 2px solid var(--brand); outline-offset: 1px; }
.erro {
  background: color-mix(in srgb, var(--debit) 12%, transparent);
  color: var(--debit);
  border-radius: 8px;
  padding: .5rem .7rem;
  font-size: .85rem;
  margin: 0 0 .9rem;
}
.btn {
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: .65rem 1.1rem;
  cursor: pointer;
}
.btn-primario { background: var(--brand); color: var(--brand-ink); }
.btn-primario:hover { background: var(--brand-escuro); }
.btn-secundario {
  background: var(--chip);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-fantasma { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-largo { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar-direita { display: flex; align-items: center; gap: .7rem; }
.conteudo {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.4rem 16px 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.cartao-saldo {
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-escuro) 100%);
  color: #F2FBF7;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.saldo-titular {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.saldo-conta { margin: .15rem 0 0; font-size: .8rem; opacity: .85; }
.saldo-rotulo {
  margin: 0 0 .2rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}
.saldo-linha { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.saldo-valor {
  margin: 0;
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.btn-olho {
  background: rgba(255,255,255,.14);
  border: none;
  color: inherit;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.acoes { display: flex; gap: .8rem; }
.acao {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .85rem .9rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  text-align: left;
  min-width: 0;
}
.acao:hover { border-color: var(--brand); }
.acao-icone {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}
.acao-icone-credito { background: color-mix(in srgb, var(--credit) 15%, transparent); color: var(--credit); }
.acao-icone-debito  { background: color-mix(in srgb, var(--debit) 14%, transparent);  color: var(--debit); }
.acao-icone-neutro  { background: var(--chip); color: var(--brand); }
.acao-textos { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.acao-textos strong { font-weight: 600; }
.acao-textos small { color: var(--muted); font-size: .72rem; }
@media (max-width: 520px) {
  .acoes { flex-direction: column; }
}
.movimentacoes h2 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 .8rem;
}
.filtros {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.filtro-chips { display: flex; gap: .4rem; }
.filtro-data { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.filtro-data-campo { display: flex; align-items: center; gap: .3rem; }
.filtro-data-campo span { font-size: .72rem; font-weight: 600; color: var(--muted); }
.filtro-data input {
  font: inherit;
  font-size: .8rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .3rem .7rem;
  color-scheme: light dark;
}
.chip {
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .3rem .8rem;
  cursor: pointer;
}
.chip:hover { border-color: var(--brand); }
.chip-ativa {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}
.grupo-data {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.1rem 0 .45rem;
}
.grupo-data:first-child { margin-top: 0; }
.mov {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .9rem;
  margin-bottom: .5rem;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.mov:hover { border-color: var(--brand); }
.mov-icone {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.mov-entrada .mov-icone { background: color-mix(in srgb, var(--credit) 15%, transparent); color: var(--credit); }
.mov-saida .mov-icone   { background: color-mix(in srgb, var(--debit) 14%, transparent);  color: var(--debit); }
.mov-info { flex: 1; min-width: 0; }
.mov-desc { margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mov-meta {
  margin: .1rem 0 0;
  font-size: .72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mov-meta code { font-family: var(--f-mono); }
.mov-valores { text-align: right; flex-shrink: 0; }
.mov-valor { margin: 0; font-weight: 600; }
.mov-entrada .mov-valor { color: var(--credit); }
.mov-saida .mov-valor { color: var(--debit); }
.mov-saldo { margin: .1rem 0 0; font-size: .7rem; color: var(--muted); }
.vazio {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}
.vazio p { margin: .2rem 0; }
.vazio-sub { font-size: .8rem; }
.rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .72rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  flex-wrap: wrap;
}
dialog {
  border: none;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  padding: 1.4rem 1.5rem;
  width: min(440px, calc(100vw - 32px));
}
dialog::backdrop { background: rgba(10, 20, 16, .55); backdrop-filter: blur(2px); }
.dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.dlg-head h3 { margin: 0; font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; }
.btn-fechar {
  background: var(--chip);
  border: none;
  color: var(--muted);
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
#dlg-comprovante { width: min(400px, calc(100vw - 32px)); }
.recibo-head { text-align: center; margin-bottom: 1.1rem; }
.recibo-titulo { margin: .5rem 0 .1rem; font-family: var(--f-display); font-weight: 700; }
.recibo-check { margin: 0; color: var(--credit); font-size: .85rem; font-weight: 600; }
.recibo-campos {
  margin: 0;
  border-top: 1px dashed var(--line);
  padding-top: .9rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .45rem .9rem;
  font-size: .88rem;
}
.recibo-campos dt { color: var(--muted); }
.recibo-campos dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.recibo-campos dd.mono { font-weight: 500; }
.recibo-autenticacao {
  margin-top: 1rem;
  background: var(--chip);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: .6rem .8rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  text-align: center;
}
.recibo-autenticacao span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.recibo-autenticacao code { font-family: var(--f-mono); font-size: .92rem; overflow-wrap: anywhere; }
.recibo-acoes { display: flex; gap: .7rem; margin-top: 1.2rem; }
.recibo-acoes .btn { flex: 1; }
#dlg-extrato { width: min(620px, calc(100vw - 32px)); }
.extrato-controles { flex-wrap: wrap; }
.extrato-filtros { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.extrato-filtros select { width: auto; padding: .45rem .6rem; }
.extrato-doc {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
  background: var(--bg);
  max-height: 60vh;
  overflow-y: auto;
}
.ext-cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: .8rem;
  margin-bottom: .9rem;
  flex-wrap: wrap;
}
.ext-cabecalho h4 { margin: 0; font-family: var(--f-display); font-size: 1.1rem; }
.ext-cabecalho p { margin: .1rem 0 0; font-size: .78rem; color: var(--muted); }
.ext-emissao { text-align: right; }
.ext-tabela-wrap { overflow-x: auto; }
.ext-tabela { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ext-tabela th {
  text-align: left;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: .4rem .5rem;
}
.ext-tabela td { padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ext-tabela .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ext-tabela .aut { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.ext-credito { color: var(--credit); }
.ext-debito { color: var(--debit); }
.ext-totais {
  margin-top: .9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .6rem;
}
.ext-total {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .55rem .8rem;
}
.ext-total span { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ext-total strong { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: .95rem; }
.ext-rodape { margin-top: 1rem; font-size: .68rem; color: var(--muted); text-align: center; }
@media print {
  body * { visibility: hidden; }
  #dlg-extrato, #dlg-extrato * { visibility: visible; }
  #dlg-extrato {
    position: absolute;
    inset: 0;
    width: 100%;
    box-shadow: none;
    padding: 0;
  }
  .extrato-controles { display: none; }
  .extrato-doc { border: none; max-height: none; overflow: visible; background: white; }
}
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.marca { display: flex; align-items: center; gap: .55rem; }
.marca-centro { justify-content: center; }
.marca-logo {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-escuro) 100%);
  position: relative;
}
.marca-logo::after {
  content: "";
  position: absolute; inset: 8px;
  background: #fff;
  clip-path: path("M9 0C4 1 0 5 0 10c0 4 3 7 7 8 5-1 9-5 9-10 0-4-3-7-7-8z");
  transform: scale(.55) rotate(-8deg);
  transform-origin: center;
  border-radius: 40% 60% 55% 45%;
}
.shell { display: flex; min-height: 100svh; }
.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 1.1rem .8rem;
  gap: 1.2rem;
  position: sticky; top: 0;
  height: 100svh;
  overflow-y: auto;
}
.sidebar-marca { padding: 0 .5rem; }
.nav { display: flex; flex-direction: column; gap: .15rem; }
.nav-fim { margin-top: auto; border-top: 1px solid var(--line); padding-top: .8rem; }
.nav-item {
  display: flex; align-items: center; gap: .7rem;
  font: inherit; font-weight: 500;
  color: var(--muted);
  background: none; border: none; border-radius: 10px;
  padding: .6rem .75rem;
  cursor: pointer; text-align: left; width: 100%;
}
.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-item:hover { background: var(--chip); color: var(--ink); }
.nav-ativa, .nav-ativa:hover { background: var(--chip); color: var(--brand); font-weight: 600; }
.sidebar-fundo {
  position: fixed; inset: 0; z-index: 19;
  background: rgba(10,20,16,.5);
}
.area { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topo {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: .7rem 1.4rem;
  position: sticky; top: 0; z-index: 10;
}
.btn-menu { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: .3rem; }
.btn-menu svg { width: 22px; height: 22px; }
.busca {
  flex: 1; max-width: 460px;
  display: flex; align-items: center; gap: .5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .45rem .9rem;
  color: var(--muted);
}
.busca svg { width: 17px; height: 17px; flex-shrink: 0; }
.busca input {
  border: none; background: transparent; font: inherit;
  color: var(--ink); width: 100%; outline: none;
}
.topo-direita { margin-left: auto; display: flex; align-items: center; gap: .6rem; position: relative; }
.btn-sino {
  position: relative;
  background: none; border: none; color: var(--ink);
  cursor: pointer; padding: .4rem; border-radius: 10px;
}
.btn-sino:hover { background: var(--chip); }
.btn-sino svg { width: 21px; height: 21px; }
.sino-ponto {
  position: absolute; top: 6px; right: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--credit);
  border: 2px solid var(--surface);
}
.notificacoes, .menu-avatar {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: min(320px, 86vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sombra);
  padding: .9rem 1rem;
  z-index: 30;
}
.notif-titulo { margin: 0 0 .5rem; font-weight: 700; font-family: var(--f-display); }
.notif-item { padding: .5rem 0; border-top: 1px solid var(--line); font-size: .84rem; }
.notif-item p { margin: 0; }
.notif-item .nota { margin-top: .1rem; }
.avatar-btn {
  display: flex; align-items: center; gap: .3rem;
  background: none; border: none; cursor: pointer; color: var(--muted);
  padding: .2rem; border-radius: 99px;
}
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-escuro) 100%);
  color: #fff; font-weight: 700; font-size: .85rem;
  display: grid; place-items: center;
}
.avatar-seta { width: 16px; height: 16px; }
.menu-avatar-nome { margin: 0; font-weight: 700; }
.menu-avatar-conta { margin: .1rem 0 .8rem; font-size: .78rem; color: var(--muted); }
.paginas { flex: 1; padding: 1.4rem clamp(16px, 3vw, 2rem); }
.pg-titulo { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; margin: 0 0 1.1rem; }
.grade-inicio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.3rem;
  align-items: start;
}
.coluna-principal { display: flex; flex-direction: column; gap: 1.3rem; min-width: 0; }
.coluna-lateral { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.painel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
}
.painel-titulo { margin: 0 0 .8rem; font-family: var(--f-display); font-size: 1rem; font-weight: 700; }
.saldo-topo { display: flex; align-items: center; gap: .8rem; }
.saldo-conta-icone {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.14);
  display: grid; place-items: center;
}
.saldo-conta-icone svg { width: 22px; height: 22px; }
.tag-conta {
  margin-left: auto;
  font-size: .7rem; font-weight: 600;
  background: rgba(255,255,255,.16);
  border-radius: 99px; padding: .3rem .7rem;
  white-space: nowrap;
}
.saldo-rotulo .btn-olho {
  width: 28px; height: 28px; vertical-align: middle; margin-left: .3rem;
  background: rgba(255,255,255,.14);
}
.acao-seta { margin-left: auto; color: var(--muted); font-size: 1.1rem; }
.acao-icone svg { width: 19px; height: 19px; }
.acoes { flex-wrap: wrap; }
.acao { min-width: 150px; }
.movs-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.movs-topo h2 { margin: 0; }
.link-verde {
  background: none; border: none; font: inherit; font-size: .85rem;
  font-weight: 600; color: var(--brand); cursor: pointer; padding: 0;
}
.movimentacoes.painel .mov { background: var(--bg); }
.acesso-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.atalho {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  font: inherit; font-size: .74rem; font-weight: 500; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem .3rem; cursor: pointer; text-align: center;
}
.atalho:hover { border-color: var(--brand); }
.atalho span {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--chip); color: var(--brand);
  display: grid; place-items: center;
}
.atalho svg { width: 19px; height: 19px; }
.banner-cartao {
  background: linear-gradient(135deg, var(--brand-escuro) 0%, #06231a 100%);
  color: #EAF7F1;
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  display: flex; gap: 1rem; align-items: center;
  overflow: hidden;
}
.banner-texto h3 { margin: 0 0 .3rem; font-family: var(--f-display); font-size: 1.05rem; }
.banner-texto p { margin: 0 0 .8rem; font-size: .8rem; opacity: .85; }
.btn-claro { background: #fff; color: var(--brand-escuro); }
.mini-cartao {
  flex-shrink: 0; width: 110px; height: 70px;
  background: linear-gradient(135deg, #1d3c31, #0e2a21);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px;
  transform: rotate(14deg) translateX(8px);
  position: relative;
}
.mini-chip {
  position: absolute; top: 12px; left: 10px;
  width: 20px; height: 14px; border-radius: 3px;
  background: linear-gradient(135deg, #d8c27a, #b09146);
}
.mini-brand { position: absolute; bottom: 8px; right: 9px; font-size: .5rem; font-weight: 700; letter-spacing: .05em; }
.banner-seguro {
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex; gap: .8rem; align-items: flex-start;
}
.seguro-icone {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: var(--surface); color: var(--brand);
  display: grid; place-items: center;
}
.seguro-icone svg { width: 20px; height: 20px; }
.banner-seguro strong { font-size: .88rem; }
.banner-seguro p { margin: .15rem 0 0; font-size: .76rem; color: var(--muted); }
.grade-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; align-items: start; }
.grade-cards.tres { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lista-dados { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; font-size: .9rem; }
.lista-dados dt { color: var(--muted); }
.lista-dados dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.nota { font-size: .76rem; color: var(--muted); margin: .6rem 0 0; }
.nota-ok { color: var(--credit); font-weight: 600; }
.destaque-invest, .destaque-credito { margin-bottom: 1.1rem; }
.saldo-valor-pg { margin: .2rem 0; font-size: 1.7rem; font-weight: 600; font-family: var(--f-mono); }
.produto h3 { margin: .4rem 0 .2rem; font-family: var(--f-display); font-size: 1.05rem; }
.produto-tag {
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--chip);
  border-radius: 99px; padding: .2rem .6rem;
}
.produto-taxa { margin: .2rem 0; font-size: 1.5rem; font-weight: 700; font-family: var(--f-display); color: var(--brand); }
.produto-taxa small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.cartao-fisico {
  aspect-ratio: 1.586;
  max-width: 380px; width: 100%;
  border-radius: 18px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255,255,255,.08), transparent 50%),
    linear-gradient(135deg, #123a2d 0%, #06231a 100%);
  color: #EAF7F1;
  padding: 1.3rem 1.4rem;
  display: flex; flex-direction: column;
  box-shadow: var(--sombra);
}
.wordmark-claro { color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1rem; }
.wordmark-claro span { color: #57C592; }
.cf-topo { display: flex; justify-content: space-between; align-items: center; }
.cf-tipo { font-size: .68rem; opacity: .8; }
.cf-chip {
  width: 40px; height: 28px; border-radius: 6px; margin-top: 1.2rem;
  background: linear-gradient(135deg, #d8c27a, #b09146);
}
.cf-numero { margin: auto 0 .6rem; font-size: 1.15rem; letter-spacing: .08em; }
.cf-baixo { display: flex; justify-content: space-between; font-size: .74rem; letter-spacing: .06em; }
.cartao-status { display: flex; align-items: center; gap: .45rem; font-weight: 600; margin: 0 0 .8rem; }
.ponto-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--credit); }
.barra-limite {
  height: 8px; border-radius: 99px; background: var(--bg);
  border: 1px solid var(--line); overflow: hidden; margin-top: .9rem;
}
.barra-limite span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.campo input[type="range"] { padding: 0; accent-color: var(--brand); border: none; background: transparent; }
.sim-resultado {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem;
  margin-top: .4rem;
}
.sim-resultado div {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: .6rem .8rem;
}
.sim-resultado span { display: block; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sim-resultado strong { font-size: 1.05rem; }
.faq { margin-top: 1.1rem; }
.faq details { border-top: 1px solid var(--line); padding: .6rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: .5rem 0 0; font-size: .86rem; color: var(--muted); }
.rodape-app {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  font-size: .75rem; color: var(--muted);
  border-top: 1px solid var(--line);
  padding: .9rem clamp(16px, 3vw, 2rem);
}
.ambiente-seguro { display: inline-flex; align-items: center; gap: .35rem; }
.ambiente-seguro svg { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .grade-inicio { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 20;
    transform: translateX(-100%);
    transition: transform .2s ease;
    box-shadow: none;
  }
  .sidebar.aberta { transform: translateX(0); box-shadow: var(--sombra); }
  .btn-menu { display: block; }
  .busca { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar { transition: none; }
}

.leitura [data-acao],
.leitura [data-abrir="pix"],
.leitura [data-abrir="transferencia"],
.leitura [data-abrir="pagamentos"],
.leitura #config-salvar,
.leitura #config-ok { display: none !important; }
.tag-consulta {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 99px; padding: .3rem .7rem; white-space: nowrap;
}

:root { --pendente: #A87718; --pendente-fundo: #F5E9CF; }
@media (prefers-color-scheme: dark) {
  :root { --pendente: #E0B04E; --pendente-fundo: #2E2610; }
}
.emp-item {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .9rem;
  margin-bottom: .5rem;
}
.emp-info { min-width: 0; }
.emp-valor { margin: 0; font-weight: 600; }
.emp-valor small { color: var(--muted); font-weight: 500; font-family: var(--f-body); }
.emp-meta { margin: .15rem 0 0; font-size: .72rem; color: var(--muted); overflow-wrap: anywhere; }
.emp-meta code { font-family: var(--f-mono); }
.status-analise {
  flex-shrink: 0;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--pendente); background: var(--pendente-fundo);
  border-radius: 99px; padding: .3rem .7rem;
}
.emp-solicitacoes { margin-top: 1.1rem; }
.backup-acoes { display: flex; gap: .7rem; flex-wrap: wrap; }
.leitura #sim-solicitar, .leitura #backup-restaurar { display: none !important; }

.leitura .nav-item[data-pagina="config"] { display: none !important; }
