/* =========================================================================
   GESTÃO EXPRESS — HOME (index.html)
   Linguagem: página editorial clara, com o produto mostrado em fluxos.
   Cores só da logo: tinta azul-marinho, verde (destaque e aprovação),
   azul e ciano nos nós dos diagramas. Âmbar = pendente.
   ========================================================================= */

:root {
    --bg: #FAFAF7;           /* papel quente, base da página */
    --surface: #FFFFFF;
    --tint: #F3F4EF;         /* painéis secundários */
    --line: #E3E5DE;
    --line-2: #CFD3C9;
    --ink: #0B1F3A;          /* azul-marinho da logo */
    --ink-2: #14304F;
    --muted: #556070;
    --green: #4BB942;        /* verde da logo: botões, linhas, marcação */
    --green-hover: #5CCC52;
    --green-ink: #2A7F22;    /* verde para texto sobre o papel */
    --green-tint: #EEF6EA;
    --green-line: #CFE5C8;
    --green-glow: #5DCB53;   /* verde para texto sobre o azul-marinho */
    --blue: #0096DA;
    --blue-ink: #006DAF;
    --cyan: #14DBF2;
    --amber: #F2A33A;
    --amber-ink: #8F5400;
    --rose: #B42318;
    --night: #081629;        /* faixa escura */
    --night-2: #0E2240;

    --font: 'Geist', system-ui, sans-serif;
    --display: 'Geist', system-ui, sans-serif;

    --radius: 16px;
    --radius-m: 12px;
    --radius-s: 9px;
    --gutter: clamp(16px, 4vw, 40px);
    --max: 1200px;
    --shadow: 0 1px 2px rgba(11, 31, 58, .05), 0 14px 32px -20px rgba(11, 31, 58, .22);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.6; color: var(--ink);
    background: var(--bg); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
    caret-color: var(--green-ink);
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgba(75, 185, 66, .28); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 80px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); color: inherit; }
h1 { font-weight: 650; font-size: clamp(42px, 7vw, 88px); line-height: .98; letter-spacing: -0.04em; text-wrap: balance; }
h2 { font-weight: 650; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-weight: 650; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.accent { color: var(--green-ink); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sub { color: var(--muted); font-size: 17px; max-width: 50ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(88px, 11vw, 144px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.split-head { display: grid; gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head > div { display: grid; gap: 16px; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.35fr 1fr; } }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
    font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--approve { background: var(--green); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(11, 31, 58, .12); }
.btn--approve:hover { background: var(--green-hover); color: var(--ink); }
.btn--approve:active { transform: translateY(1px); }
.btn--outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--xs { min-height: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 8px; }
.link-quiet { font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.logo img { height: 30px; width: auto; }
.nav, .header-actions { display: none; }
.nav { gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.header-actions { align-items: center; gap: 18px; }
.header-wa { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.header-wa svg { width: 17px; height: 17px; }
.header-wa:hover { color: var(--ink); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius-s); }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); padding: 8px var(--gutter) 20px; }
.mobile-menu a { display: block; padding: 13px 0; font-size: 18px; font-weight: 550; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { display: flex; margin-top: 18px; border: 0; padding: 0 22px; font-size: 16px; }
@media (min-width: 1000px) {
    .header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
    .nav { display: flex; }
    .header-actions { display: flex; justify-self: end; }
    .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Abertura ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); overflow-x: clip; }
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 22px; }
.pill-note { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(11, 31, 58, .04); }
.pill-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pill-note svg { width: 14px; height: 14px; color: var(--muted); transition: transform .2s var(--ease); }
.pill-note:hover { border-color: var(--line-2); color: var(--ink); }
.pill-note:hover svg { transform: translateX(2px); }
.hero h1 { max-width: 15ch; margin-top: 6px; }
/* A frase-chave dentro de uma moldura de seleção, como um lançamento marcado */
.mark { position: relative; display: inline-block; color: var(--green-ink); padding: 0 .1em .04em; margin-top: .08em; border: 1.5px solid rgba(75, 185, 66, .7); }
.mark i { position: absolute; width: 9px; height: 9px; background: var(--surface); border: 1.5px solid var(--green); }
.mark i:nth-of-type(1) { left: -5px; top: -5px; }
.mark i:nth-of-type(2) { right: -5px; top: -5px; }
.mark i:nth-of-type(3) { left: -5px; bottom: -5px; }
.mark i:nth-of-type(4) { right: -5px; bottom: -5px; }
.hero-sub { max-width: 60ch; color: var(--muted); font-size: clamp(16.5px, 1.5vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: var(--muted); }
.reassure li { display: inline-flex; align-items: center; }
.reassure li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-inline: 12px; }

/* ---------- Fluxos (nós ligados por curvas) ---------- */
.flow { position: relative; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow-lines path { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.flow-lines circle { fill: var(--green); opacity: 0; transition: opacity .3s; }
.flow.is-drawn .flow-lines path { stroke-dashoffset: 0; }
.flow.is-drawn .flow-lines circle { opacity: 1; }
.edge-label { position: absolute; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--green-line); font-size: 11.5px; font-weight: 600; color: var(--green-ink); white-space: nowrap; opacity: 0; transition: opacity .4s .5s; pointer-events: none; }
.flow.is-drawn .edge-label { opacity: 1; }
.node { position: absolute; left: var(--x); top: var(--y); width: 220px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow); z-index: 1; }
.node b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.node span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.node--key { border: 1.5px solid var(--green); box-shadow: 0 0 0 5px rgba(75, 185, 66, .12), var(--shadow); }
.node--you { background: var(--ink); border-color: var(--ink); color: #fff; }
.node--you span { color: rgba(255, 255, 255, .72); }
.node--alert { border-color: rgba(242, 163, 58, .7); }
.node--paper { display: block; width: 240px; padding: 12px 14px 10px; transform: rotate(-2.5deg); }
.node-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.mini-lines { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 10px; }
.mini-lines span { color: var(--muted); }
.mini-lines b { font-size: 12.5px; font-weight: 600; }
.in { color: var(--green-ink); }
.node-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.node-ico svg { width: 18px; height: 18px; }
.ico-green { background: var(--green-tint); color: var(--green-ink); }
.ico-blue { background: #E4F2FA; color: var(--blue-ink); }
.ico-cyan { background: #DFF8FB; color: #0A7684; }
.ico-amber { background: #FDF0DD; color: var(--amber-ink); }
.ico-ink { background: var(--ink); color: #fff; }
.node--you .ico-ink { background: rgba(255, 255, 255, .12); }
.flow-note { position: absolute; left: var(--x); top: var(--y); font-size: 14px; font-style: italic; color: var(--muted); transform: rotate(-3deg); display: flex; align-items: flex-end; gap: 2px; }
.flow-note svg { width: 34px; height: 34px; transform: translateY(18px) scaleX(-1); color: var(--muted); }

.flow--hero { height: 400px; margin-top: clamp(48px, 6vw, 72px); }
.hero-tools { display: flex; justify-content: center; padding: 18px 0 clamp(40px, 5vw, 56px); }
.ask-bar { display: flex; align-items: center; gap: 12px; width: min(100%, 520px); padding: 7px 7px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--muted); font-size: 14.5px; }
.ask-bar:hover { border-color: var(--line-2); color: var(--ink); }
.ask-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green-ink); flex-shrink: 0; }
.ask-ico svg { width: 16px; height: 16px; }
.ask-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-send { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ask-send svg { width: 16px; height: 16px; }

/* No celular o fluxo da abertura vira uma pilha com linha vertical */
@media (max-width: 860px) {
    .flow--hero { height: auto; display: grid; gap: 22px; justify-items: center; }
    .flow--hero .flow-lines, .flow--hero .flow-note, .flow--hero .edge-label { display: none; }
    .flow--hero .node { position: relative; left: auto; top: auto; width: min(100%, 320px); transform: none; }
    .flow--hero .node + .node::before { content: ""; position: absolute; left: 50%; top: -23px; width: 1.6px; height: 22px; background: var(--green); }
    .flow--hero [data-node="agenda"] { order: 1; }
    .flow--hero [data-node="voce"] { order: 2; }
}

/* ---------- Faixa de confiança ---------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 26px; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.trust-badge { display: flex; align-items: center; gap: 12px; }
.mark-mini { width: 30px; height: 30px; flex-shrink: 0; }
.trust-badge span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust-badge b { display: block; font-size: 14.5px; font-weight: 600; }
.trust-points { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.trust-points li { display: inline-flex; align-items: center; gap: 8px; }
.trust-points svg { width: 16px; height: 16px; color: var(--green-ink); }

/* ---------- Rotinas (painel com modos) ---------- */
.intro { display: grid; justify-items: center; text-align: center; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.intro h2 { max-width: 22ch; }
.intro .sub { max-width: 58ch; }
.stage { position: relative; border: 1px solid var(--line); border-radius: 22px; background-color: var(--surface); background-image: radial-gradient(circle, #DADDD5 1px, transparent 1.3px); background-size: 22px 22px; padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 56px) clamp(28px, 4vw, 40px); display: grid; justify-items: center; gap: 26px; box-shadow: var(--shadow); }
.stage-title { font-family: var(--display); font-size: clamp(30px, 4.4vw, 54px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; text-align: center; }
.mode-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mode-pills button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 2px rgba(11, 31, 58, .05); transition: border-color .15s, background-color .15s; }
.mode-pills button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background-color .2s; }
.mode-pills button:hover { border-color: var(--ink); }
.mode-pills button[aria-selected="true"] { border-color: var(--green); background: var(--green-tint); }
.mode-pills button[aria-selected="true"]::before { background: var(--green); }
.routine { width: min(100%, 640px); display: grid; gap: 14px; }
.routine-lead { text-align: center; color: var(--muted); font-size: 15.5px; }
.play { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); padding: 4px 6px; border-radius: 999px; }
.play-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .2s var(--ease); }
.play-ico svg { width: 15px; height: 15px; margin-left: 2px; }
.play:hover .play-ico { transform: scale(1.06); }
.play[aria-pressed="true"] .play-ico svg { margin-left: 0; }
.stage-foot { font-size: 12.5px; color: var(--muted); }

/* Extrato (linhas com estado) */
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; text-align: left; }
.ledger-row { display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
.ledger-row > div b { display: block; font-weight: 600; }
.ledger-row > div span { display: block; font-size: 13px; color: var(--muted); transition: opacity .3s, transform .3s var(--ease); }
.ledger-row > b { font-weight: 600; }
.state { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; transition: background-color .3s, transform .3s var(--ease); }
.state[data-state="ok"] { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.state[data-state="wait"] { background: rgba(242, 163, 58, .2); }
.state[data-state="wait"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.ledger-row.is-pending .state[data-state="ok"] { background: rgba(242, 163, 58, .2) none; transform: scale(.85); }
.ledger-row.is-pending > div span { opacity: 0; transform: translateX(-6px); }
.ledger-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; background: var(--green-tint); font-size: 14px; }
.ledger-foot > b { display: inline-flex; align-items: center; gap: 8px; }
.ledger-foot > b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.ledger:has([data-state="wait"]) .ledger-foot { background: #FDF5E8; }
.ledger:has([data-state="wait"]) .ledger-foot > b::before { background: var(--amber); }
.ledger--card { margin-top: 6px; }

/* ---------- Segmentos ---------- */
.cases { display: grid; gap: 16px; }
.case { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.case:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: var(--ink); }
.case p:not(.eyebrow) { color: var(--muted); font-size: 15.5px; }
.case--big { background: var(--green-tint); border-color: var(--green-line); }
.case--big:hover { border-color: var(--green); }
.case--big h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; transition: transform .25s var(--ease), background-color .2s; }
.arrow svg { width: 16px; height: 16px; }
.case:hover .arrow { transform: translateX(3px); background: var(--ink); color: #fff; border-color: var(--ink); }
.case-link { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 600; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: auto; padding-top: 10px; }
.chain span { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface); }
.chain i { width: 18px; height: 1.6px; background: var(--green); }
.chain .chain-end { background: var(--green-tint); border-color: var(--green); color: var(--green-ink); }
@media (min-width: 900px) {
    .cases { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; }
    .case--big { grid-row: span 2; }
}

/* ---------- Janela de aplicativo (mapa do diagnóstico) ---------- */
.app { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--line); }
.app-url { flex: 1; min-width: 0; padding: 7px 12px; border-radius: 8px; background: var(--tint); font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-canvas { position: relative; background-color: #FCFCFA; background-image: radial-gradient(circle, #D9DCD3 1px, transparent 1.3px); background-size: 20px 20px; overflow-x: auto; }
.flow--map { height: 440px; min-width: 900px; margin: 0 24px; }
.flow--map .node { width: 205px; }
.inspect { position: absolute; right: 20px; bottom: 22px; width: 270px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow); font-size: 13.5px; display: grid; gap: 8px; z-index: 2; }
.inspect-title { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.inspect-title span { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #FDF0DD; color: var(--amber-ink); align-self: center; }
.inspect-row { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.inspect-row b { color: var(--ink); font-weight: 600; }
.inspect-row b.warn { color: var(--amber-ink); }
.app-status { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.app-status b { color: var(--ink); }
.app-status-end { margin-left: auto; }
@media (max-width: 900px) {
    .inspect { position: static; width: auto; margin: 0 16px 16px; }
}

/* ---------- Sistemas, bancos e maquininhas ---------- */
.chips-field { overflow-x: auto; scrollbar-width: none; padding-block: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.chips-field::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 10px; list-style: none; margin: 0 auto; padding: 0 40px; width: max-content; }
.chips--offset { margin-top: 10px; transform: translateX(-48px); }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: border-color .15s, transform .2s var(--ease); }
.chip:hover { border-color: var(--line-2); transform: translateY(-1px); }
.chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(11, 31, 58, .12); }
.chip--logo img { height: 16px; width: auto; }
.chips-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- Calculadora em dois painéis ---------- */
.duo { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.duo-pane { padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; align-content: start; }
.duo-pane--in { background: var(--tint); border-bottom: 1px solid var(--line); }
.pane-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pane-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.pane-label i.on { background: var(--green); }
.calc-controls { display: grid; gap: 26px; }
.field-label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; padding: 11px 10px; text-align: left; cursor: pointer; display: grid; gap: 1px; transition: border-color .15s, background-color .15s; }
.choice button b { font-size: 15px; font-weight: 600; }
.choice button span { font-size: 12.5px; color: var(--muted); }
.choice button:hover { border-color: var(--ink); }
.choice button[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.calc-controls select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 15.5px; }
.salary-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.salary-line .field-label { margin: 0; }
.salary-line output { font-family: var(--display); font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
input[type="range"] { width: 100%; accent-color: var(--green); height: 32px; margin: 4px 0 0; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.presets button { min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; cursor: pointer; }
.presets button:hover { border-color: var(--ink); }
.presets button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.receipt { display: grid; }
.receipt .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.receipt .row small { display: block; color: var(--muted); font-size: 12.5px; }
.receipt .row .neg { color: var(--rose); font-weight: 600; }
.receipt .row.total { border-bottom: 0; border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 13px; font-weight: 650; }
.savings { display: grid; gap: 8px; padding: 18px; border-radius: var(--radius-m); background: var(--green-tint); border: 1px solid var(--green-line); }
.savings .big { font-family: var(--display); font-size: clamp(36px, 4.6vw, 52px); font-weight: 650; letter-spacing: -0.035em; color: var(--green-ink); line-height: 1; }
.compare { display: grid; gap: 10px; margin-top: 6px; font-size: 13.5px; }
.compare .salary-line { margin-bottom: 5px; }
.bar { height: 8px; border-radius: 999px; background: rgba(11, 31, 58, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; }
.bar i.clt { width: 100%; background: #9AA3AE; }
.bar i.bpo { background: var(--green); transition: width .5s var(--ease); }
.duo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 14px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); background: var(--tint); }
.duo-foot p { font-size: 13.5px; color: var(--muted); max-width: 58ch; }
.duo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
@media (min-width: 980px) {
    .duo { grid-template-columns: 1fr 1fr; }
    .duo-pane--in { border-bottom: 0; border-right: 1px solid var(--line); }
    .duo-foot { grid-column: 1 / -1; }
}

/* ---------- Faixa escura: quem faz o quê ---------- */
.showcase { background: var(--night); color: #fff; }
.showcase .eyebrow { color: rgba(255, 255, 255, .6); }
.showcase .sub { color: rgba(255, 255, 255, .72); }
.showcase .accent { color: var(--green-glow); }
.player { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: #0A1B33; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.player-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.player-bar span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.player-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.player-canvas { overflow-x: auto; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 36px 36px; }
.flow--dark { height: 340px; min-width: 980px; margin: 0 28px; }
.flow--dark .node { width: 190px; background: #0F2546; border-color: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; transition: border-color .4s, box-shadow .4s; }
.flow--dark .node span { color: rgba(255, 255, 255, .6); }
.flow--dark .node-ico { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8); transition: background-color .4s, color .4s; }
.flow--dark .node.is-lit { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 36px -6px rgba(75, 185, 66, .6); }
.flow--dark .node.is-lit .node-ico { background: var(--green); color: var(--ink); }
.flow--dark .flow-lines path { stroke: rgba(255, 255, 255, .16); stroke-dashoffset: 0; transition: stroke .5s; }
.flow--dark .flow-lines path.is-lit { stroke: var(--green); filter: drop-shadow(0 0 5px rgba(75, 185, 66, .8)); }
.flow--dark .flow-lines circle { opacity: 1; fill: rgba(255, 255, 255, .25); transition: fill .5s; }
.flow--dark .flow-lines circle.is-lit { fill: var(--green); }
.flow--dark .edge-label { opacity: 1; background: #0A1B33; border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .6); transition: color .4s, border-color .4s; }
.flow--dark .edge-label.is-lit { color: var(--green-glow); border-color: rgba(75, 185, 66, .6); }
.player-controls { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 16px; padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.player-play { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--green); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.player-play svg { width: 17px; height: 17px; }
.player-play .i-play { margin-left: 2px; }
.player-play .i-replay, .player.is-ended .player-play .i-play { display: none; }
.player.is-ended .player-play .i-replay { display: block; }
.track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; background: var(--green); border-radius: inherit; transition: width .9s linear; }
.ticks { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; font-size: 12px; color: rgba(255, 255, 255, .5); }
.showcase-points { display: grid; gap: 18px 32px; list-style: none; padding: 28px 0 0; margin: 40px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.showcase-points b { display: block; font-weight: 600; }
.showcase-points span { color: rgba(255, 255, 255, .64); font-size: 15px; }
@media (min-width: 860px) { .showcase-points { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plan--featured { background: var(--green-tint); border-color: var(--green-line); }
.plan--featured .eyebrow { color: var(--green-ink); }
.plan h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; }
.plan .tagline { color: var(--muted); font-size: 15.5px; }
.plan .includes { font-size: 14.5px; font-weight: 600; }
.ticks-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.ticks-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ticks-list li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A7F22' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan--featured .ticks-list li::before { background-color: var(--surface); }
.plan .btn { margin-top: auto; }
@media (min-width: 960px) { .plans { grid-template-columns: 1.2fr 1fr 1fr; } }

/* ---------- Sócios ---------- */
.people { display: grid; gap: 48px; align-items: center; }
.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed var(--line-2); }
.ring--1 { inset: 0; }
.ring--2 { inset: 20%; border-style: solid; border-color: var(--line); }
.ring--1::after { content: ""; position: absolute; left: 85%; top: 14.6%; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.orbit-mark { position: absolute; left: 50%; top: 50%; width: 26%; height: 26%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 24px rgba(11, 31, 58, .25)); }
.sat { position: absolute; width: 19%; aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--surface); box-shadow: var(--shadow); background: var(--line); }
.sat--1 { left: 4%; top: 22%; }
.sat--2 { right: 8%; bottom: 10%; }
.tag { position: absolute; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow); transform: rotate(var(--r, 0deg)); }
.tag--1 { right: -2%; top: 30%; --r: 4deg; }
.tag--2 { left: 2%; bottom: 18%; --r: -4deg; }
.tag--3 { left: 40%; top: -2%; --r: -2deg; }
.people-copy { display: grid; gap: 18px; justify-items: start; }
.bios { margin: 6px 0 8px; display: grid; gap: 16px; }
.bios div { padding-top: 14px; border-top: 1px solid var(--line); }
.bios dt { font-weight: 650; font-size: 17px; }
.bios dt span { font-weight: 500; font-size: 14px; color: var(--muted); margin-left: 6px; }
.bios dd { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
@media (min-width: 900px) { .people { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Dúvidas ---------- */
.faq-grid { display: grid; gap: 32px 72px; }
.faq-grid > div:first-child { display: grid; gap: 16px; align-content: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: var(--muted); transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq summary:hover i::before, .faq summary:hover i::after { background: var(--ink); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 66ch; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }

/* ---------- Faixa final com formulário ---------- */
.final { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(80px, 10vw, 136px); }
.final-lines { position: absolute; width: min(36vw, 420px); height: auto; pointer-events: none; }
.final-lines--a { left: 0; top: 48px; }
.final-lines--b { right: 0; top: 34%; }
.final-lines path, .final-lines rect { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.4; }
@media (max-width: 760px) { .final-lines { opacity: .6; } .final-lines--b { display: none; } }
.final-lines circle { fill: var(--green); opacity: .7; }
.final-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; }
.final .eyebrow { color: rgba(255, 255, 255, .62); }
.final h2 { font-size: clamp(42px, 7vw, 92px); letter-spacing: -0.045em; line-height: .98; max-width: 13ch; }
.final .accent { color: var(--green-glow); }
.final-sub { max-width: 56ch; color: rgba(255, 255, 255, .74); font-size: 17px; }
.final-grid { display: grid; gap: 32px 48px; width: 100%; margin-top: clamp(32px, 5vw, 52px); text-align: left; align-items: start; }
.final-side { display: grid; gap: 22px; }
@media (min-width: 980px) { .final-grid { grid-template-columns: .85fr 1.15fr; } }
.replier { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-m); background: rgba(255, 255, 255, .04); }
.replier .faces { display: flex; flex-shrink: 0; }
.replier .faces img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--ink); background: var(--ink-2); }
.replier .faces img + img { margin-left: -12px; }
.replier p { font-size: 15.5px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.next-steps li::before { content: counter(step); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; border: 1px solid rgba(255, 255, 255, .3); }
.next-steps span { color: rgba(255, 255, 255, .72); font-size: 15px; }
.final .direct { font-size: 15.5px; color: rgba(255, 255, 255, .74); }
.final .direct a { color: var(--cyan); display: inline-block; padding-block: 6px; }

/* Formulário (mesmos campos e validação de js/site.js) */
.lead-form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.lead-form h3 { font-size: 21px; }
.lead-form .small { font-size: 14px; color: var(--muted); }
.lead-form .grid2 { display: grid; gap: 14px; }
@media (min-width: 620px) { .lead-form .grid2 { grid-template-columns: 1fr 1fr; } }
.lead-form label.f { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; align-content: start; }
.lead-form label.f small { font-weight: 400; color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form select {
    width: 100%; min-height: 48px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.lead-form input:focus, .lead-form select:focus { border-color: var(--green-ink); outline: none; box-shadow: 0 0 0 4px rgba(75, 185, 66, .18); }
.lead-form ::placeholder { color: #6B7480; }
.lead-form .hint { font-size: 13px; font-weight: 400; color: var(--muted); }
.lead-form [aria-invalid="true"] { border-color: var(--rose) !important; }
.lead-form .f-error { font-size: 13.5px; font-weight: 600; color: var(--rose); }
.lead-form .consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--muted); }
.lead-form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-ink); }
.lead-form .consent .f-error { grid-column: 2; }
.lead-form a { color: var(--blue-ink); }
.lead-form .send-note { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.lead-form .send-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--green-ink); }
.lead-form .btn { width: 100%; min-height: 52px; font-size: 16px; }
.lead-form [data-form-error] { color: var(--rose); font-weight: 600; font-size: 14.5px; }
.form-done { display: grid; gap: 16px; }
.form-done p { color: var(--muted); }
.form-done .ledger-row { grid-template-columns: 1fr auto; }
.form-done .ledger-row .bank { display: grid; gap: 2px; }
.form-done .ledger-row .bank span { font-size: 13px; color: var(--muted); }
.form-done .ledger-row .erp { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.form-done .ledger-row .erp em { font-style: normal; }
.form-done .state { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.form-done .state svg { display: none; }
.form-done .ledger-row.is-pending .state { background: rgba(242, 163, 58, .2) none; }
.form-done .ledger-foot .verdict { font-weight: 600; }

/* ---------- Rodapé ---------- */
.site-footer { padding-block: 64px 28px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer-grid img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-grid p { max-width: 36ch; }
.footer-note { margin-top: 8px; font-size: 13.5px; }
.footer-grid h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-grid li { padding-block: 3px; }
.footer-grid li a { display: inline-block; padding-block: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- WhatsApp fixo e aviso de cookies ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(11, 31, 58, .55); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.wa-float:hover { background: var(--green-hover); color: var(--ink); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-away { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); }
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; font-size: 15px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.consent-bar .actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent-bar .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.consent-bar .btn--line { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.consent-bar .btn--ink { background: var(--ink); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
