:root {
  --ink: #0f172a;
  --ink-2: #172033;
  --slate: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f4f7fa;
  --white: #fff;
  --accent: #e1a348;
  --accent-2: #f1c477;
  --accent-dark: #9a641d;
  --green: #0f766e;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(15, 23, 42, .14);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--slate); background: var(--white); font-family: var(--font); line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); padding: 10px 16px; color: var(--ink); background: var(--white); border-radius: 8px; }
.skip-link:focus { transform: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #dce3ed; }
.nav-shell { width: min(1180px, calc(100% - 40px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid rgba(255,255,255,.11); }
.brand { display: inline-flex; align-items: center; height: 58px; }
.brand img, .site-footer img { width: auto; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 550; }
.nav-links a { text-decoration: none; opacity: .82; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { opacity: 1; color: var(--white); }
.nav-login { margin-left: 6px; }
.nav-toggle { display: none; width: 44px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: white; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: currentColor; }

.button { display: inline-flex; min-height: 46px; padding: 0 20px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--accent); border-radius: 10px; color: #201809; background: var(--accent); box-shadow: 0 8px 26px rgba(225,163,72,.18); font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--accent-2); border-color: var(--accent-2); }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 13px; opacity: 1 !important; }
.button-ghost { color: white; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.button-outline { color: var(--ink); background: transparent; border-color: #cbd5e1; box-shadow: none; }
.button-outline:hover { background: var(--soft); border-color: #94a3b8; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.hero, .page-hero { position: relative; overflow: hidden; color: white; background: var(--ink); }
.hero { min-height: 760px; padding: 160px 0 100px; display: grid; align-items: center; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 10%, rgba(225,163,72,.13), transparent 30%), linear-gradient(130deg, transparent 55%, rgba(255,255,255,.035)); }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -200px; bottom: -240px; border-radius: 50%; border: 100px solid rgba(255,255,255,.018); }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 6vw, 88px); }
.eyebrow { margin: 0 0 14px; color: #c7d1df; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--accent); }
.eyebrow.dark { color: var(--muted); }
.hero h1, .page-hero h1, .legal-hero h1 { margin: 0; color: white; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.045em; font-weight: 710; }
.hero h1 span { color: var(--accent-2); }
.hero-lead { max-width: 610px; margin: 25px 0 31px; color: #c4cedc; font-size: 18px; line-height: 1.72; }
.trust-line { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: #9eabba; font-size: 12px; }

.product-frame { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.37); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.window-bar { height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 6px; color: #64748b; background: #f8fafc; border-bottom: 1px solid var(--line); }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.window-bar span { margin: auto; font: 10px ui-monospace, monospace; }
/* ---- Mockup do app interno (hero): réplica do painel real, com a paleta do
   produto (superfície ink slate-900, conteúdo slate-50, acento índigo) e
   cenas Painel/Agenda/Processos/Relatórios alternadas pelo site.js. ---- */
.demo-app { min-height: 442px; display: grid; grid-template-columns: 158px 1fr; color: #334155; background: #f8fafc; text-align: left; }
.demo-side { display: flex; flex-direction: column; gap: 3px; padding: 12px 10px; background: #0f172a; color: #94a3b8; font-size: 10px; }
.demo-brand img { width: auto; height: 46px; object-fit: contain; }
.demo-brand span { display: block; margin: 1px 2px 6px; color: #e2e8f0; font-size: 10px; font-weight: 600; }
.demo-group { margin: 7px 2px 3px; color: #64748b; font-size: 7.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.demo-item { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 6px; white-space: nowrap; transition: background .5s ease, color .5s ease; }
.demo-item .icon { width: 12px; height: 12px; stroke-width: 2; color: #64748b; transition: color .5s ease; }
.demo-item.active { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.demo-item.active .icon { color: #c7d2fe; }
.demo-user { margin-top: auto; display: flex; align-items: center; gap: 7px; padding: 8px 2px 0; border-top: 1px solid rgba(255,255,255,.1); }
.demo-user i { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); color: #fff; font-size: 8px; font-weight: 700; font-style: normal; }
.demo-user b { display: block; color: #fff; font-size: 9.5px; }
.demo-user small { color: #64748b; font-size: 7.5px; }
.demo-view { display: grid; overflow: hidden; }
.demo-scene { grid-area: 1 / 1; min-width: 0; padding: 16px 18px; opacity: 0; transform: translateX(20px); pointer-events: none; transition: opacity .6s ease, transform .6s ease; }
.demo-scene.is-active { opacity: 1; transform: none; }
.demo-scene.is-leaving { transform: translateX(-20px); }
.demo-head { margin-bottom: 11px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.demo-head h3 { margin: 0; color: #0f172a; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.demo-head p { margin: 2px 0 0; color: #64748b; font-size: 8.5px; }
.demo-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.btn-acc, .btn-ghost, .btn-ia { padding: 5px 9px; border-radius: 6px; font-size: 8px; font-weight: 600; white-space: nowrap; }
.btn-acc { color: #fff; background: #4f46e5; }
.btn-ghost { color: #334155; background: #fff; box-shadow: inset 0 0 0 1px #cbd5e1; }
.btn-ia { display: inline-flex; align-items: center; gap: 4px; color: #4338ca; background: #fff; box-shadow: inset 0 0 0 1px #c7d2fe; }
.btn-ia .icon { width: 9px; height: 9px; }
/* Cena 1 — Painel */
.pn-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pn-kpis .kpi { min-width: 0; }
.kpi { display: flex; align-items: center; gap: 6px; padding: 6px 7px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.kpi i { display: grid; place-items: center; width: 19px; height: 19px; flex: none; border-radius: 5px; background: #f1f5f9; color: #64748b; }
.kpi .icon { width: 11px; height: 11px; }
.kpi span { min-width: 0; }
.kpi b { display: block; color: #0f172a; font-size: 10.5px; line-height: 1.15; }
.kpi small { display: block; color: #64748b; font-size: 6.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.warn { background: #fffbeb; border-color: #fde68a; }
.kpi.warn i { background: #fef3c7; color: #b45309; }
.kpi.warn b { color: #b45309; }
.kpi.ok { background: #ecfdf5; border-color: #a7f3d0; }
.kpi.ok i { background: #d1fae5; color: #047857; }
.kpi.ok b { color: #047857; }
.pn-card { margin-top: 9px; padding: 9px 11px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
.pn-card-head { margin-bottom: 6px; display: flex; justify-content: space-between; align-items: baseline; }
.pn-card-head b { color: #0f172a; font-size: 10.5px; font-weight: 650; }
.pn-card-head small { color: #94a3b8; font-size: 7.5px; }
.pn-card-head .link { color: #64748b; font-weight: 600; }
.pn-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pn-dias > div { min-height: 54px; min-width: 0; padding: 4px 5px; border: 1px solid #e2e8f0; border-radius: 7px; background: #fff; }
.pn-dias small { display: block; color: #94a3b8; font-size: 5.5px; text-transform: uppercase; letter-spacing: .06em; }
.pn-dias b { display: block; margin: 1px 0 2px; color: #475569; font-size: 8.5px; font-weight: 650; }
.pn-dias .hoje { border-color: #4f46e5; background: #eef2ff; }
.pn-dias .hoje b { color: #4338ca; }
.ev { display: block; margin-top: 2px; padding: 1.5px 3.5px; border-radius: 3px; font-size: 5.5px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.blu { background: #dbeafe; color: #1e40af; }
.ev.amb { background: #fef3c7; color: #92400e; }
.ev.vio { background: #ede9fe; color: #5b21b6; }
.ev.eme { background: #d1fae5; color: #065f46; }
.pn-lista p { margin: 0; padding: 5.5px 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #f1f5f9; }
.pn-lista p:first-child { padding-top: 0; border-top: 0; }
.pn-lista b { display: block; color: #0f172a; font-size: 8.5px; font-weight: 600; }
.pn-lista small { display: block; color: #94a3b8; font-size: 7px; }
.tag { flex: none; padding: 2px 7px; border-radius: 99px; font-size: 6.5px; font-weight: 650; font-style: normal; }
.tag.amb { background: #fef3c7; color: #92400e; }
.tag.yel { background: #fef9c3; color: #854d0e; }
/* Cena 2 — Agenda */
.ag-nav { margin-bottom: 7px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; }
.ag-mes { display: inline-flex; align-items: center; gap: 5px; color: #475569; font-size: 8px; }
.ag-mes i { display: grid; place-items: center; width: 16px; height: 14px; border: 1px solid #cbd5e1; border-radius: 4px; color: #64748b; font-size: 7.5px; font-style: normal; }
.ag-mes b { color: #0f172a; font-weight: 600; }
.ag-mes u { margin-left: 2px; color: #64748b; text-decoration: none; }
.ag-legenda { display: inline-flex; flex-wrap: wrap; gap: 7px; color: #64748b; font-size: 6.5px; }
.ag-legenda em { display: inline-flex; align-items: center; gap: 3px; font-style: normal; }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; flex: none; }
.dot.blu { background: #3b82f6; } .dot.eme { background: #10b981; } .dot.vio { background: #8b5cf6; }
.dot.amb { background: #f59e0b; } .dot.red { background: #dc2626; } .dot.acc { background: #4f46e5; }
.dot.sky { background: #0ea5e9; } .dot.slt { background: #94a3b8; }
.ag-grade { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.ag-sem { display: grid; grid-template-columns: repeat(7, 1fr); background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.ag-sem i { padding: 3.5px 0; color: #64748b; text-align: center; font-size: 6.5px; font-weight: 600; font-style: normal; }
.ag-celulas { display: grid; grid-template-columns: repeat(7, 1fr); }
.ag-celulas span { position: relative; min-height: 33px; min-width: 0; padding: 3px 0 3px 5px; border-top: 1px solid #f1f5f9; border-left: 1px solid #f1f5f9; color: #475569; font-size: 7px; }
.ag-celulas span:nth-child(7n+1) { border-left: 0; }
.ag-celulas span:nth-child(-n+7) { border-top: 0; }
.ag-celulas .fora { color: #cbd5e1; background: #fafcfe; }
.ag-celulas .hoje b { display: inline-grid; place-items: center; width: 13px; height: 13px; margin-left: -2.5px; border-radius: 50%; background: #0f172a; color: #fff; font-size: 6.5px; font-weight: 650; }
.ag-celulas u { display: block; height: 3.5px; margin: 2px 5px 0 0; border-radius: 2px; }
.ag-celulas u.blu { background: #93c5fd; } .ag-celulas u.amb { background: #fcd34d; }
.ag-celulas u.vio { background: #c4b5fd; } .ag-celulas u.eme { background: #6ee7b7; }
.ag-celulas u.red { background: #f87171; }
/* Cena 3 — Processos */
.pr-kpis { margin-bottom: 7px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pr-kpis > div { padding: 5px 9px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.pr-kpis b { display: block; color: #0f172a; font-size: 11.5px; }
.pr-kpis small { color: #64748b; font-size: 6.5px; white-space: nowrap; }
.pr-kpis .ativo { border-color: #4f46e5; box-shadow: inset 0 0 0 1px #4f46e5; }
.pr-filtros { margin-bottom: 7px; display: flex; align-items: center; gap: 6px; }
.pr-busca { flex: 1; min-width: 0; padding: 5.5px 9px; background: #fff; border: 1px solid #e2e8f0; border-radius: 7px; color: #94a3b8; font-size: 7.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-vistas { display: inline-flex; flex: none; gap: 3px; }
.pr-vistas i { padding: 3.5px 9px; border-radius: 99px; color: #475569; background: #f1f5f9; font-size: 7px; font-weight: 600; font-style: normal; white-space: nowrap; }
.pr-vistas i.on { color: #fff; background: #4f46e5; }
.pr-lista { margin: 0; padding: 0; list-style: none; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
.pr-lista li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-top: 1px solid #f1f5f9; }
.pr-lista li:first-child { border-top: 0; }
.pr-info { min-width: 0; }
.pr-info p { margin: 0; display: flex; align-items: center; gap: 5px; min-width: 0; }
.pr-info p b { color: #0f172a; font-size: 9px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { flex: none; padding: 1.5px 6px; border-radius: 99px; font-size: 6px; font-weight: 650; font-style: normal; }
.chip.blu { background: #dbeafe; color: #1e40af; }
.pr-info > small { display: block; margin-top: 1.5px; color: #94a3b8; font-size: 6.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-meta { display: flex; gap: 7px; }
.pr-meta em { color: #64748b; font-weight: 600; font-style: normal; }
.pr-meta em.pz { color: #b45309; }
.pr-meta em.pz.hot { color: #dc2626; }
.pr-side { display: flex; align-items: center; gap: 6px; flex: none; }
.selo { padding: 2px 7px; border-radius: 99px; font-size: 6px; font-weight: 650; font-style: normal; white-space: nowrap; }
.selo.ok { background: #ecfdf5; color: #047857; }
.selo.warn { background: #fef3c7; color: #b45309; }
.avs { display: inline-flex; }
.avs u { display: grid; place-items: center; width: 15px; height: 15px; margin-left: -4px; border-radius: 50%; background: #e2e8f0; box-shadow: 0 0 0 1.5px #fff; color: #475569; font-size: 5.5px; font-weight: 700; text-decoration: none; }
.avs u:first-child { margin-left: 0; }
/* Cena 4 — Relatórios */
.rl-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rl-kpis > div { position: relative; min-width: 0; padding: 7px 9px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.rl-kpis small { display: block; color: #64748b; font-size: 6.5px; }
.rl-kpis b { display: block; margin-top: 1px; color: #0f172a; font-size: 11px; }
.rl-kpis .ok { background: #ecfdf5; border-color: #a7f3d0; }
.rl-kpis .ok b { color: #047857; }
.rl-kpis .warn { background: #fffbeb; border-color: #fde68a; }
.rl-kpis .warn b { color: #b45309; }
.delta { position: absolute; top: 6px; right: 7px; color: #047857; font-size: 6px; font-weight: 700; font-style: normal; }
.rl-metas { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rl-metas > div { min-width: 0; padding: 7px 9px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.rl-metas small { display: block; color: #64748b; font-size: 6.5px; }
.rl-metas b { display: block; margin: 1px 0 4px; color: #0f172a; font-size: 10.5px; }
.meta { display: block; height: 4px; border-radius: 99px; background: #f1f5f9; overflow: hidden; }
.meta i { display: block; height: 100%; border-radius: 99px; background: #4f46e5; }
.meta i.ok { background: #10b981; }
.meta-l { margin-top: 3px; color: #94a3b8; font-size: 6px; }
.rl-pizzas { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rl-pizza { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 9px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.donut { position: relative; width: 50px; height: 50px; flex: none; border-radius: 50%; }
.donut::after { content: ""; position: absolute; inset: 12px; background: #fff; border-radius: 50%; }
.donut.area { background: conic-gradient(#4f46e5 0 45%, #0ea5e9 45% 70%, #f59e0b 70% 90%, #10b981 90% 100%); }
.donut.saude { background: conic-gradient(#10b981 0 82%, #94a3b8 82% 96%, #dc2626 96% 100%); }
.rl-pizza b { display: block; margin-bottom: 2px; color: #0f172a; font-size: 8px; }
.rl-pizza em { display: flex; align-items: center; gap: 4px; color: #64748b; font-size: 6.5px; font-style: normal; }

.proof-strip { color: white; background: #172033; border-top: 1px solid rgba(255,255,255,.08); }
.proof-grid { min-height: 114px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-grid p { margin: 0; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.11); }
.proof-grid p:first-child { padding-left: 0; border-left: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: var(--accent-2); font-size: 18px; }
.proof-grid span { color: #9eabba; font-size: 12px; }

.section { padding: 105px 0; }
.section-soft { background: var(--soft); }
.section-ink { color: #cbd5e1; background: var(--ink); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .split h2, .security-callout h2, .cta-box h2, .legal-links h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p:last-child, .split > div > p:last-child, .security-callout p, .cta-box p, .legal-links p { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,23,42,.08); }
.feature-card > .icon, .security-grid .icon { width: 28px; height: 28px; color: var(--accent-dark); }
.feature-card h3 { margin: 30px 0 8px; color: var(--ink); font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.center-action { margin-top: 36px; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-ink h2 { color: white; }
.section-ink .split > div > p:last-child { color: #9eabba; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 18px 0; display: grid; grid-template-columns: 58px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.steps li:first-child { border-top: 0; }
.steps li > span { color: var(--accent-2); font: 12px ui-monospace, monospace; }
.steps strong { color: white; font-size: 18px; }
.steps p { margin: 4px 0 0; color: #9eabba; font-size: 14px; }

.security-callout { padding: 42px; display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, #f8fafc, #fff); }
.security-callout > div:first-child { width: 58px; height: 58px; display: grid; place-items: center; color: var(--accent-dark); background: #fff7e8; border-radius: 16px; }
.security-callout > div:first-child .icon { width: 28px; height: 28px; }
.security-callout h2 { font-size: 31px; }
.security-callout p { margin-bottom: 0; font-size: 14px; }
.cta-section { padding-top: 25px; }
.cta-box { padding: 58px; display: flex; align-items: center; justify-content: space-between; gap: 45px; color: white; background: var(--ink); border-radius: 26px; }
.cta-box h2 { color: white; font-size: 36px; }
.cta-box p { margin-bottom: 0; color: #aeb9c8; }

.page-hero { padding: 172px 0 92px; }
.page-hero .narrow { position: relative; }
.page-hero h1 { font-size: clamp(40px, 5vw, 61px); }
.page-hero .narrow > p:not(.eyebrow) { margin: 24px 0 30px; color: #bdc7d5; font-size: 18px; }
.module-list > article { padding: 62px 0; display: grid; grid-template-columns: 90px 1fr; gap: 35px; border-top: 1px solid var(--line); }
.module-list > article:first-child { padding-top: 0; border-top: 0; }
.module-list > article > div:last-child { max-width: 820px; }
.module-icon { width: 72px; height: 72px; display: grid; place-items: center; color: var(--accent-dark); background: #fff7e8; border-radius: 19px; }
.module-icon .icon { width: 29px; height: 29px; }
.module-list h2 { margin: 0; color: var(--ink); font-size: 35px; letter-spacing: -.03em; }
.module-list h2 + p { max-width: 760px; color: var(--muted); font-size: 16px; }
.check-list { margin: 23px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 24px; list-style: none; }
.check-list li { position: relative; padding-left: 22px; color: var(--slate); font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.check-list.light li { color: #cbd5e1; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row span { padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; color: var(--slate); background: white; font-size: 13px; font-weight: 650; }

.portal-section { overflow: hidden; color: #cbd5e1; background: var(--ink); }
.portal-heading { max-width: 790px; }
.portal-heading h2 { color: white; }
.portal-heading > p:last-child { color: #9eabba; }
.portal-showcase { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px, 7vw, 95px); align-items: center; }
.portal-audience-list { display: grid; gap: 8px; }
.portal-audience-card { padding: 18px 18px 18px 0; display: grid; grid-template-columns: 42px 1fr; gap: 14px; border-top: 1px solid rgba(255,255,255,.11); }
.portal-audience-card:first-child { border-top: 0; }
.portal-audience-card.is-primary { margin-bottom: 4px; padding: 22px; color: white; background: rgba(255,255,255,.055); border: 1px solid rgba(225,163,72,.33); border-radius: 16px; box-shadow: inset 3px 0 0 var(--accent); }
.portal-number { padding-top: 4px; color: var(--accent-2); font: 11px ui-monospace, monospace; }
.portal-audience-card h3 { margin: 0; color: white; font-size: 18px; }
.portal-audience-card p { margin: 5px 0 0; color: #9eabba; font-size: 13px; line-height: 1.58; }
.portal-security-note { margin: 24px 0 0; display: flex; gap: 10px; color: #8f9cad; font-size: 11px; line-height: 1.55; }
.portal-security-note .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-2); }
.portal-visuals { position: relative; min-height: 590px; }
.portal-desktop { position: absolute; top: 18px; right: 0; width: min(100%, 610px); overflow: hidden; color: var(--slate); background: #f8fafc; border: 1px solid rgba(255,255,255,.17); border-radius: 17px; box-shadow: 0 36px 95px rgba(0,0,0,.35); transform: perspective(1200px) rotateY(-3deg); }
.portal-window-bar { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 6px; color: #8793a3; background: white; border-bottom: 1px solid var(--line); }
.portal-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.portal-window-bar span { margin: auto; padding-right: 38px; font: 9px ui-monospace, monospace; }
/* ---- Portal do cliente (funcionalidades): réplicas fiéis do /portal real —
   header ink com navegação no topo, faixa de saudação, cartão com stepper de
   5 etapas e, no celular, a linha do tempo humanizada do processo. ---- */
.cp-app { background: #f8fafc; text-align: left; }
.cp-top { display: flex; align-items: center; gap: 13px; padding: 4px 14px; background: #0f172a; }
.cp-top img { width: auto; height: 27px; object-fit: contain; flex: none; }
.cp-top nav { display: flex; align-items: center; gap: 11px; overflow: hidden; color: #94a3b8; font-size: 8.5px; white-space: nowrap; }
.cp-top nav b { color: #fff; font-weight: 600; }
.cp-sair { margin-left: auto; color: #94a3b8; font-size: 8.5px; }
.cp-banda { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 16px 24px; background: #0f172a; border-radius: 0 0 20px 20px; color: #fff; }
.cp-banda b { display: block; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.cp-banda p { margin: 2px 0 0; color: #cbd5e1; font-size: 8.5px; }
.cp-avatar { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); color: #fff; font-size: 8px; font-weight: 700; }
.cp-cards { position: relative; margin-top: -13px; padding: 0 13px 13px; display: grid; gap: 8px; }
.cp-card { min-width: 0; padding: 10px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.cp-kicker { display: block; color: #94a3b8; font-size: 6.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cp-titulo { display: block; margin-top: 4px; color: #0f172a; font-size: 11px; font-weight: 650; }
.cp-cnj { display: block; margin-top: 1px; color: #94a3b8; font: 7.5px ui-monospace, monospace; }
.cp-stepper { display: flex; align-items: center; gap: 3px; margin-top: 10px; }
.cp-stepper i { flex: none; width: 8px; height: 8px; border-radius: 99px; background: #f1f5f9; box-shadow: inset 0 0 0 1px #e2e8f0; }
.cp-stepper i.done { background: #4f46e5; box-shadow: none; }
.cp-stepper i.atual { width: 17px; background: #4f46e5; box-shadow: 0 0 0 2.5px #eef2ff; }
.cp-stepper u { flex: 1; height: 2px; border-radius: 2px; background: #f1f5f9; }
.cp-stepper u.on { background: #4f46e5; }
.cp-etapa { display: flex; align-items: center; gap: 5px; margin-top: 9px; }
.cp-etapa em { padding: 2.5px 8px; border: 1px solid #c7d2fe; border-radius: 99px; background: #eef2ff; color: #4338ca; font-size: 7.5px; font-weight: 600; font-style: normal; }
.cp-etapa small { color: #94a3b8; font-size: 7px; }
.cp-hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #f1f5f9; }
.cp-hero-foot span { color: #64748b; font-size: 7.5px; }
.cp-hero-foot b { color: #4f46e5; font-size: 8px; font-weight: 650; white-space: nowrap; }
.cp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cp-mini { display: flex; align-items: center; gap: 4px; color: #475569; font-size: 7.5px; font-weight: 600; }
.cp-mini .icon { width: 9px; height: 9px; color: #94a3b8; }
.cp-duo b { display: block; margin-top: 6px; color: #0f172a; font-size: 10px; font-weight: 650; }
.cp-duo small { display: block; margin-top: 2px; color: #94a3b8; font-size: 7px; }
.cp-pix { display: inline-flex; margin-top: 5px; padding: 2px 7px; border: 1px solid #a7f3d0; border-radius: 99px; background: #ecfdf5; color: #047857; font-size: 6.5px; font-weight: 650; font-style: normal; }
.side-peek { position: absolute; z-index: 4; width: 208px; padding: 12px 14px; display: flex; flex-direction: column; color: #cbd5e1; background: #18243a; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.side-peek span { color: var(--accent-2); font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.side-peek strong { margin-top: 4px; color: white; font-size: 10px; }
.side-peek small { margin-top: 2px; color: #93a0b1; font-size: 7px; }
.peek-equipe { left: 0; bottom: 158px; }
.peek-parceiros { left: 26px; bottom: 62px; }
.portal-phone { position: absolute; z-index: 3; right: 38px; bottom: 0; width: 244px; padding: 11px; color: var(--slate); background: #08111f; border: 1px solid rgba(255,255,255,.22); border-radius: 32px; box-shadow: 0 34px 80px rgba(0,0,0,.42); transform: rotate(2deg); }
.phone-speaker { width: 62px; height: 5px; margin: 0 auto 8px; background: #253145; border-radius: 99px; }
.pp-app { overflow: hidden; display: flex; flex-direction: column; background: #f8fafc; border-radius: 23px; text-align: left; }
.pp-banda { display: flex; gap: 7px; align-items: flex-start; padding: 12px 12px 16px; background: #0f172a; border-radius: 0 0 16px 16px; color: #fff; }
.pp-banda > i { margin-top: 1px; color: #cbd5e1; font-size: 9px; font-style: normal; }
.pp-banda b { display: block; font-size: 8.5px; font-weight: 600; line-height: 1.3; }
.pp-banda small { display: block; margin-top: 1px; color: #94a3b8; font: 6px ui-monospace, monospace; }
.pp-corpo { position: relative; margin-top: -8px; padding: 0 10px 12px; display: grid; gap: 7px; }
.pp-card { min-width: 0; padding: 9px 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 11px; box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.pp-card > b { display: block; margin-top: 4px; color: #0f172a; font-size: 9px; font-weight: 650; }
.pp-card > p { margin: 3px 0 0; color: #475569; font-size: 7px; line-height: 1.5; }
.pp-tl { margin-top: 7px; }
.pp-step { display: flex; gap: 6px; }
.pp-step > span { position: relative; width: 12px; flex: none; align-self: stretch; }
.pp-step > span::before { content: ""; position: absolute; top: 1px; left: 50%; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; }
.pp-step:not(:last-child) > span::after { content: ""; position: absolute; top: 12px; bottom: 0; left: 50%; transform: translateX(-50%); width: 1.5px; border-radius: 2px; background: #f1f5f9; }
.pp-step.prox > span::before { background: #fff; border: 1.2px dashed #94a3b8; }
.pp-step.atual > span::before { background: radial-gradient(circle, #fff 0 1.6px, #4f46e5 1.7px); box-shadow: 0 0 0 2.5px #eef2ff; }
.pp-step.done > span::before { content: "✓"; display: grid; place-items: center; background: #d1fae5; color: #047857; font-size: 5.5px; font-weight: 800; }
.pp-step.done:not(:last-child) > span::after { background: #d1fae5; }
.pp-step > div { min-width: 0; padding-bottom: 9px; }
.pp-step:last-child > div { padding-bottom: 0; }
.pp-step b { display: block; color: #334155; font-size: 7.5px; font-weight: 600; line-height: 1.35; }
.pp-step.prox b { color: #94a3b8; }
.pp-step.atual b { color: #0f172a; font-weight: 700; }
.pp-step small { display: block; margin-top: 1px; color: #94a3b8; font-size: 6px; }
.pp-avanco { min-width: 0; padding: 9px 10px; border: 1px solid #c7d2fe; border-radius: 11px; background: #eef2ff; }
.pp-avanco b { display: block; color: #0f172a; font-size: 7.5px; font-weight: 650; }
.pp-avanco p { margin: 2px 0 0; color: #475569; font-size: 6.5px; line-height: 1.5; }
.pp-cta { margin-top: 2px; padding: 8px; border-radius: 99px; background: #0f172a; color: #fff; text-align: center; font-size: 7.5px; font-weight: 600; }

.billing-toggle { width: fit-content; margin-top: 30px; padding: 4px; display: flex; gap: 4px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; background: rgba(255,255,255,.05); }
.billing-toggle button { padding: 8px 14px; border: 0; border-radius: 8px; color: #aeb9c8; background: transparent; cursor: pointer; font-size: 13px; }
.billing-toggle button.active { color: var(--ink); background: white; }
.billing-toggle span { margin-left: 4px; color: #047857; font-size: 10px; font-weight: 750; }
.pricing-section { padding: 70px 0 40px; background: linear-gradient(var(--ink) 0 110px, var(--soft) 110px); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.price-card { position: relative; padding: 28px 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 15px 42px rgba(15,23,42,.08); }
.price-card.featured { border: 2px solid var(--accent); transform: translateY(-12px); }
.popular { position: absolute; top: -14px; left: 18px; padding: 5px 10px; color: #201809; background: var(--accent); border-radius: 99px; font-size: 10px; font-weight: 800; }
.price-card h2 { margin: 5px 0 3px; color: var(--ink); font-size: 22px; }
.plan-audience { min-height: 46px; margin: 0; color: var(--muted); font-size: 12px; }
.price { min-height: 58px; margin: 22px 0 0; color: var(--ink); }
.price strong { font-size: 28px; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 12px; }
.cycle-note { min-height: 35px; margin: 1px 0 17px; color: #94a3b8; font-size: 10px; }
.price-card .button { width: 100%; }
.price-card ul { margin: 24px 0 0; padding: 20px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--line); list-style: none; }
.price-card li { display: flex; gap: 8px; color: var(--slate); font-size: 12px; }
.price-card li .icon { margin-top: 3px; color: var(--green); }
.pricing-footnote { width: min(900px, calc(100% - 40px)); margin: 28px auto 0; color: var(--muted); text-align: center; font-size: 11px; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; background: white; }
caption { padding: 14px; color: var(--muted); background: var(--soft); font-size: 12px; text-align: left; }
th, td { padding: 15px 18px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; }
thead th { border-top: 0; color: var(--ink); background: #f8fafc; }
tbody th { min-width: 200px; color: var(--ink); text-align: left; }
td .icon { color: var(--green); }
.faq { max-width: 850px; }
.faq details { border-bottom: 1px solid #d7dee7; }
.faq summary { padding: 20px 4px; color: var(--ink); cursor: pointer; font-weight: 700; }
.faq details p { margin: -5px 0 20px; color: var(--muted); }

.security-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.security-grid article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.security-grid h2 { margin: 24px 0 8px; color: var(--ink); font-size: 19px; }
.security-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.legal-links { padding: 45px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: 22px; }
.legal-links > div:first-child { max-width: 700px; }
.legal-links h2 { font-size: 32px; }
.legal-links p { margin-bottom: 0; font-size: 14px; }

.legal-hero { padding: 160px 0 72px; color: white; background: var(--ink); }
.legal-hero h1 { font-size: clamp(38px, 5vw, 57px); }
.legal-hero .narrow > p:last-child { color: #bdc7d5; font-size: 17px; }
.legal-document { max-width: 880px; padding-top: 75px; padding-bottom: 110px; color: #3c4a5e; }
.legal-document > h1 { display: none; }
.legal-document h2 { margin: 58px 0 14px; padding-top: 20px; color: var(--ink); border-top: 1px solid var(--line); font-size: 27px; letter-spacing: -.025em; }
.legal-document h2:first-of-type { margin-top: 20px; border-top: 0; }
.legal-document h3 { margin-top: 32px; color: var(--ink); font-size: 19px; }
.legal-document p, .legal-document li { font-size: 15px; }
.legal-document li { margin: 6px 0; }
.legal-document blockquote { margin: 24px 0; padding: 17px 20px; border-left: 3px solid var(--accent); color: var(--muted); background: #fff9ef; }
.legal-document code { padding: 2px 5px; border-radius: 4px; background: var(--soft); }
.legal-document table { margin: 25px 0; border: 1px solid var(--line); }
.legal-document th, .legal-document td { text-align: left; vertical-align: top; }
.legal-document hr { margin: 50px 0; border: 0; border-top: 1px solid var(--line); }

.site-footer { padding: 70px 0 25px; color: #9eabba; background: #0b1220; }
.footer-grid { width: min(1180px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 55px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid img { width: auto; height: 55px; margin-bottom: 4px; }
.footer-grid p { max-width: 350px; margin: 0; font-size: 13px; }
.footer-grid strong { margin-bottom: 8px; color: white; font-size: 13px; }
.footer-grid a { color: #aeb9c8; font-size: 12px; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { width: min(1180px, calc(100% - 40px)); margin: 50px auto 0; padding-top: 21px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 730px; }
  .product-frame { transform: none; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .price-card.featured { transform: none; }
  .feature-grid, .security-grid { grid-template-columns: repeat(2,1fr); }
  .security-callout { grid-template-columns: 58px 1fr; }
  .security-callout .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 780px) {
  .nav-shell { min-height: 70px; }
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 70px; left: 20px; right: 20px; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 4px; color: white; background: #121d30; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 10px; }
  .nav-login { margin-left: 0; }
  .hero { min-height: auto; padding: 135px 0 70px; }
  .demo-app { grid-template-columns: 1fr; min-height: 0; }
  .demo-side { display: none; }
  .demo-scene { padding: 14px 16px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); padding: 20px 0; }
  .proof-grid p, .proof-grid p:first-child { padding: 15px 18px; border-left: 1px solid rgba(255,255,255,.11); }
  .section { padding: 75px 0; }
  .feature-grid, .security-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 45px; }
  .security-callout { padding: 28px; grid-template-columns: 1fr; }
  .security-callout .button { grid-column: auto; }
  .cta-box, .legal-links { padding: 36px 27px; flex-direction: column; align-items: flex-start; }
  .module-list > article { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .portal-showcase { grid-template-columns: 1fr; }
  .portal-copy { max-width: 680px; }
  .portal-visuals { width: min(100%, 680px); min-height: 600px; margin-inline: auto; }
  .portal-desktop { transform: none; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container, .nav-shell, .footer-grid, .footer-bottom { width: min(100% - 28px, 1180px); }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .button-row .button { width: 100%; }
  .pn-kpis { grid-template-columns: repeat(2, 1fr); }
  .pn-dias > div { min-height: 42px; }
  .pr-kpis { grid-template-columns: repeat(2, 1fr); }
  .pr-side .avs { display: none; }
  .rl-kpis { grid-template-columns: 1fr 1fr; }
  .rl-metas, .rl-pizzas { grid-template-columns: 1fr; }
  .proof-grid, .feature-grid, .security-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof-grid p, .proof-grid p:first-child { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .pricing-section { background: var(--soft); }
  .portal-heading { margin-bottom: 36px; }
  .portal-audience-card { grid-template-columns: 34px 1fr; }
  .portal-audience-card.is-primary { padding: 18px; }
  .portal-visuals { min-height: auto; display: grid; gap: 22px; }
  .portal-desktop, .portal-phone { position: relative; inset: auto; width: 100%; transform: none; }
  .portal-phone { width: min(100%, 294px); justify-self: center; }
  .side-peek { position: static; width: auto; }
  .cp-top { gap: 10px; }
  .cp-top nav { gap: 8px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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