/* ============================================================
   SEFAZ-MT · IPVA · wireframe v2
   Pixel-fiel ao portal real atualizado (interfaces-v2/).
   Visual institucional old-school: tabelas HTML, fonte Verdana, paleta azul-navy.

   Diferenças vs v1:
   - Tela de busca: 1 tabela única com DADOS DO VEÍCULO + CPF/CNPJ +
     divider interno + Chassi/ou/Renavam (em vez de 2 tabelas separadas).
   - Label CPF/CNPJ sem fundo azul (texto preto bold, alinhado à esquerda
     do input — fiel ao portal real mais recente).
   - Captcha Cloudflare mantido visualmente como no portal real.
   - Débitos e PIX: idênticos à v1 (não mudaram no portal v2).
   ============================================================ */

/* ─── Tokens ────────────────────────────────────────────────── */
:root {
  --mt-blue-deep:  #1d4078;      /* títulos de seção (DADOS DO VEÍCULO) */
  --mt-blue:       #336699;      /* cabeçalhos de tabela secundários */
  --mt-blue-soft:  #5e84b8;      /* "À Vista" header da tabela cotas */
  --mt-blue-link:  #003366;      /* texto sobre fundo claro */
  --mt-purple:     #5b3e8b;      /* divisor3.gif vibe */

  --mt-green:      #34a853;      /* botões "Gerar PDF / Pagar PIX" */
  --mt-green-d:    #2c903f;
  --mt-red:        #d73027;
  --mt-yellow:     #f6c33b;

  --mt-gray-zebra: #f1f3f6;      /* linhas pares ExibicaoPar */
  --mt-gray-line:  #d6d6d6;      /* bordas finíssimas */
  --mt-gray-bg:    #f8f8f8;
  --mt-text:       #333333;
  --mt-text-mut:   #666666;

  --mt-radius:     2px;
  --mt-pad-cell:   4px 8px;

  --mt-font: Verdana, Arial, Helvetica, sans-serif;
}

/* ─── Reset & body ──────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--mt-font);
  font-size: 11px;
  color: var(--mt-text);
  background: #ffffff;
}
a { color: var(--mt-blue-link); }

/* ─── Legend (helpers de wireframe — não vai pra produção) ──── */
.legend {
  max-width: 740px;
  margin: 14px auto;
  padding: 10px 14px;
  background: #fff8c5;
  border-left: 4px solid #d4a017;
  border-radius: 6px;
  font: 12px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #5a4500;
}
.legend strong { color: #3a2c00; }
.legend code {
  background: rgba(0,0,0,0.06);
  padding: 1px 5px; border-radius: 3px;
  font-size: 11px;
}
.tag-state {
  display: inline-block;
  background: #d4a017; color: #fff;
  padding: 1px 7px; border-radius: 8px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .3px;
}
.divider {
  max-width: 740px;
  margin: 26px auto;
  border-top: 1px dashed #d6d6d6;
}

/* ─── Header (brasão + título) ──────────────────────────────── */
.mt-header {
  width: 740px;
  margin: 0 auto;
  padding-top: 8px;
}
.mt-header__crest {
  width: 740px; height: auto;
  display: block;
}
.mt-header__title {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin: 6px 0 2px;
}
.mt-header__divider {
  width: 740px; height: 2px; display: block; margin: 0;
  background: linear-gradient(to right, #5b3e8b, #336699);
}
.mt-header__date {
  width: 740px;
  text-align: right;
  font-weight: 700;
  font-size: 10px;
  margin: 4px 0 12px;
  color: #000;
}

/* ─── Section title ─────────────────────────────────────────── */
.mt-section-title {
  width: 600px;
  margin: 0 auto 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.mt-section-title__bar {
  display: block;
  width: 600px;
  height: 6px;
  margin: 0 auto 10px;
  background: linear-gradient(to right, #5b3e8b 0%, #336699 100%);
}

/* ─── Tabelas: variantes do site real ───────────────────────── */
.mt-table {
  border-collapse: collapse;
  width: 600px;
  margin: 0 auto;
  font-size: 11px;
}
.mt-table--wide { width: 700px; }
.mt-table--moldura {
  border: 1px solid #9aa3ad;            /* borda mais nítida — visível em fundo branco */
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.mt-table td, .mt-table th {
  padding: var(--mt-pad-cell);
  border: 1px solid #fff; /* visual aerado, separação por background */
  vertical-align: middle;
}

/* Cabeçalho da seção dentro da tabela (DADOS DO VEÍCULO, Extrato IPVA, etc.) */
.mt-tr-subtitulo > td {
  background: var(--mt-blue-deep);
  color: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 8px;
}
.mt-tr-cabecalho > td,
.mt-tr-cabecalho > th {
  background: var(--mt-blue);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

/* Linhas alternadas */
.mt-tr-impar > td  { background: #ffffff; }
.mt-tr-par   > td  { background: var(--mt-gray-zebra); }

/* Rotulo (label) e Campo (valor) na seção Veículo (resultado/dossiê).
   No form de busca v2 esse fundo é apagado via inline-style — só os labels
   da tabela de débitos mantêm o fundo azul-claro. */
.mt-rotulo {
  background: #e9ecf2;
  color: var(--mt-blue-link);
  font-weight: 700;
  text-align: right;
  width: 130px;
  padding: 5px 8px;
}

/* v2 — divider interno entre a linha CPF/CNPJ e a seção Chassi/Renavam
   (mantém tudo numa tabela única, com risco horizontal sutil entre seções). */
.mt-form-divider td {
  border-top: 1px solid #d6d6d6 !important;
  height: 4px;
  padding: 0;
  background: transparent !important;
}
.mt-campo {
  background: #ffffff;
  color: var(--mt-text);
  padding: 5px 8px;
  font-weight: 600;
}
.mt-campo--neg { color: var(--mt-red); font-weight: 700; }

/* ─── Form de busca ─────────────────────────────────────────── */
.mt-form {
  width: 600px;
  margin: 0 auto;
}
.mt-form-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
}
.mt-form-row label {
  min-width: 130px;
  text-align: right;
  font-weight: 700;
  color: var(--mt-blue-link);
}
.mt-form-row input[type=text] {
  font-family: var(--mt-font);
  font-size: 11px;
  padding: 3px 6px;
  border: 1px solid #999;
  background: #fff;
  border-radius: var(--mt-radius);
  height: 22px;
}
.mt-form-row input[type=text].is-focus {
  border: 2px solid #2271b3;
  background: #f0f6ff;
}
.mt-form-row input[type=text].is-error {
  border: 2px solid var(--mt-red);
  background: #fff3f3;
}
.mt-form-row .or { font-weight: 700; }

.mt-help {
  text-align: center;
  margin: 4px 0;
  font-weight: 700;
  font-size: 11px;
  color: var(--mt-blue-link);
}
.mt-error-msg {
  text-align: center;
  margin: 8px 0;
  color: var(--mt-red);
  font-weight: 700;
  font-size: 11px;
}

/* ─── Captcha (Turnstile mock) ──────────────────────────────── */
.mt-captcha {
  width: 300px;
  margin: 12px auto;
  border: 1px solid #d3d3d3;
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.mt-captcha input[type=checkbox] {
  width: 22px; height: 22px;
  margin: 0;
}
.mt-captcha .lbl { flex: 1; font-size: 12px; color: #2a2a2a; }
.mt-captcha .lbl--ok { color: #1d5d2c; font-weight: 700; }
.mt-captcha .cf {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  text-align: center;
  font-size: 9px;
  color: #6a6a6a;
}
.mt-captcha .cf .brand {
  font-weight: 700;
  font-size: 8px;
  letter-spacing: .8px;
  color: #f48120;
}
.mt-captcha .cf .ico {
  font-size: 18px;
  color: #f48120;
  line-height: 1;
}
.mt-captcha .cf small a { color: #5a5a5a; text-decoration: underline; }

/* ─── Botões ────────────────────────────────────────────────── */
.mt-btns {
  width: 600px;
  margin: 16px auto;
  text-align: center;
}
.mt-btn {
  font-family: var(--mt-font);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 4px 18px;
  margin: 0 3px;
  border-radius: 3px;
  height: 26px;
  background: linear-gradient(#5e84b8, #426d9c);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.mt-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.4);
}

/* Rounded "ação" da página de débitos */
.mt-btn-pill {
  display: inline-block;
  font-weight: 700;
  font-size: 11px;
  padding: 0 18px;
  height: 40px;
  line-height: 40px;
  border-radius: 30px;
  border: 0;
  cursor: pointer;
  margin: 0 6px;
  min-width: 170px;
  color: #fff;
  text-align: center;
}
.mt-btn-pill--green { background: var(--mt-green); }
.mt-btn-pill--green:hover { background: var(--mt-green-d); }
.mt-btn-pill--blue  { background: var(--mt-blue); color: #fff; }
/* Anchors precisam herdar o look-and-feel pill (não vir como link sublinhado). */
a.mt-btn-pill { text-decoration: none; }
.mt-btn-pill--secondary { background: #6c757d; color: #fff; }
.mt-btn-pill--disabled {
  background: #9aa0a6 !important;
  color: #e7e7e7 !important;
  border: 1px solid #7d828a;
  box-shadow: none;
}
.mt-btn-pill--disabled:hover { background: #9aa0a6 !important; }
.mt-btn-pill--cota {
  height: 26px; line-height: 26px; min-width: 70px;
  font-size: 11px; padding: 0 14px;
  background: #6c757d; color: #fff;
  border-radius: 4px;
  margin: 4px 4px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.mt-footer {
  width: 60%;
  margin: 24px auto 16px;
  border-top: 1px solid #999;
  padding-top: 8px;
  text-align: center;
  font-size: 10px;
  color: #555;
}

/* ─── Estados visuais ───────────────────────────────────────── */
.mt-toast {
  width: 600px;
  margin: 8px auto;
  background: #fff3f3;
  border: 1px solid var(--mt-red);
  color: var(--mt-red);
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}
.mt-toast--info {
  background: #eef6ff;
  border-color: var(--mt-blue);
  color: var(--mt-blue-link);
}

/* ─── Loading overlay (mesmo padrão dos detran_sc v2 / detran_es v3) ──
   Sobrepõe o form preservando header/footer visíveis. Caixa branca
   centralizada com spinner azul + texto "Consultando débitos…". */
.mt-shell-rel { position: relative; }

/* Overlay de loading (full-screen modal sem chrome).
   !important + propriedades explícitas pra garantir cobertura total
   independente de qualquer container pai com transform/filter/perspective
   (que quebrariam position: fixed clássico). */
.mt-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, .65) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2147483647 !important;  /* int max — acima de qualquer coisa */
  margin: 0 !important;
  padding: 0 !important;
  /* Backdrop blur opcional pra UX premium (degrada gracioso em browsers velhos) */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
/* Estado escondido — JS troca display via inline style pra flex/none */
.mt-overlay[style*="display: none"],
.mt-overlay[style*="display:none"] {
  display: none !important;
}
.mt-loading-box {
  background: #fff;
  border-radius: 8px;
  padding: 24px 34px;
  display: flex; align-items: center; gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #2b2b2b;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mt-spinner {
  width: 30px; height: 30px;
  border: 3px solid #e8e8e8;
  border-top-color: var(--mt-blue);
  border-radius: 50%;
  animation: mt-spin 1s linear infinite;
}
@keyframes mt-spin { to { transform: rotate(360deg); } }

/* ─── Tabela cotas (À Vista / Cota Nx) ──────────────────────── */
.mt-cota-frame {
  width: 700px;
  margin: 14px auto 0;
  border: 1px solid #9aa3ad;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.mt-cota-title {
  background: var(--mt-blue-deep);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 6px 0;
  letter-spacing: .5px;
}
.mt-cota-subtitle {
  background: var(--mt-blue-soft);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 4px 0;
  font-size: 12px;
}

/* ─── Form de contato + botões finais ──────────────────────── */
.mt-contact {
  width: 360px;
  margin: 18px auto;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 11px;
}
.mt-contact label { display: block; font-weight: 700; margin-top: 6px; }
.mt-contact input[type=text],
.mt-contact input[type=email] {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid #999;
  border-radius: 2px;
  font-family: var(--mt-font);
  font-size: 11px;
}
.mt-contact .note {
  font-size: 10px;
  color: var(--mt-text-mut);
  margin-top: 6px;
}

/* ─── Pagar via PIX (tela 03) ───────────────────────────────── */
.mt-pix-section-title {
  width: 600px;
  margin: 0 auto 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  padding: 4px 0;
}
.mt-pix-bar {
  width: 600px;
  margin: 0 auto 12px;
  border-top: 1px solid #c8c8c8;
}

.mt-pix-summary {
  width: 600px;
  margin: 0 auto;
  background: var(--mt-blue-deep);
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
}
.mt-pix-summary__cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.mt-pix-summary__cell strong { font-weight: 700; }
.mt-pix-summary__cell--center { text-align: center; align-items: center; }
.mt-pix-summary__cell--right  { text-align: right;  align-items: flex-end; }

.mt-pix-card {
  width: 600px;
  margin: 0 auto;
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  gap: 24px;
}
.mt-pix-card__qr {
  width: 200px; height: 200px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #d6d6d6;
}
.mt-pix-card__qr img { width: 184px; height: 184px; display: block; }
.mt-pix-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  flex: 1;
  max-width: 240px;
}
/* Botão pill dentro do card PIX — herda do .mt-btn-pill mas garante largura
   total da coluna direita pra empilhamento vertical. */
.mt-pix-card .mt-btn-pill { min-width: 200px; margin: 0; }
.mt-pix-card .mt-btn-pill i,
.mt-pix-card .mt-btn-pill svg { margin-right: 8px; vertical-align: -2px; }

.mt-pix-divider {
  width: 600px;
  margin: 26px auto 12px;
  border-top: 1px solid #c8c8c8;
}

/* ─── Hub de telas (00-index.html) ──────────────────────────── */
.hub {
  max-width: 800px;
  margin: 24px auto;
  padding: 0 18px;
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.hub h1 { font-size: 22px; margin: 0 0 6px; color: #1a1a1a; }
.hub p.lede { color: #555; margin: 0 0 22px; }
.hub-card {
  display: block;
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 1px solid #d6dbe1;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  transition: border-color .15s ease, transform .15s ease;
}
.hub-card:hover { border-color: #336699; transform: translateY(-1px); }
.hub-card .num { font-weight: 700; color: #336699; margin-right: 8px; }
.hub-card .desc { display: block; color: #5a6470; font-size: 12px; margin-top: 4px; }

/* ============================================================
   RESPONSIVE — overrides pra tablet (≤768) e mobile (≤480)
   ----------------------------------------------------------
   Estratégia aditiva: nada antes muda. Em desktop o layout fica
   pixel-fiel ao portal SEFAZ-MT (740px header + 600/700 tabelas).
   Em telas estreitas tudo vira fluido com scroll horizontal só
   onde a quantidade de colunas exige (Extrato IPVA / Cotas).
   ============================================================ */

@media (max-width: 768px) {
  /* Body um pouco maior pra leitura mobile */
  html, body { font-size: 13px; }

  /* ─── Centralização global ────────────────────────────────────────
     Todos os blocos top-level têm max-width 460px e margem auto.
     Resultado: em qualquer mobile (320 → 768px) o conteúdo fica
     centralizado com respiro, sem encostar nas bordas. */
  .mt-header,
  .mt-header__crest,
  .mt-header__divider,
  .mt-header__date,
  .mt-section-title,
  .mt-section-title__bar,
  .mt-table,
  .mt-table--wide,
  .mt-cota-frame,
  .mt-form-table,
  .mt-toast,
  .mt-btns,
  .mt-contact,
  .mt-pix-section-title,
  .mt-pix-bar,
  .mt-pix-summary,
  .mt-pix-card,
  .mt-pix-divider,
  .mt-footer {
    width: calc(100% - 32px) !important;
    max-width: 460px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  /* Header: brasão e divisor full do bloco centralizado */
  .mt-header { padding-top: 8px; }
  .mt-header__crest { width: 100% !important; max-width: 460px; height: auto; }
  .mt-header__divider { height: 2px; }
  .mt-header__date { text-align: right; padding: 0; }
  .mt-section-title { padding: 0; text-align: center; }
  .mt-section-title__bar { height: 6px; margin-bottom: 10px; }

  /* Font de tabela */
  .mt-table { font-size: 12px; }

  /* Tabelas largas (Extrato IPVA, Cotas) ganham scroll horizontal próprio
     em vez de quebrar layout. `display:block` libera overflow no <table>. */
  .mt-table--wide,
  .mt-cota-frame {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mt-table--wide tbody,
  .mt-table--wide thead { display: table; width: 100%; min-width: 640px; }
  .mt-cota-frame .mt-table { min-width: 640px; }

  /* Form de busca (consulta/index.html): inputs touch-friendly */
  .mt-table input[type="text"],
  .mt-table input[type="email"] {
    width: 100%;
    min-height: 36px;
    font-size: 14px;
    padding: 6px 8px;
  }

  /* Form de busca CPF + Chassi/Renavam:
     a tabela usa colspan desktop-friendly que esmaga em mobile.
     Linearizamos: cada célula vira bloco, label acima do input.
     A própria <table> NÃO recebe width 100% aqui — já é centralizada
     pelo bloco global acima (max-width 460px, margin auto). */
  .mt-form-table { display: block; padding: 0 0 12px; }
  .mt-form-table tbody,
  .mt-form-table tr,
  .mt-form-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  .mt-form-table tr { padding: 0; }
  .mt-form-table td {
    text-align: left !important;
    padding: 8px 18px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--mt-text) !important;
    font-weight: 700;
    font-size: 13px;
  }
  /* Subtítulo "DADOS DO VEÍCULO" mantém o cabeçalho navy, full-bleed da tabela */
  .mt-form-table .mt-tr-subtitulo td {
    background: var(--mt-blue-deep) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 10px 18px !important;
    font-size: 13px;
    margin-bottom: 6px;
  }
  /* Linha-divisor "ou" centralizada com mais respiro vertical */
  .mt-form-table .mt-help {
    text-align: center !important;
    padding: 6px 18px !important;
    color: var(--mt-text-mut);
    font-weight: 700;
    text-transform: lowercase;
  }
  /* Divider sutil entre CPF e seção Chassi/Renavam (linha cinza com respiro) */
  .mt-form-table .mt-form-divider td {
    height: 1px;
    padding: 0 !important;
    margin: 8px 18px !important;
    background: var(--mt-gray-line) !important;
    width: calc(100% - 36px) !important;
  }
  /* Inputs full-width touch */
  .mt-form-table input[type="text"] {
    width: 100% !important;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 16px;             /* 16px evita zoom auto no iOS Safari */
    border: 1px solid #999;
    border-radius: 4px;
    background: #fff;
  }
  .mt-form-table input.is-error { border: 2px solid var(--mt-red); background: #fff3f3; }

  /* Botões da busca (Consultar / Limpar) — touch area mínima 44px.
     A wrapper .mt-btns já está centralizada pelo bloco global. */
  .mt-btns { text-align: center; margin-top: 16px; margin-bottom: 16px; padding: 0; }
  .mt-btn {
    min-height: 44px;
    padding: 8px 22px;
    font-size: 13px;
    margin: 4px;
  }

  /* Botões pill (Gerar PDF / Pagar PIX / Cartão): cada um numa linha em
     telas estreitas, com margem lateral pra não colar nas bordas do
     aparelho. width = 100% menos 32px de respiro lateral. */
  .mt-btn-pill {
    display: block;
    width: calc(100% - 32px);
    min-width: 0;
    margin: 10px auto;
    max-width: 460px;
  }
  /* Container dos 4 botões (#actions) ganha padding lateral pra harmonizar */
  #actions { padding: 0 4px; }

  /* Loader overlay: caixa centralizada */
  .mt-loading-box { padding: 20px 24px; font-size: 14px; }

  /* PIX summary: 3 colunas viram coluna única empilhada */
  .mt-pix-summary {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 18px;
    text-align: left;
  }
  .mt-pix-summary__cell--center,
  .mt-pix-summary__cell--right {
    text-align: left;
    align-items: flex-start;
  }

  /* PIX card: QR em cima + ações embaixo (em vez de lado-a-lado).
     padding lateral generoso pra que os botões internos fiquem
     visivelmente separados das bordas do card. */
  .mt-pix-card {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px 24px;
    gap: 16px;
  }
  .mt-pix-card__qr {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .mt-pix-card__qr img,
  .mt-pix-card__qr svg {
    width: 100%;
    height: auto;
    max-width: 200px;
  }
  .mt-pix-card__actions {
    max-width: none;
    width: 100%;
    flex-direction: column;
  }
  .mt-pix-card .mt-btn-pill {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  /* Footer centralizado pelo bloco global; só ajusta padding vertical */
  .mt-footer { margin-top: 24px; margin-bottom: 16px; }

  /* Esconde os helpers de wireframe em mobile (legend/divisor de estados) */
  .legend, .divider, .tag-state { display: none; }
}

@media (max-width: 480px) {
  /* Mobile pequeno: header divider absorve menos altura */
  .mt-header__title { font-size: 13px; }
  .mt-header__date  { font-size: 9px; }

  /* Tabelas: padding interno menor pra caber melhor */
  .mt-table td, .mt-table th { padding: 3px 5px; }

  /* Botões pill: padding interno reduzido (texto longo "Pagar Via Cartão") */
  .mt-btn-pill { padding: 0 12px; font-size: 12px; height: 44px; line-height: 44px; }

  /* Bullets do step-by-step PIX no card */
  .mt-pix-card { padding: 14px; }
}

