:root {
  /* Paleta da marca */
  --blue: #58C5C6;
  --blue-dark: #3aa9aa;
  --blue-soft: #e8f7f7;
  --pink: #E9655F;
  --pink-dark: #d94a44;
  --pink-soft: #fdeeed;
  --yellow: #FEC654;
  --yellow-soft: #fff6e3;
  --red: #E23A2E;
  --red-dark: #c22a20;
  --amber: #C77700;
  --amber-soft: #fdf1dc;
  --govbr-blue: #1351B4;

  --ink: #1d2430;
  --ink-soft: #4b5563;
  --muted: #8a94a6;
  --line: #ecedf2;
  --line-soft: #f4f5f8;
  --bg: #eef1f6;
  --surface: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(20,30,50,.05), 0 6px 20px rgba(20,30,50,.05);
  --shadow-pop: 0 24px 60px rgba(20,30,50,.22);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }

/* ===== App container (formato celular) ===== */
.app {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (min-width: 480px) {
  body { padding: 24px 0; }
  .app {
    min-height: calc(100vh - 48px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(20,30,50,.16);
    border: 1px solid #e3e6ee;
  }
  body:not(.has-consult) {
    padding: 0;
  }
  body:not(.has-consult) .app {
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
}

/* ===== Topbar ===== */
.topbar {
  background: var(--surface);
  padding: calc(14px + var(--safe-top)) 18px 12px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo__svg { height: 34px; width: auto; display: block; }

/* Botão gov.br */
.govbr {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--govbr-blue);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: filter .15s, transform .08s;
  white-space: nowrap;
}
.govbr:hover { filter: brightness(1.08); }
.govbr:active { transform: scale(.97); }
.govbr__word { font-weight: 800; letter-spacing: -.3px; }
.govbr__word--dark .govbr__g,
.govbr__word--dark .govbr__br { color: var(--govbr-blue); }
.govbr__g { color: #fff; }
.govbr__o { color: var(--yellow); }
.govbr__v { color: #35b56a; }
.govbr__br { color: #fff; }
.govbr__word--dark .govbr__o { color: #E8A600; }
.govbr__word--dark .govbr__v { color: #168821; }

/* Saudação */
.hello { padding-top: 4px; }
.hello__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hello__text { display: flex; flex-direction: column; }
.hello__greet { font-size: 19px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
.hello__greet #greetName,
.hello__name { color: var(--blue-dark); }
.hello__name[hidden] { display: none; }
.hello__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.bell {
  flex: none;
  position: relative;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s, transform .08s;
}
.bell:hover { background: var(--line-soft); }
.bell:active { transform: scale(.95); }
.bell.is-active { color: var(--blue-dark); border-color: #cfeeee; background: var(--blue-soft); }
.bell__badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid var(--surface);
}
.bell__badge[hidden] { display: none; }
@keyframes bellRing {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(12deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(6deg); }
  80% { transform: rotate(-4deg); }
}
.bell.is-active svg { animation: bellRing 1s ease 1; transform-origin: top center; }

/* Breadcrumb — visível só após consulta */
body:not(.has-consult) .crumbs { display: none; }

/* ===== Modo limpo (sem consulta) ===== */
body:not(.has-consult) .govbr { display: none; }
body:not(.has-consult) .site-footer { display: none; }
body:not(.has-consult) .consult__head { display: none; }
body:not(.has-consult) .consult__seals { display: none; }
body:not(.has-consult) .landing__legal { display: block; }
body.has-consult .landing__legal { display: none; }

body:not(.has-consult) .topbar {
  border-bottom: none;
  position: relative;
  background: transparent;
}
body:not(.has-consult) .topbar__row { justify-content: center; }
body:not(.has-consult) #postConsult { display: none !important; }

body:not(.has-consult) .main {
  flex: 1;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 32px 20px 40px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

body:not(.has-consult) .consult.card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

body:not(.has-consult) .landing {
  padding: 0 4px 0;
}

body:not(.has-consult) .app {
  min-height: 100vh;
  min-height: 100dvh;
}

body.has-consult .consult {
  margin-top: 0;
}

.landing__legal {
  display: none;
  margin: 28px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

/* Landing (página inicial sem ?cnpj=) */
.landing { padding: 8px 2px 4px; text-align: center; }
.landing[hidden] { display: none; }
.landing__title {
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.landing__sub {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}
body.has-consult .landing { display: none; }
body.has-consult #consultCard { display: none; }

/* Breadcrumb (compacto, cabe na tela) */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 10px;
  line-height: 1.3;
}
.crumbs__item {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  flex: none;
  max-width: 100%;
}
.crumbs__item--active { color: var(--ink); font-weight: 700; }
.crumbs__sep {
  color: #cfd4de;
  flex: none;
  font-size: 11px;
  line-height: 1;
}

/* ===== Main ===== */
.main {
  flex: 1;
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== Stepper (etapas) ===== */
.stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.step { display: flex; align-items: center; gap: 7px; flex: none; }
.step__dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  background: #e6e9f0; color: var(--muted);
  transition: background .2s, color .2s;
  flex: none;
}
.step__label { font-size: 12.5px; font-weight: 600; color: var(--muted); transition: color .2s; }
.step:not(:last-child)::after {
  content: "";
  width: 16px; height: 2px;
  background: #e0e4ec;
  border-radius: 2px;
  margin: 0 2px;
}
.step.is-active .step__dot { background: var(--blue); color: #fff; }
.step.is-active .step__label { color: var(--ink); }
.step.is-done .step__dot { background: #e7f7ee; color: #1f9d57; }
.step.is-done .step__label { color: var(--ink-soft); }

/* ===== Pós-consulta: ritmo entre moldes ===== */
#postConsult {
  display: flex;
  flex-direction: column;
}

#postConsult .hello {
  margin-bottom: 10px;
}

#postConsult .stepper {
  margin-bottom: 26px;
}

#postConsult .aviso {
  margin-bottom: 26px;
  padding: 20px;
}

#postConsult .result {
  gap: 26px;
}

#postConsult .taxpayer {
  padding: 20px;
}

#postConsult .taxpayer__badge {
  margin-bottom: 16px;
}

#postConsult .taxpayer__grid {
  gap: 16px 18px;
}

#postConsult .notice__head {
  padding: 18px 20px;
}

#postConsult .notice__body {
  padding: 20px;
}

#postConsult .notice__lead {
  margin-bottom: 16px;
}

#postConsult .amount {
  margin-bottom: 14px;
}

#postConsult .facts {
  margin-bottom: 16px;
  gap: 12px;
}

#postConsult .notice__note {
  margin-bottom: 8px;
}

#postConsult .guarantee {
  margin-top: 4px;
  gap: 12px;
}

#postConsult .faq {
  padding-top: 6px;
}

body.has-consult .main {
  max-width: none;
  margin: 0;
  justify-content: flex-start;
  padding-bottom: 28px;
  gap: 18px;
}

/* ===== Aviso informativo (o que é a taxa) — sóbrio/profissional ===== */
.aviso {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px;
}
.aviso__top { display: flex; gap: 12px; align-items: flex-start; }
.aviso__icon {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--amber-soft);
  color: var(--amber);
}
.aviso__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--amber);
}
.aviso__title {
  font-size: clamp(18px, 5.2vw, 22px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-top: 2px;
  color: var(--ink);
}
.aviso__title span { color: var(--ink-soft); font-weight: 700; }
.aviso__text {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.aviso__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.aviso__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.aviso__list svg { color: var(--amber); flex: none; }

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px;
}

/* Consulta */
.consult__head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.consult__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.consult__head h2 { font-size: 16.5px; }
.consult__head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.consult__form { display: flex; flex-direction: column; gap: 12px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.field input {
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder { color: #b6bdca; }
.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(88,197,198,.18);
  background: #fff;
}
.consult__error { color: var(--pink-dark); font-size: 13px; margin: 10px 0 0; }
.consult__seals {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.consult__seals span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.consult__seals svg { color: var(--blue-dark); }

/* ===== Botões ===== */
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: transform .08s ease, filter .15s, background .15s, opacity .15s;
}
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--cta {
  background: var(--pink);
  color: #fff;
  font-size: 16px;
  justify-content: space-between;
  padding: 16px 20px;
  margin-top: 4px;
}
.btn--cta:hover { background: var(--pink-dark); }
.btn--cta b { font-weight: 800; }
.btn--ghost { background: var(--line-soft); color: var(--ink); width: auto; padding: 13px 16px; }
.btn--ghost:hover { background: #e9ebf1; }

/* Botão de teste (simulação de pagamento) */
.btn--test-pay {
  margin-top: 10px;
  width: 100%;
  background: #fff;
  color: #7c4dff;
  border: 1.5px dashed #7c4dff;
  font-size: .82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  opacity: .85;
  transition: opacity .15s, background .15s;
}
.btn--test-pay:hover { opacity: 1; background: #f3eeff; }
.btn[disabled] { opacity: .75; cursor: progress; }

.btn__spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Resultado ===== */
.result { display: flex; flex-direction: column; gap: 26px; animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Contribuinte */
.taxpayer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.taxpayer__grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp-cell--full { grid-column: 1 / -1; }
.tp-cell dt {
  font-size: 11px; color: var(--muted); margin-bottom: 3px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
}
.tp-cell dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); word-break: break-word; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pill--ok { background: #e7f7ee; color: #1f9d57; }
.pill--bad { background: var(--pink-soft); color: var(--pink-dark); }

/* ===== Notice (pendência) — profissional e discreto ===== */
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.notice__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.notice__ic {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--amber-soft);
  color: var(--amber);
}
.notice__head-txt { flex: 1; line-height: 1.3; }
.notice__head-txt strong { display: block; font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.notice__head-txt span { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.status-pill {
  flex: none;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 5px 11px;
  border-radius: 999px;
}
.notice__body { padding: 16px; }

/* Órgão emissor + bandeira do estado */
.gov {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
}
.gov[hidden] { display: none; }
.gov__flag {
  width: 46px; height: 32px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
  background: #f0f0f0;
  flex: none;
}
.gov__txt { display: flex; flex-direction: column; line-height: 1.2; }
.gov__k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; font-weight: 700; color: var(--muted); }
.gov__v { font-size: 14px; font-weight: 700; color: var(--ink); }

.notice__lead { margin: 0 0 14px; font-size: 14px; color: var(--ink-soft); }

.amount {
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.amount__k { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.amount__v { font-size: clamp(18px, 5vw, 21px); font-weight: 800; color: var(--ink); letter-spacing: -.3px; white-space: nowrap; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.fact {
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}
.fact--due .fact__k { color: var(--ink-soft); }
.fact__k { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .2px; }
.fact--warn .fact__k { color: #a9791b; }
.fact__v { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.fact--warn { background: var(--yellow-soft); border-color: #f0d68a; }
.fact--warn .fact__v { color: #9a6a12; }

.notice__note { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; line-height: 1.55; }
.countdown { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.countdown b { color: var(--ink-soft); }

/* ===== Selos de garantia ===== */
.guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.guarantee__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}
.guarantee__item svg { color: var(--blue-dark); }

/* ===== FAQ ===== */
.faq { padding: 2px 2px; }
.faq__title { font-size: 15px; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--blue-dark);
  transition: transform .2s;
  flex: none;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== Sticky CTA (card flutuante moderno) ===== */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  padding: 0 12px calc(12px + var(--safe-bottom));
  transform: translateX(-50%) translateY(160%);
  opacity: 0;
  z-index: 90;
  transition: transform .38s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
  will-change: transform;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 8px 8px 14px;
  box-shadow: 0 16px 38px rgba(20,30,50,.16), 0 2px 8px rgba(20,30,50,.08);
}
.sticky-cta__icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.sticky-cta__info { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.sticky-cta__k { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .2px; }
.sticky-cta__v { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; white-space: nowrap; }
.sticky-cta__v em { font-style: normal; font-weight: 600; font-size: 11px; color: var(--muted); margin-left: 2px; }
.sticky-cta__btn {
  flex: none;
  width: auto;
  margin: 0;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 13px;
  font-size: 14.5px;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(233,101,95,.4);
}
.sticky-cta__btn:hover { background: var(--pink-dark); }
.sticky-cta__btn svg { transition: transform .2s ease; }
.sticky-cta__btn:hover svg { transform: translateX(3px); }

/* ===== Footer completo ===== */
.site-footer {
  background: var(--ink);
  color: #aeb6c6;
  padding: 28px 18px calc(20px + var(--safe-bottom));
  margin-top: 8px;
}
.site-footer__brand-row { margin-bottom: 22px; }
.site-footer__logo { display: inline-flex; margin-bottom: 10px; }
.site-footer__logo svg { height: 30px; }
.site-footer__desc { font-size: 12.5px; color: #8b93a6; margin: 0; max-width: 34ch; line-height: 1.5; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  margin: 0 0 12px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: #aeb6c6;
  padding: 5px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--blue); }
.site-footer__bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #7d8698;
}
.site-footer__legal a { color: #9aa3b5; }
.site-footer__legal a:hover { color: var(--blue); }
.app.has-cta .site-footer { padding-bottom: calc(90px + var(--safe-bottom)); }

/* ===== Cabeçalho de subpágina ===== */
.topbar--sub .back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
}
.topbar--sub .back:hover { color: var(--blue); }

/* ===== Voltar à consulta (CNPJ salvo) ===== */
body.has-consult-return .app {
  padding-bottom: calc(76px + var(--safe-bottom));
}

.consult-return--fixed {
  position: fixed;
  bottom: calc(14px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  width: calc(100% - 28px);
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(20, 30, 50, .18);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.consult-return--fixed:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 16px 40px rgba(20, 30, 50, .22);
}
.consult-return--fixed .consult-return__txt b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.consult-return--fixed .consult-return__txt small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.consult-return--strip {
  padding: 0 18px 14px;
}
.consult-return__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: var(--blue-soft);
  border: 1px solid #cfeeee;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.consult-return__btn:hover { background: #dff5f5; }
.consult-return__ic {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
}
.consult-return__txt { flex: 1; min-width: 0; }
.consult-return__txt b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.consult-return__txt small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}
.consult-return__arrow { flex: none; color: var(--blue-dark); }

/* ===== Página interna / conteúdo ===== */
.page-head { margin-bottom: 6px; }
.page-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.page-title2 {
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--ink);
}
.page-updated { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; }

.prose { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.prose h2 { font-size: 17px; color: var(--ink); margin: 22px 0 8px; font-weight: 800; letter-spacing: -.2px; }
.prose h3 { font-size: 15px; color: var(--ink); margin: 16px 0 6px; font-weight: 700; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 15.5px; color: var(--ink); margin-bottom: 16px; }

/* ===== Serviços ===== */
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px;
  transition: transform .12s ease, box-shadow .15s;
}
a.svc:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,30,50,.09); }
.svc__ic {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.svc__ic--amber { background: var(--amber-soft); color: var(--amber); }
.svc__ic--pink { background: var(--pink-soft); color: var(--pink-dark); }
.svc__tt { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.svc__tx { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.svc__go { margin-left: auto; align-self: center; color: var(--muted); flex: none; }

/* ===== Blog ===== */
.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .12s ease, box-shadow .15s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,30,50,.10); }
.post-card__cover {
  height: 120px;
  display: grid; place-items: center;
  color: #fff;
}
.post-card__cover svg { opacity: .95; }
.cover--blue { background: linear-gradient(135deg, #58C5C6, #3aa9aa); }
.cover--amber { background: linear-gradient(135deg, #FEC654, #e9a92f); }
.cover--pink { background: linear-gradient(135deg, #E9655F, #d94a44); }
.post-card__body { padding: 15px 16px 17px; }
.post-card__tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--blue-dark); }
.post-card__tt { font-size: 16px; font-weight: 800; color: var(--ink); margin: 6px 0 6px; line-height: 1.25; letter-spacing: -.2px; }
.post-card__ex { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.post-card__meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.post-card__more { color: var(--blue-dark); font-weight: 700; font-size: 13px; }

.post-hero {
  height: 150px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 16px;
}

/* ===== Banner de cookies ===== */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  transform: translateX(-50%);
  z-index: 95;
  padding: 0 12px calc(12px + var(--safe-bottom));
}
.cookie[hidden] { display: none; }
.cookie__box {
  background: #171f30;
  color: #d7dbe4;
  border-radius: 16px;
  padding: 15px 16px;
  box-shadow: 0 18px 40px rgba(10,16,30,.34);
}
.cookie__box p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.5; }
.cookie__box a { color: var(--blue); font-weight: 600; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { padding: 10px 16px; font-size: 13.5px; }
.cookie__reject { background: rgba(255,255,255,.1); color: #fff; }
.cookie__reject:hover { background: rgba(255,255,255,.16); }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; padding: 0; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,20,32,.5); backdrop-filter: blur(2px); }
.modal__box {
  position: relative;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 26px 22px calc(26px + var(--safe-bottom));
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: var(--shadow-pop);
  animation: slideUp .3s ease both;
}
@media (min-width: 480px) {
  .modal { place-items: center; padding: 20px; }
  .modal__box { border-radius: 24px; max-width: 380px; animation: pop .25s ease both; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 12px; right: 14px;
  background: var(--line-soft); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 20px; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.modal__box h3 { font-size: 19px; }
.modal__sub { margin: 3px 0 4px; color: var(--muted); font-size: 13.5px; }
.modal__amount { font-size: 30px; font-weight: 800; color: var(--pink-dark); margin: 6px 0 18px; }
.qr { display: grid; place-items: center; margin-bottom: 14px; }
.qr__grid {
  width: 172px; height: 172px;
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  grid-template-rows: repeat(21, 1fr);
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.qr__grid i { background: #16202e; border-radius: 1px; }
.qr__img {
  width: 172px;
  height: 172px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  margin: 0 auto 8px;
  display: block;
}
.qr__img[hidden] + .qr__grid { display: grid; }
.qr__img:not([hidden]) + .qr__grid { display: none; }
.co-loading {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 12px 0;
}
.co-loading[hidden] { display: none; }
.modal__hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.pix-copy { display: flex; gap: 8px; margin-bottom: 14px; }
.pix-copy input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12px;
  color: var(--ink-soft);
  background: #fbfcfe;
}
.modal__disclaimer { font-size: 11.5px; color: var(--muted); margin: 0; }

/* Modal gov.br */
.gov-check {
  width: 58px; height: 58px;
  margin: 4px auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e7f7ee;
  color: #1f9d57;
}
.gov-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gov-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink);
}
.gov-list svg { color: #1f9d57; flex: none; }
.gov-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* gov.br — verificação de dispositivo */
.gov-brand { font-size: 24px; margin-bottom: 16px; }
.gov-spinner {
  width: 46px; height: 46px;
  margin: 6px auto 14px;
  border: 4px solid var(--line);
  border-top-color: var(--govbr-blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.gov-steps {
  list-style: none;
  margin: 16px 0 4px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.gov-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s;
}
.gov-steps__ic {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  position: relative;
  transition: background .2s, border-color .2s;
}
.gov-steps li.is-done { color: var(--ink); font-weight: 600; }
.gov-steps li.is-done .gov-steps__ic { background: #1f9d57; border-color: #1f9d57; }
.gov-steps li.is-done .gov-steps__ic::after {
  content: "";
  position: absolute;
  left: 6px; top: 2.5px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.gov-steps li.is-active { color: var(--govbr-blue); font-weight: 600; }
.gov-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #1f9d57;
  background: #e7f7ee;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ===== Checkout ===== */
.modal__box--checkout {
  text-align: left;
  max-width: 440px;
  max-height: min(94dvh, 780px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(18px + var(--safe-bottom));
}
@media (min-width: 480px) {
  .modal__box--checkout { max-width: 420px; max-height: min(90vh, 760px); }
}
.co-head { text-align: center; margin-bottom: 14px; flex: none; }
.co-head h3 { font-size: 19px; }
.co-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-soft);
  border: 1px solid #d5eeee;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
  flex: none;
}
.co-summary__ic {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
}
.co-summary__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.co-summary__name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.co-summary__desc { font-size: 11.5px; color: var(--muted); }
.co-block__title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  margin-bottom: 8px;
}
.co-data {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.co-data div + div { border-top: 1px solid var(--line-soft); }
.co-data span { color: var(--muted); flex: none; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--blue);
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.pay-method__ic {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
}
.pay-method__txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pay-method__txt b { font-size: 14px; color: var(--ink); }
.pay-method__txt small { font-size: 11.5px; color: var(--muted); }
.pay-method__radio {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  position: relative;
}
.pay-method.is-selected .pay-method__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--blue);
}
.co-summary__price { font-size: clamp(15px, 4.5vw, 17px); font-weight: 800; color: var(--ink); white-space: nowrap; }
.co-block { margin-bottom: 12px; flex: none; }
.co-data b { color: var(--ink); font-weight: 700; text-align: right; word-break: break-word; max-width: 62%; }
.co-data--contact { display: none; }
.co-data div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 13px;
  font-size: 13px;
}
@media (max-width: 360px) {
  .co-data div { flex-direction: column; gap: 3px; }
  .co-data b { text-align: left; max-width: 100%; }
  .co-summary { flex-wrap: wrap; }
  .co-summary__price { margin-left: auto; }
}
.pay-method { margin-bottom: 0; }
.co-pix { margin-top: 12px; }
.co-summary__ic--flag {
  width: 46px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.co-summary__flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.co-summary__flag[hidden] + .co-summary__flag-fallback { display: block; }
.co-summary__flag:not([hidden]) + .co-summary__flag-fallback { display: none; }
.co-summary__flag-fallback { display: block; }
.co-pix-error {
  text-align: center;
  font-size: 12.5px;
  color: var(--pink-dark);
  margin: 0 0 10px;
}
.co-pix-error[hidden] { display: none; }
.qr__img {
  width: 184px;
  height: 184px;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  display: block;
  margin: 0 auto 8px;
}
.qr__img[hidden] { display: none; }
.qr__canvas {
  width: 184px;
  height: 184px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  display: block;
  margin: 0 auto 8px;
}
.qr__canvas[hidden] { display: none; }
.pix-copy {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: stretch;
}
@media (max-width: 400px) {
  .pix-copy { flex-direction: column; }
  .pix-copy .btn { width: 100%; justify-content: center; }
}
.pix-copy input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 11px;
  color: var(--ink-soft);
  background: #fbfcfe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.pix-copied {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #1f9d57;
  margin: 0 0 8px;
}
.pix-copied[hidden] { display: none; }
.co-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px 8px;
  border-top: 1px dashed var(--line);
  margin-bottom: 0;
  flex: none;
}
.co-total span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.co-total b { font-size: clamp(18px, 5vw, 20px); font-weight: 800; color: var(--ink); }
.co-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #fff 78%, rgba(255,255,255,.92));
  padding-top: 10px;
  margin-top: auto;
  flex: none;
  z-index: 2;
}
.co-confirm {
  width: 100%;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(233,101,95,.32);
  margin-bottom: 10px;
  min-height: 48px;
}
.co-confirm:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}
.co-confirm--waiting:disabled {
  opacity: .72;
  background: #d8dde5;
  color: #6b7688;
}
.co-confirm:hover:not(:disabled) { background: var(--pink-dark); }
.co-confirm.is-loading .btn__label { opacity: .85; }
.co-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f0fafb 0%, #fff8e8 100%);
  border: 1px solid #dceef0;
  border-radius: 12px;
  margin: 0;
}
.co-notice__ic {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
}
.co-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.co-notice b { color: var(--ink); }

/* ===== Sucesso ===== */
.modal__box--success { text-align: center; }
.success-check {
  width: 72px; height: 72px;
  margin: 4px auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e7f7ee;
  color: #1f9d57;
  animation: pop .3s ease both;
}
.success-text { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 12px 0 10px; }
.success-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin: 0 0 16px; }
.success-receipt {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
}
.success-receipt div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  font-size: 13px;
}
.success-receipt div + div { border-top: 1px solid var(--line-soft); }
.success-receipt span { color: var(--muted); }
.success-receipt b { color: var(--ink); font-weight: 700; text-align: right; }
.success-receipt b.ok { color: #1f9d57; }

/* Aviso de consequências no modal de checkout */
.co-consequences {
  margin: 16px 0 4px;
  padding: 14px 16px;
  background: #fff5f5;
  border: 1.5px solid #feb2b2;
  border-radius: 10px;
}
.co-consequences__title {
  font-size: .78rem;
  font-weight: 700;
  color: #c53030;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 8px;
}
.co-consequences__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.co-consequences__list li {
  font-size: .84rem;
  font-weight: 600;
  color: #742a2a;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}
.co-consequences__ic { flex-shrink: 0; font-size: .75rem; }
/* ===== Acesso exclusivo pelo celular ===== */
.mobile-only { display: none; }

html.mobile-only-blocked,
html.mobile-only-blocked body {
  min-height: 100%;
  overflow: hidden;
}

html.mobile-only-blocked body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(88, 197, 198, .22), transparent 34%),
    radial-gradient(circle at 85% 85%, rgba(254, 198, 84, .22), transparent 32%),
    #f5f8fb;
}

html.mobile-only-blocked body > :not(.mobile-only) { display: none !important; }
html.mobile-only-blocked .mobile-only {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px;
  display: grid;
  place-items: center;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  box-sizing: border-box;
}

.mobile-only__card {
  width: min(100%, 480px);
  padding: 42px 48px 38px;
  text-align: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(216, 225, 235, .9);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, .14);
  box-sizing: border-box;
}

.mobile-only__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #148c8e;
  background: #e4f7f7;
  border-radius: 18px;
}
.mobile-only__icon svg { width: 34px; height: 34px; }
.mobile-only__eyebrow {
  margin: 0 0 9px;
  color: #148c8e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.mobile-only h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.16;
  letter-spacing: -.035em;
}
.mobile-only__text {
  margin: 14px auto 24px;
  max-width: 350px;
  color: #607087;
  font-size: 15px;
  line-height: 1.55;
}
.mobile-only__qr-wrap {
  width: 244px;
  min-height: 244px;
  margin: 0 auto 16px;
  padding: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(23, 32, 51, .08);
  box-sizing: border-box;
}
.mobile-only__qr-wrap img { width: 220px; height: 220px; display: block; }
.mobile-only__fallback { margin: 0; color: #607087; font-size: 14px; line-height: 1.5; }
.mobile-only__label {
  margin: 0;
  color: #344157;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

@media (min-width: 1024px) and (hover: hover) {
  html:not(.mobile-only-blocked) .mobile-only { display: grid; }
  html:not(.mobile-only-blocked) .app { display: none; }
}

/* ===== Verificação antes do acesso mobile ===== */
.human-check { display: none; }

html.human-check-pending,
html.human-check-pending body {
  min-height: 100%;
  overflow: hidden;
}

html.human-check-pending body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(88, 197, 198, .2), transparent 35%),
    radial-gradient(circle at 85% 85%, rgba(254, 198, 84, .2), transparent 34%),
    #f5f8fb;
}

html.human-check-pending .app { display: none !important; }
html.human-check-pending .human-check {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px 18px;
  display: grid;
  place-items: center;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  box-sizing: border-box;
}

.human-check__card {
  width: min(100%, 390px);
  padding: 28px 22px 24px;
  text-align: center;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #dce4ed;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(23, 32, 51, .14);
  box-sizing: border-box;
}
.human-check__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  color: #344157;
  font-size: 15px;
}
.human-check__brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 9px;
  background: linear-gradient(135deg, #58c5c6 0 45%, #fec654 45% 70%, #e9655f 70%);
}
.human-check h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.human-check__intro {
  margin: 10px auto 22px;
  max-width: 300px;
  color: #607087;
  font-size: 14px;
  line-height: 1.5;
}
.human-check__control {
  width: 100%;
  min-height: 84px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  color: #172033;
  background: #f8fafc;
  border: 1.5px solid #cfd9e5;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.human-check__control:hover:not(:disabled) { border-color: #58c5c6; background: #f3fbfb; }
.human-check__control:active:not(:disabled) { transform: scale(.99); }
.human-check__control:focus-visible { outline: 3px solid rgba(88, 197, 198, .28); outline-offset: 3px; }
.human-check__control.is-approved { border-color: #43aa72; background: #f1fbf6; }
.human-check__box {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  background: #fff;
  border: 2px solid #93a3b7;
  border-radius: 5px;
  box-sizing: border-box;
}
.human-check__box svg { width: 22px; height: 22px; opacity: 0; transform: scale(.5); transition: .2s ease; }
.human-check__box.is-checked { border-color: #2fa765; background: #2fa765; }
.human-check__box.is-checked svg { opacity: 1; transform: scale(1); }
.human-check__spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  display: none;
  border: 2px solid #c9eaea;
  border-top-color: #148c8e;
  border-radius: 50%;
  animation: human-check-spin .75s linear infinite;
}
.is-checking .human-check__box { border-color: transparent; }
.is-checking .human-check__spinner { display: block; }
.human-check__copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.human-check__copy strong { font-size: 16px; font-weight: 700; }
.human-check__copy small { color: #718096; font-size: 11.5px; }
.human-check__shield { width: 35px; height: 35px; flex: none; color: #58aeb0; }
.human-check__shield svg { width: 100%; height: 100%; }
.human-check__note { margin: 18px 8px 0; color: #8290a3; font-size: 11px; line-height: 1.45; }

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