﻿:root {
  --brand-blue: #254e87;
  --brand-blue-dark: #004e87;
  --brand-cyan: #00afec;
  --brand-cyan-dark: #00a2db;
  --bg-soft: #f4f7fb;
  --text-main: #1f1f1f;
  --text-soft: #2b2b2b;
  --border: #d0d5dd;
  --ok: #117447;
  --danger: #b42318;
  --card-radius: 18px;
  --shadow: 0 18px 30px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  font-family: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--brand-blue);
  padding: 18px 20px;
}

.brand {
  width: 140px;
  max-width: 40vw;
}

.brand-link {
  display: inline-block;
  width: clamp(170px, 22vw, 280px);
  max-width: 70vw;
  text-decoration: none;
}

.brand-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-text {
  width: auto;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #214f89 0%, #1a3f6f 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(23, 51, 84, 0.24);
}

.main {
  width: min(1120px, 94vw);
  margin: 32px auto;
  display: grid;
  gap: 24px;
}

.hero {
  background: radial-gradient(circle at top right, #1b6fb1 0%, var(--brand-blue) 44%, var(--brand-blue-dark) 100%);
  color: #fff;
  border-radius: var(--card-radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.1vw, 2.2rem);
  font-family: "fieldwork", "Open Sans", sans-serif;
  font-weight: 500;
}

.hero p {
  margin: 0;
  opacity: 0.94;
}

.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 14px;
}

input,
button,
select {
  font: inherit;
}

input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 80, 143, 0.14);
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-cyan) 0%, #02b0e6 100%);
  color: #fff;
}

.btn-secondary {
  background: #e3effa;
  color: var(--brand-blue-dark);
}

.btn-danger {
  background: #ffe4e8;
  color: var(--danger);
}

.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status {
  margin-top: 14px;
  min-height: 24px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: var(--ok);
}

.kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.kpi {
  background: #f8fafc;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  padding: 14px;
}

.kpi small {
  color: var(--text-soft);
}

.kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
}

.list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.list li {
  margin: 6px 0;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #eaecf0;
  border-radius: 12px;
}

.payment-card {
  margin-top: 18px;
  background: #f8fbff;
  border: 1px solid #d9e9f7;
  box-shadow: none;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

#payment-qr {
  width: min(280px, 100%);
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  background: #fff;
  padding: 8px;
}

#payment-copy {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
  min-height: 140px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eaecf0;
  font-size: 0.92rem;
}

th {
  background: #f8fafc;
  color: #344054;
}

.footer-note {
  color: var(--text-soft);
  font-size: 0.82rem;
  text-align: center;
  margin: 8px 0 22px;
}

.landing-shell {
  min-height: 100vh;
  background: #fff;
}

.site-legal-footer {
  border-top: 1px solid #e8edf3;
  background: #ffffff;
  margin-top: 16px;
  padding: 18px 14px 24px;
  text-align: center;
}

.site-legal-footer p {
  margin: 4px 0;
  color: #7a8796;
  font-size: 0.78rem;
  line-height: 1.55;
}

.site-legal-footer a {
  color: #2d5b86;
  text-decoration: underline;
}

.site-legal-links {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-nav {
  border-bottom: 1px solid #ecf0f4;
  background: #fff;
}

.landing-nav-inner {
  width: min(1280px, 94vw);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.landing-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.landing-menu a {
  color: #2c3b4c;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.landing-hero {
  background: linear-gradient(145deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  padding: 52px 0;
}

.landing-hero-inner {
  width: min(1280px, 94vw);
  margin: 0 auto;
  min-height: 490px;
  display: grid;
  grid-template-columns: 1fr min(380px, 100%);
  align-items: center;
  gap: 30px;
}

.landing-hero-copy {
  color: #fff;
  max-width: 540px;
}

.landing-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "fieldwork", "Open Sans", sans-serif;
  font-weight: 500;
  line-height: 1.1;
}

.landing-hero-copy p {
  margin: 0;
  font-size: 1.08rem;
  opacity: 0.95;
}

.lookup-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(8, 35, 66, 0.24);
}

.lookup-card h2 {
  margin: 0;
  font-size: 1.62rem;
  font-family: "fieldwork", "Open Sans", sans-serif;
  font-weight: 500;
  line-height: 1.25;
}

.lookup-sub {
  color: #5a6675;
  margin: 8px 0 14px;
  font-size: 0.95rem;
}

.lookup-hint {
  color: #7a8492;
  margin: 10px 0 0;
  font-size: 0.82rem;
}

.landing-submit {
  background: linear-gradient(90deg, #32b0f2 0%, #52d0f8 100%);
  color: #1c2a37;
  width: 100%;
  border-radius: 999px;
}

.landing-showcase {
  width: min(1280px, 94vw);
  margin: 52px auto;
}

.landing-showcase h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 28px;
}

.showcase-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 18px;
}

.showcase-item {
  width: min(560px, 100%);
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  padding: 18px;
  min-height: 280px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(9, 39, 68, 0.08);
}

.showcase-item img {
  max-width: 100%;
  border-radius: 8px;
}

.showcase-placeholder {
  width: min(100%, 460px);
  min-height: 230px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.24), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(0, 198, 255, 0.34), transparent 40%),
    linear-gradient(145deg, #1f4f86 0%, #173d67 55%, #122f4f 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 12px 26px rgba(7, 30, 53, 0.28);
}

.showcase-placeholder strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-family: "fieldwork", "Open Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.showcase-placeholder span {
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.95;
  max-width: 330px;
}

.showcase-logo {
  width: min(92%, 440px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(2, 26, 48, 0.35));
}

.confirm-shell {
  min-height: 100vh;
  background: #fff;
  padding: 24px;
}

.confirm-layout {
  width: min(1280px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
}

.confirm-left {
  padding: 20px 6vw 20px 4vw;
}

.confirm-head {
  text-align: center;
  max-width: 440px;
}

.confirm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4ad2f6;
  color: #0f2f4b;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin: 0 auto 10px;
}

.confirm-head h1 {
  margin: 0;
  font-family: "fieldwork", "Open Sans", sans-serif;
  font-weight: 500;
}

.confirm-head p {
  color: #616d7c;
}

.confirm-fields,
.confirm-actions,
.confirm-code-form {
  width: min(390px, 100%);
}

.confirm-fields {
  margin-top: 18px;
}

.confirm-btn {
  width: 100%;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #32b0f2 0%, #52d0f8 100%);
}

.confirm-code-form {
  margin-top: 14px;
}

.confirm-code-form.is-hidden {
  display: none;
}

.confirm-right {
  display: flex;
  justify-content: center;
}

.confirm-banner {
  width: 100%;
  border-radius: 16px;
  background: linear-gradient(160deg, #f8d300 0%, #f1c700 100%);
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.confirm-banner img {
  width: 100%;
  border-radius: 12px;
}

.confirm-banner-copy {
  color: #202733;
  display: grid;
  gap: 2px;
  font-size: 1.12rem;
}

.result-shell {
  min-height: 100vh;
  background: #fff;
  padding: 24px;
}

.result-layout {
  width: min(1280px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
}

.result-left {
  padding: 10px 4vw 20px 2vw;
}

.result-card {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15, 34, 58, 0.08);
}

.result-sub {
  color: #546276;
  margin: 6px 0 16px;
}

.result-steps {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.result-step {
  border-radius: 12px;
  border: 1px solid #d8e4f2;
  background: #f5f9ff;
  color: #304055;
  padding: 11px 12px;
}

.result-step.done {
  border-color: #80d8fb;
  background: #e8f9ff;
}

.result-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.result-chip {
  background: #f8fafd;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  padding: 12px;
}

.result-chip small {
  color: #64748b;
  display: block;
}

.result-chip strong {
  color: #1f2937;
}

.result-note {
  margin: 14px 0 0;
  color: #4a5768;
}

.result-debts {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #31455b;
}

.result-debts li {
  margin: 6px 0;
}

.result-alert {
  margin-top: 14px;
  border: 1px solid #f4d6a5;
  border-radius: 12px;
  background: #fff8eb;
  color: #8a5b16;
  padding: 12px 14px;
  font-weight: 600;
}

.result-right {
  display: flex;
  justify-content: center;
}

body[data-page="vehicle"] .result-shell {
  background: linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%);
}

body[data-page="vehicle"] .result-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

body[data-page="vehicle"] #vehicle-actions {
  display: none;
}

body[data-page="vehicle"] #vehicle-status {
  margin-top: 10px;
}

.vehicle-web-aside {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d8e2ef;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 12px 24px rgba(7, 26, 46, 0.12);
  padding: 18px;
  color: #1e2c40;
}

.vehicle-web-logo {
  width: 120px;
}

.vehicle-web-aside h3 {
  margin: 14px 0 10px;
}

.vehicle-web-aside ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.vehicle-web-tip {
  margin-top: 14px;
  border-radius: 12px;
  background: #eaf6ff;
  color: #1a4768;
  font-size: 0.92rem;
  padding: 10px 12px;
}

.vehicle-app {
  width: min(520px, 100%);
  margin: 0 auto;
  font-family: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2c3f;
}

.vehicle-back-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid #22334a;
  color: #22334a;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.vehicle-page-title {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.08;
}

.vehicle-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vehicle-brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e9eef5;
  border: 1px solid #d6deea;
  color: #243b57;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.vehicle-id-plate {
  margin: 0;
  font-size: 1rem;
  color: #495b71;
  letter-spacing: 0.04em;
}

.vehicle-id-name {
  margin: 2px 0 0;
  font-size: 1.52rem;
  line-height: 1.2;
  font-weight: 700;
}

.vehicle-coupon-banner {
  margin-top: 14px;
  border: 1px solid #8ce9f5;
  background: #b8f2fa;
  color: #174566;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.vehicle-coupon-banner strong {
  font-size: 1.06rem;
}

.vehicle-inline-alert {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid #f3d8a6;
  background: #fff8e8;
  color: #8a5b16;
  font-weight: 600;
  padding: 10px 12px;
}

.vehicle-inline-note {
  margin: 8px 0 0;
  color: #516174;
  font-size: 0.9rem;
}

.vehicle-section {
  margin-top: 24px;
}

.vehicle-section h2 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  line-height: 1.05;
}

.vehicle-debt-item {
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.vehicle-debt-item-left {
  display: flex;
  gap: 10px;
}

.vehicle-dot-icon,
.vehicle-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #22344f;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  margin-top: 2px;
  flex: 0 0 auto;
}

.vehicle-check-icon {
  background: #2f405b;
}

.vehicle-debt-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.vehicle-debt-sub {
  margin: 3px 0 0;
  color: #5c6d81;
  font-size: 0.92rem;
}

.vehicle-debt-link {
  margin: 7px 0 0;
  color: #263d5a;
  font-size: 0.9rem;
  text-decoration: underline;
  font-weight: 600;
}

.vehicle-debt-item-right {
  text-align: right;
}

.vehicle-debt-item-right strong {
  display: block;
  font-size: 1.15rem;
}

.vehicle-debt-item-right small {
  color: #6d7b8d;
  font-size: 0.86rem;
}

.vehicle-services {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.vehicle-services h2 {
  margin: 0;
  font-size: 2rem;
}

.vehicle-services p {
  margin: 6px 0 0;
  color: #5b6a7c;
}

.vehicle-summary-btn {
  border: none;
  background: none;
  color: #263d5a;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.vehicle-summary-panel {
  margin-top: 10px;
  border-radius: 14px;
  background: #f6f9fd;
  border: 1px solid #d9e3ef;
  padding: 12px;
  display: grid;
  gap: 7px;
}

.vehicle-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: #31465f;
}

.vehicle-summary-row strong {
  text-align: right;
}

.vehicle-pay-btn {
  margin-top: 24px;
  width: 100%;
  border-radius: 999px;
  background: #1d283a;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 16px 18px;
  font-size: 1.28rem;
  font-weight: 700;
  display: block;
}

.vehicle-new-query {
  margin-top: 12px;
  display: block;
  text-align: center;
  color: #2d3e56;
  text-decoration: underline;
  font-weight: 600;
}

.method-shell {
  min-height: 100vh;
  background: #f7f9fc;
  padding: 0;
}

.method-layout {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.method-card {
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 16px 14px 20px;
}

.method-app-card {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  gap: 0;
}

.method-back-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid #324760;
  color: #324760;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.method-app-card h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 2.22rem);
  line-height: 1.1;
  color: #1f2d3f;
}

.method-progress {
  margin-bottom: 14px;
}

.method-progress-line {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #e3ebf5;
  overflow: hidden;
}

.method-progress-line span {
  display: block;
  width: 32%;
  height: 100%;
  background: #1ec6e8;
}

.method-progress-row {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #4e627c;
}

.method-progress-row strong {
  color: #2e435f;
}

.method-coupon-banner {
  margin-top: 8px;
  border: 1px solid #8ce7f4;
  border-radius: 12px;
  background: #bdf5fc;
  color: #18486a;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.method-coupon-banner strong {
  font-size: 1.1rem;
}

.method-section {
  margin-top: 22px;
}

.method-section-title {
  margin: 0 0 10px;
  color: #516580;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.method-row {
  width: 100%;
  border: 1px solid #ccd7e5;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
  padding: 14px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.method-row:hover {
  border-color: #9fb5cf;
  background: #fcfdff;
}

.method-row:focus-visible {
  outline: 3px solid rgba(30, 198, 232, 0.24);
  outline-offset: 1px;
}

.method-row.is-selected {
  border-color: #223c59;
  box-shadow: 0 0 0 2px rgba(34, 60, 89, 0.16);
}

.method-row.is-selected .method-name {
  color: #15283f;
}

.method-row-disabled {
  opacity: 0.76;
  cursor: not-allowed;
}

.method-row-disabled:hover {
  transform: none;
}

.method-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.method-icon {
  width: 28px;
  min-width: 28px;
  height: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.method-icon::before {
  content: "";
  color: #2b3f5c;
  font-weight: 800;
  font-size: 0.95rem;
}

.method-icon-card {
  border: 2px solid #2b3f5c;
  border-radius: 4px;
  width: 24px;
  height: 16px;
}

.method-icon-card::before {
  content: "";
}

.method-icon-nu::before {
  content: "nu";
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.method-name {
  color: #22344b;
  font-size: 1.05rem;
  font-weight: 650;
}

.method-icon-pix::before {
  content: "◈";
  font-size: 1.1rem;
}

.method-icon-boleto::before {
  content: "||||";
  font-family: monospace;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.method-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.method-tag {
  background: #2dc5e8;
  color: #173d5b;
  border-radius: 8px;
  padding: 4px 8px 3px;
  font-size: 0.9rem;
  font-weight: 700;
}

.method-radio {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  border: 2px solid #314862;
  position: relative;
  display: inline-block;
}

.method-row.is-selected .method-radio::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #1d314e;
}

.method-row-disabled .method-radio {
  border-color: #8ca1b8;
}

.method-action-wrap {
  margin-top: auto;
  padding-top: 8px;
}

.method-bottom-row {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.method-bottom-row small {
  color: #5d6d82;
}

.method-bottom-row p {
  margin: 3px 0 0;
  font-size: 2.05rem;
  line-height: 1;
  font-weight: 800;
  color: #1f2f45;
}

.method-summary-toggle {
  border: none;
  background: none;
  color: #2b3d57;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.method-summary-panel {
  margin-top: 10px;
  border: 1px solid #d8e2ed;
  border-radius: 12px;
  background: #f7fafe;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}

.method-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #334963;
}

.method-summary-item strong {
  text-align: right;
}

.method-app-card .status {
  margin-top: 8px;
}

.method-status {
  display: none;
  min-height: 0;
  font-size: 0.92rem;
  margin: 0;
}

.method-status.error {
  display: block;
  margin-top: 8px;
}

.method-continue-btn {
  margin-top: 10px;
  display: block;
  width: 100%;
  border-radius: 999px;
  background: #1e2a3d;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 15px 16px;
}

.method-new-query {
  margin-top: 9px;
  display: block;
  text-align: center;
  color: #2c3f58;
  text-decoration: underline;
  font-weight: 600;
}

.method-side-card,
.method-side-logo {
  display: none;
}

.pay-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #00508f 0%, #00447c 100%);
  padding: 24px;
}

.pay-layout {
  width: min(980px, 95vw);
  margin: 0 auto;
}

.pay-waiting {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

.pay-waiting-inner {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.pay-waiting-logo {
  width: min(210px, 52vw);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.pay-brand-text {
  color: #ffd500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  animation: pay-pulse 1.4s ease-in-out infinite;
}

.pay-waiting h1 {
  margin: 4px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.pay-waiting p {
  margin: 0;
  opacity: 0.92;
  max-width: 560px;
}

.pay-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(255, 255, 255, 0.28);
  border-top-color: #ffd500;
  border-radius: 50%;
  animation: pay-spin 1s linear infinite;
}

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

@keyframes pay-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.pay-ready {
  padding-top: 30px;
}

.pay-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #dce6f2;
  box-shadow: 0 16px 28px rgba(6, 24, 42, 0.2);
  padding: 24px;
}

.pay-card h2 {
  margin: 0 0 6px;
}

.pay-kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 14px 0 16px;
}

.pay-actions {
  justify-content: center;
}

.pay-shell .status {
  color: #dce8f7;
  text-align: center;
}

.pay-shell .status.success {
  color: #ccffe3;
}

.pay-shell .status.error {
  color: #ffd5da;
}

.boleto-screen {
  width: min(520px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #f3f5f9;
  border: 1px solid #d2d9e4;
  box-shadow: 0 20px 36px rgba(5, 22, 41, 0.34);
}

.boleto-header {
  background: linear-gradient(180deg, #0053a2 0%, #005cbd 100%);
  color: #fff;
  padding: 14px 16px 18px;
}

.boleto-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.boleto-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.boleto-back-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.boleto-back-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.boleto-help-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.boleto-header h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.boleto-deadline {
  margin: 10px 0 14px;
  font-size: 1.42rem;
  font-weight: 700;
}

.boleto-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.boleto-stage-chip {
  background: #18d6ee;
  color: #0e2f49;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.92rem;
}

.boleto-order-btn {
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.boleto-content {
  padding: 14px 14px 20px;
  display: grid;
  gap: 14px;
}

.boleto-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dce3ec;
  padding: 16px 16px 14px;
}

.boleto-card-done {
  border-left: 4px solid #2dd4e8;
}

.boleto-card-main {
  border: 1px solid #cfd8e3;
}

.boleto-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.boleto-card-title-row h3 {
  margin: 0;
  color: #202b39;
  font-size: 1.15rem;
  line-height: 1.2;
}

.boleto-icon-check {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #1bd4ec;
  color: #0d334f;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.boleto-icon-barcode {
  font-family: monospace;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #253346;
}

.boleto-card-date {
  margin: 8px 0 0;
  color: #6b7788;
  font-size: 0.96rem;
}

.boleto-card-text {
  margin: 14px 0 12px;
  color: #29374a;
  line-height: 1.35;
}

.boleto-total-row {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e2e7ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #26384f;
}

.boleto-total-row strong {
  font-size: 1.55rem;
}

.boleto-line-label {
  margin: 14px 0 6px;
  color: #6a7789;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.boleto-line-code {
  margin: 0 0 10px;
  background: #f4f7fb;
  border: 1px solid #d9e0ea;
  border-radius: 10px;
  padding: 10px 11px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  color: #1d2e45;
  line-height: 1.4;
  word-break: break-all;
}

.boleto-copy-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  background: #1f2a3d;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
}

.boleto-open-link {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: #1e3552;
  font-weight: 700;
  text-decoration: underline;
}

.boleto-footnote {
  margin: 14px 0 0;
  color: #48586d;
  font-size: 0.95rem;
  line-height: 1.35;
}

.receipt-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
  padding: 24px;
}

.receipt-layout {
  width: min(860px, 95vw);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.receipt-thanks {
  position: relative;
  overflow: hidden;
  background: linear-gradient(138deg, #004a82 0%, #0b639f 55%, #1687c9 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 30px rgba(4, 30, 58, 0.25);
}

.receipt-thanks::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -20%;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.receipt-logo {
  width: clamp(112px, 16vw, 138px);
  max-width: 38%;
  height: auto;
  display: inline-block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.22));
}

.receipt-thanks h1 {
  margin: 4px 0 2px;
  position: relative;
  z-index: 1;
}

.receipt-thanks p {
  margin: 0;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

.receipt-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #dbe5f2;
  box-shadow: 0 12px 22px rgba(8, 33, 59, 0.12);
  padding: 22px;
}

.receipt-card h2 {
  margin: 0 0 6px;
}

.receipt-fields {
  display: grid;
  gap: 8px;
}

.receipt-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed #d6deea;
  padding-bottom: 8px;
}

.receipt-row span {
  color: #5f6d80;
  font-size: 0.95rem;
}

.receipt-row strong {
  color: #1f2a37;
  text-align: right;
  max-width: 62%;
  overflow-wrap: anywhere;
}

.receipt-actions {
  justify-content: center;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .payment-grid {
    grid-template-columns: 280px 1fr;
  }

  .method-shell {
    padding: 24px 18px;
  }

  .method-card {
    border: 1px solid #d9e2ee;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(10, 32, 56, 0.1);
    padding: 18px 16px 22px;
  }

  .method-app-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .card,
  .hero {
    padding: 22px;
  }

  .topbar {
    padding: 14px;
  }

  .brand {
    width: 110px;
  }

  .brand-link {
    width: clamp(150px, 58vw, 220px);
  }

  .pay-shell {
    padding: 8px;
  }

  .pay-actions {
    justify-content: stretch;
  }

  .pay-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .boleto-header h2 {
    font-size: 1.65rem;
  }

  .boleto-deadline {
    font-size: 1.15rem;
  }

  .boleto-total-row strong {
    font-size: 1.35rem;
  }

  .method-shell {
    padding: 8px;
    background: #fff;
  }

  .method-card {
    padding: 10px 10px 14px;
    border-radius: 14px;
    border: none;
    box-shadow: none;
  }

  .method-app-card h1 {
    font-size: 1.86rem;
  }

  .method-bottom-row p {
    font-size: 1.8rem;
  }

  .method-action-wrap {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 10px;
    box-shadow: 0 -10px 20px rgba(9, 30, 51, 0.08);
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
    z-index: 5;
  }
}

@media (max-width: 1080px) {
  .landing-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 8px;
  }

  .showcase-cards {
    grid-template-columns: 1fr;
  }

  .confirm-layout {
    grid-template-columns: 1fr;
  }

  .result-layout {
    grid-template-columns: 1fr;
  }

  .confirm-left {
    padding: 12px;
  }

  .result-left {
    padding: 6px;
  }

  .result-right {
    display: none;
  }

  .method-layout {
    grid-template-columns: 1fr;
  }

  .method-side-card {
    display: none;
  }
}

@media (max-width: 820px) {
  .landing-menu {
    display: none;
  }

  .landing-nav-inner {
    justify-content: space-between;
  }

  .confirm-shell {
    padding: 12px;
  }

  .result-shell {
    padding: 12px;
  }
}

/* Payment Method (mobile-first) */
.pm-page {
  min-height: 100vh;
  background: #f6f8fb;
}

.pm-phone {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  padding: 14px 12px 20px;
  display: flex;
  flex-direction: column;
}

.pm-back {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid #304760;
  color: #304760;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.pm-title {
  margin: 16px 0 14px;
  color: #1e2d41;
  font-size: clamp(1.9rem, 4.1vw, 2.25rem);
  line-height: 1.1;
}

.pm-progress {
  margin-bottom: 12px;
}

.pm-progress-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #e6edf6;
  overflow: hidden;
}

.pm-progress-track span {
  display: block;
  width: 34%;
  height: 100%;
  background: #20c7ea;
}

.pm-progress-row {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #4b5f79;
  font-size: 0.98rem;
}

.pm-progress-row strong {
  color: #253b57;
}

.pm-coupon {
  border: 1px solid #8ee9f5;
  background: #b9f3fb;
  color: #184c70;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.pm-coupon strong {
  font-size: 1.07rem;
}

.pm-group {
  margin-top: 22px;
}

.pm-group-title {
  margin: 0 0 10px;
  color: #4e627c;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.pm-option {
  width: 100%;
  border: 1px solid #cfd9e7;
  border-radius: 12px;
  background: #fff;
  padding: 14px 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pm-option:hover {
  border-color: #9fb5ce;
  background: #fcfdff;
}

.pm-option:focus-visible {
  outline: 3px solid rgba(32, 199, 233, 0.22);
  outline-offset: 1px;
}

.pm-option.is-selected {
  border-color: #223a56;
  box-shadow: 0 0 0 2px rgba(34, 58, 86, 0.16);
}

.pm-option-disabled {
  opacity: 0.74;
  cursor: not-allowed;
}

.pm-option-disabled:hover {
  border-color: #cfd9e7;
  background: #fff;
}

.pm-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-option-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-icon {
  width: 28px;
  min-width: 28px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #293f5a;
  font-weight: 800;
}

.pm-icon-card {
  width: 24px;
  height: 16px;
  border: 2px solid #2d425d;
  border-radius: 4px;
}

.pm-icon-nu {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.pm-icon-pix::before {
  content: "◈";
  font-size: 1.1rem;
}

.pm-icon-boleto {
  letter-spacing: 0.08em;
  font-family: monospace;
}

.pm-icon-boleto::before {
  content: "||||";
}

.pm-name {
  color: #23364d;
  font-size: 1.06rem;
  font-weight: 650;
}

.pm-option.is-selected .pm-name {
  color: #172b43;
}

.pm-tag {
  background: #29c6e8;
  color: #173d5b;
  border-radius: 8px;
  padding: 4px 8px 3px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pm-radio {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  border: 2px solid #314a64;
  position: relative;
  display: inline-block;
}

.pm-option.is-selected .pm-radio::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #1d314e;
}

.pm-option-disabled .pm-radio {
  border-color: #8ea3ba;
}

.pm-actions {
  margin-top: auto;
  padding-top: 8px;
}

.pm-price-row {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.pm-price-row small {
  color: #5c6e84;
}

.pm-price-row p {
  margin: 3px 0 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: #1f2f45;
}

.pm-summary-toggle {
  border: none;
  background: none;
  color: #2a3d57;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.pm-summary {
  margin-top: 10px;
  border: 1px solid #d8e2ed;
  border-radius: 12px;
  background: #f7fafe;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}

.pm-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #334962;
}

.pm-summary-item strong {
  text-align: right;
}

.pm-status {
  display: none;
  margin: 0;
  min-height: 0;
}

.pm-status.error {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
}

.pm-continue {
  margin-top: 10px;
  display: block;
  width: 100%;
  border-radius: 999px;
  background: #1e2a3d;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 15px 16px;
}

.pm-new-query {
  margin-top: 9px;
  display: block;
  text-align: center;
  color: #2c3f58;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 640px) {
  .pm-phone {
    padding: 12px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .pm-title {
    font-size: 1.84rem;
  }

  .pm-price-row p {
    font-size: 1.78rem;
  }

  .pm-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    box-shadow: 0 -10px 20px rgba(10, 31, 54, 0.08);
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
    z-index: 5;
  }
}

@media (min-width: 900px) {
  .pm-page {
    background: linear-gradient(180deg, #f3f7fd 0%, #ffffff 100%);
    padding: 24px 16px;
  }

  .pm-phone {
    border: 1px solid #d9e2ee;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(10, 32, 56, 0.1);
    min-height: auto;
  }
}

