@font-face {
  font-family: Roboto;
  src: url("fonts/RobotoLatin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --midnight: #030413;
  --azure: #0045de;
  --rose: #fc7397;
  --ink: #111a32;
  --muted: #4e5d78;
  --line: #dce3f0;
  --paper: #f6f8fd;
  --white: #fff;
  --light-blue: #9db8ff;
  --dark-muted: #b8c3df;
  --radius: 19px;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 Roboto, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .56; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 750; }
h1, h2 { line-height: .99; letter-spacing: -.057em; }
h2 { font-size: clamp(2.85rem, 5vw, 4.45rem); }
h3 { line-height: 1.2; letter-spacing: -.023em; }
[hidden], .symbol-sheet { display: none !important; }
:focus-visible { outline: 3px solid #658dff; outline-offset: 4px; }
.dark { color: var(--white); background: var(--midnight); }
.shell { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.section { padding-block: clamp(65px, 8vw, 116px); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 15px; color: var(--white); background: var(--azure); border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; color: var(--azure); font-size: .84rem; font-weight: 800; letter-spacing: .14em; }
.eyebrow span { width: 7px; height: 7px; flex: none; background: var(--rose); border-radius: 50%; }
.dark .eyebrow { color: var(--light-blue); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 730; line-height: 1.25; text-decoration: none; transition: background-color .16s, border-color .16s; }
.button .icon { width: 18px; height: 18px; }
.button-primary { background: var(--azure); color: var(--white); }
.button-primary:hover:not(:disabled) { background: #0038b4; }
.button-outline { border-color: #bac7e3; background: var(--white); color: var(--ink); }
.button-outline:hover:not(:disabled) { background: #eef3ff; border-color: var(--azure); }
.button-dark-outline, .button-nav { border-color: #ffffff40; color: var(--white); background: #ffffff08; }
.button-dark-outline:hover, .button-nav:hover { background: #ffffff16; border-color: #ffffff80; }
.button-small { min-height: 41px; padding: 8px 13px; font-size: .9rem; }
.text-button, .text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0; border: 0; background: transparent; color: var(--azure); font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 17px; height: 17px; }
.muted { color: var(--muted); }

.site-header { position: relative; z-index: 2; background: var(--midnight); color: var(--white); border-bottom: 1px solid #788ac82b; }
.header-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { width: max-content; font-size: 2.18rem; font-weight: 850; line-height: .9; letter-spacing: -.075em; text-decoration: none; }
.wordmark span { color: var(--rose); margin-left: 2px; }
.nav { display: flex; align-items: center; gap: clamp(19px, 3vw, 40px); }
.nav a:not(.button) { color: #e5eafe; text-decoration: none; font-weight: 590; }
.nav a:not(.button):hover, .site-footer a:not(.wordmark):hover { color: var(--rose); }
.button-nav { min-height: 43px; font-size: .91rem; }
.menu-toggle { display: none; color: #fff; background: #ffffff0c; border: 1px solid #ffffff38; border-radius: 8px; width: 45px; height: 41px; }

.section-intro { margin-bottom: clamp(28px, 4vw, 50px); }
.split-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 19px clamp(28px, 6vw, 85px); }
.split-intro > p, .split-intro > div:nth-child(2) > p { max-width: 43ch; padding-bottom: 3px; color: var(--muted); font-size: 1.13rem; }
.dark .split-intro > div:nth-child(2) > p { color: var(--dark-muted); }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--azure); background: #eaf0ff; border-radius: 10px; }
.feature-icon .icon { width: 22px; height: 22px; }

.demo { background: radial-gradient(ellipse at 91% 3%, #162b75 0, transparent 43%), var(--midnight); }
.demo-intro { align-items: end; }
.privacy-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: #e8efff; font-size: .91rem; font-weight: 660; }
.privacy-note .icon { width: 16px; height: 16px; color: var(--light-blue); }
.demo-surface { color: var(--ink); overflow: hidden; background: var(--white); border: 1px solid #c3d1f0; border-radius: clamp(15px, 2vw, 24px); }
.demo-input-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .82fr); }
.upload-column, .sample-column, .results { min-width: 0; padding: clamp(20px, 3vw, 36px); }
.upload-column h3, .sample-column h3 { font-size: 1.39rem; }
.sample-column { background: #f0f4ff; border-left: 1px solid #dbe3f6; }
.sample-column h3 { margin-top: 12px; }
.sample-column > p { color: var(--muted); margin-top: 6px; }
.sample-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin: 15px 0; }
.sample-actions .button { min-height: 43px; }
.sample-column .sheet-hint { display: grid; gap: 3px; padding: 13px 0; margin: 0; border-top: 1px solid #d6e0f7; font-size: .93rem; }
.sheet-hint strong { color: var(--ink); }
.dropzone { display: grid; justify-items: center; gap: 2px; width: 100%; min-height: 150px; margin-top: 14px; padding: 18px 11px; color: var(--ink); background: #f8faff; border: 1px dashed #718dd0; border-radius: 12px; }
.dropzone:hover:not(:disabled), .dropzone.is-dragover { background: #e8f0ff; border-color: var(--azure); }
.dropzone strong { max-width: 100%; color: var(--azure); font-size: 1rem; overflow-wrap: anywhere; }
.dropzone > span:not(.upload-icon), .dropzone > small { color: var(--muted); }
.dropzone small { font-size: .85rem; }
.upload-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 2px; color: var(--azure); background: #eaf0ff; border-radius: 9px; }
.optional, .rule-options { margin-top: 11px; border-top: 1px solid var(--line); }
.optional summary, .rule-options summary, .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 11px 0; cursor: pointer; list-style: none; font-weight: 720; }
summary::-webkit-details-marker { display: none; }
.optional summary .icon, .rule-options summary .icon { width: 17px; height: 17px; color: var(--azure); }
details[open] > summary .icon { transform: rotate(180deg); }
.optional-body { display: grid; gap: 9px; padding: 0 0 11px; color: var(--muted); font-size: .93rem; }
.previous-file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.previous-file span { overflow-wrap: anywhere; }
.compare-fields { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.compare-fields legend { padding: 0; font-weight: 720; }
.compare-fields label { display: inline-flex; align-items: center; gap: 5px; }
.compare-fields input { accent-color: var(--azure); }
.age-label { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; align-items: center; font-weight: 620; }
.age-label input { width: 79px; min-height: 35px; padding: 3px 6px; border: 1px solid #a9b8d7; border-radius: 6px; color: var(--ink); background: var(--white); }
.demo-actions { margin-top: 14px; }
.feedback { min-width: 0; overflow-wrap: anywhere; font-size: .93rem; }
.feedback:not(:empty) { margin-top: 7px; }
.error { color: #962348; font-weight: 640; }

.results { border-top: 1px solid var(--line); }
.result-head, .table-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.result-head h3 { font-size: clamp(1.45rem, 2.8vw, 2.08rem); }
.result-head p, .comparison-result > p { overflow-wrap: anywhere; }
.result-base { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; margin-top: 13px; border: 1px solid var(--line); padding: 3px; background: #f3f6fd; border-radius: 5px; }
.result-base button { min-height: 37px; padding: 4px 12px; border: 0; border-radius: 3px; color: #223351; font-weight: 700; font-size: .92rem; background: transparent; }
.result-base button[aria-pressed="true"] { background: var(--azure); color: white; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 17px 0; }
.metric { min-width: 0; padding: 12px 13px; background: #f0f4ff; border: 1px solid #dbe4ff; border-radius: 10px; }
.metric strong { display: block; color: #123fbd; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.1; }
.metric span { color: var(--muted); font-size: .9rem; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 20px; }
.chart-card { min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.chart-card h4 { margin-bottom: 12px; }
.outcome, .result-bars { display: grid; gap: 9px; }
.outcome-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 16px; font-size: .9rem; color: var(--muted); }
.outcome-legend span::before { display: inline-block; margin-right: 5px; width: 8px; height: 8px; background: var(--azure); border-radius: 50%; content: ""; }
.outcome-legend span + span::before { background: var(--rose); }
.outcome meter, .result-bars progress { display: block; width: 100%; height: 11px; margin: 0; appearance: none; background: #e8eefc; border: 0; border-radius: 8px; overflow: hidden; }
.outcome meter::-webkit-meter-inner-element { height: 100%; }
.outcome meter::-webkit-meter-bar { height: 100%; background: var(--rose); border: 0; }
.outcome meter::-webkit-meter-optimum-value { height: 100%; background: var(--azure); }
.outcome meter { background: var(--rose); }
.outcome meter::-moz-meter-bar { background: var(--azure); }
.result-bars progress::-webkit-progress-bar { background: #e8eefc; }
.result-bars progress::-webkit-progress-value { background: var(--azure); border-radius: 8px; }
.result-bars progress::-moz-progress-bar { background: var(--azure); border-radius: 8px; }
.result-bars div { display: grid; grid-template-columns: 94px minmax(18px, 1fr) 38px; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.result-bars div strong { text-align: right; color: var(--ink); }
.comparison-result { padding: 15px 0; margin-bottom: 15px; border-block: 1px solid var(--line); }
.comparison-result .table-wrap { margin-top: 9px; }
.table-head { margin-bottom: 8px; }
.table-head label { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .91rem; }
.table-head select { max-width: 100%; min-height: 37px; border: 1px solid #a9b8d7; padding: 4px 7px; border-radius: 7px; background: #fff; color: var(--ink); }
.table-wrap { max-height: 405px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
.table-wrap table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: .9rem; text-align: left; }
.table-wrap th, .table-wrap td { min-width: 65px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.table-wrap th { position: sticky; top: 0; background: #eef3ff; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-variant-numeric: tabular-nums; }
.table-wrap p { padding: 8px 11px; }
.issue-tag { color: #91254a; font-weight: 620; }
.clean-tag { color: #163987; font-weight: 620; }
.pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; font-size: .9rem; }
.result-note { margin-top: 10px; font-size: .89rem; }

.faq { background: #eaf0fc; }
.faq-inner { display: grid; grid-template-columns: .68fr 1.32fr; gap: 26px clamp(24px, 6vw, 95px); }
.faq-list details { border-bottom: 1px solid #bdcae5; }
.faq-list details:first-child { border-top: 1px solid #bdcae5; }
.faq-list summary { padding-block: 16px; font-size: 1.04rem; }
.faq-list summary .icon { color: var(--azure); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { max-width: 70ch; color: var(--muted); padding-bottom: 15px; }
.contact { background: radial-gradient(ellipse at 0 84%, #12286d 0, transparent 50%), var(--midnight); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); gap: 26px clamp(25px, 6vw, 85px); align-items: center; }
.contact-inner > div > p:last-child { max-width: 47ch; margin-top: 20px; color: var(--dark-muted); font-size: 1.13rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: clamp(17px, 2.6vw, 30px); border: 1px solid #8fa9e857; border-radius: var(--radius); background: #101a38; }
.contact-form label { display: grid; align-content: start; gap: 5px; color: #f0f4ff; font-size: .93rem; font-weight: 630; }
.contact-form input, .contact-form textarea { min-width: 0; width: 100%; padding: 9px 10px; border: 1px solid #8da2da75; color: #fff; border-radius: 7px; background: #080e23; }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.form-wide { grid-column: 1 / -1; }
.contact-note, .contact-form .feedback { color: #bfd0f2; font-size: .87rem; }
.contact-email { width: fit-content; color: #dce7ff; font-size: .96rem; text-underline-offset: 4px; }
.contact-form .feedback:empty { display: none; }
.site-footer { border-top: 1px solid #8da2da49; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 19px; min-height: 83px; padding-block: 16px; }
.footer-inner .wordmark { font-size: 1.75rem; }
.footer-inner p, .site-footer a:not(.wordmark) { color: var(--dark-muted); font-size: .9rem; }

@media (max-width: 760px) {
  .header-inner { min-height: 66px; }
  .wordmark { font-size: 2rem; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; padding: 14px var(--gutter) 20px; justify-items: start; gap: 12px; background: #101a38; border-bottom: 1px solid #8da2da75; }
  .nav.is-open { display: grid; }
  .nav a:not(.button) { display: block; padding: 5px 0; }
  .desktop-break { display: none; }
  .demo-input-grid { grid-template-columns: 1fr; }
  .sample-column { border-left: 0; border-top: 1px solid #dbe3f6; }
}
@media (max-width: 580px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
@media print {
  @page { margin: 12mm; }
  body { font-size: 10pt; }
  body, .demo, .demo-surface { background: #fff; color: #111; border: 0; }
  .site-header, .hero, #solucao, #segmentos, .faq, .contact, .site-footer, .demo-intro, .demo-input-grid, .result-head .actions, .result-base, .table-head, .results > .table-wrap, .pagination, .comparison-result .table-wrap, .skip-link { display: none !important; }
  .shell { width: 100%; }
  .section, .results { padding: 0; border: 0; }
  .results h3::before { display: block; margin-bottom: 7px; color: #0045de; font-size: 12pt; content: "VERPLAB"; }
  .metric-grid, .chart-grid { break-inside: avoid; }
  .metric, .chart-card { color: #111; border-color: #c2c2c2; print-color-adjust: exact; }
  meter, progress { print-color-adjust: exact; }
}
