:root {
  color-scheme: light;
  --brand-navy: #071d41;
  --brand-action: #1351b4;
  --brand-action-hover: #0c326f;
  --page: #f8f8f8;
  --surface: #fff;
  --surface-subtle: #ededed;
  --text: #333;
  --text-secondary: #555;
  --border: #b8c1cc;
  --info-bg: #e6f0ff;
  --focus: #2670e8;
  --content-width: 1120px;
  --font: Rawline, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 16px; line-height: 1.5; }
a { color: var(--brand-action); text-underline-offset: 3px; }
a:hover { color: var(--brand-action-hover); }
button, input { font: inherit; }
.container { width: min(calc(100% - 48px), var(--content-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 12px 16px; transform: translateY(-150%); background: #fff; color: var(--brand-navy); border: 2px solid var(--focus); }
.skip-link:focus { transform: translateY(0); }

.utility-bar { min-height: 72px; background: var(--info-bg); color: var(--brand-navy); }
.utility-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--brand-navy); font-size: 22px; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.brand:hover { color: var(--brand-action); }
.brand-logo { display: block; width: 188px; height: auto; aspect-ratio: 1000 / 268; object-fit: contain; }
.brand-dot { color: #fff; }
.brand-symbol { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1.5px solid rgb(255 255 255 / 75%); border-radius: 4px; }
.brand-symbol span { width: 3px; border-radius: 2px; background: #fff; }
.brand-symbol span:nth-child(1) { height: 9px; }.brand-symbol span:nth-child(2) { height: 15px; }.brand-symbol span:nth-child(3) { height: 11px; }
.utility-label { color: var(--brand-action-hover); font-size: 14px; }
.navigation-bar { min-height: 52px; background: #fff; border-bottom: 1px solid #d7dce2; box-shadow: 0 1px 2px rgb(7 29 65 / 5%); }
.navigation-inner { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.primary-navigation { display: flex; align-items: stretch; gap: 28px; min-height: 52px; }
.primary-navigation a { display: inline-flex; align-items: center; min-height: 52px; color: #333; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--brand-action); border-color: var(--brand-action); }
.service-category { color: var(--text-secondary); font-size: 14px; }
.menu-toggle { display: none; }

.page-container { padding-bottom: 72px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; padding: 20px 0 4px; color: var(--text-secondary); font-size: 13px; }
.breadcrumb a { font-weight: 600; }
.breadcrumb span[aria-current] { color: var(--text); }
.intro { max-width: 790px; padding: 38px 0 31px; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: var(--brand-action); font-size: 13px; font-weight: 750; letter-spacing: .015em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 780px; margin: 0; color: var(--brand-navy); font-family: Raleway, var(--font); font-size: clamp(32px, 4.3vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1.18; }
.intro-copy { max-width: 760px; margin: 18px 0 0; color: var(--text-secondary); font-size: 18px; line-height: 1.55; }

.lookup-section { max-width: 840px; padding: 28px 32px 24px; background: var(--surface); border: 1px solid #d5d9de; border-top: 4px solid var(--brand-action); border-radius: 4px; box-shadow: 0 2px 6px rgb(7 29 65 / 8%); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; color: var(--brand-navy); font-size: 24px; line-height: 1.25; }
.section-heading .section-kicker { margin-bottom: 3px; }
.heading-rule { width: 112px; height: 3px; margin-bottom: 6px; background: var(--brand-action); }
.lookup-form { display: grid; gap: 18px; }
.field-group label { display: block; margin: 0 0 5px; color: var(--text); font-weight: 700; }
.field-help { margin: 0 0 9px; color: var(--text-secondary); font-size: 14px; }
input { display: block; width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid #717d8a; border-radius: 4px; background: #fff; color: var(--text); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
input::placeholder { color: #68727c; opacity: 1; }
input[aria-invalid="true"] { border: 2px solid #b42318; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.field-message { min-height: 0; margin: 0; color: #9f2118; font-size: 14px; font-weight: 600; }
.field-message:not(:empty) { margin-top: 7px; }
.unavailable-notice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: var(--info-bg); color: var(--brand-navy); border-left: 4px solid var(--brand-action); }
.notice-mark { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-action); color: white; font-size: 14px; font-weight: 800; }
.unavailable-notice p { margin: 0; font-size: 14px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border: 2px solid transparent; border-radius: 4px; font-weight: 700; text-align: left; }
.button-primary { width: 100%; background: #667085; color: #fff; cursor: not-allowed; }
.button-arrow { font-size: 20px; line-height: 1; }
.privacy-note { max-width: 780px; margin: 15px 0 0; color: var(--text-secondary); font-size: 13px; }

.flow-progress { max-width: 840px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.flow-progress li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 12px; color: #555; background: #ededed; border-bottom: 3px solid #b8c1cc; font-size: 13px; font-weight: 650; }
.flow-progress li > span:first-child { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; }
.flow-progress li.is-current, .flow-progress li.is-complete { color: var(--brand-action); background: #e6f0ff; border-color: var(--brand-action); }
.flow-progress li.is-current { color: var(--brand-navy); font-weight: 750; }

.content-section { max-width: 840px; padding: 38px 0 35px; border-bottom: 1px solid #d5d9de; }
.section-heading-compact { align-items: center; margin-bottom: 19px; }
.section-heading-compact h2 { font-size: 22px; }
.section-intro, .sources-section > p { margin: -5px 0 18px; color: var(--text-secondary); }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; align-items: flex-start; gap: 12px; }
.step-number { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--brand-action); border-radius: 50%; color: var(--brand-action); font-weight: 750; }
.steps-list h3 { margin: 2px 0 5px; color: var(--brand-navy); font-size: 16px; line-height: 1.35; }
.steps-list p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.category-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.category-list li { min-height: 84px; display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid #d5d9de; border-radius: 4px; color: var(--text); font-size: 14px; font-weight: 650; }
.category-symbol { flex: 0 0 30px; color: var(--brand-action); font-size: 13px; font-weight: 800; }
.sources-section { border-bottom: 0; }
.sources-section > p { margin: 0; }

.site-footer { padding: 30px 0; background: #e8ebef; border-top: 1px solid #c6ccd3; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.footer-brand .brand { color: var(--brand-navy); font-size: 18px; }
.footer-brand .brand:hover { color: var(--brand-action); }
.footer-brand .brand-logo { width: 160px; }
.footer-brand .brand-dot { color: var(--brand-action); }
.footer-brand p { margin: 5px 0 0; color: var(--text-secondary); font-size: 13px; }
.footer-links { display: flex; gap: 22px; padding-top: 5px; }
.footer-links a { color: var(--brand-action); font-size: 14px; font-weight: 650; }
.footer-notes { grid-column: 1 / -1; padding-top: 13px; border-top: 1px solid #c6ccd3; }
.footer-notes p { margin: 5px 0; color: #4b535a; font-size: 13px; }

@media (max-width: 900px) {
  .steps-list { grid-template-columns: 1fr; gap: 18px; }
  .category-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--content-width)); }
  .utility-bar, .utility-inner { min-height: 64px; }
  .brand { font-size: 20px; }
  .brand-logo { width: min(170px, 44vw); }
  .utility-label { font-size: 12px; }
  .navigation-inner { min-height: 50px; position: relative; }
  .menu-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 6px 0; border: 0; background: transparent; color: var(--brand-action); font-weight: 700; cursor: pointer; }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon i { width: 18px; height: 2px; background: currentColor; }
  .primary-navigation { position: absolute; z-index: 5; top: 50px; left: -16px; right: -16px; display: none; min-height: 0; padding: 8px 16px 14px; background: #fff; border-bottom: 1px solid #d7dce2; box-shadow: 0 5px 8px rgb(7 29 65 / 12%); }
  .primary-navigation.is-open { display: grid; gap: 0; }
  .primary-navigation a { min-height: 48px; border-bottom: 1px solid #e3e6e9; }
  .service-category { font-size: 13px; }
  .breadcrumb { padding-top: 16px; font-size: 12px; }
  .intro { padding: 28px 0 24px; }
  h1 { font-size: 32px; }
  .intro-copy { margin-top: 13px; font-size: 16px; }
  .lookup-section { padding: 22px 18px 19px; }
  .section-heading { margin-bottom: 19px; }
  .section-heading h2 { font-size: 21px; }
  .heading-rule { width: 58px; }
  input { min-height: 52px; font-size: 17px; }
  .content-section { padding: 30px 0; }
  .section-heading-compact h2 { font-size: 20px; }
  .category-list li { min-height: 64px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer-links { flex-wrap: wrap; }
  .footer-notes { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Plate illustration extends the original blue component system. */
.mercosul-plate { width: min(100%, 320px); margin: 0 auto 24px; overflow: hidden; border: 2px solid var(--brand-navy); border-radius: 4px; background: #fff; }
.mercosul-band { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; background: var(--brand-action); color: #fff; font-size: 8px; letter-spacing: .02em; }
.mercosul-band strong { font-size: 13px; letter-spacing: .25em; }
.mercosul-number { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 10px 12px 3px; color: var(--brand-navy); font-family: monospace; font-size: clamp(30px, 6vw, 48px); font-weight: 800; text-align: center; line-height: 1.25; }
.mercosul-number .empty { color: #b8c1cc; }
.mercosul-country { display: block; padding: 0 10px 5px; color: var(--brand-navy); font-size: 9px; font-weight: 700; }
.field-message.is-success { color: var(--brand-action); }
@media (max-width: 680px) { .mercosul-plate { width: min(100%, 280px); margin-bottom: 22px; } .mercosul-number { font-size: 40px; } }

/* Real first-party preview and paid report offer. Hidden fields are never sent here. */
.button-primary { background: var(--brand-action); cursor: pointer; }
.button-primary:hover { background: var(--brand-action-hover); }
.button-primary:disabled { background: #667085; cursor: wait; }
[hidden] { display: none !important; }
.lookup-status { margin: 16px 0 0; color: var(--brand-navy); font-size: 14px; }
.lookup-status:empty { display: none; }
.vehicle-preview.lookup-section { margin-top: 0; padding-top: 28px; border-top: 4px solid var(--brand-action); }
.vehicle-preview h2 { margin: 0 0 12px; color: var(--brand-navy); font-size: 24px; line-height: 1.25; }
.preview-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 0 0 18px; }
.preview-fields div:first-child { grid-column: 1 / -1; }
.preview-fields dt { font-size: 13px; color: var(--text-secondary); }
.preview-fields dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.paid-offer { padding: 18px; background: var(--info-bg); border: 1px solid #b7cdf0; border-top: 4px solid var(--brand-action); border-radius: 4px; }
.paid-offer h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; color: var(--brand-navy); letter-spacing: -.025em; }
.locked-categories { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.locked-categories li { display: flex; gap: 12px; align-items: start; }
.locked-categories li > div { flex: 1; min-width: 0; }
.locked-categories strong { color: var(--brand-navy); font-size: 14px; }
.lock-mark { color: var(--brand-action); font-size: 18px; }
.locked-skeleton { display: block; width: min(80%, 290px); height: 7px; margin-top: 8px; border-radius: 4px; background: #bccce5; filter: blur(3px); }
.offer-coverage { font-size: 12px; color: var(--text-secondary); margin: 18px 0; }
.offer-description { margin: 0 0 9px; font-size: 15px; line-height: 1.4; color: var(--text-secondary); }
.offer-alert { margin: 0 0 10px; padding: 8px 10px; border-left: 3px solid #d7a22a; background: #fff8e8; color: #443718; font-size: 13px; font-weight: 600; line-height: 1.35; }
.offer-purchase { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 11px; border-top: 1px solid #b7cdf0; }
.offer-price { display: block; color: var(--brand-navy); font-size: 38px; line-height: 1.15; }
.offer-price small { font-size: 16px; }
.offer-price-note { font-size: 12px; color: var(--text-secondary); }
.offer-purchase .button-primary { flex: 1; min-width: 0; max-width: 360px; min-height: 50px; background: var(--brand-action); color: #fff; cursor: pointer; white-space: nowrap; }
.offer-purchase .button-primary:hover { background: var(--brand-action-hover); }
.button-secondary { margin-top: 18px; border-color: #8593a3; background: #fff; color: var(--brand-action); cursor: pointer; }
.button-secondary:hover { background: #f2f6fc; }
.payment-description { margin: 0 0 18px; color: var(--text-secondary); }
.offer-next-step { margin: 12px 0 0; color: var(--text-secondary); font-size: 12px; }
.is-consultation-flow .navigation-bar, .is-consultation-flow .breadcrumb, .is-consultation-flow .content-section { display: none; }
.is-consultation-flow .page-container { padding-top: 20px; }
.payment-step h2 { margin: 0 0 16px; color: var(--brand-navy); font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: -.025em; }
.payment-step .preview-plate-context { margin: 0 0 12px; }
.payment-step .payment-description { max-width: 620px; margin-bottom: 12px; font-size: 14px; }
.payment-instruction { margin: 0 0 8px; color: var(--text-secondary); font-size: 14px; }
.payment-summary { margin: 18px 0; padding: 18px; background: #f1f4f8; border: 1px solid #c6ccd3; }
.payment-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--brand-navy); font-weight: 700; }
.payment-summary strong { font-size: 24px; white-space: nowrap; }
.payment-summary p { margin: 4px 0 0; color: var(--text-secondary); font-size: 13px; }
.payment-pending { max-width: 220px; font-size: 13px; color: var(--text-secondary); margin: 0; }
.pix-instructions { margin-top: 20px; padding: 18px; border: 1px solid var(--border); background: #fff; }
.pix-instructions h3 { margin-top: 0; color: var(--brand-navy); }
.pix-instructions img { display: block; width: min(100%, 280px); height: auto; margin: 16px auto; image-rendering: pixelated; }
.pix-instructions label { display: block; margin: 18px 0 6px; font-weight: 700; }
.pix-instructions textarea { display: block; width: 100%; min-height: 100px; padding: 12px; border: 1px solid #717d8a; border-radius: 4px; font: 14px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.pix-instructions [role="status"] { min-height: 1.5em; }
.pix-instructions button { min-height: 48px; }
.payment-step .payment-summary { margin: 12px 0; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid #d5d9de; }
.payment-step .payment-summary > div { font-size: 14px; }
.payment-step .payment-summary strong { font-size: 26px; }
.payment-step .pix-instructions { padding: 0; border: 0; margin-top: 14px; }
.payment-step .pix-instructions h3 { margin: 0 0 8px; font-size: 16px; }
.payment-step .pix-instructions img { width: min(100%, 208px); margin: 12px auto; }
.payment-step .pix-instructions [role="status"] { font-size: 13px; }
.payment-step .pix-instructions label { margin-top: 12px; font-size: 13px; }
.payment-step .pix-instructions textarea { min-height: 58px; height: 58px; font-size: 12px; padding: 8px; resize: none; }
#pix-copy-button { justify-content: center; margin-top: 10px; }
#pix-copy-feedback { margin: 8px 0; }
#pix-copy-feedback:empty { display: none; }
.payment-pending:not(:empty) { max-width: none; margin: 12px 0; }
#report-delivery { margin-top: 24px; }
#report-delivery-title { color: var(--brand-navy); }
#report-delivery-fields > div { display: grid; grid-template-columns: minmax(130px, 1fr) 2fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
#report-delivery-fields dt { font-weight: 700; }
#report-delivery-fields dd { margin: 0; overflow-wrap: anywhere; }
#report-next-steps { margin-top: 24px; padding: 18px; border-left: 4px solid var(--brand-action); background: var(--info-bg); }
#report-next-steps h4 { margin-top: 0; color: var(--brand-navy); }
#report-visit-checklist { padding-left: 0; list-style: none; }
#report-visit-checklist li { margin: 12px 0; }
#report-visit-checklist label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
#report-visit-checklist input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-action); }
.report-brand { color: var(--brand-action); font-size: 13px; font-weight: 750; }
.report-completion-status { display: inline-block; margin: 0 0 12px; padding: 4px 9px; border: 1px solid #9bb8e8; border-radius: 3px; color: var(--brand-navy); background: var(--info-bg); font-size: 12px; font-weight: 700; }
.report-official-links { display: grid; gap: 8px; margin: 18px 0; }
.report-official-links a { color: var(--brand-action); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 480px) { #report-delivery-fields > div { grid-template-columns: 1fr; gap: 4px; } #report-next-steps { padding: 16px 12px; } }
@media (max-width: 680px) { .vehicle-preview h2 { font-size: 22px; } .paid-offer { padding: 20px 16px; } .paid-offer h3 { font-size: 21px; } }
@media (max-width: 680px) { .vehicle-preview.lookup-section { padding-top: 22px; } }
@media (max-width: 420px) {
  .flow-progress { gap: 5px; }
  .flow-progress li { min-height: 42px; justify-content: center; gap: 5px; padding: 7px 3px; font-size: 12px; line-height: 1.15; text-align: center; }
  .flow-progress li > span:first-child { flex-basis: 22px; width: 22px; height: 22px; }
}

.payment-action { flex: 1; max-width: 380px; }
.button-payment { display: block; width: 100%; background: #667085; color: #fff; cursor: not-allowed; font-size: 14px; text-align: center; }
.payment-action .payment-pending { max-width: none; margin: 9px 0 0; font-size: 12px; }
@media (max-width: 680px) { .payment-action { width: 100%; max-width: none; } }

.vehicle-preview { scroll-margin-top: 24px; }
.preview-plate-context { margin: -8px 0 20px; font-size: 14px; font-weight: 650; color: var(--brand-action); }
.vehicle-preview .preview-plate-context { margin: 0 0 14px; }
@media (max-width: 420px) {
  .preview-fields dt { font-size: 12px; }
  .preview-fields > div:not(:first-child) dt { min-height: 36px; }
  .preview-fields dd { font-size: 16px; }
}
#preview-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

/* Keep the plate action and the payment controls within reach on short mobile screens. */
@media (max-width: 680px) {
  .navigation-bar,
  .breadcrumb { display: none; }

  .intro { padding: 20px 0 16px; }
  h1 { font-size: 30px; line-height: 1.15; }
  .intro-copy { margin-top: 9px; font-size: 15px; line-height: 1.4; }

  .flow-progress { margin-bottom: 10px; }
  .lookup-section { padding: 17px 15px 15px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h2 { font-size: 20px; }
  .mercosul-plate { width: min(100%, 260px); margin-bottom: 13px; }
  .mercosul-number { font-size: 37px; }
  .lookup-form { gap: 12px; }
  .field-help { margin-bottom: 6px; }
  input { min-height: 48px; }
  .privacy-note { margin-top: 9px; }

  .vehicle-preview.lookup-section { padding-top: 18px; }
  .vehicle-preview h2 { margin-bottom: 9px; }
  .preview-fields { gap: 8px 12px; margin-bottom: 12px; }
  .paid-offer { padding: 14px 12px; }
  .paid-offer h3 { margin-bottom: 7px; font-size: 19px; line-height: 1.2; }
  .offer-description { margin: 0 0 7px; font-size: 14px; line-height: 1.35; }
  .offer-alert { margin-bottom: 8px; padding: 7px 8px; font-size: 13px; line-height: 1.35; }
  .locked-categories { gap: 7px; }
  .locked-categories strong { font-size: 13px; line-height: 1.25; }
  .offer-purchase { flex-direction: row; align-items: center; gap: 8px; padding-top: 9px; }
  .offer-price { font-size: 31px; white-space: nowrap; }
  .offer-price-note { font-size: 11px; }
  .offer-purchase .button-primary { width: auto; max-width: none; flex: 1 1 auto; min-height: 50px; padding: 9px 10px; font-size: 13px; line-height: 1.15; white-space: nowrap; }

  .payment-step h2 { margin-bottom: 11px; }
  .payment-step .payment-description { margin-bottom: 8px; }
  .payment-step .payment-summary { margin: 8px 0; padding: 8px 0; }
}

@media (max-width: 380px) {
  .intro { padding-top: 16px; }
  h1 { font-size: 28px; }
  .lookup-section { padding-inline: 13px; }
  .mercosul-plate { width: min(100%, 248px); }
  .mercosul-number { font-size: 35px; }
  .offer-purchase { flex-wrap: wrap; align-items: stretch; }
  .offer-purchase > div { width: 100%; display: flex; align-items: baseline; gap: 8px; }
  .offer-purchase .button-primary { width: 100%; flex-basis: 100%; }
}

/* ===== Preload overlay — "validador" estilo checklist, sincronizado com o fluxo real (aditivo) ===== */
.preload-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(7,29,65,.97);color:#fff;opacity:1;transition:opacity .42s ease;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.preload-overlay[hidden]{display:none}
.preload-overlay.is-closing{opacity:0}
.preload-card{width:100%;max-width:400px;text-align:center}
.preload-logo{display:block;width:150px;height:auto;margin:0 auto 16px;background:#fff;padding:9px 16px;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.28)}
.preload-plate{font-weight:800;font-size:2rem;letter-spacing:.14em;margin:0 0 4px;min-height:1.1em;font-variant-numeric:tabular-nums}
.preload-head{font-weight:600;font-size:1.14rem;margin:0 0 20px;min-height:1.4em;color:#fff}
.preload-checks{list-style:none;padding:0;margin:0 auto 20px;max-width:340px;text-align:left;display:flex;flex-direction:column;gap:10px}
.preload-check{display:flex;align-items:center;gap:12px;font-size:1.02rem;line-height:1.25;opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .4s ease}
.preload-check .ic{flex:0 0 22px;width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.35);position:relative;box-sizing:border-box;transition:background .25s ease,border-color .25s ease}
.preload-check.is-active{opacity:1;transform:none}
.preload-check.is-active .ic{border-color:#8ab4ff;border-top-color:transparent;animation:preload-spin .8s linear infinite}
.preload-check.is-done{opacity:.95;transform:none}
.preload-check.is-done .ic{border-color:#8ab4ff;background:#8ab4ff;animation:none}
.preload-check.is-done .ic::after{content:"";position:absolute;left:7px;top:3px;width:4px;height:9px;border:solid #071d41;border-width:0 2px 2px 0;transform:rotate(45deg)}
.preload-pain{font-size:.98rem;font-weight:600;color:#ffd27a;margin:0 0 20px;line-height:1.3}
.preload-steps{list-style:none;display:flex;gap:14px;justify-content:center;padding:0;margin:0 0 14px;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}
.preload-steps li{opacity:.4;position:relative;padding-left:15px}
.preload-steps li::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.7}
.preload-steps li.is-current{opacity:1;color:#8ab4ff}
.preload-steps li.is-complete{opacity:.85;color:#fff}
.preload-sign{margin:0;font-size:.8rem;opacity:.55}
@keyframes preload-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.preload-check{transition:none;opacity:1;transform:none}.preload-check.is-active .ic{animation:none}.preload-overlay{transition:none}}

/* ===== Espera do Pix — card vivo, branded (aditivo) ===== */
.pix-wait{margin-top:16px;padding:14px 16px;border:1px solid #d4def0;border-radius:12px;background:#f3f8ff}
.pix-wait-live{display:flex;align-items:center;gap:9px;font-weight:700;color:#0b2e6b;font-size:.98rem}
.pix-wait-dot{flex:0 0 auto;width:10px;height:10px;border-radius:50%;background:#1351b4}
.pix-wait-note{margin:0 0 12px;font-size:.88rem;color:#5a6b85;line-height:1.4}
.pix-wait-check{display:inline-block;border:1px solid #1351b4;background:#fff;color:#1351b4;font-weight:700;padding:9px 16px;border-radius:9px;cursor:pointer;font-size:.92rem}
.pix-wait-check:disabled{opacity:.55;cursor:default}

/* ===== Ações do relatório (baixar / nova consulta) ===== */
.report-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 6px}
.report-actions .button{flex:1 1 auto;min-width:160px}

/* ===== Menu "Minhas consultas" (só após 1ª consulta paga) ===== */
.consultas-menu{position:relative;margin-left:auto}
.consultas-menu[hidden]{display:none}
.consultas-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid #cdd8ea;background:#fff;color:#0b2e6b;font-weight:700;font-size:.82rem;padding:8px 12px;border-radius:9px;cursor:pointer;white-space:nowrap;line-height:1}
.consultas-ic{display:inline-flex;flex-direction:column;gap:2px}
.consultas-ic i{display:block;width:15px;height:2px;border-radius:2px;background:#1351b4}
.consultas-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(320px,92vw);background:#fff;border:1px solid #d4def0;border-radius:12px;box-shadow:0 12px 34px rgba(7,29,65,.2);padding:14px 16px;z-index:1200}
.consultas-panel[hidden]{display:none}
.consultas-title{margin:0 0 10px;font-weight:800;color:#071d41;font-size:.98rem}
.consultas-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-height:50vh;overflow:auto}
.consultas-list li{display:grid;grid-template-columns:1fr auto;column-gap:10px;row-gap:9px;padding:11px 0;border-bottom:1px solid #eef2f8}
.consultas-list li:last-child{border-bottom:0}
.consultas-plate{font-weight:800;color:#0b2e6b;letter-spacing:.06em;font-variant-numeric:tabular-nums;align-self:center}
.consultas-date{color:#7587a3;font-size:.82rem;justify-self:end;align-self:center}
.consultas-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.consultas-view{flex:1 1 120px;border:1px solid #1351b4;background:#1351b4;color:#fff;font-weight:700;font-size:.84rem;padding:9px;border-radius:8px;cursor:pointer}
.consultas-view:hover{background:#0e3f91}
.consultas-again{flex:1 1 120px;border:1px solid #1351b4;background:#f3f8ff;color:#1351b4;font-weight:700;font-size:.84rem;padding:9px;border-radius:8px;cursor:pointer}
.consultas-again:hover{background:#e7f0ff}
.consultas-note{margin:12px 0 0;font-size:.76rem;color:#8795ad}
.consultas-backdrop{display:none;position:fixed;inset:0;background:rgba(7,29,65,.5);z-index:1150}
.hp-field{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
@media (max-width:600px){.utility-label{display:none}}
@media (max-width:440px){.consultas-label{display:none}.consultas-toggle{padding:9px 11px}}
@media (max-width:480px){.consultas-panel{position:fixed;left:12px;right:12px;top:14px;width:auto;max-height:84vh;overflow:auto}.consultas-backdrop:not([hidden]){display:block}body.consultas-open{overflow:hidden}}

/* ===== Turnstile (anti-robô invisível) ===== */
.turnstile-box{margin:0 0 6px}
.turnstile-box:empty{margin:0}

/* ===== Páginas de documentação (políticas de produção) ===== */
.document-page{max-width:820px;margin:0 auto;padding:28px 24px 64px}
.document-page .eyebrow{margin:8px 0}
.document-page h1{font-size:clamp(28px,4vw,36px);margin:0 0 6px}
.document-page h2{color:var(--brand-navy);font-size:20px;margin:28px 0 8px}
.document-page p,.document-page li{color:var(--text-secondary);line-height:1.6}
.document-page p{margin:0 0 14px}
.document-page ul{margin:0 0 14px;padding-left:20px}
.document-page a{color:var(--brand-action);font-weight:600}
.doc-updated{color:var(--text-secondary);font-size:13px;margin:0 0 20px}
.doc-pending{background:var(--info-bg);border-left:4px solid var(--brand-action);border-radius:4px;padding:14px 16px;margin:0 0 24px;color:var(--brand-navy);font-size:14px}
.back-link{display:inline-block;margin-top:26px;font-weight:700;color:var(--brand-action)}

/* ===== Aviso de cookies (Meta Pixel) ===== */
.cookie-notice{position:fixed;left:0;right:0;bottom:0;z-index:1300;display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:center;padding:12px 16px;background:#071d41;color:#fff;box-shadow:0 -2px 12px rgba(7,29,65,.28)}
.cookie-notice[hidden]{display:none}
.cookie-notice p{margin:0;font-size:.88rem;line-height:1.4;max-width:720px}
.cookie-notice a{color:#8ab4ff;font-weight:600}
.cookie-accept{flex:0 0 auto;border:0;background:#1351b4;color:#fff;font-weight:700;padding:9px 18px;border-radius:8px;cursor:pointer;font-size:.88rem}
.cookie-accept:hover{background:#0e3f91}

/* Campo não informado no relatório pago (sentinela/código → orientação, não "bug") */
.report-field-missing{color:#7587a3;font-style:italic}

/* ===== Relatório: selo, valor e accordions ===== */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.report-seal{display:flex;align-items:center;gap:12px;background:#eaf1ff;border:1px solid #cdd8ea;border-radius:10px;padding:12px 14px;margin:0 0 14px}
.report-seal-icon{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#1351b4;color:#fff;font-weight:800}
.report-seal strong{display:block;color:#0b2e6b;font-size:1rem;line-height:1.2}
.report-seal-date{color:#5a6b85;font-size:.84rem}
.report-value-intro{font-weight:700;color:#071d41;font-size:1.06rem;line-height:1.35;margin:0 0 16px}
.report-accordion{border:1px solid #e3e9f2;border-radius:10px;margin:0 0 12px;overflow:hidden}
.report-accordion>summary{cursor:pointer;list-style:none;padding:13px 16px;font-weight:700;color:#0b2e6b;background:#f4f8ff;display:flex;align-items:center;justify-content:space-between}
.report-accordion>summary::-webkit-details-marker{display:none}
.report-accordion>summary::after{content:"▾";color:#1351b4;transition:transform .2s ease}
.report-accordion[open]>summary::after{transform:rotate(180deg)}
.report-accordion>:not(summary){padding-left:16px;padding-right:16px}
.report-accordion #report-delivery-fields{padding-bottom:14px}
