/* landing.css — home de venda ds.nexaya.com.br · só tokens --nx-* (zero cor fixa) · v2.3 */
@font-face { font-family: 'Conthrax'; font-weight: 400; font-display: swap; src: url('/ds/assets/fonts/conthrax-regular.otf') format('opentype'); }
@font-face { font-family: 'Conthrax'; font-weight: 600; font-display: swap; src: url('/ds/assets/fonts/conthrax-semi-bold.otf') format('opentype'); }

html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: none; color: var(--nx-color-text); font-family: var(--nx-font-body); -webkit-font-smoothing: antialiased; }
/* o canvas (gradiente do tema) fica numa camada fixa: cobre a janela, não a página inteira, e não força repaint no scroll */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--nx-color-canvas); pointer-events: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
input { font: inherit; }
* { box-sizing: border-box; }
svg text { font-family: var(--nx-font-body); }

/* ---------- casca ---------- */
.nx-page { padding: 0 40px 64px; display: flex; flex-direction: column; gap: 128px; max-width: 1840px; margin: 0 auto; }
.nx-nav { position: sticky; top: 0; z-index: 30; padding: 18px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.nx-nav::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; -webkit-backdrop-filter: blur(10px) saturate(1.05); backdrop-filter: blur(10px) saturate(1.05); -webkit-mask-image: linear-gradient(to bottom, black 0, black 72%, transparent 100%); mask-image: linear-gradient(to bottom, black 0, black 72%, transparent 100%); }
.nx-brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; height: var(--nx-nav-height); padding: 0 22px; border: 1px solid var(--nx-color-text); border-radius: 999px; }
.nx-logo { font-family: 'Conthrax', var(--nx-font-display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.nx-logo-mark { width: 14px; height: 14px; border-radius: 4px; background: var(--nx-color-accent); box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent); transform: rotate(45deg); }
.nx-menu { justify-self: center; display: flex; gap: 2px; background: var(--nx-color-control); border-radius: 999px; padding: 4px; height: var(--nx-nav-height); align-items: center; box-shadow: var(--nx-shadow-control); }
.nx-menu a { border-radius: 999px; padding: 0 15px; line-height: 42px; font-size: 14px; white-space: nowrap; color: var(--nx-color-on-control-muted); transition: background var(--nx-motion-base) var(--nx-ease-standard), color var(--nx-motion-base) var(--nx-ease-standard); }
.nx-menu a.on { background: var(--nx-color-strong); color: var(--nx-color-on-strong); }
.nx-tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nx-hex { display: inline-flex; align-items: center; gap: 10px; height: var(--nx-nav-height); padding: 0 16px 0 8px; border-radius: 999px; background: var(--nx-color-control); color: var(--nx-color-on-control); box-shadow: var(--nx-shadow-control); cursor: text; }
.nx-hex .sw { width: 30px; height: 30px; border-radius: 999px; background: var(--nx-color-accent); box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent); flex: none; transition: background var(--nx-motion-base); }
.nx-hex .hash { opacity: .5; }
.nx-hex input { border: 0; outline: 0; background: transparent; color: inherit; font: 400 15px var(--nx-font-body); width: 13ch; text-transform: uppercase; letter-spacing: .06em; }
.nx-hex input::placeholder { text-transform: none; letter-spacing: 0; color: var(--nx-color-on-control-muted); }
.nx-hex .note { font-size: 12px; color: var(--nx-color-on-control-muted); white-space: nowrap; }
.nx-round { width: var(--nx-nav-height); height: var(--nx-nav-height); border: 0; border-radius: 999px; background: var(--nx-color-control); color: var(--nx-color-on-control); display: grid; place-items: center; box-shadow: var(--nx-shadow-control); cursor: pointer; position: relative; }
.nx-round img { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; }
.nx-round .dot { position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 999px; background: var(--nx-color-accent); box-shadow: 0 0 0 2px var(--nx-color-control); }

/* ---------- seções ---------- */
.sec { scroll-margin-top: 100px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sec h2 { margin: 0; font: 300 clamp(38px, 3.3vw, 62px)/1.02 var(--nx-font-display); letter-spacing: -.025em; text-wrap: balance; max-width: 22ch; }
.sec .lead { margin: 0; font-size: 17px; line-height: 1.45; color: var(--nx-color-text-muted-canvas); max-width: 64ch; }
.sec .lead b { font-weight: 500; color: var(--nx-color-text); }
.sec-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sec-head > .strip { flex-direction: row; align-items: flex-end; max-width: 620px; }
.sec-head > .kpis { flex-direction: row; }

/* ---------- peças ---------- */
.card { background: var(--nx-color-surface); border-radius: var(--nx-radius-card); padding: var(--nx-card-pad); box-shadow: var(--nx-shadow-card); color: var(--nx-color-text-on-surface); display: flex; flex-direction: column; gap: 12px; min-width: 0; position: relative; --nx-color-text-muted: var(--nx-th-text-muted); }
.card.opaque { background: var(--nx-color-surface-opaque); }
.card.strong { background: var(--nx-color-strong); color: var(--nx-color-on-strong); --nx-color-text-muted: var(--nx-color-on-strong-muted); --nx-color-text-on-surface: var(--nx-color-on-strong); --nx-color-text-faint: var(--nx-color-on-strong-muted); --nx-color-divider: var(--nx-color-strong-well); --nx-data-track: var(--nx-color-strong-well); --nx-data-reference: var(--nx-color-on-strong-muted); }
.card.accent { background: var(--nx-color-accent); color: var(--nx-color-on-accent); --nx-color-text-muted: color-mix(in srgb, var(--nx-color-on-accent) 78%, transparent); --nx-color-text-on-surface: var(--nx-color-on-accent); box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent), var(--nx-shadow-card); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-title { font-size: var(--nx-text-card-title, 20px); line-height: 1.15; }
.card-sub { font-size: 13px; color: var(--nx-color-text-muted); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.card-body.center { align-items: center; justify-content: center; }
.big { font: 300 40px/1 var(--nx-font-display); letter-spacing: -.02em; white-space: nowrap; }
.big small { font: 400 13px/1.3 var(--nx-font-body); color: var(--nx-color-text-muted); margin-left: 10px; letter-spacing: 0; display: inline-block; vertical-align: middle; white-space: normal; }
.big.md { font-size: 30px; }
.row { display: flex; gap: 16px; align-items: stretch; min-width: 0; }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.grow { flex: 1; }
.chart { display: block; min-width: 0; }
.chart svg { width: 100%; height: auto; display: block; }
.chart.fill { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.chart.fill svg { max-height: 100%; }
.chart.center { display: flex; justify-content: center; }
.chart.tight svg { height: 16px; overflow: hidden; }
.well { width: 44px; height: 44px; border-radius: 999px; background: var(--nx-color-surface-opaque); color: var(--nx-color-text-on-surface); display: inline-grid; place-items: center; box-shadow: var(--nx-shadow-control); flex: none; font-size: 14px; border: 0; cursor: pointer; }
.well.sm { width: 36px; height: 36px; }
.well.strong { background: var(--nx-color-strong); color: var(--nx-color-on-strong); box-shadow: none; }
.well.accent { background: var(--nx-color-accent); color: var(--nx-color-on-accent); box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent); }
.card.strong .well { background: var(--nx-color-strong-well); color: var(--nx-color-on-strong); box-shadow: none; }
.wells { display: flex; gap: 8px; }
.btn { height: 52px; padding: 0 24px; border-radius: 999px; background: var(--nx-color-strong); color: var(--nx-color-on-strong); display: inline-flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; border: 0; white-space: nowrap; }
.btn.ghost { background: var(--nx-color-control); color: var(--nx-color-on-control); box-shadow: var(--nx-shadow-control); }
.btn.accent { background: var(--nx-color-accent); color: var(--nx-color-on-accent); box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--nx-color-control); color: var(--nx-color-on-control); box-shadow: var(--nx-shadow-control); font-size: 14px; white-space: nowrap; cursor: pointer; border: 0; }
.chip.on { background: var(--nx-color-strong); color: var(--nx-color-on-strong); box-shadow: none; }
.chip .chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .6; }
.search { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--nx-color-control); color: var(--nx-color-on-control-muted); box-shadow: var(--nx-shadow-control); font-size: 14px; }
.search input { border: 0; outline: 0; background: transparent; color: var(--nx-color-on-control); width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 11px; font-size: 12px; white-space: nowrap; line-height: 1.2; }
.pill i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; display: inline-block; }
.pill-on { background: var(--nx-pr-status-lime); color: var(--nx-pr-status-lime-ink); }
.pill-off { background: var(--nx-pr-status-gray); color: var(--nx-pr-status-gray-ink); }
.pill-soft { background: var(--nx-color-control-soft); color: var(--nx-color-on-control); }
.pill-strong { background: var(--nx-color-strong); color: var(--nx-color-on-strong); }
.pill-outline { border: 1px solid currentColor; }
.av { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; object-position: 50% 20%; flex: none; display: inline-block; }
.av-ini { display: inline-grid; place-items: center; background: var(--nx-color-strong); color: var(--nx-color-on-strong); font-size: 12px; letter-spacing: .04em; }
.card.strong .av-ini { background: var(--nx-color-strong-well); }
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person b { font-weight: 400; font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person small { font-size: 12px; color: var(--nx-color-text-muted); display: block; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--nx-color-divider); }
.kv span { color: var(--nx-color-text-muted); white-space: nowrap; }
.kv b { font-weight: 400; text-align: right; }
.divider { border: 0; border-top: 1px dashed var(--nx-color-divider); margin: 6px 0; width: 100%; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--nx-color-text-muted); }
.legend i { width: 8px; height: 8px; border-radius: 999px; display: inline-block; margin-right: 6px; background: var(--nx-data-primary); }
.legend i.ref { background: var(--nx-data-reference); }
.legend i.neu { background: var(--nx-data-neutral); }
.note { font-size: 12px; color: var(--nx-color-text-muted-canvas); }
.nx-glass { background: var(--nx-glass-bg); -webkit-backdrop-filter: blur(var(--nx-glass-blur)) saturate(1.2); backdrop-filter: blur(var(--nx-glass-blur)) saturate(1.2); border: 1px solid var(--nx-glass-line); color: var(--nx-glass-ink); border-radius: 20px; }

/* foto atrás do vidro */
.photo { position: relative; border-radius: var(--nx-radius-card); overflow: hidden; box-shadow: var(--nx-shadow-card); min-height: 320px; background: linear-gradient(135deg, var(--nx-color-photo-a), var(--nx-color-photo-b)); display: flex; align-items: flex-end; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.photo .nx-glass { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.photo-name { font: 300 26px/1.05 var(--nx-font-display); letter-spacing: -.01em; }
.photo-role { font-size: 12px; opacity: .88; margin-top: 4px; }
.photo-badge { border: 1px solid currentColor; border-radius: 999px; height: 40px; padding: 0 16px; display: inline-flex; align-items: center; font-size: 14px; white-space: nowrap; }
.photo.round { min-height: 0; overflow: visible; background: none; box-shadow: none; display: block; }

/* faixa de medidas: rótulo em cima, cápsula embaixo; nunca trunca (min-width do conteúdo); valor sobre hachura em chip sólido */
.strip { display: flex; gap: var(--nx-measure-gap, 6px); align-items: flex-end; flex-wrap: wrap; max-width: 900px; }
.measure { display: flex; flex-direction: column; gap: 6px; flex: var(--f, 1) 1 0; min-width: max-content; }
.measure > span:first-child { font-size: 14px; color: var(--nx-color-text-muted-canvas); white-space: nowrap; padding-left: 4px; }
.card .measure > span:first-child { color: var(--nx-color-text-muted); }
.m-bar { height: var(--nx-measure-height, 46px); border-radius: 999px; display: flex; align-items: center; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.m-strong { background: var(--nx-color-strong); color: var(--nx-color-on-strong); }
.m-accent { background: var(--nx-color-accent); color: var(--nx-color-on-accent); box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent); }
.m-hatch { background: var(--nx-hatch); padding-left: 8px; box-shadow: inset 0 0 0 1px var(--nx-color-divider); }
.m-outline { border: 1px solid var(--nx-color-text); color: var(--nx-color-text); }
.card .m-outline { border-color: currentColor; color: inherit; }
.m-neutral { background: var(--nx-data-neutral); color: var(--nx-data-on-neutral); }
.m-chip { background: var(--nx-color-surface-opaque); color: var(--nx-color-text-on-surface); border-radius: 999px; padding: 4px 10px; font-weight: 400; }

/* ---------- tooltip = cartão de vidro (o mesmo desenho do popover do mapa) ---------- */
html .nx-tip { padding: 12px 16px 14px; border-radius: 18px; min-width: 170px; max-width: 320px; white-space: normal; background: color-mix(in srgb, var(--nx-color-strong) 64%, transparent); color: var(--nx-color-on-strong); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid color-mix(in srgb, var(--nx-color-on-strong) 26%, transparent); box-shadow: var(--nx-shadow-float); font: 400 12px/1.35 var(--nx-font-body); transform: translate(18px, -50%); }
html .nx-tip b { display: block; font: 300 26px/1.05 var(--nx-font-display); letter-spacing: -.02em; margin-top: 4px; }
html .nx-tip small { display: block; margin: 6px 0 0; opacity: .78; font-size: 12px; }
html .nx-tip .tip-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
html .nx-tip .tip-pill { border: 1px solid currentColor; border-radius: 999px; padding: 2px 9px; font-size: 11px; white-space: nowrap; }
html .nx-tip .tip-kv { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0 0; opacity: .82; }
html .nx-tip .tip-kv b { display: inline; font: 500 12px/1.35 var(--nx-font-body); letter-spacing: 0; margin: 0; }

/* ---------- herói ---------- */
.sec-hero { min-height: calc(100vh - 100px); margin-top: 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero-top h1 { margin: 0; font: 300 clamp(48px, 4.4vw, 84px)/1 var(--nx-font-display); letter-spacing: -.025em; text-wrap: balance; }
.hero-top .lead { font-size: 20px; line-height: 1.4; max-width: 52ch; }
.kpis { display: flex; gap: 44px; justify-content: flex-end; flex-wrap: wrap; }
.kpi { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.kpi b { font: 300 64px/1 var(--nx-font-display); letter-spacing: -.02em; }
.kpi span { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--nx-color-text-muted-canvas); }
.kpi span i { width: 28px; height: 28px; border-radius: 999px; background: var(--nx-color-control); box-shadow: var(--nx-shadow-control); display: inline-grid; place-items: center; color: var(--nx-color-on-control); }
.hero-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(300px, auto) minmax(280px, auto); gap: 16px; flex: 1; }
.hero-grid .photo { grid-column: 1; grid-row: 1 / 3; min-height: 100%; }
.hero-grid .c2 { grid-column: 2; grid-row: 1; }
.hero-grid .c3 { grid-column: 3; grid-row: 1; }
.hero-grid .c4 { grid-column: 4; grid-row: 1; }
.hero-grid .c5 { grid-column: 4; grid-row: 2; }
.hero-grid .wide { grid-column: 2 / 4; grid-row: 2; }
.hero-grid .c5 .chart svg { max-width: 220px; }
.lolli { width: 100%; }
.timer { position: relative; display: grid; place-items: center; }
.deck { background: var(--nx-color-strong); color: var(--nx-color-on-strong); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; margin-top: auto; --nx-color-text-muted: var(--nx-color-on-strong-muted); }
.deck-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 4px; }
.deck-head b { font: 300 20px/1 var(--nx-font-display); }
.deck-row { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 6px 0; border-bottom: 1px dashed var(--nx-color-strong-well); cursor: pointer; }
.deck-row:last-child { border-bottom: 0; }
.deck-ico { width: 24px; height: 24px; border-radius: 999px; background: var(--nx-color-strong-well); flex: none; display: grid; place-items: center; color: var(--nx-color-on-strong); }
.deck-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.deck-txt small { color: var(--nx-color-on-strong-muted); font-size: 11px; }
.deck-row.done .deck-txt { text-decoration: line-through; color: var(--nx-color-on-strong-muted); }
.deck-check { width: 20px; height: 20px; border-radius: 999px; border: 1px solid var(--nx-color-on-strong-muted); flex: none; display: grid; place-items: center; color: var(--nx-color-on-accent); }
.deck-row.done .deck-check { background: var(--nx-color-accent); border-color: transparent; box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent); }
.seg { display: flex; gap: 4px; font-size: 13px; color: var(--nx-color-text-muted); }
.seg span { border-left: 1px solid currentColor; padding-left: 6px; }

/* ---------- antes ---------- */
.sec-antes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.old-stack { position: relative; height: 620px; }
.old-back { position: absolute; border-radius: 14px; background: var(--nx-color-cell); box-shadow: var(--nx-shadow-shell); overflow: hidden; }
.old-back img { width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: grayscale(.4); }
.old-win { position: absolute; inset: 0 60px 40px 0; border-radius: 14px; background: var(--nx-color-surface-opaque); box-shadow: var(--nx-shadow-shell); overflow: hidden; transition: transform .5s cubic-bezier(.4, 0, 1, 1), opacity .5s; }
.old-win.closing { transform: scale(.92) translateY(30px); opacity: 0; }
.old-bar { height: 40px; background: var(--nx-color-cell); color: var(--nx-color-on-cell); display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--nx-color-divider); font: 12px var(--nx-font-body); }
.old-bar i { width: 12px; height: 12px; border-radius: 999px; background: var(--nx-color-strong); opacity: .35; }
.old-bar i.x { background: var(--nx-brand-danger); opacity: 1; cursor: pointer; }
.old-bar span { margin-left: auto; opacity: .7; }
.old-win img { width: 100%; height: calc(100% - 40px); object-fit: cover; object-position: top left; display: block; }
.antes-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.after { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.after .chart.center { display: flex; justify-content: center; }
.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- pessoas (pasta com abas) ---------- */
.folder { position: relative; background: var(--nx-color-folder); border-radius: 32px; padding: 78px 21px 21px; }
.folder-tabs { position: absolute; left: 21px; top: 17px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; right: 300px; }
.folder-actions { position: absolute; right: 21px; top: 17px; display: flex; gap: 8px; align-items: center; }
.folder-sheet { background: var(--nx-color-sheet); border-radius: 24px; padding: 22px 26px 26px; color: var(--nx-color-text-on-surface); --nx-color-text-muted: var(--nx-th-text-muted); overflow: auto; }
.nx-table .tr-sel .nx-td { background: var(--nx-color-accent); color: var(--nx-color-on-accent); }
.nx-table .tr-sel .nx-td:first-child { border-radius: 14px 0 0 14px; }
.nx-table .tr-sel .nx-td:last-child { border-radius: 0 14px 14px 0; }
.nx-table .nx-tr { cursor: pointer; }
.nx-table th.nx-num + th, .nx-table td.nx-num + td { padding-left: 22px; }
.chk { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--nx-color-divider); display: inline-grid; place-items: center; background: transparent; color: var(--nx-color-on-strong); }
.tr-sel .chk { background: var(--nx-color-strong); border-color: transparent; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.span2 { grid-column: span 2; }
.span3 { grid-column: span 3; }

/* ---------- contratação ---------- */
.hire { display: grid; grid-template-columns: 300px 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.cand { display: flex; flex-direction: column; gap: 12px; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color var(--nx-motion-base); }
.cand.on { outline-color: var(--nx-color-strong); }
.cand-top { display: flex; align-items: center; gap: 10px; }
.cand-top .well { margin-left: auto; }
.cand-match { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.bar { height: 6px; border-radius: 999px; background: var(--nx-data-track); overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--nx-data-primary); box-shadow: inset 0 0 0 1px var(--nx-data-primary-edge, transparent); }
.acc { display: flex; flex-direction: column; }
.acc-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--nx-color-divider); font-size: 14px; cursor: pointer; }
.acc-row i { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform var(--nx-motion-base); }
.acc-row.open i { transform: rotate(-135deg); }
.acc-body { display: none; padding: 4px 0 12px; font-size: 13px; color: var(--nx-color-text-muted); gap: 10px; align-items: center; }
.acc-body.open { display: flex; }
.acc-body .well { width: 32px; height: 32px; font-size: 12px; }
.hire-head { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 20px; align-items: start; }
.hire-head h3 { margin: 0; font: 300 34px/1.05 var(--nx-font-display); letter-spacing: -.02em; }
.hire-head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nx-color-text-muted); }
.score { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 22px; background: var(--nx-color-surface-opaque); padding: 8px; min-height: 190px; box-shadow: var(--nx-shadow-float); }
.score .chart { width: 170px; }

/* ---------- mapa ---------- */
.map-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi-card .spark { margin-top: auto; }
.kpi-card .spark svg text { display: none; }
.kpi-card .delta { font-size: 13px; color: var(--nx-color-text-muted); }
.kpi-card .delta b { font-weight: 500; color: var(--nx-data-positive); }
.map-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr); gap: 16px; align-items: stretch; }
.map-box { position: relative; overflow: hidden; border-radius: 22px; flex: 1; min-height: 440px; display: flex; align-items: center; }
.map-box .chart { width: 100%; transition: transform .48s var(--nx-ease-standard); transform-origin: 50% 55%; }
.map-box .chart svg path { cursor: pointer; transition: opacity var(--nx-motion-fast, 160ms), filter var(--nx-motion-fast, 160ms); }
.map-box .nx-chart.nx-hover [data-nx-i]:not([data-nx-on]) { filter: opacity(.82); }
#map-chart path.sel, #map-chart path.hov { stroke: var(--nx-color-strong); stroke-width: 1.6; filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--nx-color-strong) 45%, transparent)); opacity: 1 !important; }
#map-chart path.hov { stroke-dasharray: 3 2; }
#map-list .nx-li { cursor: pointer; }
#map-list .nx-li.nx-hl { background: transparent; }
.map-zoom { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.map-pop { position: absolute; left: 34%; top: 14%; width: 270px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; z-index: 2; pointer-events: none; --nx-glass-bg: color-mix(in srgb, var(--nx-color-strong) 62%, transparent); --nx-glass-line: color-mix(in srgb, var(--nx-color-on-strong) 28%, transparent); --nx-color-text-muted: var(--nx-color-on-strong-muted); }
/* sobre o mapa claro o vidro precisa de tinta escura: o vidro claro (fotos) some no cinza da terra */
.map-pop .big { font-size: 28px; }
.map-pop .kv { border: 0; padding: 2px 0; }
.map-side { display: flex; flex-direction: column; gap: 16px; }
.map-side .card { flex: 1; }

/* ---------- salário ---------- */
.sal { display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.sal-person { display: flex; flex-direction: column; gap: 12px; }
.toolbar { display: flex; gap: 8px; align-items: center; }
.toolbar .search { flex: 1; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--nx-cal-gap, 6px); }
.cal-h { font-size: 13px; color: var(--nx-color-text-muted); text-align: center; padding: 6px 0; }
.cal-h.we { color: var(--nx-color-weekend); }
.cal-d { position: relative; height: 66px; border-radius: var(--nx-radius-cell, 14px); padding: 8px 10px; font-size: 13px; background: var(--nx-color-cell); color: var(--nx-color-on-cell); cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: background var(--nx-motion-base); }
.cal-d b { font-weight: 400; }
.cal-d.we { background: var(--nx-hatch-cal); }
.cal-d.we b { background: var(--nx-color-surface-opaque); color: var(--nx-color-text-on-surface); border-radius: 999px; padding: 1px 7px; align-self: flex-start; }
.cal-d.out { opacity: .45; cursor: default; }
.cal-d.sel { background: var(--nx-color-accent); color: var(--nx-color-on-accent); box-shadow: inset 0 0 0 1px var(--nx-color-accent-edge, transparent); }
.cal-d.sel b { background: transparent; color: inherit; }
.cal-d small { font-size: 11px; color: var(--nx-color-text-muted); }
.cal-d.sel small { color: inherit; opacity: .8; }
.cal-span { align-self: end; margin: 0 6px 6px; height: 28px; border-radius: 999px; background: var(--nx-color-surface-opaque); color: var(--nx-color-text-on-surface); box-shadow: var(--nx-shadow-float), inset 0 0 0 1px var(--nx-color-divider); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; z-index: 1; pointer-events: none; white-space: nowrap; overflow: hidden; }
.cal-span i { width: 7px; height: 7px; border-radius: 999px; background: var(--nx-data-primary); flex: none; }
.cal-span i.ref { background: var(--nx-color-strong); }
.cal-span span { margin-left: auto; color: var(--nx-color-text-muted); }
.profile { padding: 0; overflow: hidden; }
.profile .photo { border-radius: 0; box-shadow: none; min-height: 300px; }
.profile-body { padding: 16px var(--nx-card-pad) var(--nx-card-pad); display: flex; flex-direction: column; gap: 10px; }
.profile-body h4 { margin: 8px 0 2px; font-size: 15px; font-weight: 400; }

/* ---------- analytics ---------- */
.ana { display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; gap: 16px; align-items: stretch; }
.ana2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 16px; }
.agenda { display: grid; grid-template-columns: 56px 1fr; gap: 10px 10px; align-items: start; }
.agenda .hour { height: 26px; border-radius: 999px; font-size: 11px; display: grid; place-items: center; border: 1px solid var(--nx-color-divider); color: var(--nx-color-text-muted); }
.agenda .hour.on { background: var(--nx-color-strong); color: var(--nx-color-on-strong); border-color: transparent; }
.agenda .hour.now { background: var(--nx-color-accent); color: var(--nx-color-on-accent); border-color: transparent; }
.agenda .ev { border-radius: 12px; padding: 8px 12px; background: var(--nx-color-surface-opaque); box-shadow: var(--nx-shadow-float); font-size: 13px; position: relative; }
.agenda .ev small { display: block; font-size: 11px; color: var(--nx-color-text-muted); }
.agenda .ev.on { background: var(--nx-color-strong); color: var(--nx-color-on-strong); box-shadow: none; }
.agenda .ev.on small { color: var(--nx-color-on-strong-muted); }
.agenda .ev.hatch { background: var(--nx-hatch); box-shadow: none; color: var(--nx-color-text-on-hatch); }
.agenda .ev i { position: absolute; top: 8px; right: 10px; width: 6px; height: 6px; border-radius: 999px; background: var(--nx-data-primary); }
.agenda .gap { height: 40px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; color: var(--nx-color-text-muted); gap: 2px; }
.days b { display: block; font-size: 15px; font-weight: 400; color: var(--nx-color-text-on-surface); }
.days .we { color: var(--nx-color-text-faint); }
.days .now { color: var(--nx-color-text-on-surface); font-weight: 500; }
.presence { display: flex; align-items: baseline; gap: 14px; font: 300 40px/1 var(--nx-font-display); }
.presence small { font-size: 18px; }
.presence .up { color: var(--nx-color-accent-on-strong, var(--nx-color-accent)); }

/* ---------- mobile ---------- */
.mob-wrap { overflow: hidden; padding: 10px 0; margin: 0 -40px; }
.mob-track { display: flex; gap: 28px; width: max-content; animation: nx-marquee 140s linear infinite; padding-left: 40px; }
.mob-track:hover { animation-play-state: paused; }
.mob-track > * { zoom: .77; flex: 0 0 auto; }
@keyframes nx-marquee { to { transform: translateX(-50%); } }
.mob-wait { height: 640px; display: grid; place-items: center; color: var(--nx-color-text-muted-canvas); }

/* ---------- apoiar (preços com aba de pasta) ---------- */
.plans-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.plans-head h2 { max-width: 24ch; }
.plans-head .lead { max-width: 62ch; }
.seg-toggle { display: flex; gap: 2px; background: var(--nx-color-control); border-radius: 999px; padding: 4px; height: 46px; align-items: center; box-shadow: var(--nx-shadow-control); }
.seg-toggle span { border-radius: 999px; padding: 0 16px; line-height: 38px; font-size: 14px; cursor: pointer; color: var(--nx-color-on-control-muted); transition: background var(--nx-motion-base); }
.seg-toggle span.on { background: var(--nx-color-strong); color: var(--nx-color-on-strong); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 8px; }
.plan { position: relative; display: flex; min-height: 640px; }
.plan-badge { position: absolute; right: 22px; top: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--nx-color-text-muted-canvas); }
.plan-badge i { width: 7px; height: 7px; border-radius: 999px; background: var(--nx-color-accent); display: block; }
.plan-back { flex: 1; position: relative; display: flex; clip-path: inset(0 round 32px); }
.plan.hot .plan-back { padding: 6px; background: repeating-linear-gradient(45deg, transparent 0 7px, color-mix(in srgb, var(--nx-color-on-accent) 35%, transparent) 7px 8px), var(--nx-color-accent); }
.plan-front { flex: 1; display: flex; flex-direction: column; padding: 0 28px 28px; clip-path: inset(0 round 30px); background: var(--nx-color-surface); color: var(--nx-color-text-on-surface); border: 1px solid var(--nx-color-divider); --nx-color-text-muted: var(--nx-th-text-muted); }
.plan.hot .plan-front { background: var(--nx-color-strong); color: var(--nx-color-on-strong); border: 0; --nx-color-text-muted: var(--nx-color-on-strong-muted); --nx-color-divider: var(--nx-color-strong-well); }
.plan-name { font: 400 24px/1 var(--nx-font-display); text-align: center; margin-top: 52px; }
.plan-price { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; text-align: center; }
.plan-price .price-row { display: flex; justify-content: center; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price s { font: 300 30px/1 var(--nx-font-display); color: var(--nx-color-text-muted); }
.plan-price b { font: 300 60px/1 var(--nx-font-display); letter-spacing: -.02em; }
.plan-price small { display: flex; flex-direction: column; align-items: center; font-size: 13px; line-height: 1.45; color: var(--nx-color-text-muted); }
.plan p { margin: 18px auto 0; font-size: 14px; line-height: 1.5; text-align: center; max-width: 36ch; color: var(--nx-color-text-muted); }
.plan .divider { margin: 22px 0 10px; }
.feat { display: flex; align-items: center; gap: 12px; height: 40px; font-size: 14px; }
.feat i { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--nx-brand-success); color: var(--nx-pr-white); }
.feat.off i { background: transparent; color: var(--nx-color-text-faint); }
.feat.off span { color: var(--nx-color-text-faint); }
.plan-cta { margin-top: auto; display: flex; justify-content: center; padding-top: 20px; }
.plan.hot .plan-cta .btn { background: var(--nx-color-surface-opaque); color: var(--nx-color-text-on-surface); }
.plans-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--nx-color-text-muted-canvas); padding-top: 20px; border-top: 1px dotted var(--nx-color-divider); }

/* ---------- marcos / painel / vitrine ---------- */
.x-card { min-height: 240px; }
.x-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nx-color-text-muted); }
.x-card code { font: 12px ui-monospace, Consolas, monospace; }
.x-tag { display: inline-flex; border-radius: 999px; padding: 4px 10px; font-size: 12px; background: color-mix(in srgb, currentColor 10%, transparent); align-self: flex-start; }
.x-big { font: 300 clamp(34px, 3vw, 48px)/1 var(--nx-font-display); }
.x-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--nx-color-control); color: var(--nx-color-on-control); box-shadow: var(--nx-shadow-control); font-size: 14px; }
.card.strong .x-btn { background: var(--nx-color-strong-well); color: var(--nx-color-on-strong); box-shadow: none; }
.card.accent .x-btn { background: var(--nx-color-strong); color: var(--nx-color-on-strong); box-shadow: none; }
.card.soon { background: var(--nx-hatch); color: var(--nx-color-text-on-hatch); box-shadow: none; }
.card.soon p { color: inherit; }
.x-link { transition: transform var(--nx-motion-base) var(--nx-ease-standard); }
.x-link:hover { transform: translateY(-2px); }
.marcos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.goals { display: flex; flex-direction: column; gap: 6px; }
.goal { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--nx-color-divider); font-size: 14px; }
.goal:last-child { border-bottom: 0; }
.goal i { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; flex: none; font-size: 12px; font-style: normal; background: var(--nx-hatch); color: var(--nx-color-text-on-hatch); }
.goal.done i { background: var(--nx-color-strong); color: var(--nx-color-on-strong); }
.goal.done span { color: var(--nx-color-text-on-surface); }
.goal span { color: var(--nx-color-text-muted); }
.goal.done b { font-weight: 500; }
.foot { font-size: 12px; color: var(--nx-color-text-muted-canvas); text-align: center; padding-top: 8px; }
.foot-line { margin: 0 0 10px; font: 300 clamp(20px, 1.8vw, 28px)/1.2 var(--nx-font-display); color: var(--nx-color-text); letter-spacing: -.01em; }
.foot a { color: inherit; }

/* ---------- entrada animada por seção (nx-play é dado pelo IntersectionObserver) ---------- */
.sec > * { transition: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1600px) {
  .nx-menu a { padding: 0 11px; font-size: 13px; }
  .nx-hex .note { display: none; }
  .nx-hex input { width: 11ch; }
}
@media (max-width: 1400px) {
  .hire { grid-template-columns: 260px 280px minmax(0, 1fr); }
  .sal { grid-template-columns: 260px minmax(0, 1fr) 280px; }
  .ana { grid-template-columns: 260px minmax(0, 1fr) 300px; }
}
@media (max-width: 1200px) {
  .nx-nav { grid-template-columns: auto 1fr auto; padding: 14px 24px; }
  .nx-menu { justify-self: center; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .nx-menu::-webkit-scrollbar { display: none; }
  .nx-hex input { width: 9ch; }
  .nx-hex .note { display: none; }
  .nx-page { padding: 0 24px 48px; gap: 96px; }
  .mob-wrap { margin: 0 -24px; }
  .hero-top, .sec-antes, .map-row, .ana2 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .hero-grid .photo, .hero-grid .c4, .hero-grid .c5, .hero-grid .c2, .hero-grid .c3 { grid-row: auto; grid-column: auto; min-height: 340px; }
  .hero-grid .wide { grid-column: span 2; grid-row: auto; }
  .hire, .sal, .ana { grid-template-columns: 1fr 1fr; }
  .hire > :last-child, .sal > :last-child, .ana > :last-child { grid-column: span 2; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .marcos, .grid3 { grid-template-columns: 1fr; }
  .span2, .span3 { grid-column: span 1; }
  .kpis { justify-content: flex-start; }
  .old-stack { height: 460px; }
}
@media (max-width: 760px) {
  .nx-nav { grid-template-columns: 1fr auto; }
  .nx-menu { display: none; }
  .hero-grid, .hire, .sal, .ana, .grid4, .map-kpis { grid-template-columns: 1fr; }
  .hero-grid .wide, .hire > :last-child, .sal > :last-child, .ana > :last-child { grid-column: span 1; }
  .hero-grid .photo, .hero-grid .c4, .hero-grid .c5, .hero-grid .c2, .hero-grid .c3 { grid-column: auto; }
  .nx-page { padding: 0 16px 40px; gap: 72px; }
  .mob-wrap { margin: 0 -16px; }
  .sec h2 { font-size: 34px; }
}
