@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

.technical-details { margin: 24px 0; border: 1px solid #ced9de; border-radius: 16px; padding: 18px 22px; background: #fff; }
.technical-details > summary { cursor: pointer; font-size: 18px; font-weight: 700; color: #143b5c; }
.risk-score.unknown { border-color: #a7b9c5; }
.context-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 0 20px; }
.case-assessment { margin: 20px 0; padding: 18px; background: #f7f3e9; border: 1px solid #e3d5b8; border-radius: 12px; line-height: 1.6; }
.case-assessment p { margin: 10px 0; }
#duplicate-warning:not(:empty) { padding: 14px; border-left: 4px solid #cfa642; background: #fff6de; }
:root {
  --navy: #143b5c;
  --navy-dark: #0b2d48;
  --green: #3f7d55;
  --green-soft: #e8f3ec;
  --cream: #f7f5ef;
  --paper: #ffffff;
  --ink: #17212b;
  --muted: #61707d;
  --line: #dbe2e6;
  --warning: #fff5dc;
  --warning-line: #dfb957;
  --danger: #a43d3d;
  --shadow: 0 18px 55px rgba(11, 45, 72, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--navy); }

.site-header {
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 190px; height: auto; max-height: 64px; object-fit: contain; }
.product-name { padding-left: 16px; border-left: 1px solid var(--line); font-weight: 800; color: var(--navy); }
.header-help { font-weight: 700; text-decoration: none; }

main { overflow: hidden; }
.hero, .how-section, .proof-section, .flow-shell, .result-shell, .payment-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}
.hero {
  min-height: 650px;
  padding: 80px 0 64px;
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  align-items: center;
  gap: 80px;
}
.eyebrow { margin: 0 0 14px; color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .13em; }
h1 { margin: 0; max-width: 720px; color: var(--navy-dark); font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; }
h2 { margin: 0; color: var(--navy-dark); font-size: clamp(29px, 4vw, 46px); line-height: 1.08; letter-spacing: -.025em; }
h3 { margin: 0 0 8px; color: var(--navy-dark); font-size: 21px; }
.hero-lead { max-width: 650px; margin: 26px 0; color: #445563; font-size: 20px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.time-note { color: var(--muted); font-size: 14px; }
.button {
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:not(:disabled):hover { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(63,125,85,.35); outline-offset: 3px; }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 26px rgba(63,125,85,.25); }
.button-primary:hover { background: #326b47; }
.button-secondary { color: var(--navy); background: white; border-color: var(--line); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.confidence-list { display: grid; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; color: #3b4b57; }
.confidence-list li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 9px; }
.trust-card { padding: 28px; display: grid; gap: 18px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.avatar-placeholder { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 20px; color: white; background: var(--navy); font-weight: 900; font-size: 22px; }
.trust-label { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.trust-card h2 { font-size: 27px; }
.trust-card p { margin: 8px 0 0; }
.contact-lines { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-lines a { font-weight: 700; }

.proof-section { padding: 64px 0 90px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.case-card { padding: 28px; display: grid; grid-template-columns: 60px 1fr; gap: 20px; background: var(--navy-dark); color: white; border-radius: 22px; }
.case-card h3 { color: white; font-size: 25px; }
.case-card a { color: #a8ddb7; font-weight: 800; }
.case-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; font-weight: 900; }
.case-category { margin: 0 0 8px; color: #a8ddb7; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.flow-shell, .result-shell, .payment-shell { margin-top: 30px; margin-bottom: 90px; padding: clamp(24px, 5vw, 54px); background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.flow-header { margin-bottom: 38px; display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.analysis-scope-intro { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; background: #f3f8f4; color: #465b68; font-size: 13px; line-height: 1.4; }
.analysis-scope-intro p { margin: 0; }
.analysis-scope-intro summary { width: fit-content; margin-top: 5px; color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.analysis-scope-intro summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.analysis-scope-intro details[open] .analysis-scope-grid { margin: 12px 0; }
.analysis-scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.analysis-scope-grid section { padding: 14px 15px; border: 1px solid #d5e1da; border-radius: 12px; background: rgba(255,255,255,.86); }
.analysis-scope-grid strong { color: var(--navy); font-size: 10px; letter-spacing: .08em; }
.analysis-scope-grid ul { margin: 8px 0 0; padding-left: 17px; color: #445966; font-size: 12px; line-height: 1.45; }
.analysis-scope-grid li + li { margin-top: 4px; }
.progress-wrap { min-width: 230px; color: var(--muted); font-size: 13px; }
.progress-track { height: 7px; margin-top: 8px; overflow: hidden; background: #edf0f2; border-radius: 999px; }
#progress-bar { width: 25%; height: 100%; background: var(--green); border-radius: inherit; transition: width .25s ease; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin: 0; color: var(--navy-dark); font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.1; }
.question-help { margin: 12px 0 28px; color: var(--muted); font-size: 17px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { min-height: 74px; padding: 18px; display: flex; align-items: center; border: 2px solid var(--line); border-radius: 15px; color: var(--navy-dark); background: white; font-weight: 700; cursor: pointer; }
.choice input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + span { outline: 3px solid rgba(63,125,85,.3); }
.field-label { margin: 18px 0 7px; display: block; color: var(--navy-dark); font-weight: 800; }
.field-label span { color: var(--muted); font-weight: 500; }
.text-input { width: 100%; min-height: 54px; padding: 13px 15px; border: 2px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }
.consent { margin-top: 22px; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.consent input { width: 20px; height: 20px; accent-color: var(--green); }
.privacy-note { color: var(--muted); font-size: 13px; }
.step { display: none; }
.step.active { display: block; animation: enter .25s ease; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }
.form-actions { margin-top: 32px; display: flex; justify-content: flex-end; gap: 12px; }
.form-error { min-height: 22px; margin-top: 16px; color: var(--danger); font-weight: 700; }
.hidden { display: none !important; }

.result-topline { display: flex; justify-content: space-between; gap: 28px; align-items: start; }
.protocol-box { min-width: 150px; padding: 14px 16px; display: grid; border-radius: 12px; background: var(--cream); }
.protocol-box span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.protocol-box strong { color: var(--navy-dark); }
.result-actions { margin: 24px 0 44px; display: flex; gap: 12px; flex-wrap: wrap; }
.offer-card { padding: 30px 34px; display: grid; grid-template-columns: 1fr; gap: 18px; color: white; background: var(--navy-dark); border-radius: 20px; }
.offer-card > div:first-child { max-width: 790px; }
.offer-card #offer-list, .offer-card .offer-path-note, .offer-card .report-scope, .offer-card .report-demo-link { display: none; }
.offer-card h2 { color: white; }
.offer-card ul { padding-left: 20px; }
.offer-price { min-width: 190px; display: grid; gap: 10px; text-align: center; }
.offer-price > span { color: #b9c9d4; }
.offer-price > strong { font-size: 44px; }
.offer-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 440px); gap: 28px; align-items: center; padding: 22px 24px; border: 1px solid rgba(154,230,178,.24); border-radius: 18px; background: linear-gradient(100deg, rgba(81,181,111,.16), rgba(255,255,255,.07)); }
.offer-cta-copy { display: grid; gap: 6px; }
.offer-cta-copy > span { color: #b9e8c5; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.offer-cta-copy > p { margin: 0; color: #f4fbf6; font-size: 15px; line-height: 1.35; }
.offer-cta-copy small { color: #c2d8cb; font-size: 12px; }
.offer-cta .offer-primary-cta { width: 100%; min-width: 0; min-height: 70px; padding: 14px 16px 14px 24px; border-radius: 16px; font-size: 18px; }
.offer-cta .offer-primary-cta i { width: 36px; height: 36px; border-radius: 10px; font-size: 22px; }

.demo-banner { margin: -20px -20px 28px; padding: 10px 16px; color: #735c20; background: #fff1c9; border-radius: 12px; text-align: center; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.payment-intro { max-width: 700px; color: #495965; font-size: 18px; }
.payment-grid { margin: 28px 0; display: grid; grid-template-columns: 230px 1fr; gap: 30px; }
.qr-placeholder { aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: var(--muted); border: 2px dashed #9ba8b0; border-radius: 14px; background: #f8fafb; }
.qr-placeholder span { font-weight: 900; }
.qr-placeholder small { display: block; }
.payment-details { display: grid; gap: 12px; }
.payment-details > div { padding-bottom: 10px; display: grid; border-bottom: 1px solid var(--line); }
.payment-details span { color: var(--muted); font-size: 12px; }
.paid-message { margin-top: 20px; padding: 20px; border: 1px solid #b9d8c2; border-radius: 16px; background: var(--green-soft); }
.paid-message p { margin: 4px 0 0; }
.payment-reported, .documents-received { display: flex; gap: 14px; align-items: flex-start; }
.payment-reported > span, .documents-received > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-weight: 900; }
.payment-reported strong, .documents-received strong { color: var(--navy-dark); font-size: 18px; }
.document-step { margin-top: 20px; padding: 24px; border: 1px solid #d3e0d7; border-radius: 14px; background: white; }
.document-step h3 { margin-top: 4px; font-size: 25px; }
.document-step > p:not(.eyebrow):not(.deadline-note) { color: var(--muted); }
.post-payment-docs { margin: 16px 0; padding-left: 20px; display: grid; gap: 5px; }
.document-upload { min-height: 116px; padding: 22px; display: grid; place-items: center; gap: 5px; text-align: center; border: 2px dashed #88aa94; border-radius: 13px; background: #f7fbf8; cursor: pointer; }
.document-upload:hover { border-color: var(--green); background: #eef8f1; }
.document-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.document-upload strong { color: var(--navy); font-size: 18px; }
.document-upload span { color: var(--muted); font-size: 13px; }
.document-upload:focus-within { outline: 3px solid rgba(63,125,85,.22); outline-offset: 2px; }
.selected-files { margin: 11px 0 14px; color: var(--muted); font-size: 13px; }
.selected-files.ready { color: #285c3a; font-weight: 700; }
.selected-files.error { color: #9a3e35; font-weight: 700; }
.deadline-note { margin-top: 15px !important; padding: 12px 14px; color: #485b52; background: #eef4f0; border-radius: 9px; font-size: 13px; }
.documents-received { padding: 22px; border-radius: 13px; background: white; }
.documents-received p { color: #475763; }
.documents-received b { color: var(--navy); }

footer { padding: 38px clamp(18px, 4vw, 64px); display: flex; justify-content: space-between; gap: 20px; color: #d4e0e7; background: var(--navy-dark); }
footer p { margin: 3px 0 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: white; }

.territory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.territory-card { min-width: 0; background: #fff; border: 1px solid #d6e2e8; border-radius: 20px; padding: clamp(18px, 2vw, 28px); overflow-wrap: anywhere; }
.territory-card h3 { margin: 16px 0 12px; font-size: 23px; }
.territory-card p { font-size: 16px; line-height: 1.55; margin: 12px 0; }
.territory-status { display: inline-block; border-radius: 7px; padding: 5px 9px; background: #edf1f4; color: #365064; font-size: 13px; font-weight: 700; }
.territory-status.found { background: #e4f2e9; color: #275a3d; }
.territory-status.partial, .territory-status.unavailable { background: #fff1cd; color: #765400; }
.territory-limit { background: #f6f7f5; border-left: 3px solid #d9ab42; padding: 10px 13px; }
.territory-card details { margin-top: 18px; border-top: 1px solid #e2e8ec; padding-top: 12px; }
.territory-card summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: 10px 0; }
.territory-card details a { display: block; padding: 9px 0; font-size: 15px; text-decoration: underline; }
.territory-footnote { grid-column: 1 / -1; font-size: 14px; color: #536875; margin: 0; }
@media (max-width: 720px) { .territory-grid { grid-template-columns: 1fr; } }

@media (max-width: 820px) {
  .site-header { min-height: 64px; }
  .brand img { width: 132px; }
  .product-name { font-size: 14px; }
  .header-help { font-size: 13px; }
  .hero { min-height: auto; padding: 54px 0; grid-template-columns: 1fr; gap: 35px; }
  h1 { font-size: clamp(42px, 14vw, 62px); }
  .proof-section { padding: 30px 0 70px; grid-template-columns: 1fr; gap: 28px; }
  .flow-header, .result-topline { align-items: stretch; flex-direction: column; }
  .progress-wrap { min-width: 0; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice span { min-height: 66px; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-price { min-width: 0; text-align: left; }
  .offer-cta { grid-template-columns: 1fr; max-width: none; padding: 20px; border: 1px solid rgba(154,230,178,.24); }
  .payment-grid { grid-template-columns: 1fr; }
  .qr-placeholder { width: min(230px, 100%); }
  footer { flex-direction: column; }
}

@media print {
  .site-header, .hero, .proof-section, .flow-shell, .result-actions, .offer-card, .payment-shell, footer { display: none !important; }
  body { background: white; }
  .result-shell { display: block !important; margin: 0; width: 100%; box-shadow: none; border: 0; }
}

/* Segunda direção visual: diagnóstico mais forte e resultado orientado por evidências */
.hero {
  min-height: 620px;
  margin-top: 28px;
  margin-bottom: 40px;
  padding: clamp(42px, 6vw, 76px);
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(38px, 6vw, 76px);
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(80, 181, 111, .25), transparent 28%),
    linear-gradient(135deg, #08273f 0%, #143b5c 58%, #0c334f 100%);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(8, 39, 63, .24);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -170px;
  bottom: -190px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018);
}
.hero-copy, .scanner-card { position: relative; z-index: 1; }
.hero h1 { color: white; font-size: clamp(46px, 5.5vw, 72px); }
.hero .eyebrow { color: #8ce0a5; }
.hero-lead { color: #dbe8f0; }
.hero .time-note, .hero .confidence-list { color: #ccdae3; }
.hero .button-primary { background: #4f9d67; box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.responsible-line { margin: 25px 0 0; color: #9fb4c2; font-size: 12px; }
.responsible-line a { color: #cfe5d6; }

.scanner-card {
  padding: 28px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.scanner-card h2 { max-width: 380px; color: white; font-size: clamp(25px, 3vw, 35px); }
.scanner-kicker { margin: 14px 0 8px; color: #8ce0a5; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.scanner-orbit {
  width: 82px;
  height: 82px;
  display: grid;
  place-content: center;
  text-align: center;
  color: white;
  border: 1px solid rgba(140,224,165,.7);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(140,224,165,.07), 0 0 38px rgba(140,224,165,.22);
}
.scanner-orbit span { color: #8ce0a5; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.scanner-orbit strong { font-size: 15px; }
.scan-list { margin-top: 22px; display: grid; gap: 4px; }
.scan-list > div { padding: 10px 0; display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.scan-list p { margin: 0; display: grid; color: white; }
.scan-list small { color: #aebfca; }
.scan-status { width: 9px; height: 9px; border-radius: 50%; }
.scan-status.ready { background: #73d591; box-shadow: 0 0 0 5px rgba(115,213,145,.1); }
.scan-status.pending { border: 2px solid #7890a0; }
.score-preview { margin-top: 18px; padding: 15px; display: grid; gap: 3px; background: rgba(0,0,0,.18); border-radius: 14px; }
.score-preview span { color: #8ce0a5; font-size: 10px; font-weight: 900; letter-spacing: .1em; }

.demo-case-button {
  margin-top: 15px;
  padding: 0;
  color: var(--green);
  background: none;
  border: 0;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.capture-step .question-help { margin-bottom: 18px; }
.capture-layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: center; }
.compact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.capture-step .field-label { margin-top: 12px; }
.capture-step .consent { margin-top: 16px; }
.capture-step .privacy-note { margin: 8px 0 0; }
.result-promise { padding: 25px; color: white; background: var(--navy-dark); border-radius: 20px; }
.result-promise > span { color: #8ce0a5; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.result-promise > strong { margin-top: 8px; display: block; font-size: 24px; line-height: 1.15; }
.result-promise ul { margin: 18px 0 0; padding-left: 20px; color: #d7e2e8; }
.result-promise li { margin: 7px 0; }

.analysis-loader {
  width: min(700px, calc(100% - 36px));
  min-height: 430px;
  margin: 50px auto 90px;
  padding: 55px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: white;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.loader-ring { width: 72px; height: 72px; margin-bottom: 24px; border: 7px solid #e7eee9; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
.analysis-loader h2 { max-width: 560px; font-size: 34px; }
.analysis-loader > p:last-child { color: var(--muted); }
.loader-sources { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.loader-sources span { padding: 7px 10px; color: var(--navy); background: var(--green-soft); border-radius: 999px; font-size: 12px; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }

.lookup-result {
  margin: 30px 0 0;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid #d8c28f;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffaf0, #f7f4eb);
}
.lookup-result h3 { max-width: 900px; margin-top: 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.lookup-result > p:not(.eyebrow) { max-width: 900px; margin: 15px 0 0; color: #465b68; font-size: 18px; line-height: 1.55; }
.lookup-result-note { max-width: 900px; margin-top: 24px; padding: 17px 19px; display: grid; gap: 5px; color: var(--navy); background: white; border: 1px solid #d8e1e5; border-radius: 13px; }
.lookup-result-note span { color: var(--muted); line-height: 1.45; }
.lookup-result-actions { margin-top: 24px; display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.lookup-result-actions .button { text-decoration: none; }
.text-button { padding: 11px 4px; color: var(--navy); background: transparent; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.text-button:hover { color: var(--green); }

.result-hero {
  margin: 30px 0 20px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  color: white;
  background: linear-gradient(130deg, #0b2d48, #143b5c);
  border-radius: 22px;
}
.result-hero-copy { min-width: 0; }
.risk-label { margin: 0 0 5px; color: #93aabd; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.result-hero h3 { color: white; font-size: 32px; }
.result-hero p:last-child { margin: 7px 0 0; color: #d8e4eb; }
.attention-meter { --attention-position: 50%; grid-column: 1 / -1; padding: 17px 20px 15px; color: white; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.16); border-radius: 15px; }
.attention-meter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.attention-meter-heading span { color: #a9bfcc; font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.attention-meter-heading strong { color: white; font-size: 16px; }
.attention-track { height: 14px; margin-top: 15px; position: relative; border: 2px solid rgba(255,255,255,.72); border-radius: 999px; background: linear-gradient(90deg, #58b979 0%, #a9c965 34%, #edc454 56%, #e98b50 77%, #d95f59 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.attention-cursor { width: 4px; height: 30px; position: absolute; left: var(--attention-position); top: 50%; display: block; background: white; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.36); transform: translate(-50%, -50%); }
.attention-cursor::before { content: ""; width: 12px; height: 12px; position: absolute; left: 50%; top: -7px; background: white; border: 3px solid var(--navy); border-radius: 50%; transform: translateX(-50%); }
.attention-scale { margin-top: 7px; display: flex; justify-content: space-between; color: #c7d5de; font-size: 11px; }
.attention-meter.not-calculated .attention-track,
.attention-meter.not-calculated .attention-scale { display: none; }
.attention-meter.not-calculated .attention-meter-heading { padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.16); }
.attention-meter > small { margin-top: 8px; display: block; color: #a9bfcc; font-size: 11px; line-height: 1.35; }
.source-coverage { grid-column: 1 / -1; min-width: 0; font-size: 13px; color: #d9e7ee; }
.source-coverage p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.attention-reasons { margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.attention-reasons li { padding: 6px 9px; color: #edf5f7; font-size: 11px; line-height: 1.25; overflow-wrap: anywhere; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.strategy-panel { margin: 0 0 20px; padding: 20px; border: 1px solid #b8cbd5; border-radius: 17px; background: linear-gradient(135deg, #f7faf9, #eef5f2); }
.strategy-heading { margin-bottom: 15px; display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.strategy-heading h3 { margin-top: 5px; max-width: 720px; font-size: 24px; line-height: 1.18; }
.strategy-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.strategy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.strategy-card { min-width: 0; padding: 17px; border: 1px solid #d4dee3; border-radius: 13px; background: white; }
.strategy-card > span { display: block; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.strategy-card h4 { margin-top: 7px; color: var(--navy-dark); font-size: 18px; line-height: 1.2; }
.strategy-card p { margin: 8px 0 0; color: #485b67; font-size: 13px; line-height: 1.46; }
.strategy-card.reported { border-left: 5px solid var(--navy); background: #f7fafc; }
.strategy-card.reported > span { color: var(--navy); }
.strategy-card.positive { border-left: 5px solid #52a870; }
.strategy-card.positive > span { color: #2f7950; }
.strategy-card.attention { border-left: 5px solid #e0ae43; background: #fffaf0; }
.strategy-card.attention > span { color: #8a5900; }
.strategy-card.unknown { border-left: 5px solid #91a3ae; }
.strategy-card.neutral { border-left: 5px solid var(--navy); }
.strategy-card.context { border-left: 5px solid #6d899d; }
.strategy-card.decision { border-left: 5px solid var(--green); background: #f5fbf7; }
.source-summary { margin-bottom: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.source-summary > div { padding: 14px; display: grid; grid-template-columns: 12px 1fr; gap: 9px; align-items: center; background: #f3f6f7; border-radius: 12px; }
.source-summary p { margin: 0; display: grid; }
.source-summary small { color: var(--muted); }
.source-dot { width: 9px; height: 9px; border-radius: 50%; }
.source-dot.found { background: var(--green); box-shadow: 0 0 0 4px rgba(63,125,85,.12); }
.source-dot.waiting { border: 2px solid #8b9ba6; }
.source-dot.not-found { background: #d79c36; box-shadow: 0 0 0 4px rgba(215,156,54,.12); }
.source-dot.unavailable { background: #b46a62; box-shadow: 0 0 0 4px rgba(180,106,98,.12); }
.official-evidence { margin: 2px 0 20px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #cbd8df; border-radius: 15px; background: #f6f9fa; }
.official-evidence > div { max-width: 900px; }
.official-evidence span { color: var(--navy); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.official-evidence h3 { margin-top: 5px; font-size: 21px; }
.official-evidence p { margin: 6px 0 0; color: #475763; }
.official-evidence ul { margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.official-evidence ul:empty { display: none; }
.official-evidence li { padding: 7px 10px; color: #294354; background: rgba(255,255,255,.72); border: 1px solid rgba(11,45,72,.12); border-radius: 8px; font-size: 13px; font-weight: 700; }
.official-evidence li.attention { color: #7a4d00; border-color: #e0bd72; background: #fff6dd; }
.official-evidence a { flex: 0 0 auto; color: var(--navy); font-weight: 800; text-decoration: none; }
.official-evidence.found { border-color: #a9cfb4; background: var(--green-soft); }
.official-evidence.not-found { border-color: #ead19d; background: #fff9ed; }
.official-evidence.unavailable { border-color: #e2c2bd; background: #fff6f4; }
.verification-section { margin: 22px 0; }
.verification-heading { margin-bottom: 15px; display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.verification-heading h2 { margin-top: 5px; font-size: 28px; }
.verification-heading > p { max-width: 510px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.verification-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.verification-card { min-height: 250px; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: white; }
.verification-card.attention { border-color: #e1bd69; background: #fffaf0; box-shadow: 0 9px 25px rgba(114, 78, 11, .07); }
.verification-card.clear { border-color: #b9d7c1; background: #f5fbf7; }
.verification-card.unavailable { border-color: #d9dfe3; background: #f7f8f9; }
.verification-number { width: 33px; height: 33px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 9px; font-size: 11px; font-weight: 900; }
.verification-card-heading { margin-top: 13px; }
.verification-card-heading h3 { font-size: 18px; line-height: 1.2; }
.verification-card-heading strong { display: inline-block; margin-top: 7px; color: #2f7950; font-size: 12px; }
.verification-card.attention .verification-card-heading strong { color: #955c00; }
.verification-card.unavailable .verification-card-heading strong { color: var(--muted); }
.verification-finding { margin: 12px 0 0; color: #2f414e; font-size: 14px; line-height: 1.45; }
.verification-impact { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.42; }
.verification-footer { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.verification-footer small { color: var(--muted); font-size: 10px; }
.verification-footer a { color: var(--navy); font-size: 11px; font-weight: 800; text-decoration: none; }
.report-scope { margin-top: 20px; border: 1px solid rgba(11,45,72,.14); border-radius: 13px; background: rgba(255,255,255,.72); overflow: hidden; }
.report-scope summary { padding: 14px 16px; color: var(--navy); font-size: 13px; font-weight: 800; cursor: pointer; }
.report-scope[open] summary { border-bottom: 1px solid rgba(11,45,72,.12); }
.report-scope-grid { padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.report-scope-group { padding: 13px; border-radius: 10px; background: #f4f7f8; }
.report-scope-group.included { background: #eaf5ed; }
.report-scope-group.separate { background: #fff7e5; }
.report-scope-group strong { display: block; color: var(--navy); font-size: 10px; letter-spacing: .06em; }
.report-scope-group ul { margin: 9px 0 0; padding-left: 17px; color: #465865; font-size: 12px; line-height: 1.45; }
.report-scope-group li + li { margin-top: 5px; }
.report-demo-link { margin-top: 14px; display: inline-flex; color: #8ee0a5; font-weight: 800; text-underline-offset: 4px; }
.report-demo-link:hover { color: white; }
.received-link { color: var(--green); }
.received-link:hover { color: var(--navy-dark); }
.offer-path-note { padding: 11px 13px; color: #d7e5eb; background: rgba(255,255,255,.08); border-radius: 10px; font-size: 12px; line-height: 1.45; }
.offer-card { margin-top: 24px; }
.result-actions { margin: 20px 0 0; align-items: center; justify-content: space-between; }
.text-action { color: var(--navy); font-weight: 800; text-decoration: none; }

@media (max-width: 1080px) {
  .result-hero { grid-template-columns: 1fr; }
  .source-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-summary > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .strategy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .capture-layout { grid-template-columns: 1fr; }
  .result-promise { display: none; }
  .result-hero { grid-template-columns: 1fr; }
  .verification-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header { position: static; }
  .header-help { display: none; }
  .hero { width: 100%; margin-top: 0; padding: 42px 22px; border-radius: 0 0 28px 28px; }
  .hero h1 { font-size: clamp(43px, 13vw, 58px); }
  .hero-lead { font-size: 18px; }
  .scanner-card { padding: 22px; }
  .responsible-line { line-height: 1.7; }
  .flow-shell, .result-shell, .payment-shell { width: calc(100% - 20px); padding: 22px 18px; border-radius: 20px; }
  .flow-header { margin-bottom: 25px; }
  .analysis-scope-grid { grid-template-columns: 1fr; }
  .compact-fields { grid-template-columns: 1fr; gap: 0; }
  .capture-step .question-help { margin-bottom: 10px; }
  .form-actions { margin-top: 18px; }
  .result-hero { padding: 20px; grid-template-columns: 1fr; text-align: left; }
  .result-hero h3 { font-size: 27px; }
  .attention-meter { padding: 15px; }
  .attention-meter-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .attention-meter-heading strong { font-size: 15px; }
  .lookup-result-actions { align-items: stretch; flex-direction: column; }
  .lookup-result-actions .button, .lookup-result-actions .text-button { width: 100%; text-align: center; }
  .attention-reasons { align-items: stretch; flex-direction: column; }
  .attention-reasons li { border-radius: 10px; }
  .strategy-panel { padding: 17px; }
  .strategy-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .strategy-heading h3 { font-size: 21px; }
  .strategy-grid { grid-template-columns: 1fr; }
  .strategy-card:last-child:nth-child(odd) { grid-column: auto; }
  .source-summary { grid-template-columns: 1fr; }
  .source-summary > div:last-child:nth-child(odd) { grid-column: auto; }
  .official-evidence { align-items: flex-start; flex-direction: column; gap: 12px; }
  .verification-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .verification-grid { grid-template-columns: 1fr; }
  .report-scope-grid { grid-template-columns: 1fr; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .text-action { padding: 12px 0; text-align: center; }
}

@media print {
  .analysis-loader { display: none !important; }
}

/* Cabeçalho, navegação de página e leitura em telas grandes */
.site-header {
  min-height: 92px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 8px 28px rgba(11,45,72,.07);
}
.brand img { width: 115px; height: 76px; max-height: none; object-fit: contain; }
.product-name { padding-left: 18px; display: flex; align-items: center; gap: 10px; font-size: 17px; }
.product-name i { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 10px; font-size: 22px; font-style: normal; box-shadow: 0 6px 14px rgba(63,125,85,.24); }
.product-name > span { display: grid; line-height: 1.05; }
.product-name b { color: var(--navy-dark); font-size: 18px; letter-spacing: .04em; }
.product-name small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a { min-height: 46px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 10px; color: var(--navy-dark); font-size: 16px; font-weight: 700; text-decoration: none; }
.header-nav a:hover { border-color: #c8ddcf; color: var(--green); background: #f1f8f3; }
.header-signature { display: grid; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.35; }
.header-signature strong { color: var(--navy); font-size: 13px; }
.header-diagnosis { min-height: 44px; padding: 10px 18px; color: white; background: var(--navy); border: 0; border-radius: 11px; font-weight: 800; cursor: pointer; }
.header-diagnosis:hover { background: var(--green); }
.hero, .how-section, .proof-section, .flow-shell, .result-shell, .payment-shell { width: min(1440px, calc(100% - 40px)); }
.hero-start {
  min-width: 390px;
  min-height: 72px;
  padding: 18px 22px 18px 32px;
  justify-content: space-between;
  gap: 24px;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: linear-gradient(135deg, #58b770, #3f9158);
  box-shadow: 0 16px 38px rgba(40,137,70,.38), 0 0 0 7px rgba(99,211,132,.08);
  font-size: 21px;
  animation: cta-breathe 2.8s ease-in-out infinite;
  overflow: hidden;
  position: relative;
}
.hero-start::before { content: ""; position: absolute; top: -45%; left: -35%; width: 22%; height: 190%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent); transform: rotate(18deg); animation: cta-shine 3.4s ease-in-out infinite; }
.hero-start span, .hero-start i { position: relative; z-index: 1; }
.hero-start i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #2f7244; background: white; font-size: 24px; font-style: normal; transition: transform .18s ease; animation: arrow-invite 1.7s ease-in-out infinite; }
.hero-start:hover { background: linear-gradient(135deg, #64c47d, #44975d); box-shadow: 0 19px 46px rgba(40,137,70,.48), 0 0 0 8px rgba(99,211,132,.12); }
.hero-start:hover i { transform: translateX(3px); }
.hero-start:focus-visible { outline-color: #a9efbd; }
.time-note strong { padding: 4px 7px; color: #baf0c9; background: rgba(100,196,125,.16); border-radius: 6px; font-size: 11px; letter-spacing: .08em; }
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 16px 38px rgba(40,137,70,.34), 0 0 0 6px rgba(99,211,132,.07); }
  50% { box-shadow: 0 19px 44px rgba(40,137,70,.46), 0 0 0 10px rgba(99,211,132,.11); }
}
@keyframes cta-shine {
  0%, 58% { left: -35%; opacity: 0; }
  65% { opacity: 1; }
  88%, 100% { left: 118%; opacity: 0; }
}
@keyframes arrow-invite {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-start, .hero-start::before, .hero-start i { animation: none; }
}
.diagnostic-mode .hero, .diagnostic-mode .how-section, .diagnostic-mode .proof-section { display: none; }
.diagnostic-mode .flow-shell { margin-top: 20px; min-height: calc(100vh - 145px); }
.flow-shell, .result-shell, .payment-shell { scroll-margin-top: 112px; }
.flow-shell.capture-mode { padding-top: 28px; padding-bottom: 28px; }
.flow-shell.capture-mode .flow-header { margin-bottom: 10px; justify-content: flex-end; }
.flow-shell.capture-mode .flow-header > div:first-child { display: none; }
.flow-shell.capture-mode .form-actions { margin-top: 14px; }
.flow-shell.location-mode { padding: 20px 30px; }
.flow-shell.location-mode .flow-header { display: none; }
.flow-shell.location-mode legend { font-size: 32px; }
.flow-shell.location-mode .question-help { margin: 8px 0 12px; font-size: 14px; }
.flow-shell.location-mode .field-label { margin-top: 9px; }
.flow-shell.location-mode .text-input { min-height: 47px; padding-top: 10px; padding-bottom: 10px; }
.flow-shell.location-mode .registration-help { margin-top: 10px; padding: 10px 14px; }
.flow-shell.location-mode .registration-help p { margin-top: 6px; }
.flow-shell.location-mode .demo-case-button { margin-top: 9px; }
.flow-shell.location-mode .form-actions { margin-top: 10px; }
.form-error:empty { display: none; }

.choice span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.choice span b { font-size: 17px; }
.choice span small { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.3; }
.choice input:checked + span small { color: #466752; }

.how-section { padding: 35px 0 72px; }
.how-section, .proof-section { scroll-margin-top: 112px; }
.how-heading { max-width: 720px; }
.how-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-grid article { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px rgba(11,45,72,.055); }
.how-grid article > span { width: 38px; height: 38px; margin-bottom: 18px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 11px; font-weight: 900; }
.how-grid p { margin: 7px 0 0; color: var(--muted); }
.field-status { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.optional-label { color: var(--muted); font-size: .9em; font-weight: 600; }
.address-autocomplete { position: relative; }
.address-suggestions { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; padding: 7px; border: 1px solid #b9cbd5; border-radius: 14px; background: #fff; box-shadow: 0 16px 34px rgba(9,45,70,.18); }
.address-suggestion { width: 100%; padding: 11px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--navy); text-align: left; font: inherit; font-weight: 700; cursor: pointer; }
.address-suggestion:hover, .address-suggestion.active { background: #eaf5ee; color: #155d36; }
.address-status.confirmed { color: #247044; font-weight: 700; }
.address-status.attention { color: #945f00; font-weight: 700; }
.map-locator-link { margin-top: 8px; padding: 4px 0; border: 0; color: var(--navy); background: transparent; font: inherit; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.map-locator-link:hover { color: var(--green); }
.location-line { display: grid; grid-template-columns: 170px minmax(0, 1fr) 200px; column-gap: 14px; row-gap: 0; }
.location-line > div { display: grid; grid-template-rows: subgrid; grid-row: span 3; min-width: 0; }
.address-line { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: 14px; row-gap: 0; }
/* Share label, input and error rows: wrapped requirements or a validation
   message must never move one input away from its neighbour. */
.address-line > div { display: grid; grid-template-rows: subgrid; grid-row: span 3; min-width: 0; }
.registration-help { margin-top: 18px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: #f8faf9; }
.registration-help summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.registration-help summary span { color: var(--muted); font-weight: 500; }
.registration-help p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.public-query-note { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.property-configuration { margin-top: 12px; padding: 12px 14px; border: 1px solid #c6d8ce; border-radius: 13px; background: #f2f8f4; }
.property-configuration .field-label { margin-top: 0; }
.flow-shell.location-mode .property-configuration .field-label { margin-top: 0; }
.property-configuration p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }

.map-locator { width: min(960px, calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: white; box-shadow: 0 28px 90px rgba(5, 30, 48, .34); }
.map-locator::backdrop { background: rgba(7, 31, 49, .72); backdrop-filter: blur(3px); }
.map-locator-shell { padding: clamp(18px, 3vw, 30px); }
.map-locator-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.map-locator-header h2 { font-size: clamp(27px, 4vw, 40px); }
.map-locator-header > div > p:last-child { max-width: 710px; margin: 10px 0 18px; color: var(--muted); }
.map-locator-close { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: #f7f9f8; font-size: 30px; line-height: 1; cursor: pointer; }
.property-map { height: min(52dvh, 500px); min-height: 340px; overflow: hidden; border: 1px solid #b7cbd5; border-radius: 17px; background: #dce5e7; }
.property-map.leaflet-container { font-family: inherit; }
.property-map .leaflet-control-attribution { font-size: 9px; }
.property-map .leaflet-control-attribution a { color: var(--navy); }
.map-click-marker { width: 24px; height: 24px; border: 4px solid white; border-radius: 50% 50% 50% 0; background: var(--green); box-shadow: 0 3px 12px rgba(0,0,0,.35); transform: rotate(-45deg); }
.map-locator-status { min-height: 24px; margin: 12px 2px 0; color: #465b68; font-size: 14px; }
.map-locator-status.attention { color: #8a5700; font-weight: 700; }
.map-locator-status.confirmed { color: #216840; font-weight: 700; }
.map-locator-candidate { margin-top: 12px; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #9ac5a8; border-radius: 15px; background: #edf7f0; }
.map-locator-candidate > div { display: grid; gap: 2px; }
.map-locator-candidate span { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.map-locator-candidate strong { color: var(--navy-dark); font-size: 20px; }
.map-locator-candidate small { color: #465b68; font-size: 14px; }
.map-locator-footer { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.map-locator-footer a { flex: 0 0 auto; font-weight: 800; }


@media (min-width: 821px) {
  .flow-shell { padding: 46px 60px; }
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice span { min-height: 104px; }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .site-header { min-height: 88px; padding: 8px 24px; }
  .brand { gap: 10px; }
  .brand img { width: 164px; height: auto; }
  .product-name { padding-left: 12px; gap: 8px; }
  .product-name b { font-size: 16px; white-space: nowrap; }
  .product-name small { display: none; }
  .header-nav { gap: 4px; }
  .header-nav a { min-height: 44px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
  .header-diagnosis { min-height: 44px; padding: 9px 14px; white-space: nowrap; font-size: 14px; }
  .hero { width: calc(100% - 32px); min-height: calc(100svh - 128px); margin-top: 20px; margin-bottom: 28px; padding: 38px; gap: 30px; grid-template-columns: 1.08fr .92fr; }
  .hero h1 { font-size: clamp(48px, 5.7vw, 61px); }
  .hero-lead { margin: 18px 0; font-size: 18px; }
  .hero .confidence-list { margin-top: 18px; gap: 5px; }
  .responsible-line { margin-top: 16px; }
  .scanner-card { padding: 21px; }
  .scanner-card h2 { font-size: 27px; }
  .scanner-orbit { width: 68px; height: 68px; }
  .scan-list { margin-top: 14px; }
  .scan-list > div { padding: 7px 0; }
  .score-preview { margin-top: 12px; padding: 12px; }
  .flow-shell { padding: 32px 38px; }
  .flow-header { margin-bottom: 24px; }
  .choice span { min-height: 92px; padding: 14px; }
  .choice span b { font-size: 15px; }
  .choice span small { font-size: 12px; }
}

@media (min-width: 1181px) and (max-height: 900px) {
  .site-header { min-height: 82px; padding-top: 6px; padding-bottom: 6px; }
  .brand img { width: 164px; height: auto; }
  .product-name small { display: none; }
  .hero { height: calc(100svh - 136px); min-height: 0; margin-top: 14px; margin-bottom: 24px; padding: 22px 58px; gap: 44px; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .hero-copy { align-self: center; }
  .hero h1 { font-size: clamp(55px, 4.6vw, 66px); }
  .hero-lead { margin: 16px 0; font-size: 18px; }
  .hero-start { min-width: 390px; min-height: 68px; padding: 15px 18px 15px 30px; font-size: 20px; }
  .hero .confidence-list { margin-top: 16px; gap: 4px; font-size: 14px; }
  .responsible-line { margin-top: 11px; }
  .scanner-card { height: 100%; padding: 22px 28px; align-content: center; }
  .scanner-orbit { width: 58px; height: 58px; }
  .scanner-orbit span { font-size: 11px; }
  .scanner-orbit strong { font-size: 14px; }
  .scanner-kicker { margin: 8px 0 6px; }
  .scanner-card h2 { font-size: 29px; }
  .scan-list { margin-top: 10px; }
  .scan-list > div { padding: 6px 0; }
  .scan-list strong { font-size: 16px; }
  .scan-list small { font-size: 13px; }
  .score-preview { margin-top: 9px; padding: 10px 14px; }
}

@media (max-width: 820px) {
  .header-signature { display: none; }
  .brand img { width: 150px; height: auto; }
  .how-grid { grid-template-columns: 1fr; }
  .header-diagnosis { display: none; }
}

@media (max-width: 620px) {
  .site-header { min-height: 74px; }
  .brand img { width: 132px; height: auto; }
  .header-nav { display: none; }
  .product-name { font-size: 14px; }
  .product-name i { width: 30px; height: 30px; font-size: 19px; }
  .product-name b { font-size: 15px; }
  .product-name small { display: none; }
  .hero-start { min-width: 0; width: 100%; min-height: 64px; font-size: 18px; }
  .address-line { grid-template-columns: minmax(0, 1fr); }
  .address-line > div { display: block; grid-row: auto; }
  .location-line { grid-template-columns: minmax(0, 1fr); }
  .location-line > div { display: block; grid-row: auto; }
  .map-locator { width: calc(100% - 14px); max-height: calc(100dvh - 14px); border-radius: 18px; }
  .map-locator-shell { padding: 15px; }
  .map-locator-header { gap: 12px; }
  .map-locator-header > div > p:last-child { font-size: 13px; }
  .property-map { min-height: 300px; height: 47dvh; }
  .map-locator-candidate { align-items: stretch; flex-direction: column; }
  .map-locator-footer { flex-direction: column; }
}

/* Keep the first action visible; the scope explanation is optional detail.
   Clip horizontal overflow without creating a scroll container that breaks
   the sticky form footer. Other pages retain their existing layout. */
.diagnostic-mode main { overflow-x: clip; overflow-y: visible; }
.flow-shell.choice-mode { padding: 22px 28px; min-height: 0; }
.choice-mode .flow-header { margin-bottom: 16px; gap: 16px; align-items: center; }
.choice-mode #flow-title { font-size: 23px; line-height: 1.2; }
.choice-mode .progress-wrap { min-width: 200px; }
.flow-shell.location-mode .flow-header { display: flex; margin-bottom: 12px; justify-content: flex-end; }
.flow-shell.location-mode .flow-header > div:first-child { display: none; }
.choice-mode legend { font-size: clamp(24px, 3vw, 30px); line-height: 1.18; }
.choice-mode .question-help { margin: 8px 0 16px; font-size: 14px; }
.choice-mode .choice-grid { gap: 10px; }
.choice-mode .choice { cursor: pointer; }
.choice-mode .choice input { left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; margin: 0; opacity: 1; pointer-events: auto; accent-color: var(--green); cursor: pointer; z-index: 1; }
.choice-mode .choice > span { height: 100%; min-height: 94px; padding: 12px 12px 12px 47px; border-color: #b8c8d1; border-radius: 12px; transition: border-color .15s, background-color .15s; }
.choice-mode .choice span b { font-size: 15px; line-height: 1.25; }
.choice-mode .choice span small { font-size: 12px; line-height: 1.35; }
.choice-mode .choice input:checked + span { border-color: var(--green); background: var(--green-soft); }
.choice-mode .choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (hover: hover) {
  .choice-mode .choice:hover > span { border-color: var(--green); background: #f3f8f4; }
}
#consulta .form-actions { position: sticky; bottom: 0; z-index: 10; margin-top: 18px; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: white; align-items: center; }
.form-action-help { flex: 1; min-width: 0; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.required-label { font-size: 12px; font-weight: 600; color: #526575; line-height: 1.35; }
legend .required-label { display: inline-block; vertical-align: middle; }
#consulta .field-error { color: #a32626; font-size: 13px; line-height: 1.4; margin: 6px 0 10px; }
#consulta .field-error[hidden] { display: none; }
#consulta .text-input[aria-invalid="true"] { border: 2px solid #b72a2a; background: #fff6f5; }
#consulta input[aria-invalid="true"] { outline: 2px solid #b72a2a; outline-offset: 2px; }
#consulta .text-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px #b72a2a20; }
#consulta input, #consulta select { scroll-margin-top: 130px; scroll-margin-bottom: 120px; }
#next-button { min-width: 156px; }
#next-button:disabled { opacity: 1; background: #dce4e8; color: #52646e; cursor: not-allowed; box-shadow: none; }
#consulta .button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (max-width: 820px) {
  .choice-mode .flow-header { flex-direction: row; align-items: center; }
  .choice-mode .progress-wrap { min-width: 160px; }
  .choice-mode .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .flow-shell.choice-mode { padding: 18px 16px; }
  .choice-mode .flow-header { flex-direction: column; align-items: stretch; gap: 8px; }
  .choice-mode #flow-title { font-size: 21px; }
  .choice-mode .choice-grid { grid-template-columns: 1fr; }
  .choice-mode .choice > span { min-height: 76px; }
  .analysis-scope-intro { padding: 10px 12px; }
  .analysis-scope-grid { grid-template-columns: 1fr; }
  #consulta .form-actions { flex-wrap: wrap; gap: 10px; }
  .form-action-help { flex-basis: 100%; }
  #next-button { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .choice-mode .step.active { animation: none; }
  .choice-mode .choice > span, #progress-bar { transition: none; }
}
