/* Tokens e componentes compartilhados. Sem fontes ou dependências externas. */
:root {
  --navy: #102e4f; --navy-deep: #0b2540; --blue: #25659b; --red: #c73648;
  --green: #24725c; --amber: #926017; --ink: #19344e; --muted: #617184;
  --background: #f4f6f9; --white: #fff; --line: #e2e8ef;
  --success-bg: #eaf5ef; --warning-bg: #fff4df; --danger-bg: #fcecef;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --radius: 12px; --shadow: 0 3px 16px #142f4a04;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button, a { touch-action: manipulation; }
button:disabled { cursor: default; }
button:hover, a:hover { transition: background .15s ease, color .15s ease; }
:focus-visible { outline: 3px solid #367daf; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h2 { font-size: 24px; letter-spacing: -.7px; font-weight: 650; line-height: 1.3; }
h3 { font-size: 15px; font-weight: 650; letter-spacing: -.2px; }
svg.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--navy); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.page-width { width: min(1440px, calc(100% - 80px)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.separator { color: #bdc9d5; padding: 0 9px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.65px; margin-bottom: 7px; }
.site-header { background: var(--white); }
.header-main { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }
.wordmark { font-size: 43px; font-weight: 800; letter-spacing: -3px; line-height: 1; position: relative; padding-right: 14px; }
.wordmark > span { color: var(--red); }
.wordmark i { font-size: 22px; font-style: normal; position: absolute; right: 0; top: -3px; color: var(--red); letter-spacing: 0; }
.brand-divider { height: 33px; width: 1px; background: var(--line); }
.brand-caption { display: grid; gap: 3px; }
.brand-caption strong { font-size: 16px; letter-spacing: -.3px; font-weight: 650; }
.brand-caption small { color: var(--muted); font-size: 11px; }
.brand-caption b { color: #a1adb8; padding: 0 3px; }
.header-tools { display: flex; align-items: center; gap: 22px; }
.search-box { display: flex; align-items: center; height: 42px; border: 1px solid var(--line); border-radius: 7px; padding-left: 12px; background: #f8fafc; color: var(--muted); gap: 9px; }
.search-box input { border: 0; background: transparent; outline: none; color: var(--ink); min-width: 0; width: 210px; font-size: 12px; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #25659b15; }
.search-submit { width: 32px; height: 38px; display: grid; place-items: center; }
.search-submit svg { width: 15px; }
.icon-button { width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.icon-button:hover { background: #eef3f8; }
.notification-button { position: relative; }
.notification-dot { position: absolute; background: var(--red); border: 2px solid white; width: 9px; height: 9px; top: 7px; right: 9px; border-radius: 50%; }
.user-button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 0; }
.avatar { background: #e8eef5; border: 1px solid #dbe4ef; color: #365677; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 650; font-size: 12px; flex-shrink: 0; }
.user-copy { display: grid; gap: 0; }
.user-copy strong { font-size: 12px; font-weight: 600; }
.user-copy small { font-size: 11px; color: var(--muted); }
.user-button > [data-icon] { color: var(--muted); margin-left: 7px; }
.user-button > [data-icon] svg { width: 14px; }
.nav-wrap { border-block: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
nav { display: flex; gap: 32px; }
nav a { display: flex; gap: 9px; align-items: center; height: 53px; position: relative; color: var(--muted); font-size: 13px; font-weight: 550; white-space: nowrap; }
nav a svg { width: 17px !important; height: 17px !important; }
nav a[aria-current] { color: var(--navy); font-weight: 650; }
nav a[aria-current]::after { content: ""; height: 3px; background: var(--red); position: absolute; bottom: -1px; left: 0; right: 0; border-radius: 3px 3px 0 0; }
nav a:hover { color: var(--blue); }
.environment-label { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.environment-label > span { width: 6px; height: 6px; border-radius: 50%; background: #9aaabc; }
main { padding-top: 28px; }
.welcome-banner { border-radius: var(--radius); background: var(--navy); color: white; display: flex; position: relative; overflow: hidden; min-height: 205px; }
.welcome-content { padding: 31px 36px 25px; z-index: 1; flex: 1; }
.eyebrow.light { color: #b6cadb; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 1.7px; }
.tiny-line { width: 18px; height: 1px; background: #6c879d; }
h1 { font-size: clamp(25px, 2.55vw, 37px); font-weight: 600; letter-spacing: -1.1px; line-height: 1.25; margin-top: 12px; }
h1 > span { color: #f0646d; }
.welcome-content > p { color: #c2d1df; margin-top: 10px; font-size: 13px; }
.banner-footer { display: flex; gap: 20px; align-items: center; margin-top: 23px; font-size: 11px; color: #bacbda; }
.service-pill { display: flex; align-items: center; gap: 7px; color: #e0e9f1; }
.service-pill svg { width: 16px; height: 16px; color: #f0717a; }
.banner-footer > span + span { padding-left: 20px; border-left: 1px solid #3b5770; }
.hero-art { width: 370px; position: relative; flex-shrink: 0; display: flex; align-items: center; }
.hero-art > svg { position: absolute; width: 420px; right: 0; top: -6px; height: 220px; }
.hero-art > span { position: absolute; bottom: 20px; left: 82px; font-size: 8px; letter-spacing: 2px; color: #9fb6cb; }
.metrics-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: white; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 23px 0; box-shadow: var(--shadow); }
.metric { padding-inline: 27px; position: relative; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.metric-label svg { width: 16px; height: 16px; color: #7b8fa2; }
.metric-value { font-size: 32px; font-weight: 650; letter-spacing: -1px; line-height: 1.2; margin-top: 9px; }
.metric-value small { font-size: 20px; font-weight: 500; }
.metric-note { color: var(--muted); font-size: 11px; margin-top: 7px; }
.metric-note .positive { color: var(--green); font-weight: 600; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.operations-heading { margin-block: 33px 20px; }
.section-heading p { color: var(--muted); font-size: 12px; margin-top: 7px; }
.snapshot { display: flex; gap: 10px; align-items: center; background: #edf1f6; padding: 10px 14px; border-radius: 8px; }
.snapshot > span { color: #58738c; }
.snapshot > div { display: grid; gap: 2px; }
.snapshot strong { font-size: 11px; font-weight: 600; }
.snapshot small { color: var(--muted); font-size: 11px; }
.operations-grid { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 22px; align-items: start; }
.panel, .trails-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 20px 22px; }
.trails-panel > .panel-heading { border-bottom: 1px solid var(--line); }
.trail { --track-color: #286da3; --track-bg: #edf4fa; padding: 19px 23px 17px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--track-color); }
.trail-validation { --track-color: #b38535; --track-bg: #fbf6eb; }
.trail-payment { --track-color: #557da0; --track-bg: #edf3f8; }
.trail-integration { --track-color: #656e91; --track-bg: #f0f1f7; }
.trail-activation { --track-color: #2b7d68; --track-bg: #edf6f1; }
.trail-client { --track-color: #b94c5d; --track-bg: #fbf0f2; }
.trail-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.trail-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trail-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: var(--track-color); background: var(--track-bg); border-radius: 9px; flex-shrink: 0; }
.trail-icon svg { width: 19px; height: 19px; }
.trail-name { display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; }
.trail-name h4 { font-size: 14px; font-weight: 650; }
.trail-name > span { font-size: 11px; color: var(--muted); }
.trail-description { color: var(--muted); font-size: 11px; margin-top: 1px; }
.trail-actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.text-button { font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; color: var(--blue); white-space: nowrap; }
.text-button:hover { text-decoration: underline; }
.text-button svg { width: 14px; height: 14px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 5px; font-size: 11px; line-height: 1.5; font-weight: 550; color: #4d627b; background: #eef2f7; }
.badge::before { content: ""; width: 4px; height: 4px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.badge.success { background: var(--success-bg); color: var(--green); }
.badge.warning { background: var(--warning-bg); color: var(--amber); }
.badge.danger { background: var(--danger-bg); color: #b03346; }
.badge.info { background: #edf3fb; color: #2f648e; }
.steps { display: grid; grid-template-columns: repeat(var(--step-count), minmax(0, 1fr)); gap: 22px; margin-top: 14px; }
.step { background: var(--track-bg); padding: 10px 12px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 6px; position: relative; min-height: 43px; }
.step:hover { box-shadow: inset 0 0 0 1px var(--track-color); }
.step::after { content: "→"; position: absolute; right: -17px; color: #98a7b6; font-size: 13px; font-weight: 400; }
.step:last-child::after { content: none; }
.step-label { font-size: 11px; line-height: 1.35; color: #4d6076; }
.step strong { font-size: 17px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.trails-footnote { color: var(--muted); display: flex; align-items: center; gap: 7px; padding: 13px 24px; font-size: 11px; }
.trails-footnote svg { width: 14px; height: 14px; }
.support-column { display: grid; gap: 18px; }
.recent-panel .panel-heading, .alerts-panel .panel-heading { padding-bottom: 13px; }
.recent-item { display: block; width: calc(100% - 44px); margin-inline: 22px; padding: 12px 0; text-align: left; border-bottom: 1px solid #edf0f4; }
.recent-item:hover strong { color: var(--blue); }
.recent-item:last-child { border-bottom: none; }
.recent-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.recent-item strong { font-size: 12px; font-weight: 600; display: block; margin-bottom: 6px; }
.recent-item .badge { font-size: 11px; }
.panel-link { width: 100%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 13px 22px; color: var(--blue); font-size: 11px; font-weight: 600; }
.panel-link:hover { background: #f5f8fc; }
.panel-link svg { width: 15px; height: 15px; }
.count-badge { color: var(--red); background: var(--danger-bg); font-size: 11px; font-weight: 650; padding: 2px 7px; border-radius: 5px; }
.alert-item { width: 100%; text-align: left; display: flex; gap: 10px; padding: 11px 22px; align-items: flex-start; }
.alert-item:hover { background: #fafbfd; }
.alert-icon { background: var(--warning-bg); color: var(--amber); border-radius: 6px; padding: 6px; }
.alert-icon.danger { background: var(--danger-bg); color: var(--red); }
.alert-icon svg { width: 15px; height: 15px; }
.alert-item strong { font-size: 11px; font-weight: 600; display: block; }
.alert-item small { font-size: 11px; color: var(--muted); display: block; margin-top: 3px; }
.panel-note { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; color: var(--muted); padding: 14px 22px; background: #fafbfd; border-top: 1px solid #edf1f6; margin-top: 10px; }
.panel-note svg { width: 13px; height: 13px; margin-top: 1px; }
.care-note { display: flex; align-items: center; gap: 16px; padding: 17px 22px; border-radius: 10px; background: #eaf0f6; }
.care-mark { font-size: 37px; font-weight: 500; line-height: 1; color: #bf5d6b; }
.care-note p { font-size: 11px; color: #5b7187; line-height: 1.7; }
.care-note strong { color: #385773; font-weight: 600; }
.context-heading { margin-block: 34px 19px; }
.context-heading h2 { font-size: 21px; }
.context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.context-grid .panel-heading { padding-bottom: 15px; }
.icon-tile { color: #7b8fa2; }
.icon-tile svg { width: 17px; height: 17px; }
.map-visual { margin: 0 20px; border-radius: 7px; overflow: hidden; background: #f2f5f7; }
.map-visual > svg { display: block; width: 100%; height: 164px; }
.map-legend { display: flex; justify-content: space-between; gap: 3px; margin: 12px 17px; }
.map-legend button { font-size: 11px; display: flex; gap: 6px; align-items: center; padding: 5px; border-radius: 4px; border: 1px solid transparent; }
.map-legend button[aria-pressed="true"] { border-color: #cad6e2; background: #f5f8fb; }
.map-legend button:hover { background: #f5f8fb; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot.success { background: var(--green); }
.dot.neutral { background: #899aaa; }
.dot.warning { background: #ae7b27; }
.coverage-detail { padding: 12px 22px 17px; border-top: 1px solid var(--line); }
.coverage-detail strong { font-size: 11px; display: block; font-weight: 600; }
.coverage-detail p { font-size: 11px; color: var(--muted); margin-top: 4px; }
.client-summary { display: flex; align-items: center; gap: 11px; padding: 0 22px 15px; }
.client-summary .avatar { width: 43px; height: 43px; font-size: 13px; background: #edf2f7; }
.client-summary h4 { font-size: 13px; font-weight: 600; }
.client-summary small { color: var(--muted); font-size: 11px; }
.client-summary .badge { margin-left: auto; font-size: 11px; }
.client-facts { margin: 0 22px; padding-top: 13px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.client-facts > div.full { grid-column: 1 / -1; }
dt { color: var(--muted); font-size: 11px; }
dd { margin: 3px 0 0; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.client-panel .panel-link { margin-top: 18px; }
.integration-item { width: calc(100% - 44px); margin-inline: 22px; text-align: left; padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.integration-item:first-child { padding-top: 0; }
.integration-item:last-child { border: 0; padding-bottom: 1px; }
.integration-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.integration-brand { font-weight: 750; font-size: 17px; letter-spacing: -.6px; }
.integration-brand.omie { color: #246287; }
.integration-brand.iris { color: #31567a; letter-spacing: 2px; font-size: 15px; }
.integration-item:hover .integration-brand { text-decoration: underline; }
.integration-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; margin-top: 8px; }
.integration-stats strong { font-weight: 600; color: #536d86; }
.success-track { display: block; height: 3px; background: #e9eff4; border-radius: 3px; overflow: hidden; margin-top: 8px; }
.success-track > span { height: 100%; display: block; background: #739b8a; }
.integration-item.attention .success-track > span { background: #c69c56; }
.integrations-panel .panel-note { margin-top: 19px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 32px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer strong { letter-spacing: .5px; color: #6b7e91; }
.prototype-version { margin-left: 7px; border: 1px solid #d4dde7; padding: 2px 5px; border-radius: 3px; }
dialog { color: var(--ink); width: min(780px, calc(100vw - 36px)); max-height: calc(100dvh - 56px); padding: 0; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 100px #0b254030; }
dialog::backdrop { background: #081e38a3; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px 22px; gap: 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: white; z-index: 1; }
.dialog-heading h2 { font-size: 23px; }
#dialog-body { padding: 24px 28px 28px; }
.dialog-intro { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.empty-state { text-align: center; padding: 32px 16px; border-radius: 10px; background: #f5f8fb; }
.empty-state > [data-icon] { color: #597c9e; margin-bottom: 12px; }
.empty-state h3 { font-size: 17px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 13px; max-width: 450px; margin-inline: auto; }
.primary-button { border-radius: 7px; background: var(--navy); color: white; padding: 11px 18px; font-size: 12px; font-weight: 600; }
.primary-button:hover { background: var(--blue); }
.empty-state .primary-button { margin-top: 20px; }
.result-count { font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.contract-result { display: flex; align-items: center; width: 100%; text-align: left; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contract-result:hover { background: #f7f9fc; }
.contract-result .result-text { flex: 1; min-width: 0; }
.contract-result strong { display: block; font-size: 13px; font-weight: 600; }
.contract-result small { color: var(--muted); font-size: 11px; }
.contract-result > [data-icon] { color: #7a8fa4; }
.contract-result .badge { max-width: 170px; }
.detail-title { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; }
.detail-title > div { flex: 1; }
.detail-title h3 { font-size: 19px; }
.detail-title p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; background: #f7f9fc; padding: 22px; border-radius: 8px; margin: 0 0 20px; }
.detail-facts dt { font-size: 11px; }
.detail-facts dd { font-size: 13px; }
.detail-note { border-left: 3px solid #a0b8cd; background: #f1f6fb; padding: 14px 16px; font-size: 12px; color: #47637d; margin-top: 16px; }
.detail-note.warning { border-color: #d4ad65; background: #fff8eb; color: #80612d; }
.dialog-alerts .alert-item { padding: 15px 0; border-bottom: 1px solid var(--line); }
.dialog-alerts .alert-item strong { font-size: 13px; }
.dialog-alerts .alert-item small { font-size: 12px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; background: var(--navy); color: white; border-radius: 9px; box-shadow: 0 5px 25px #102e4f24; padding: 14px 22px; max-width: calc(100vw - 32px); font-size: 13px; }
.noscript-message { padding: 20px; background: var(--warning-bg); color: var(--amber); position: fixed; bottom: 0; width: 100%; text-align: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
