:root {
  --azul-principal: #003366;
  --azul-escuro: #003366;
  --azul-botao: #003366;
  --azul-botao-hover: #002244;
  --amarelo: #ffd700;
  --branco: #ffffff;
  --cinza-fundo: #f7f8fa;
  --cinza-card: #ffffff;
  --texto: #003366;
  --texto-claro: #5a7291;
  --texto-cinza: #666666;
  --vermelho: #d32f2f;
  --verde: #28a745;
  --borda: #e4e8ee;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--cinza-fundo);
  color: var(--texto);
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.page {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--branco);
  overflow-x: hidden;
}

.logo-bar {
  background: var(--branco);
  padding: 10px 16px 8px;
  text-align: center;
}

.logo-bar .logo-rastreio,
.logo-bar img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 170px;
  margin: 0 auto;
}

.ssl-bar {
  background: var(--amarelo);
  color: #222;
  font-size: 9px;
  font-weight: 500;
  text-align: center;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1.25;
}

.ssl-bar .check {
  color: var(--verde);
  font-weight: 700;
  font-size: 10px;
}

.rf-bar,
.rf-card {
  background: #003366;
  color: var(--branco);
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rf-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rf-left img {
  height: 26px;
  width: 26px;
  flex-shrink: 0;
}

.rf-left span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

.rf-right {
  text-align: right;
  font-size: 8px;
  line-height: 1.35;
}

.rf-right strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
}

.rf-right .online {
  color: var(--branco);
  font-weight: 400;
  font-size: 8px;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  margin-right: 2px;
  vertical-align: middle;
}

.content-wrap {
  padding: 0 16px 14px;
  flex: 1;
  background: var(--branco);
}

.page-title {
  margin: 12px 0 3px;
  text-align: center;
  font-size: 19px;
  line-height: 1.15;
  color: var(--azul-principal);
  font-weight: 700;
}

.page-subtitle {
  margin: 0 0 10px;
  text-align: center;
  font-size: 12px;
  color: #6b7c93;
  font-weight: 400;
}

.hero-card {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 0;
}

.alert-box {
  border: 1px solid #f0b4b4;
  background: #fff5f5;
  border-radius: 8px;
  padding: 9px 10px;
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}

.alert-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--vermelho);
  color: var(--branco);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-style: italic;
  font-family: Georgia, serif;
  margin-top: 2px;
}

.alert-text strong {
  display: block;
  color: var(--vermelho);
  font-size: 11px;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.alert-text p {
  margin: 0;
  color: #a94442;
  font-size: 10px;
  line-height: 1.38;
}

.instruction {
  text-align: center;
  font-size: 11px;
  line-height: 1.42;
  color: var(--texto-cinza);
  margin: 0 0 10px;
  padding: 0 2px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 8px);
  margin: 0 auto;
  border: 0;
  border-radius: 10px;
  background: var(--azul-botao);
  color: var(--branco);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--azul-botao-hover);
}

.btn-primary img,
.btn-primary svg {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex: 0 0 14px;
  object-fit: contain;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 12px;
}

.feature-card {
  background: var(--branco);
  border: 1px solid #e8ecf1;
  border-radius: 6px;
  padding: 8px 4px 10px;
  text-align: center;
  min-height: 100px;
}

.feature-card.blue {
  border-top: 1px solid #1565c0;
}

.feature-card.green {
  border-top: 1px solid #2e7d32;
}

.feature-card.yellow {
  border-top: 1px solid #f9a825;
}

.feature-card .icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .icon img {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin: 0 0 3px;
  font-size: 9.5px;
  color: var(--azul-principal);
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 7.5px;
  line-height: 1.32;
  color: #777;
}

.footer-gov {
  background: var(--amarelo);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-gov img:first-child {
  height: 22px;
  width: auto;
}

.footer-gov img:last-child {
  height: 28px;
  width: auto;
}

.footer-bar {
  height: 0;
  display: none;
}

/* ========== Página 1 (index) — landing (referência mobile) ========== */
.page-landing {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #e6e9ed;
  overflow-x: hidden;
}

.page-landing .landing-header {
  background: #e6e9ed;
  padding: 14px 16px 12px;
  text-align: center;
}

.page-landing .landing-logo-full {
  display: block;
  height: 32px;
  width: auto;
  max-width: 200px;
  margin: 0 auto;
  object-fit: contain;
}

.page-landing .landing-ssl {
  background: linear-gradient(90deg, #ffe000 0%, #ffe000 68%, #ffd200 84%, #ffc400 100%);
  color: #003399;
  font-size: 10px;
  font-weight: 500;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.2;
  border-top: 1px solid #d5d9dd;
  border-bottom: 1px solid #d5d9dd;
  box-shadow: none;
}

.page-landing .landing-ssl-text {
  color: #003399;
  letter-spacing: 0.01em;
}

.page-landing .landing-ssl-lock,
.page-landing .landing-ssl-check {
  flex: 0 0 13px;
  display: block;
}

.page-landing .landing-rf-wrap {
  padding: 12px 14px 0;
  background: #e6e9ed;
}

.page-landing .landing-rf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #003566 0%, #002847 100%);
  box-shadow: 0 4px 12px rgba(0, 40, 71, 0.22);
  color: #fff;
}

.page-landing .landing-rf-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.page-landing .landing-rf-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  display: block;
}

.page-landing .landing-rf-left span {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.page-landing .landing-rf-right {
  text-align: right;
  flex-shrink: 0;
}

.page-landing .landing-rf-right strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.page-landing .landing-rf-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 2px 0 0;
  font-size: 9px;
  font-weight: 400;
  color: #b8d4e8;
  line-height: 1.35;
}

.page-landing .landing-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  display: block;
}

.page-landing .landing-main {
  flex: 1;
  padding: 12px 14px 14px;
  background: #e6e9ed;
}

.page-landing .landing-title {
  margin: 0 0 4px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #003366;
  line-height: 1.15;
}

.page-landing .landing-subtitle {
  margin: 0 0 12px;
  text-align: center;
  font-size: 12px;
  color: #6b7c93;
}

.page-landing .landing-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px 16px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f6;
}

.page-landing .landing-alert {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-left: 4px solid #d32f2f;
  border-radius: 6px;
  padding: 9px 10px;
  margin-bottom: 12px;
}

.page-landing .landing-alert-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.page-landing .landing-alert-text strong {
  display: block;
  color: #d32f2f;
  font-size: 11px;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.page-landing .landing-alert-text p {
  margin: 0;
  color: #a94442;
  font-size: 10px;
  line-height: 1.38;
}

.page-landing .landing-instruction {
  text-align: center;
  font-size: 11px;
  color: #666;
  line-height: 1.42;
  margin: 0 0 12px;
}

.page-landing .landing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 13px 10px;
  border: 0;
  border-radius: 8px;
  background: #003366;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.28);
  cursor: pointer;
  font-family: inherit;
}

.page-landing .landing-btn svg {
  flex: 0 0 15px;
  display: block;
}

.page-landing .is-hidden {
  display: none !important;
}

.page-landing .landing-consult-inner {
  background: #f2f2f2;
  border-radius: 10px;
  padding: 16px 14px 14px;
}

.page-landing .landing-consult-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #003366;
  font-size: 11px;
  font-weight: 500;
}

.page-landing .landing-consult-head svg {
  flex: 0 0 18px;
  display: block;
}

.page-landing .landing-consult-form label {
  display: block;
  text-align: center;
  color: #003366;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.page-landing .landing-consult-form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  color: #003366;
  font-size: 11px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page-landing .landing-consult-form input::placeholder {
  color: #9aa8b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.page-landing .landing-consult-form input:focus {
  outline: none;
  border-color: #7a96b8;
}

.page-landing .landing-consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 10px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #3d5a80 0%, #6b849e 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 8px rgba(61, 90, 128, 0.35);
}

.page-landing .landing-consult-btn svg {
  flex: 0 0 16px;
  display: block;
}

.page-landing .landing-consult-trust {
  margin-top: 14px;
}

.page-landing .landing-consult-trust p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #003366;
  font-size: 9px;
  line-height: 1.3;
}

.page-landing .landing-consult-trust p:last-child {
  margin-bottom: 0;
}

.page-landing .landing-consult-trust svg {
  flex: 0 0 12px;
  display: block;
}

.page-landing .landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.page-landing .landing-feature {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 6px 14px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-height: 112px;
  overflow: hidden;
}

.page-landing .landing-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}

.page-landing .landing-feature-blue::before {
  background: #1565c0;
}

.page-landing .landing-feature-green::before {
  background: #2e7d32;
}

.page-landing .landing-feature-yellow::before {
  background: #f9a825;
}

.page-landing .landing-feature-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-landing .landing-feature-blue .landing-feature-icon {
  background: #e3f2fd;
}

.page-landing .landing-feature-green .landing-feature-icon {
  background: #e8f5e9;
}

.page-landing .landing-feature-yellow .landing-feature-icon {
  background: #fff8e1;
}

.page-landing .landing-feature-icon img,
.page-landing .landing-feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.page-landing .landing-feature h3 {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  color: #003366;
  line-height: 1.2;
}

.page-landing .landing-feature p {
  margin: 0;
  font-size: 7.5px;
  line-height: 1.35;
  color: #003366;
  font-weight: 400;
}

.page-landing .landing-footer {
  margin-top: auto;
  background: transparent;
  line-height: 0;
}

.page-landing .landing-footer img {
  display: block;
  width: 100%;
  height: auto;
}

/* Ajustes finos — página 1 */
.page-home .content-wrap {
  padding-bottom: 10px;
}

.page-home .rf-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cpf-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--azul-principal);
}

.cpf-form input {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 14px 12px;
  font-size: 16px;
  margin-bottom: 14px;
  outline: none;
  background: var(--branco);
}

.cpf-form input:focus {
  border-color: var(--azul-botao);
  box-shadow: 0 0 0 3px rgba(0, 49, 83, 0.1);
}

.cpf-help {
  font-size: 11px;
  color: #6b8199;
  text-align: center;
  margin-top: 10px;
}

.loading-box {
  text-align: center;
  padding: 30px 10px 10px;
}

.loading-box p,
.page-index2 .index2-loading-text {
  font-size: 13px;
  color: var(--texto-claro);
  line-height: 1.5;
  margin: 16px 0 0;
}

.page-index2 .landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-index2 .loading-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #dce4ef;
  border-top-color: var(--azul-botao);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Etapas 2+ */
.status-banner {
  background: var(--azul-principal);
  color: var(--branco);
  padding: 18px 16px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 16px;
}

.status-badge {
  display: inline-block;
  background: var(--vermelho);
  color: var(--branco);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.status-banner h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.status-banner p {
  margin: 8px 0 0;
  font-size: 12px;
  opacity: 0.9;
}

.tracking-code {
  font-family: "Courier New", monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amarelo);
}

.message-box {
  font-size: 13px;
  line-height: 1.6;
  color: var(--texto-cinza);
  margin-bottom: 18px;
}

.message-box p {
  margin: 0 0 12px;
}

.message-box strong {
  color: var(--azul-principal);
}

.detail-card {
  border: 1px solid var(--borda);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--branco);
}

.detail-card.highlight {
  border: 1px solid var(--borda);
  border-left: 4px solid var(--azul-principal);
  padding: 16px;
  text-align: center;
  background: var(--cinza-card);
}

.detail-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--texto-claro);
  margin-bottom: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--borda);
}

.info-item {
  background: #fafbfd;
  padding: 12px;
}

.info-item label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--texto-claro);
  margin-bottom: 4px;
}

.info-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--azul-principal);
  word-break: break-word;
}

.info-item.green {
  background: #f0fdf4;
}

.valor-antigo {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 13px;
}

.valor-atual {
  color: var(--verde);
  font-size: 16px;
  font-weight: 700;
}

.section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--texto-claro);
  margin: 0 0 12px;
}

.timeline {
  border-left: 2px solid #dce4ef;
  padding-left: 16px;
  margin-bottom: 18px;
}

.timeline-item {
  position: relative;
  padding-bottom: 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vermelho);
  border: 2px solid var(--branco);
}

.timeline-item h4 {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--azul-principal);
}

.timeline-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--texto-claro);
}

.warning-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.warning-list li {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #8b1e1e;
  margin-bottom: 12px;
}

.warning-list li::before {
  content: "⚠";
  flex-shrink: 0;
}

.action-box {
  background: var(--cinza-card);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
  margin-bottom: 14px;
}

.timer-pill {
  display: inline-block;
  background: var(--azul-principal);
  color: var(--branco);
  font-family: "Courier New", monospace;
  font-size: 15px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.timer-pill span {
  color: var(--amarelo);
}

.btn-secondary {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--azul-botao);
  color: var(--branco);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 12px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-secondary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.summary-box {
  background: var(--cinza-card);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 18px;
}

.summary-box h3 {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--texto-claro);
  border-bottom: 1px solid var(--borda);
  padding-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 8px;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row .label {
  color: var(--texto-claro);
}

.summary-row .value {
  font-weight: 700;
  color: var(--azul-principal);
  text-align: right;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--azul-principal);
}

.form-group input {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 14px 12px;
  font-size: 16px;
  outline: none;
  background: var(--branco);
}

.form-group input:focus {
  border-color: var(--azul-botao);
  box-shadow: 0 0 0 3px rgba(0, 49, 83, 0.1);
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.security-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b8199;
}

.page-note {
  font-size: 11px;
  color: var(--texto-claro);
  text-align: center;
  line-height: 1.45;
  margin-top: 12px;
}

.pix-box {
  background: var(--cinza-card);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 14px;
  margin-top: 16px;
  display: none;
}

.pix-box.show {
  display: block;
}

.pix-box h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--azul-principal);
}

#imagemContainer {
  display: flex;
  justify-content: center;
  margin: 12px 0;
  background: var(--branco);
  padding: 10px;
  border-radius: 8px;
}

#pixCopiaCola {
  width: 100%;
  font-size: 12px;
  padding: 10px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  margin-bottom: 8px;
}

.btn-copy {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--azul-botao);
  color: var(--branco);
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
}

.status-msg {
  margin-top: 12px;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  display: none;
}

.status-msg.info {
  display: block;
  background: #eff6ff;
  color: #1e40af;
}

.status-msg.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
}

.payment-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.payment-overlay.show {
  display: flex;
}

.payment-overlay p {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-claro);
}

@media (max-width: 420px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 20px;
  }
}

/* ========== Página 3 (index3) — modal pendência fiscal ========== */
.page-index3 {
  position: relative;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.page-index3 .index3-bg {
  padding: 18px 16px 0;
  filter: blur(1.2px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.page-index3 .index3-bg .page-title {
  margin: 0 0 4px;
  text-align: center;
  font-size: 20px;
  color: #003366;
}

.page-index3 .index3-bg .page-subtitle {
  margin: 0 0 14px;
  text-align: center;
  font-size: 12px;
  color: #6b7c93;
}

.page-index3 .index3-search-blur {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 12px;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  color: #5a7291;
  font-size: 12px;
}

.page-index3 .index3-modal-wrap {
  position: absolute;
  inset: 0 0 auto 0;
  top: 72px;
  padding: 0 14px 120px;
  z-index: 2;
}

.page-index3 .index3-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  padding: 18px 16px 16px;
  max-width: 360px;
  margin: 0 auto;
}

.page-index3 .index3-modal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.page-index3 .index3-modal-logo img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.page-index3 .index3-modal-logo span {
  font-size: 15px;
  font-weight: 700;
  color: #003366;
}

.page-index3 .index3-greeting {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #003366;
  line-height: 1.3;
  text-align: left;
}

.page-index3 .index3-info-box {
  background: #f3f5f8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #003366;
  margin-bottom: 12px;
}

.page-index3 .index3-info-box strong {
  font-weight: 700;
}

.page-index3 .index3-alert {
  background: #fff5f5;
  border-left: 4px solid #c62828;
  border-radius: 6px;
  padding: 10px 10px 10px 12px;
  margin-bottom: 14px;
}

.page-index3 .index3-alert-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.page-index3 .index3-alert-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.page-index3 .index3-alert-head strong {
  color: #b71c1c;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.page-index3 .index3-alert ul {
  margin: 0;
  padding-left: 16px;
  color: #b71c1c;
  font-size: 11px;
  line-height: 1.45;
}

.page-index3 .index3-alert li {
  margin-bottom: 4px;
}

.page-index3 .btn-index3-green {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  background: #28a745;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 10px;
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.25);
}

.page-index3 .index3-modal-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.page-index3 .index3-modal-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #003366;
}

.page-index3 .index3-footer {
  margin-top: auto;
  background: transparent;
  padding: 0;
  z-index: 1;
}

.page-index3 .index3-footer .footer-rodape {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-index3 .index3-copy {
  margin: 0;
  padding: 6px 12px 10px;
  text-align: center;
  font-size: 9px;
  color: #4a6078;
  background: #ffd400;
}

/* ========== Página 4 (index4) — pacote retido fiscalização ========== */
.page-index4 {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.page-index4 .index4-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  background: #e6e9ed;
}

.page-index4 .index4-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex: 0 0 auto;
}

.page-index4 .index4-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #003366;
}

.page-index4 .index4-user strong {
  font-weight: 700;
}

.page-index4 .index4-divider {
  height: 3px;
  background: #ffd400;
}

.page-index4 .index4-content {
  padding: 12px 14px 16px;
  flex: 1;
}

.page-index4 .index4-breadcrumb {
  margin: 0 0 14px;
  font-size: 11px;
  color: #5a7291;
  line-height: 1.35;
}

.page-index4 .index4-alert-title {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.page-index4 .index4-alert-bar {
  flex: 0 0 4px;
  background: #c62828;
  border-radius: 2px;
}

.page-index4 .index4-alert-title h1 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  color: #c62828;
  letter-spacing: 0.01em;
}

.page-index4 .index4-tracking-box {
  display: inline-block;
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #003366;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.page-index4 .index4-status-wait {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  color: #c9a227;
  letter-spacing: 0.03em;
  animation: index4-status-blink 1.2s ease-in-out infinite;
}

.page-index4 .index4-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd400;
  flex-shrink: 0;
}

@keyframes index4-status-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.page-index4 .index4-info-card {
  border: 2px solid #ffd400;
  border-radius: 8px;
  padding: 12px 12px 10px;
  margin-bottom: 14px;
  background: #fff;
}

.page-index4 .index4-info-card p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #003366;
}

.page-index4 .index4-info-card p strong {
  font-weight: 700;
}

.page-index4 .index4-info-warning {
  color: #c62828 !important;
  margin-bottom: 0 !important;
  font-size: 11px !important;
}

.page-index4 .btn-index4-action {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  background: #003366;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 12px;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(0, 51, 102, 0.22);
}

.page-index4 .index4-notice-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #003366;
}

.page-index4 .index4-pacote-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-index4 .index4-footer {
  margin-top: auto;
  background: transparent;
  padding: 0;
}

.page-index4 .index4-footer .footer-rodape {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ========== Timeline de rastreamento (index4) ========== */
.page-index4 .index4-timeline-wrap {
  margin-top: 20px;
  padding-top: 2px;
}

.page-index4 .index4-track-code {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #003366;
  letter-spacing: 0.02em;
}

.page-index4 ol.index4-track {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  position: relative;
}

.page-index4 ol.index4-track::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: #ffd400;
  z-index: 0;
}

.page-index4 .index4-track-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 0 0 22px;
  list-style: none;
}

.page-index4 .index4-track-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 3px solid #ffd400;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-index4 .index4-track-logo {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.page-index4 .index4-track-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.page-index4 .index4-track-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #003366;
}

.page-index4 .index4-track-title-alert {
  color: #c62828;
}

.page-index4 .index4-track-text {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #003366;
}

.page-index4 .index4-track-time {
  display: block;
  font-size: 11px;
  color: #7a8fa8;
  font-style: normal;
}

.page-index4 .index4-track-pay {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #003366;
}

.page-index4 .index4-track-pay a {
  color: #003366;
  font-weight: 700;
  text-decoration: underline;
}

.page-index4 .index4-superapp {
  margin: 4px 0 8px;
  padding: 18px 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #003366 0%, #005a8c 55%, #0077a8 100%);
}

.page-index4 .index4-superapp-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-index4 .index4-superapp-copy strong {
  font-size: 14px;
  line-height: 1.3;
  color: #ffd400;
}

.page-index4 .index4-superapp-copy span {
  font-size: 11px;
  line-height: 1.4;
  color: #fff;
}

.page-index4 .index4-superapp-copy em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #ffd400;
}

/* ========== Página 5 (index5) — pagamento ========== */
.page-index5 {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.page-index5 .index5-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  background: #fff;
}

.page-index5 .index5-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex: 0 0 auto;
}

.page-index5 .index5-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #003366;
  flex-shrink: 0;
}

.page-index5 .index5-user strong {
  font-weight: 700;
}

.page-index5 .index5-divider {
  height: 3px;
  background: #ffd400;
}

.page-index5 .index5-secure-bar {
  margin: 12px 14px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #1e7a45;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-index5 .index5-content {
  padding: 14px;
}

.page-index5 .index5-alert-box {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #e6c200;
  border-radius: 6px;
  background: #fff9db;
  animation: index5-alert-blink 1.4s ease-in-out infinite;
}

.page-index5 .index5-alert-box p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #333;
}

.page-index5 .index5-alert-box strong {
  font-weight: 700;
  color: #222;
}

@keyframes index5-alert-blink {
  0%, 100% {
    background: #fff9db;
    border-color: #e6c200;
  }
  50% {
    background: #fff3a8;
    border-color: #d4a800;
  }
}

.page-index5 .index5-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #003366;
}

.page-index5 .index5-subtitle {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: #003366;
}

.page-index5 .index5-form {
  margin-bottom: 16px;
}

.page-index5 .index5-field {
  margin-bottom: 14px;
}

.page-index5 .index5-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #003366;
}

.page-index5 .index5-required {
  color: #c62828;
}

.page-index5 .index5-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: #003366;
  background: #fff;
}

.page-index5 .index5-field input::placeholder {
  color: #9aa8b8;
}

.page-index5 .index5-btn-pay {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  background: #1e7a45;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 12px;
  cursor: pointer;
}

.page-index5 .index5-btn-pay:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.page-index5 .index5-summary {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.page-index5 .index5-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e8edf3;
}

.page-index5 .index5-summary-head span {
  font-size: 13px;
  font-weight: 700;
  color: #003366;
}

.page-index5 .index5-rf-logo {
  height: 22px;
  width: auto;
  display: block;
}

.page-index5 .index5-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef2f6;
  font-size: 12px;
  color: #003366;
}

.page-index5 .index5-summary-label {
  color: #5a7291;
}

.page-index5 .index5-summary-value {
  font-weight: 700;
  text-align: right;
}

.page-index5 .index5-track-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-index5 .index5-summary-total .index5-summary-value {
  font-size: 13px;
}

.page-index5 .index5-summary-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #f3f6f9;
  font-size: 10px;
  color: #5a7291;
}

/* ========== Página rastreio — pagamento por código ========== */
.page-rastreio {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.page-rastreio .rastreio-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px 12px;
  background: #fff;
}

.page-rastreio .rastreio-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.page-rastreio .rastreio-divider {
  height: 3px;
  background: #ffd400;
}

.page-rastreio .rastreio-secure-bar {
  margin: 12px 14px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #1e7a45;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-rastreio .rastreio-content {
  flex: 1;
  padding: 14px;
}

.page-rastreio .rastreio-alert-box {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #e6c200;
  border-radius: 6px;
  background: #fff9db;
  animation: index5-alert-blink 1.4s ease-in-out infinite;
}

.page-rastreio .rastreio-alert-box p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #333;
}

.page-rastreio .rastreio-alert-box strong {
  font-weight: 700;
  color: #222;
}

.page-rastreio .rastreio-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #003366;
}

.page-rastreio .rastreio-subtitle {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: #003366;
}

.page-rastreio .rastreio-form {
  margin-bottom: 16px;
}

.page-rastreio .rastreio-field {
  margin-bottom: 14px;
}

.page-rastreio .rastreio-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #003366;
}

.page-rastreio .rastreio-required {
  color: #c62828;
}

.page-rastreio .rastreio-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: #003366;
  background: #fff;
  font-family: inherit;
}

.page-rastreio .rastreio-field input::placeholder {
  color: #9aa8b8;
}

.page-rastreio .rastreio-id-box {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  padding: 14px 12px 4px;
  margin-bottom: 14px;
  background: #fff;
}

.page-rastreio .rastreio-id-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #003366;
}

.page-rastreio .rastreio-id-head svg {
  flex: 0 0 18px;
  display: block;
}

.page-rastreio .rastreio-btn-pay {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  background: #1e7a45;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 12px;
  cursor: pointer;
  font-family: inherit;
}

.page-rastreio .rastreio-btn-pay:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.page-rastreio .rastreio-summary {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
}

.page-rastreio .rastreio-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e8edf3;
}

.page-rastreio .rastreio-summary-head span {
  font-size: 13px;
  font-weight: 700;
  color: #003366;
}

.page-rastreio .rastreio-rf-logo {
  height: 22px;
  width: auto;
  display: block;
}

.page-rastreio .rastreio-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef2f6;
  font-size: 12px;
  color: #003366;
}

.page-rastreio .rastreio-summary-label {
  color: #5a7291;
}

.page-rastreio .rastreio-summary-value {
  font-weight: 700;
  text-align: right;
}

.page-rastreio .rastreio-track-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-rastreio .rastreio-cpf-empty {
  font-style: italic;
  font-weight: 400;
  color: #5a7291;
}

.page-rastreio .rastreio-summary-total .rastreio-summary-value {
  font-size: 13px;
}

.page-rastreio .rastreio-summary-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #f3f6f9;
  font-size: 10px;
  color: #5a7291;
}

.page-rastreio .rastreio-summary-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.page-rastreio .rastreio-footer {
  line-height: 0;
  background: transparent;
}

.page-rastreio3 .rastreio3-found-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #003366;
  line-height: 1.2;
}

.page-rastreio3 .rastreio3-found-code {
  margin: 0 0 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #003366;
  letter-spacing: 0.02em;
}

.page-rastreio4 .rastreio4-top {
  justify-content: center;
  background: #e6e9ed;
  padding: 14px 16px 12px;
}

.page-rastreio4 .index4-logo {
  margin: 0 auto;
  height: 32px;
  max-width: 200px;
  object-fit: contain;
}

.page-rastreio .rastreio-footer img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== Otimizações mobile (global) ========== */
input,
select,
textarea,
button {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

input,
select,
textarea {
  font-size: 16px;
}

.page-landing .landing-ssl-text {
  text-align: center;
  line-height: 1.25;
}

.page-landing .landing-ssl {
  flex-wrap: wrap;
  row-gap: 2px;
}

.page-landing .landing-rf-bar {
  flex-wrap: wrap;
}

.page-landing .landing-rf-right {
  text-align: right;
}

.page-landing .landing-features {
  gap: 6px;
}

.page-landing .landing-feature {
  min-height: 108px;
  padding: 10px 4px 12px;
}

.page-landing .landing-feature h3 {
  font-size: 9px;
}

.page-landing .landing-feature p {
  font-size: 7px;
}

.page-landing .landing-consult-form input {
  font-size: 16px;
}

.page-index3 .index3-modal-wrap {
  top: 64px;
  padding: 0 12px calc(96px + env(safe-area-inset-bottom));
}

.page-index3 .index3-modal {
  width: 100%;
  max-width: none;
}

.page-index3 .index3-footer,
.page-index4 .index4-footer,
.page-rastreio .rastreio-footer {
  padding-bottom: env(safe-area-inset-bottom);
}

.page-index4 .index4-top {
  flex-wrap: wrap;
  gap: 8px;
}

.page-index4 .index4-user {
  max-width: 100%;
  font-size: 11px;
}

.page-index4 .index4-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-index4 .index4-breadcrumb,
.page-index4 .index4-track-code,
.page-rastreio4 .index4-breadcrumb {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-index4 .index4-alert-title h1 {
  font-size: clamp(13px, 4.1vw, 15px);
}

.page-index4 .index4-tracking-box {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-size: clamp(12px, 3.8vw, 15px);
  word-break: break-word;
}

.page-index4 .index4-info-card p,
.page-index4 .index4-track-text,
.page-index4 .index4-track-title {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-index4 .btn-index4-action,
.page-index5 .index5-btn-pay,
.page-rastreio .rastreio-btn-pay,
.page-landing .landing-btn,
.page-landing .landing-consult-btn,
.btn-index3-green {
  min-height: 48px;
}

.page-index5 .index5-summary-row,
.page-rastreio .rastreio-summary-row {
  flex-wrap: wrap;
}

.page-index5 .index5-summary-value,
.page-rastreio .rastreio-summary-value {
  max-width: 100%;
  word-break: break-word;
}

.page-index5 .index5-summary-foot,
.page-rastreio .rastreio-summary-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.page-index5 .index5-field input,
.page-rastreio .rastreio-field input {
  font-size: 16px;
}

.page-rastreio .rastreio-secure-bar {
  flex-wrap: wrap;
  row-gap: 4px;
}

@media (max-width: 360px) {
  .page-landing .landing-main {
    padding: 10px 10px 12px;
  }

  .page-landing .landing-card {
    padding: 12px 10px 14px;
  }

  .page-landing .landing-title {
    font-size: 16px;
  }

  .page-landing .landing-feature-icon {
    width: 32px;
    height: 32px;
  }

  .page-landing .landing-feature-icon img,
  .page-landing .landing-feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .page-index4 .index4-content,
  .page-index5 .index5-content,
  .page-rastreio .rastreio-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-index3 .index3-greeting {
    font-size: 16px;
  }
}

@media (max-width: 320px) {
  .page-landing .landing-features {
    gap: 4px;
  }

  .page-landing .landing-feature h3 {
    font-size: 8px;
  }

  .page-landing .landing-feature p {
    font-size: 6.5px;
    line-height: 1.3;
  }

  .page-landing .landing-rf-left span {
    font-size: 11px;
  }

  .page-landing .landing-rf-right strong {
    font-size: 9px;
  }
}

/* ========== Página PIX (checkout/pagamento.html) ========== */
.page-pix .pix-main {
  padding-bottom: 24px;
}

.page-pix .pix-secure-bar {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #1e7a45;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-pix .pix-order-card {
  margin: 0 0 10px;
  padding: 14px 12px;
  border-radius: 8px;
  background: #003366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-pix .pix-order-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.page-pix .pix-order-icon {
  width: 34px;
  height: auto;
  flex-shrink: 0;
}

.page-pix .pix-order-info {
  min-width: 0;
}

.page-pix .pix-order-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.page-pix .pix-order-code {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.page-pix .pix-order-right {
  text-align: right;
  flex-shrink: 0;
}

.page-pix .pix-order-value-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.page-pix .pix-order-value {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  color: #ffd400;
  line-height: 1.1;
}

.page-pix .pix-timer-card {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffd400;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-pix .pix-timer-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-pix .pix-timer-text span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #003366;
  letter-spacing: 0.02em;
}

.page-pix .pix-timer-text strong {
  display: block;
  margin-top: 2px;
  font-size: 28px;
  font-weight: 800;
  color: #003366;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.page-pix .pix-content {
  padding: 0;
}

.page-pix .pix-pay-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.page-pix .pix-brand-icon {
  width: 28px;
  height: 28px;
}

.page-pix .pix-pay-head h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #003366;
}

.page-pix .pix-qr-wrap {
  margin-bottom: 14px;
}

.page-pix .pix-qr-stage {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.page-pix .pix-qr-stage > [hidden] {
  display: none !important;
}

.page-pix .pix-qr-loading {
  width: 100%;
  min-height: 220px;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #5a7291;
  font-size: 12px;
  padding: 16px;
  text-align: center;
  background: #fff;
  box-sizing: border-box;
}

.page-pix .pix-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #dce4ef;
  border-top-color: #003366;
  border-radius: 50%;
  animation: pix-spin 0.8s linear infinite;
}

@keyframes pix-spin {
  to { transform: rotate(360deg); }
}

.page-pix .pix-qr-ready {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.page-pix .pix-qr-success-msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #e8f5ec;
  color: #1e7a45;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-pix .pix-qr-box {
  width: 100%;
  padding: 8px;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-pix .pix-qr-box img {
  display: block;
  width: 220px;
  height: 220px;
  max-width: 100%;
}

.page-pix .pix-error-text {
  color: #c62828;
  font-size: 12px;
  line-height: 1.4;
}

.page-pix .pix-favorecido {
  margin: 0 0 6px;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  color: #1e7a45;
}

.page-pix .pix-favorecido strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-pix .pix-camera-hint {
  margin: 0 0 18px;
  text-align: center;
  font-size: 11px;
  color: #8a97a8;
}

.page-pix .pix-copy-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #8a97a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-pix .pix-copy-divider::before,
.page-pix .pix-copy-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dce4ef;
}

.page-pix .pix-code-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #f3f6f9;
  padding: 12px 14px;
  font-size: 11px;
  color: #5a7291;
  text-align: center;
}

.page-pix .pix-btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: #1e7a45;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 12px;
  cursor: pointer;
}

.page-pix .pix-btn-copy:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.page-pix .pix-btn-retry {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid #003366;
  border-radius: 8px;
  background: #fff;
  color: #003366;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
}

.page-pix .pix-status-msg {
  margin: 10px 0 0;
  font-size: 11px;
  text-align: center;
}

.page-pix .pix-status-msg.error {
  color: #c62828;
}

