/* EstudioHK · identidade "Noite & Volt" (design system: project/tokens.json, movimento.md, layout.md)
   Tema fixo: hero, faixa de ferramentas e rodapé escuros; o resto claro. */
/* Fontes Geist e Geist Mono (SIL Open Font License), hospedadas no próprio site: só o subconjunto latino, que cobre o português */
@font-face { font-family: Geist; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/geist-latin.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono-latin.woff2) format("woff2"); }
:root {
  /* marca */
  --noite: #0B1222; --noite-2: #121A2E; --noite-3: #1A2440; --noite-line: #26304A;
  --on-noite: #EEF1F8; --on-noite-muted: #A3ADC2; --on-noite-subtle: #8590A8;
  --meia-noite: #1F3A8A; --steel: #6F8FE0; --steel-ink: #9DB2EC; --steel-tint: #1A2650;
  --volt: #C6F24E; --volt-hover: #B4E03A; --on-volt: #0B1222;
  /* claro */
  --bg: #F5F4EF; --surface: #FFFFFF; --surface-2: #ECEAE3; --line: #DAD8D0; --line-strong: #8C8A80;
  --ink: #0B1222; --ink-muted: #4A5468; --ink-subtle: #636B7D;
  --brand: #1F3A8A; --brand-hover: #18306F; --on-brand: #FFFFFF; --brand-ink: #1F3A8A; --brand-tint: #E3E8F4;
  --focus: #1F3A8A; --success: #0B7A54; --success-tint: #E2F3EB;
  --shadow-sm: 0 1px 2px rgba(11,18,34,.05), 0 2px 8px rgba(11,18,34,.06);
  --shadow-md: 0 2px 4px rgba(11,18,34,.05), 0 8px 24px rgba(11,18,34,.08);
  --shadow-lg: 0 4px 8px rgba(11,18,34,.04), 0 24px 56px rgba(11,18,34,.14);
  --shadow-accent: 0 8px 28px rgba(198,242,78,.35);
  /* tipo */
  --font-sans: Geist, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* ritmo */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --ease-out: cubic-bezier(.2,.8,.2,1); --ease-emph: cubic-bezier(.16,1,.3,1);
  --container: 1200px; --gutter: 20px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; font-weight: 600; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible, .brief :focus-visible { outline-color: var(--volt); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-md); background: var(--volt); color: var(--on-volt); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.dark { background: var(--noite); color: var(--on-noite); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.dark .eyebrow, .brief .eyebrow { color: var(--steel-ink); }
.mark { background: var(--volt); color: var(--on-volt); padding: 0 .14em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.sh { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.sh h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.025em; }
.sh h2 .soft, .brief h2 .soft { color: var(--ink-muted); }
.brief h2 .soft { color: var(--on-noite-muted); }
.sh p { font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 56ch; }
.sh p.obs-demos, .dark .sh p.obs-demos { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 25px; color: var(--volt); max-width: 62ch; padding: 12px 16px; border: 1px solid rgba(198,242,78,.35); border-radius: var(--r-md); background: rgba(198,242,78,.07); }
.obs-demos .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.obs-demos b { font-weight: 700; }
.alt { background: var(--surface-2); }

/* ---------- ícones, botões, tags ---------- */
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .12s var(--ease-out), border-color .12s var(--ease-out), box-shadow .2s var(--ease-out), transform .2s var(--ease-out); }
.btn .trail { transition: transform .2s var(--ease-out); }
.btn:hover .trail { transform: translateX(3px); }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-volt { background: var(--volt); color: var(--on-volt); }
.btn-volt:hover { background: var(--volt-hover); box-shadow: var(--shadow-accent); transform: translateY(-1px); }
.btn-ghost-dark { background: transparent; color: var(--on-noite); border-color: rgba(238,241,248,.28); }
.btn-ghost-dark:hover { border-color: var(--on-noite); background: rgba(238,241,248,.06); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--brand-tint); color: var(--brand-ink); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; }
.checks li { display: flex; gap: 12px; }
.checks .icon { color: var(--success); margin-top: 2px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,18,34,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(38,48,74,.7); color: var(--on-noite); padding-top: env(safe-area-inset-top, 0px); transition: box-shadow .3s var(--ease-out); }
.nav.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.nav-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: baseline; font-size: 22px; line-height: 1; letter-spacing: -.03em; text-decoration: none; color: var(--on-noite); }
.logo b { font-weight: 700; } .logo span { font-weight: 400; }
.logo i { display: inline-block; width: .32em; height: .32em; border-radius: 99px; background: var(--volt); margin-left: .12em; }
.nav-links { display: none; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--on-noite-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .12s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--on-noite); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: transparent; border: 1px solid var(--noite-line); color: var(--on-noite); cursor: pointer; }
.nav .btn-volt { display: none; }
.sheet { display: none; padding-bottom: 20px; }
.sheet.is-open { display: flex; flex-direction: column; }
.sheet a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--noite-line); }
.sheet .btn { margin-top: 18px; }
@media (min-width: 900px) {
  .nav-links { display: flex; } .nav .btn-volt { display: inline-flex; }
  .menu-btn, .sheet, .sheet.is-open { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
#dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--noite)); z-index: -1; pointer-events: none; }
.hero-in { display: grid; gap: 48px; padding-block: 48px 64px; align-items: center; }
@media (min-width: 1024px) { .hero-in { grid-template-columns: 1.08fr .92fr; gap: 56px; padding-block: 96px 112px; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -.035em; color: var(--on-noite); }
.word { display: inline-block; }
.rot { display: inline-grid; vertical-align: bottom; }
.rot > span { grid-area: 1 / 1; justify-self: start; transition: opacity .45s var(--ease-emph), transform .45s var(--ease-emph); }
.rot > span.out { opacity: 0; transform: translateY(-40%); }
.rot > span.wait { opacity: 0; transform: translateY(40%); }
.hero .lead { font-size: 19px; line-height: 30px; color: var(--on-noite-muted); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--on-noite-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--volt); width: 16px; height: 16px; }
@media (max-width: 479px) { .hero-ctas .btn { flex: 1 1 100%; } }
/* entrada do hero só com CSS: o texto já existe no HTML e aparece mesmo sem JS */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.35em); } }
.hero .word { animation: wordIn .6s var(--ease-emph) both; animation-delay: calc(60ms + var(--i, 0) * 40ms); }
.hero .rot { animation: wordIn .6s var(--ease-emph) both; animation-delay: 340ms; }
.hero .eyebrow { animation: rise .6s var(--ease-emph) both; }
.hero .lead { animation: rise .7s var(--ease-emph) 420ms both; }
.hero-ctas { animation: rise .7s var(--ease-emph) 500ms both; }
.hero-meta { animation: rise .7s var(--ease-emph) 580ms both; }
.demo { animation: rise .8s var(--ease-emph) 640ms both; }

/* demo de automação */
.demo { position: relative; min-width: 0; border-radius: var(--r-lg); background: rgba(18,26,46,.92); border: 1px solid var(--noite-line); box-shadow: 0 24px 64px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--noite-line); background: #0F1628; }
.demo-bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--noite-line); }
.demo-bar .mono { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--on-noite-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar .pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--on-noite-muted); white-space: nowrap; }
.demo-bar .pill b { width: 7px; height: 7px; border-radius: 99px; background: #5B6680; transition: background .3s; }
.demo.is-running .demo-bar .pill b { background: var(--volt); box-shadow: 0 0 0 4px rgba(198,242,78,.18); }
.flow { width: 100%; height: auto; padding: 14px 10px 4px; }
.flow .edge { fill: none; stroke: var(--noite-line); stroke-width: 1.5; stroke-dasharray: 4 5; }
.flow .edge-on { fill: none; stroke: var(--steel); stroke-width: 2; }
.flow .node rect { fill: var(--noite-3); stroke: var(--noite-line); transition: stroke .3s, fill .3s; }
.flow .node.engine rect { fill: var(--meia-noite); stroke: #2E4CA8; }
.flow .node.hit rect { stroke: var(--volt); }
.flow .node text { fill: var(--on-noite); font-family: var(--font-sans); font-size: 13px; font-weight: 600; }
.flow .node text.sub { fill: var(--on-noite-muted); font-size: 11px; font-weight: 400; }
.flow .node.engine text.sub { fill: #C9D3EC; }
.flow .ico { fill: none; stroke: var(--steel-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow .node.engine .ico { stroke: var(--volt); }
.flow .pulse { fill: var(--volt); filter: drop-shadow(0 0 6px rgba(198,242,78,.9)); }
.log { list-style: none; margin: 0; padding: 12px 16px 6px; height: 152px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34px); mask-image: linear-gradient(to bottom, transparent, #000 34px); gap: 6px; border-top: 1px solid var(--noite-line); font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--on-noite-muted); }
.log li { display: flex; gap: 10px; animation: logIn .4s var(--ease-emph) both; }
.log li time { color: var(--on-noite-subtle); flex: none; }
.log li.ok { color: var(--on-noite); }
.log li.ok::after { content: "✓"; color: var(--volt); margin-left: auto; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 14px; font-size: 12px; color: var(--on-noite-subtle); }
.demo-foot span { min-width: 0; }
.demo-foot button { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--noite-line); background: transparent; color: var(--on-noite); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .12s; }
.demo-foot button:hover { border-color: var(--steel); }
.demo-foot button:disabled { opacity: .5; cursor: default; }

/* ---------- serviços ---------- */
.svc-head { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 960px) { .svc-head { grid-template-columns: 1fr auto; align-items: end; } }
.svc-note { font-size: 14px; line-height: 22px; color: var(--ink-subtle); max-width: 34ch; }
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.svc { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out); }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc-media { padding: 16px 16px 0; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.svc-media .mock { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; height: 164px; }
.svc-body { display: flex; flex-direction: column; gap: 14px; padding: 22px; flex: 1; }
@media (min-width: 640px) { .svc-body { padding: 24px 28px 26px; } }
.svc-pain { font-size: 15px; line-height: 22px; color: var(--ink-subtle); }
.svc-pain::before { content: "“"; } .svc-pain::after { content: "”"; }
.svc h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; line-height: 28px; letter-spacing: -.015em; }
.svc h3 .ic { width: 36px; height: 36px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand-ink); flex: none; }
.svc-body > p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.svc-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); border-radius: 6px; }
.price b { display: inline-flex; align-items: center; gap: 8px; }
.price .icon { width: 16px; height: 16px; color: var(--brand-ink); transition: transform .2s var(--ease-out); }
.price:hover b { color: var(--brand-ink); } .price:hover .icon { transform: translateX(3px); }
.price small { font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
.price b { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* mockups */
.mock { position: relative; min-width: 0; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-md); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 8px; height: 8px; border-radius: 9px; background: var(--line); }
.mock-bar span { margin: 0 auto; font-family: var(--font-mono); font-size: 11px; color: var(--ink-subtle); background: var(--bg); padding: 2px 12px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk { display: block; border-radius: 6px; background: var(--line); }
.m-site { padding: 16px; display: grid; gap: 12px; }
.m-site .hero-b { border-radius: 12px; background: var(--noite); padding: 18px; display: grid; gap: 8px; }
.m-site .hero-b .sk { background: #26304A; }
.m-site .hero-b .sk.t { height: 12px; width: 70%; background: var(--on-noite); opacity: .9; }
.m-site .hero-b .sk.v { height: 22px; width: 96px; border-radius: 99px; background: var(--volt); margin-top: 4px; }
.m-site .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-site .cards div { height: 58px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); padding: 9px; display: grid; gap: 5px; align-content: start; }
.m-site .cards b { width: 18px; height: 18px; border-radius: 6px; background: var(--brand-tint); }
.m-lp { padding: 16px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.m-lp .form { border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 12px; display: grid; gap: 7px; }
.m-lp .form .f { height: 20px; border-radius: 7px; border: 1.5px solid var(--line); background: var(--bg); }
.m-lp .form .s { height: 24px; border-radius: 99px; background: var(--volt); }
.funnel { grid-column: 1 / -1; display: grid; gap: 6px; }
.funnel div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 11px; line-height: 14px; color: var(--ink-muted); }
.funnel em { display: block; height: 9px; border-radius: 6px; background: var(--brand); transform-origin: left; font-style: normal; }
.m-sys { display: grid; grid-template-columns: 48px 1fr; height: 100%; }
.m-sys aside { background: var(--noite); padding: 12px 10px; display: grid; gap: 9px; align-content: start; }
.m-sys aside i { height: 22px; border-radius: 7px; background: #1A2440; }
.m-sys aside i:nth-child(2) { background: var(--steel-tint); box-shadow: inset 2px 0 0 var(--volt); }
.m-sys .main { padding: 14px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.chart { height: 82px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); padding: 10px 10px 8px; display: flex; align-items: flex-end; gap: 6px; }
.chart b { flex: 1; border-radius: 4px 4px 0 0; background: var(--brand); transform-origin: bottom; opacity: .85; }
.chart b:last-child { background: var(--volt); opacity: 1; }
.rows { border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.rows div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.rows div:last-child { border-bottom: 0; }
.rows .sk { height: 8px; width: 46%; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border-radius: 99px; font-size: 11px; font-weight: 500; background: var(--success-tint); color: var(--success); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 9px; background: currentColor; }
.st.w { background: #FBEEDC; color: #A15500; }
.m-auto { padding: 10px 12px; display: grid; gap: 6px; }
.rule { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; line-height: 16px; }
.rule .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--ink-subtle); text-transform: uppercase; }
.rule .arr { width: 28px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.rule .arr::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--brand); animation: flowx 1.6s linear infinite; }
.rule:nth-child(2) .arr::after { animation-delay: .5s; } .rule:nth-child(3) .arr::after { animation-delay: 1s; }
@keyframes flowx { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.rule .chip { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand-ink); }
.rule .chip .icon { width: 15px; height: 15px; }
.rule .chip.v { background: var(--volt); color: var(--on-volt); }
@media (max-width: 420px) { .m-lp { grid-template-columns: 1fr; } .m-lp .form { display: none; } .rule { grid-template-columns: auto 1fr; } .rule .arr, .rule > span:last-child { display: none; } }
/* os mockups ganham vida quando o card entra na tela */
@keyframes grow { from { transform: scaleX(0); } }
@keyframes growY { from { transform: scaleY(0); } }
.js .rv.in .funnel em { animation: grow 1s var(--ease-emph) both; }
.js .rv.in .funnel div:nth-child(2) em { animation-delay: .12s; } .js .rv.in .funnel div:nth-child(3) em { animation-delay: .24s; }
.js .rv.in .chart b { animation: growY .9s var(--ease-emph) both; }

/* ---------- calculadora ---------- */
.calc { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-in, .calc-out { border-radius: var(--r-xl); padding: 24px; }
@media (min-width: 640px) { .calc-in, .calc-out { padding: 36px; } }
.calc-in { background: var(--surface); border: 1px solid var(--line); display: grid; gap: 28px; }
.rng { display: grid; gap: 10px; }
.rng-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rng label { font-size: 15px; font-weight: 500; }
.rng output { font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p), var(--line) var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p), var(--line) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 99px; background: var(--surface); border: 2px solid var(--brand); box-shadow: var(--shadow-md); transition: transform .15s; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 99px; background: var(--surface); border: 2px solid var(--brand); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-out { position: relative; overflow: hidden; background: var(--noite); color: var(--on-noite); display: flex; flex-direction: column; gap: 24px; }
.calc-out::before { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; background-image: radial-gradient(rgba(198,242,78,.5) 1.4px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at top right, #000 15%, transparent 70%); mask-image: radial-gradient(circle at top right, #000 15%, transparent 70%); pointer-events: none; }
.big { display: flex; flex-direction: column; gap: 4px; position: relative; }
.big > span { font-size: 14px; color: var(--on-noite-muted); }
.big strong { font-size: clamp(48px, 7vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.big strong small { font-size: .42em; letter-spacing: -.01em; color: var(--on-noite-muted); font-weight: 500; margin-left: 6px; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.mini div { padding: 16px; border-radius: var(--r-lg); background: rgba(238,241,248,.05); border: 1px solid var(--noite-line); display: grid; gap: 4px; min-width: 0; }
.mini div span { font-size: 13px; color: var(--on-noite-muted); }
.mini div b { font-size: clamp(19px, 2.4vw, 24px); line-height: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-note { font-size: 13px; line-height: 20px; color: var(--on-noite-subtle); position: relative; }
.calc-out .btn { align-self: flex-start; position: relative; }


/* ---------- demonstrações ---------- */
.dark .sh p { color: var(--on-noite-muted); }
.dark .sh h2 .soft { color: var(--on-noite-muted); }
.demo-grid { display: grid; gap: 20px; margin-top: 40px; }
/* "Seu ramo não está aqui?" ocupa o espaço que sobra na última linha */
@media (min-width: 860px) and (max-width: 1099px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid > .demo-outro:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .demo-grid { grid-template-columns: repeat(3, 1fr); }
  .demo-grid > .demo-outro:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px 32px; padding: 28px 32px; }
  .demo-grid > .demo-outro:nth-child(3n+1) p { flex: 1; max-width: 62ch; }
  .demo-grid > .demo-outro:nth-child(3n+1) .btn { align-self: center; margin-left: auto; }
  .demo-grid > .demo-outro:nth-child(3n+2) { grid-column: span 2; padding: 32px 40px; }
}
.demo-card { display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 20px 50px rgba(0,0,0,.35); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.demo-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0,0,0,.45); }
.demo-card:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
.demo-thumb { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface-2); }
.demo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-emph); }
.demo-card:hover .demo-thumb img { transform: scale(1.03); }
.demo-info { display: grid; gap: 8px; padding: 22px 24px 24px; }
.demo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-info b { font-size: 22px; line-height: 28px; letter-spacing: -.01em; }
.demo-desc { color: var(--ink-muted); font-size: 15px; line-height: 23px; }
.demo-ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--brand-ink); }
.demo-ver .icon { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.demo-card:hover .demo-ver .icon { transform: translateX(3px); }
.demo-outro { border-radius: var(--r-xl); padding: 28px; background: var(--noite-2); border: 1px solid var(--noite-line); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.demo-outro b { font-size: 24px; line-height: 30px; letter-spacing: -.015em; }
.demo-outro p { color: var(--on-noite-muted); font-size: 16px; line-height: 25px; }
.demo-outro .btn { align-self: flex-start; }
.svc-demo { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.svc-demo:hover { text-decoration: underline; text-underline-offset: 3px; }
.svc-demo .icon { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .demo-card:hover, .demo-card:hover .demo-thumb img { transform: none; } }

/* ---------- processo ---------- */
.proc { display: grid; gap: 48px; }
@media (min-width: 960px) { .proc { grid-template-columns: .8fr 1.2fr; gap: 80px; } .proc .sh { position: sticky; top: 120px; align-self: start; } }
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 36px; display: flex; flex-direction: column; gap: 20px; }
.steps::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.steps::after { content: ""; position: absolute; left: 11px; top: 8px; width: 2px; height: calc(100% - 16px); background: var(--brand); border-radius: 2px; transform-origin: top; transform: scaleY(var(--prog, 0)); }
.step { position: relative; padding: 24px 24px 24px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; transition: border-color .3s, box-shadow .3s; }
.step::before { content: ""; position: absolute; left: -32px; top: 28px; width: 14px; height: 14px; border-radius: 99px; background: var(--bg); border: 2px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
.step.on { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.step.on::before { background: var(--volt); border-color: var(--on-volt); box-shadow: 0 0 0 5px rgba(198,242,78,.3); }
.step .n { font-family: var(--font-mono); font-size: 13px; color: var(--brand-ink); }
.step h3 { font-size: 22px; line-height: 28px; letter-spacing: -.01em; }
.step p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.step .get { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; }
.step .get .icon { color: var(--success); width: 16px; height: 16px; margin-top: 2px; }
.no-js-steps .steps::after { transform: none; }

/* ---------- diferenciais (bento) ---------- */
.bento { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .b1 { grid-column: span 4; } .b2 { grid-column: span 2; } .b3, .b4, .b5 { grid-column: span 2; } }
.cell { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 28px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-height: 220px; isolation: isolate; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(31,58,138,.10), transparent 60%); }
.cell:hover::before { opacity: 1; }
.cell h3 { font-size: 22px; line-height: 28px; letter-spacing: -.01em; margin-top: auto; }
.cell p { color: var(--ink-muted); font-size: 15px; line-height: 24px; max-width: 46ch; }
.cell .ic { width: 44px; height: 44px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand-ink); }
.cell.dk { background: var(--noite); border-color: var(--noite); color: var(--on-noite); }
.cell.dk p { color: var(--on-noite-muted); }
.cell.dk::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(198,242,78,.14), transparent 60%); }
.cell.dk .ic { background: var(--volt); color: var(--on-volt); }
.proto { display: flex; gap: 10px; margin-block: 4px 8px; }
.proto div { flex: 1; height: 92px; border-radius: 10px; border: 1.5px dashed #3A4666; display: grid; align-content: start; gap: 6px; padding: 10px; transition: border-color .4s, background-color .4s; }
.proto div i { display: block; height: 6px; border-radius: 4px; background: #26304A; }
.proto div i:first-child { width: 60%; }
.cell.dk:hover .proto div { border-style: solid; border-color: var(--steel); background: rgba(111,143,224,.08); }
.cell.dk:hover .proto div:nth-child(2) { transition-delay: .1s; } .cell.dk:hover .proto div:nth-child(3) { transition-delay: .2s; }
.phone { position: absolute; right: 22px; top: 22px; width: 54px; height: 96px; border-radius: 12px; border: 2px solid var(--line-strong); padding: 8px 6px; display: grid; gap: 5px; align-content: start; transition: transform .5s var(--ease-emph); }
.phone i { height: 5px; border-radius: 3px; background: var(--line); } .phone i.v { height: 12px; border-radius: 99px; background: var(--volt); margin-top: 4px; }
.cell:hover .phone { transform: translateY(-6px) rotate(-4deg); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-size: inherit; letter-spacing: 0; }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); cursor: pointer; }
.acc-q .pm { flex: none; width: 34px; height: 34px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); transition: transform .25s var(--ease-out), background-color .25s; }
.acc-item.open .pm { transform: rotate(45deg); background: var(--brand); color: var(--on-brand); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 54px 24px 0; color: var(--ink-muted); }
@media (max-width: 640px) { .acc-a p { padding-right: 0; } }

/* ---------- briefing ---------- */
.brief { position: relative; overflow: hidden; border-radius: 28px; background: var(--noite); color: var(--on-noite); display: grid; gap: 40px; padding: 32px 20px; isolation: isolate; }
@media (min-width: 640px) { .brief { padding: 48px; } }
@media (min-width: 1024px) { .brief { grid-template-columns: 1.1fr .9fr; padding: 64px; gap: 56px; } }
.brief::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(111,143,224,.28) 1.3px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 55%); mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 55%); }
.brief form { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.brief h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -.025em; }
.brief .lead { color: var(--on-noite-muted); font-size: 17px; line-height: 27px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--on-noite); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid #5B6680; font-size: 14px; font-weight: 500; color: var(--on-noite-muted); transition: background-color .15s var(--ease-out), border-color .15s var(--ease-out), color .15s var(--ease-out); cursor: pointer; }
.chip input:checked + span { background: var(--volt); border-color: var(--volt); color: var(--on-volt); }
.chip input:checked + span::before { content: "✓"; font-size: 13px; }
.chip input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 2px; }
.chip:hover span { border-color: var(--steel); color: var(--on-noite); }
.chip:hover input:checked + span { color: var(--on-volt); border-color: var(--volt); }
.fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label { font-size: 14px; font-weight: 500; }
.fld input, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid #5B6680; background: rgba(11,18,34,.6); color: var(--on-noite); font: inherit; font-size: 16px; line-height: 22px; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--on-noite-subtle); }
.fld input:focus-visible, .fld textarea:focus-visible { outline: 2px solid var(--volt); outline-offset: 1px; border-color: transparent; }
.preview { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.preview .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-noite-subtle); }
.chat { border-radius: 20px; background: #0F1628; border: 1px solid var(--noite-line); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--noite-line); }
.chat-head .av { width: 36px; height: 36px; border-radius: 99px; background: var(--noite-3); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--volt); }
.chat-head b { display: block; font-size: 14px; line-height: 20px; } .chat-head small { font-size: 12px; color: var(--on-noite-subtle); }
.bubble { align-self: flex-end; max-width: 92%; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--meia-noite); color: #FFFFFF; font-size: 14px; line-height: 21px; white-space: pre-wrap; word-break: break-word; }
.preview-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 479px) { .preview-actions .btn { flex: 1 1 100%; } }
.alt-contact { font-size: 14px; color: var(--on-noite-muted); }
.alt-contact a { color: var(--on-noite); text-underline-offset: 3px; }
.toast { font-size: 13px; color: var(--volt); min-height: 20px; }

/* ---------- rodapé ---------- */
.foot { padding-top: 72px; overflow: hidden; }
.foot-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.2fr 2fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 340px; color: var(--on-noite-muted); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.foot-cols h2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--on-noite); margin-bottom: 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-cols a, .foot-cols li { color: var(--on-noite-muted); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--on-noite); }
.wordmark { display: block; margin-top: 64px; font-size: clamp(64px, 19vw, 300px); line-height: .8; font-weight: 700; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px #26304A; white-space: nowrap; user-select: none; background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), var(--volt), transparent 60%); -webkit-background-clip: text; background-clip: text; transform: translateY(10%); }
.foot-bottom { padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #1A2440; font-size: 13px; line-height: 20px; color: var(--on-noite-subtle); position: relative; z-index: 1; background: var(--noite); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.foot-bottom a { color: var(--on-noite-muted); }

/* ---------- botão fixo no celular ---------- */
.fab { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20; display: flex; border-radius: 999px; box-shadow: 0 12px 32px rgba(11,18,34,.35); transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .36s var(--ease-out), opacity .36s var(--ease-out); }
.fab.show { transform: none; opacity: 1; pointer-events: auto; }
.fab .btn { flex: 1; }
@media (min-width: 900px) { .fab { display: none; } }

/* ---------- atalho Ctrl/⌘ K (bônus, sem botão na barra) ---------- */
.cmdk { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: max(12vh, env(safe-area-inset-top, 0px)) 16px 16px; background: rgba(3,6,14,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cmdk[hidden] { display: none; }
.cmdk-box { width: 100%; max-width: 560px; border-radius: 18px; background: var(--noite-2); border: 1px solid var(--noite-line); box-shadow: 0 30px 80px rgba(0,0,0,.6); color: var(--on-noite); overflow: hidden; animation: pop .22s var(--ease-emph); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--noite-line); color: var(--on-noite-subtle); }
.cmdk-in input { flex: 1; min-width: 0; height: 58px; background: transparent; border: 0; outline: none; color: var(--on-noite); font: inherit; font-size: 17px; }
.cmdk-in input::placeholder { color: var(--on-noite-subtle); }
.cmdk ul { list-style: none; margin: 0; padding: 8px; max-height: 360px; overflow-y: auto; }
.cmdk .opt { display: flex; align-items: center; gap: 12px; padding: 0 12px; height: 46px; border-radius: 10px; cursor: pointer; font-size: 15px; color: var(--on-noite-muted); }
.cmdk .opt .oi { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--noite-3); color: var(--steel-ink); }
.cmdk .opt[aria-selected="true"] { background: var(--noite-3); color: var(--on-noite); }
.cmdk .opt[aria-selected="true"] .oi { background: var(--volt); color: var(--on-volt); }
.cmdk .empty { padding: 24px 12px; color: var(--on-noite-subtle); font-size: 14px; }
kbd { font-family: var(--font-mono); font-size: 11px; padding: 2px 6px; border-radius: 5px; background: var(--noite-3); color: var(--on-noite-muted); border: 1px solid var(--noite-line); }

/* ---------- reveal ao rolar ---------- */
.js .rv { opacity: .001; transform: translateY(16px); transition: opacity .64s var(--ease-emph), transform .64s var(--ease-emph); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .svc.rv.in:hover, .js .cell.rv.in:hover { transform: translateY(-3px); transition-delay: 0ms; }
.scroll-prog { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 11; background: var(--volt); transform-origin: left; transform: scaleX(0); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .svc:hover, .cell:hover, .btn-volt:hover, .cell:hover .phone { transform: none; }
}

/* =====================================================================
   Páginas /sites/ e /automacoes/ e as "portas" da home (nov/2026)
   ===================================================================== */
/* ---------- portas da home ---------- */
.portas { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .portas { grid-template-columns: 1fr 1fr; gap: 24px; } .portas .porta:nth-child(3) { grid-column: 1 / -1; } }
@media (min-width: 1180px) { .portas { grid-template-columns: repeat(3, 1fr); } .portas .porta:nth-child(3) { grid-column: auto; } }
.porta { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out); }
@media (min-width: 640px) { .porta { padding: 32px; } }
.porta:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.porta.dk { background: var(--noite); color: var(--on-noite); border-color: var(--noite-line); }
.porta.dk .eyebrow { color: var(--steel-ink); }
.porta.dk:focus-visible { outline-color: var(--brand); }
.porta h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.porta p { color: var(--ink-muted); font-size: 16px; line-height: 25px; max-width: 46ch; }
.porta.dk p { color: var(--on-noite-muted); }
.porta .ir { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-ink); }
.porta.dk .ir { color: var(--volt); }
.porta .ir .icon { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.porta:hover .ir .icon { transform: translateX(3px); }
.porta-vis { position: relative; height: 150px; margin: 4px 0 6px; }
.miniaturas { height: auto; aspect-ratio: 2.8 / 1; }
.miniaturas img { position: absolute; top: 10px; width: 54%; aspect-ratio: 1200 / 630; height: auto; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--surface-2); }
.miniaturas img:nth-child(1) { left: 0; transform: rotate(-4deg); }
.miniaturas img:nth-child(2) { left: 23%; top: 22px; z-index: 1; }
.miniaturas img:nth-child(3) { right: 0; transform: rotate(4deg); }
.estados { display: grid; gap: 8px; height: auto; }
.estados > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.estados b { color: var(--ink); font-weight: 600; }
.estados i { flex: none; font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; }
.estados i.ok { background: var(--success-tint); color: var(--success); }
.estados i.lar { background: #FBEFD9; color: #7A4B00; }
.regras { display: grid; gap: 8px; height: auto; }
.regras > span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--noite-2); border: 1px solid var(--noite-line); font-size: 14px; line-height: 20px; color: var(--on-noite-muted); }
.regras b { color: var(--on-noite); font-weight: 600; }
.regras i { flex: none; width: 8px; height: 8px; border-radius: 99px; background: var(--volt); box-shadow: 0 0 0 4px rgba(198,242,78,.18); }
@media (prefers-reduced-motion: reduce) { .porta:hover, .porta:hover .ir .icon { transform: none; } }

/* ---------- topo das páginas internas ---------- */
.hero-sub h1 { font-size: clamp(38px, 5vw, 66px); }
.vitrine { position: relative; aspect-ratio: 5 / 4; max-width: 560px; width: 100%; justify-self: center; animation: rise .8s var(--ease-emph) 640ms both; }
.vitrine figure { position: absolute; margin: 0; width: 74%; border-radius: 14px; overflow: hidden; background: var(--noite-2); border: 1px solid var(--noite-line); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.vitrine figure::before { content: ""; display: block; height: 22px; background: var(--noite-3) radial-gradient(circle at 12px 11px, #F2665A 3px, transparent 3.5px), var(--noite-3); border-bottom: 1px solid var(--noite-line); }
.vitrine img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.vitrine figure:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); }
.vitrine figure:nth-child(2) { right: 0; top: 24%; z-index: 1; }
.vitrine figure:nth-child(3) { left: 8%; bottom: 0; transform: rotate(2deg); z-index: 2; }

/* ---------- faixa "animações sob medida" (/sites/) ---------- */
.faixa { display: grid; gap: 28px; align-items: center; margin-top: 8px; }
@media (min-width: 960px) { .faixa { grid-template-columns: 1fr 1fr; gap: 56px; } }
.faixa-img { display: block; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.faixa-img img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.faixa .checks { margin-top: 6px; }

/* ---------- ferramentas e custos (/automacoes/) ---------- */
.custos-wrap { display: grid; gap: 24px; margin-top: 40px; }
.custos { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; font-size: 15px; line-height: 23px; }
.custos caption { text-align: left; padding: 0 0 12px; font-size: 14px; color: var(--ink-muted); caption-side: bottom; padding-top: 12px; }
.custos th, .custos td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.custos tr:last-child td, .custos tr:last-child th { border-bottom: 0; }
.custos thead th { background: var(--surface-2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); }
.custos tbody th { font-weight: 600; min-width: 180px; }
.custos tbody th small { display: block; font-weight: 400; color: var(--ink-muted); font-size: 13px; line-height: 19px; margin-top: 2px; }
.custos td b { font-weight: 600; }
.custos .preco { white-space: nowrap; font-variant-numeric: tabular-nums; }
.custos a { color: var(--brand-ink); }
.selo-c { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.selo-c.inc { background: var(--success-tint); color: var(--success); }
.selo-c.ter { background: #FBEFD9; color: #7A4B00; }
.selo-c.gr { background: var(--brand-tint); color: var(--brand-ink); }
@media (max-width: 759px) {
  .custos, .custos tbody, .custos tr, .custos th, .custos td { display: block; width: 100%; }
  .custos thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .custos tr { border-bottom: 1px solid var(--line); padding: 16px 18px; }
  .custos tr:last-child { border-bottom: 0; }
  .custos th, .custos td { border: 0; padding: 0; }
  .custos td { margin-top: 10px; }
  .custos td::before { content: attr(data-r); display: block; font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: 2px; }
}
.garantias { display: grid; gap: 16px; }
@media (min-width: 760px) { .garantias { grid-template-columns: repeat(3, 1fr); } }
.garantia { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.garantia .ic { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand-ink); }
.garantia .ic .icon { width: 18px; height: 18px; }
.garantia h3 { font-size: 18px; line-height: 24px; letter-spacing: -.01em; }
.garantia p { color: var(--ink-muted); font-size: 15px; line-height: 23px; }
.fonte { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.fonte a { color: inherit; }
.demo-card .demo-thumb.auto { background: var(--noite); }

/* ---------- portas: nome do produto em destaque (nov/2026) ---------- */
.porta { gap: 16px; }
.porta-selo { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 99px; background: var(--brand-tint); color: var(--brand-ink); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.porta-selo .icon { width: 20px; height: 20px; }
.porta.dk .porta-selo { background: var(--volt); color: var(--on-volt); }
.porta h3 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; }
.porta p { font-size: 17px; line-height: 27px; }
.porta .ir { margin-top: auto; align-self: flex-start; height: 48px; padding: 0 22px; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
.porta.dk .ir { background: var(--volt); color: var(--on-volt); }
.porta .ir .icon { width: 18px; height: 18px; }
.miniaturas img { width: 58%; }
.miniaturas img:nth-child(1) { transform: rotate(-2.5deg); }
.miniaturas img:nth-child(3) { transform: rotate(2.5deg); }
.regras > span { padding: 12px 16px; font-size: 15px; line-height: 21px; }

/* ---------- carrossel de serviços (início) ----------
   Sem JS: uma fileira com rolagem lateral. Com JS: cards posicionados por profundidade, o do centro na frente. */
.carrossel { position: relative; }
.car-palco { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; }
.svc-c { flex: none; width: min(410px, 86vw); scroll-snap-align: center; }
.svc-c .svc-media .mock { height: 156px; }
.svc-c .svc-body { gap: 13px; padding: 24px 26px 26px; }
.svc-c .svc-body > p { font-size: 15.5px; line-height: 24px; }
.svc-c .checks { gap: 9px; font-size: 15.5px; }
.svc-c h3 { font-size: 23px; }
.svc-c .price b { font-size: 22px; }
.car-ctl { display: none; }
.js .carrossel { overflow-x: clip; padding-block: 8px 4px; }
.js .car-palco { display: block; overflow: visible; padding: 0; height: var(--car-h, 600px); perspective: 1400px; touch-action: pan-y; }
.js .svc-c { position: absolute; left: 50%; top: 0; margin-left: calc(min(410px, 86vw) / -2); height: var(--car-h, auto); transform-origin: 50% 50%; transition: transform .6s var(--ease-emph), opacity .6s var(--ease-emph), box-shadow .3s; will-change: transform; cursor: pointer; }
.js .svc-c.centro { cursor: auto; box-shadow: var(--shadow-lg); }
.js .svc-c { position: absolute; }
.js .svc-c::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); opacity: var(--veu, 0); transition: opacity .6s var(--ease-emph); pointer-events: none; }
.js .svc-c.longe { visibility: hidden; }
.js .svc-c:hover { border-color: var(--line); }
.js .svc-c.centro:hover { border-color: var(--line-strong); }
.js .car-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.car-bt, .car-pausa { width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.car-bt:hover, .car-pausa:hover { border-color: var(--ink); }
.car-bt .icon { width: 18px; height: 18px; }
#car-ant .icon { transform: scaleX(-1); }
.car-pontos { display: flex; gap: 4px; }
.car-pontos button { width: 28px; height: 28px; border: 0; background: transparent; border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.car-pontos button::after { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .3s var(--ease-emph), background-color .3s; }
.car-pontos button[aria-current="true"]::after { width: 22px; background: var(--brand); }
.car-pausa { margin-left: 6px; }
.car-pausa-ic { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.car-pausa[aria-pressed="true"] .car-pausa-ic { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
@media (prefers-reduced-motion: reduce) { .js .svc-c { transition: none; } }
.calc-acoes { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }

/* ---------- página /sistemas/ ---------- */
.aviso-previa { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin-top: 28px; padding: 12px 16px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand-ink); font-size: 15px; line-height: 23px; }
.aviso-previa .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.aviso-previa b { font-weight: 700; }

/* o palco do "Experimente" */
.exp { margin-top: 24px; padding: 16px; border-radius: var(--r-xl); background: var(--noite); color: var(--on-noite); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .exp { padding: 28px; } }
.exp-abas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 900px) { .exp-abas { grid-template-columns: repeat(4, 1fr); } }
.exp-abas button { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: var(--r-lg); border: 1px solid var(--noite-line); background: var(--noite-2); color: var(--on-noite); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.exp-abas button:hover { border-color: var(--steel); }
.exp-abas button[aria-selected=true] { border-color: var(--volt); background: var(--noite-3); }
.exp-abas b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.exp-abas small { display: block; font-size: 12px; line-height: 16px; color: var(--on-noite-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-abas span:last-child { min-width: 0; }
.ea-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 500; background: var(--steel-tint); color: var(--steel-ink); }
.exp-abas button[aria-selected=true] .ea-ic { background: var(--volt); color: var(--on-volt); }
.exp-painel { margin-top: 16px; }
.exp-painel:focus-visible { outline-offset: 6px; border-radius: var(--r-lg); }
.exp-palco { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .exp-palco { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; } }
.exp-lado { display: grid; gap: 8px; min-width: 0; }
.exp-rot { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-noite-muted); }
.exp-dono { min-height: 330px; padding: 16px; border-radius: var(--r-lg); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 20px; display: grid; gap: 12px; align-content: start; }
.exp-lado-cel { justify-items: center; }
.exp-lado-cel .exp-rot { justify-self: stretch; text-align: center; }
.exp-aparelho { width: 100%; max-width: 290px; padding: 10px; border-radius: 34px; background: #05080F; border: 1px solid var(--noite-line); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.exp-tela { height: 390px; overflow: hidden; border-radius: 26px; background: var(--surface); color: var(--ink); font-size: 13px; line-height: 19px; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.exp-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.exp-acoes [hidden] { display: none; }
.exp-acoes .btn[disabled] { opacity: .6; cursor: default; }
.exp-abrir { display: inline-flex; align-items: center; gap: 8px; color: var(--volt); font-weight: 600; font-size: 15px; text-decoration: none; }
.exp-abrir:hover { text-decoration: underline; text-underline-offset: 3px; }
.exp-abrir .icon { width: 16px; height: 16px; }
.exp-log { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: passo; min-height: 3px; }
.exp-log li { counter-increment: passo; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--on-noite); animation: rise .4s var(--ease-emph) both; }
.exp-log li::before { content: counter(passo); flex: none; width: 22px; height: 22px; border-radius: 99px; background: var(--volt); color: var(--on-volt); font-family: var(--font-mono); font-size: 12px; line-height: 22px; text-align: center; }

/* painel do dono (mini) */
.xd-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.xd-topo > b { font-size: 16px; font-weight: 600; }
.xd-kpi { font-size: 13px; color: var(--ink-muted); }
.xd-kpi strong { margin-left: 4px; color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.xc-quadro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xc-col { display: grid; gap: 8px; align-content: start; padding: 8px; border-radius: var(--r-md); background: var(--surface-2); min-height: 220px; }
.xc-ct { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.xc-card { display: grid; gap: 2px; padding: 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.xc-card span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-subtle); }
.xc-card b { font-size: 14px; }
.xc-card small { font-size: 12px; line-height: 17px; color: var(--ink-muted); }
@media (max-width: 599px) {
  .exp-abas small { display: none; }
  .exp-dono { padding: 12px; }
  .xc-quadro { gap: 6px; } .xc-col { padding: 6px; min-height: 200px; }
  .xc-card { padding: 6px; } .xc-card b { font-size: 13px; }
  .x-qr { display: table; margin: 2px 0; }
}
.xc-col, .xc-card small { min-width: 0; overflow-wrap: anywhere; }
.x-qr { display: inline-block; margin-right: 4px; padding: 0 5px; border-radius: 4px; background: var(--noite); color: var(--volt); font-style: normal; font-size: 10px; font-weight: 600; }
.xd-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xd-lista li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.xd-lista li > span:first-child { flex: 1 1 140px; min-width: 0; display: grid; }
.xd-lista small { font-size: 12px; color: var(--ink-muted); }
.xd-lista i { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.x-ok { background: var(--success-tint); color: var(--success); }
.x-azul { background: var(--brand-tint); color: var(--brand-ink); }
.x-lar { background: #FBEFD9; color: #7A4B00; }
.xd-barra { flex: 1 1 90px; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.xd-barra i { display: block; height: 100%; padding: 0; border-radius: 99px; background: var(--brand); transition: width .6s var(--ease-emph); }
.xd-barra i.quase { background: #D97706; }
.xd-barra i.cheia { background: #B4400F; }
.xd-novo { display: grid; gap: 2px; padding: 12px; border-radius: var(--r-md); background: var(--noite); color: var(--on-noite); }
.xd-novo b { color: var(--volt); }
.xd-novo span { font-size: 13px; color: var(--on-noite-muted); }
@keyframes cai { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes brilha { 0% { box-shadow: 0 0 0 0 rgba(198,242,78,.9); } 100% { box-shadow: 0 0 0 10px rgba(198,242,78,0); } }
.x-novo { animation: cai .5s var(--ease-emph) both, brilha 1.2s .3s ease-out; }
.xc-card.x-novo, .xd-lista li.x-novo { border-color: #8DB82A; }

/* celular do cliente (mini) */
.xt-topo { display: grid; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.xt-topo b { font-size: 15px; }
.xt-topo small { font-size: 12px; color: var(--ink-muted); }
.xt-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xt-itens li { display: flex; align-items: center; gap: 10px; }
.xt-itens img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.xt-itens li span { flex: 1; display: grid; }
.xt-itens small { color: var(--ink-muted); font-size: 12px; }
.xt-itens i { font-style: normal; font-weight: 600; width: 26px; height: 26px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); }
.xt-btn { margin-top: auto; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 12px; background: var(--noite); color: var(--volt); font-weight: 600; font-size: 14px; cursor: pointer; }
.xt-btn.mini { margin: 0; min-height: 36px; padding: 6px 12px; font-size: 13px; }
.xt-btn:hover { background: var(--noite-3); }
.xt-status { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.xt-status > b { font-family: var(--font-mono); font-size: 13px; }
.xt-passos { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.xt-passos li { display: flex; align-items: center; gap: 10px; color: var(--ink-subtle); }
.xt-passos li::before { content: ""; width: 14px; height: 14px; border-radius: 99px; border: 2px solid var(--line-strong); flex: none; transition: background .3s, border-color .3s; }
.xt-passos li.feito { color: var(--ink); }
.xt-passos li.feito::before { background: var(--success); border-color: var(--success); }
.xt-passos li.agora { color: var(--ink); font-weight: 600; }
.xt-passos li.agora::before { border-color: var(--brand); background: var(--volt); animation: brilha 1.2s ease-out infinite; }
.xt-agora { margin-top: 6px; font-weight: 600; }
.xt-ops { display: grid; gap: 8px; }
.xt-op { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; }
.xt-op b { font-size: 14px; }
.xt-op b i { font-style: normal; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 99px; background: var(--brand-tint); color: var(--brand-ink); margin-left: 4px; vertical-align: 1px; }
.xt-op small { grid-column: 1; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.xt-op span { grid-column: 2; grid-row: 1 / 3; align-self: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.xt-op.sel { border-color: var(--brand); background: var(--brand-tint); }
.xt-op[disabled] { cursor: default; }
.xt-op[disabled]:not(.sel) { opacity: .55; }
.xt-assin { margin-top: auto; padding: 10px; border-radius: 12px; border: 1px dashed var(--line-strong); display: grid; gap: 2px; justify-items: center; }
.xt-assin svg { width: 100%; height: 54px; }
.xt-assin path { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: assina 1.2s ease-out both; }
@keyframes assina { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.xt-assin span { font-size: 12px; color: var(--success); font-weight: 600; }
.xt-ex { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xt-ex li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.xt-ex li > i { width: 22px; height: 22px; border-radius: 99px; border: 2px solid var(--line-strong); flex: none; font-style: normal; font-size: 12px; line-height: 18px; text-align: center; }
.xt-ex li.feito > i { background: var(--success); border-color: var(--success); color: #fff; }
.xt-ex li span { display: grid; }
.xt-ex small { font-size: 12px; color: var(--ink-muted); }
.xt-aula { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--noite); color: var(--on-noite); }
.xt-aula span { display: grid; }
.xt-aula small { font-size: 12px; color: var(--on-noite-muted); }
.xt-aula .xt-btn { background: var(--volt); color: var(--on-volt); }
.xt-evo { margin-top: auto; display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--noite); color: var(--on-noite); }
.xt-evo b { font-size: 13px; }
.xt-evo svg { width: 100%; height: 50px; }
.xt-evo polyline { fill: none; stroke: var(--volt); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: assina 1s ease-out both; }
.xt-evo small { font-size: 12px; color: var(--on-noite-muted); }
.xt-zap { display: flex; align-items: center; gap: 10px; margin: -14px -14px 0; padding: 12px 14px; background: #075E54; color: #fff; }
.xt-zap span:last-child { display: grid; }
.xt-zap small { font-size: 11px; opacity: .85; }
.xt-av { width: 32px; height: 32px; border-radius: 99px; background: #DCF8C6; color: #075E54; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.xt-msgs { list-style: none; margin: 0 -14px -14px; padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; background: #ECE5DD; }
.xt-msgs li { max-width: 86%; padding: 6px 9px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); display: grid; }
.xt-msgs li span { white-space: pre-line; }
.xt-msgs li small { justify-self: end; font-size: 10px; color: #4A5468; }
.xt-msgs li.loja { align-self: flex-end; background: #DCF8C6; }
.xt-msgs li.x-novo2 { animation: cai .5s var(--ease-emph) .9s both; }

/* calculadora: tipo de negócio */
.s-tipo { border: 0; margin: 0; padding: 0; min-width: 0; }
.s-tipo legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.s-tipos { display: flex; flex-wrap: wrap; gap: 8px; }
.s-tipos label { position: relative; }
.s-tipos input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.s-tipos span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 14px; line-height: 20px; transition: background .2s, border-color .2s, color .2s; }
.s-tipos input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.s-tipos input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.sis-outro { margin-top: 20px; }
@media (min-width: 860px) { .sis-outro { flex-direction: row; align-items: center; gap: 12px 32px; padding: 28px 32px; } .sis-outro p { flex: 1; max-width: 62ch; } .sis-outro .btn { align-self: center; margin-left: auto; } }
.sis-inclui { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .sis-inclui { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sis-inclui { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .sis-mosaico .brilha, .exp-log li, .x-novo, .xt-msgs li.x-novo2, .xt-passos li.agora::before, .xt-assin path, .xt-evo polyline { animation: none; }
  .xd-barra i { transition: none; }
}

/* topo: mosaico em HTML (sem prints de demo) */
.sis-mosaico { position: relative; width: 100%; max-width: 560px; aspect-ratio: 5 / 4; justify-self: center; animation: rise .8s var(--ease-emph) 640ms both; }
.mo-painel { position: absolute; left: 0; top: 6%; width: 82%; border-radius: 16px; overflow: hidden; background: var(--bg); color: var(--ink); border: 1px solid var(--noite-line); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.mo-barra { display: flex; gap: 6px; padding: 9px 12px; background: var(--noite-3); }
.mo-barra i { width: 8px; height: 8px; border-radius: 99px; background: var(--noite-line); }
.mo-barra i:first-child { background: #F2665A; }
.mo-corpo { display: grid; gap: 10px; padding: 12px; }
.mo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mo-kpis span { display: grid; padding: 7px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.mo-kpis small { font-size: 10px; line-height: 14px; color: var(--ink-muted); }
.mo-kpis b { font-size: 15px; line-height: 20px; }
.mo-quadro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mo-quadro > div { display: grid; gap: 5px; align-content: start; min-height: 112px; padding: 6px; border-radius: 8px; background: var(--surface-2); }
.mo-quadro small { font-family: var(--font-mono); font-size: 9px; line-height: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.mo-card { display: grid; padding: 5px 7px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-size: 11px; line-height: 15px; }
.mo-card em { font-style: normal; color: var(--ink-muted); font-size: 10px; }
.mo-card.brilha { border-color: #8DB82A; animation: brilha 2.4s 1.6s ease-out infinite; }
.mo-barras { display: grid; gap: 5px; }
.mo-barras span { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--w), var(--surface-2) var(--w)); }
.mo-barras span.lar { background: linear-gradient(90deg, #D97706 var(--w), var(--surface-2) var(--w)); }
.mo-cel { position: absolute; right: 0; bottom: 0; width: 36%; padding: 7px; border-radius: 26px; background: #05080F; border: 1px solid var(--noite-line); box-shadow: 0 24px 50px rgba(0,0,0,.55); z-index: 2; }
.mo-tela { display: grid; gap: 7px; padding: 12px 10px 16px; border-radius: 20px; background: var(--surface); color: var(--ink); font-size: 11px; line-height: 15px; }
.mo-tela > b { font-size: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mo-passo { display: flex; align-items: center; gap: 7px; color: var(--ink-subtle); }
.mo-passo::before { content: ""; width: 10px; height: 10px; border-radius: 99px; border: 2px solid var(--line-strong); }
.mo-passo.ok { color: var(--ink); } .mo-passo.ok::before { background: var(--success); border-color: var(--success); }
.mo-passo.agora { color: var(--ink); font-weight: 600; } .mo-passo.agora::before { background: var(--volt); border-color: var(--brand); }
.mo-msg { margin-top: 4px; padding: 7px; border-radius: 8px; background: var(--surface-2); font-weight: 600; }
.mo-selo { position: absolute; left: 6%; bottom: 8%; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: var(--volt); color: var(--on-volt); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-accent); }
.mo-selo.s2 { left: auto; right: 22%; top: 0; bottom: auto; background: var(--noite-3); color: var(--on-noite); border: 1px solid var(--noite-line); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.mo-selo .icon { width: 15px; height: 15px; }
.mo-selo.s2 .icon { color: var(--volt); }
@media (max-width: 480px) { .mo-selo { font-size: 12px; padding: 7px 11px; } .mo-selo.s2 { right: 4%; } }

/* funcionalidades dentro de cada aba */
.exp-funcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.exp-funcs button { display: grid; gap: 2px; min-width: 0; padding: 10px 12px; border-radius: var(--r-md); border: 1px dashed var(--noite-line); background: transparent; color: var(--on-noite); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.exp-funcs button:hover { border-color: var(--steel); }
.exp-funcs button[aria-pressed=true] { border-style: solid; border-color: var(--steel); background: var(--steel-tint); }
.exp-funcs b { font-size: 14px; line-height: 19px; font-weight: 600; }
.exp-funcs small { font-size: 12px; line-height: 16px; color: var(--on-noite-muted); }
@media (max-width: 599px) { .exp-funcs { grid-template-columns: 1fr; } .exp-funcs button { grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; } }

/* peças novas das telas */
.xt-vazio { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--ink-muted); }
.xt-ok { display: block; padding: 10px 12px; border-radius: 12px; background: var(--success-tint); color: var(--success); font-weight: 600; text-align: center; }
.xt-pix { display: grid; justify-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface-2); text-align: center; }
.xt-pix > b { font-size: 22px; line-height: 28px; }
.xt-pix svg { width: 120px; height: 120px; padding: 8px; background: #fff; border-radius: 8px; fill: var(--noite); }
.xt-pix > span:not(.xt-ok) { font-size: 12px; color: var(--ink-muted); }
.xt-pdf { display: grid; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.xt-pdf > b { padding-bottom: 6px; border-bottom: 2px solid #24476B; }
.xt-pdf span, .xt-pdf strong { display: flex; justify-content: space-between; gap: 8px; }
.xt-pdf i { font-style: normal; font-variant-numeric: tabular-nums; }
.xt-pdf strong { padding-top: 6px; border-top: 1px solid var(--line); }
.xt-pdf small { font-size: 11px; line-height: 15px; color: var(--ink-muted); }
.xt-aviso { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); }
.xt-aviso span { font-size: 12px; }
.xt-aula span.xt-btn { display: inline-flex; align-items: center; cursor: default; }
.xd-ocupa .xd-barra { display: block; height: 10px; }

/* sob medida */
.sob-cols { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .sob-cols { grid-template-columns: repeat(3, 1fr); } }
.sob-comp { margin-top: 24px; }
.sob-comp table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; font-size: 15px; line-height: 22px; }
.sob-comp th, .sob-comp td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sob-comp tr:last-child th, .sob-comp tr:last-child td { border-bottom: 0; }
.sob-comp thead th { background: var(--surface-2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); }
.sob-comp thead th.destaque { background: var(--noite); color: var(--volt); }
.sob-comp tbody th { font-weight: 600; }
.sob-comp td.destaque { background: #F4F9E4; }
.c-sim, .c-nao, .c-meio { display: inline-flex; gap: 8px; align-items: baseline; }
.c-sim::before, .c-nao::before, .c-meio::before { flex: none; width: 18px; font-weight: 700; text-align: center; }
.c-sim::before { content: "✓"; color: var(--success); }
.c-nao::before { content: "✕"; color: #A3322A; }
.c-meio::before { content: "~"; color: #7A4B00; }
.c-sim { font-weight: 600; }
@media (max-width: 759px) {
  .sob-comp table, .sob-comp tbody, .sob-comp tr, .sob-comp th, .sob-comp td { display: block; width: 100%; }
  .sob-comp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sob-comp tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .sob-comp tr:last-child { border-bottom: 0; }
  .sob-comp th, .sob-comp td { border: 0; padding: 0; }
  .sob-comp td { margin-top: 8px; padding: 0; }
  .sob-comp td.destaque { margin-top: 8px; padding: 8px 10px; border-radius: 8px; }
  .sob-comp td::before { content: attr(data-r); display: block; font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
}

/* funcionalidades possíveis */
.func-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .func-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .func-grid { grid-template-columns: repeat(4, 1fr); } }
.func-grupo { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--r-xl); background: var(--noite-2); border: 1px solid var(--noite-line); }
.func-ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--volt); color: var(--on-volt); }
.func-ic .icon { width: 20px; height: 20px; }
.func-grupo h3 { font-size: 20px; line-height: 26px; }
.func-grupo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.func-grupo li { position: relative; padding-left: 22px; font-size: 15px; line-height: 22px; color: var(--on-noite-muted); }
.func-grupo li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--volt); border-bottom: 2px solid var(--volt); transform: rotate(-45deg); }
.func-segs { display: grid; gap: 12px; margin-top: 32px; }
.func-segs b { font-size: 15px; color: var(--on-noite-muted); font-weight: 500; }
.func-segs .tag { background: var(--noite-3); color: var(--steel-ink); }
@media (prefers-reduced-motion: reduce) { .sis-mosaico, .mo-card.brilha { animation: none; } }

/* ---------- abas das demonstrações (/sites/) ---------- */
.demo-abas { display: none; }
.js .demo-abas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 36px; padding: 6px; border-radius: var(--r-lg); background: var(--noite-2); border: 1px solid var(--noite-line); max-width: 760px; }
.demo-abas button { display: grid; gap: 2px; text-align: left; padding: 12px 16px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--on-noite-muted); cursor: pointer; transition: background .2s, color .2s; }
.demo-abas button b { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--on-noite); }
.demo-abas button small { font-size: 13px; line-height: 18px; }
.demo-abas button:hover { background: var(--noite-3); }
.demo-abas button[aria-selected=true] { background: var(--volt); color: var(--on-volt); }
.demo-abas button[aria-selected=true] b { color: var(--on-volt); }
@media (max-width: 520px) { .demo-abas button small { display: none; } }
.demo-painel:focus { outline: none; }
.demo-painel .demo-grid { margin-top: 28px; }
html:not(.js) #imersivas { margin-top: 48px; }
.imersivas-intro { display: grid; gap: 8px; max-width: 64ch; margin-top: 32px; }
.imersivas-intro h3 { font-size: 26px; line-height: 32px; color: var(--on-noite); }
.imersivas-intro p { color: var(--on-noite-muted); font-size: 17px; line-height: 27px; }
/* imersivas: 2 por linha no tablet, 3 por linha no computador; o bloco "O que muda" ocupa o que sobra na última linha */
@media (min-width: 760px) and (max-width: 1099px) { .imersivas-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .imersivas-grid { grid-template-columns: repeat(3, 1fr); } }
.demo-card.imersiva { background: #0b0907; color: #f1e7d6; border: 1px solid #2b241d; }
.demo-card.imersiva .demo-desc { color: #c9bba4; }
.demo-card.imersiva .tag { background: #2b241d; color: #f0b44c; }
.demo-card.imersiva .demo-ver { color: #f0b44c; }
.demo-card.imersiva:focus-visible { outline-color: #f0b44c; }
.demo-card.imersiva.gelato { background: #F4EEE5; color: #2A1D16; border-color: #E3D9CB; }
.demo-card.imersiva.gelato .demo-desc { color: #5a4a40; }
.demo-card.imersiva.gelato .tag { background: #E7DED1; color: #6B4A3A; }
.demo-card.imersiva.gelato .demo-ver { color: #6B4A3A; }
.demo-card.imersiva.gelato:focus-visible { outline-color: #6B4A3A; }
.demo-card.imersiva.imovel { background: #10282D; color: #F7F3EE; border-color: #1f3c42; }
.demo-card.imersiva.imovel .demo-desc { color: #b9c4c2; }
.demo-card.imersiva.imovel .tag { background: #193a40; color: #C9A877; }
.demo-card.imersiva.imovel .demo-ver { color: #C9A877; }
.demo-card.imersiva.imovel:focus-visible { outline-color: #C9A877; }
.demo-card.imersiva.cachaca { background: #140C08; color: #F3EADB; border-color: #2e2016; }
.demo-card.imersiva.cachaca .demo-desc { color: #cbbda6; }
.demo-card.imersiva.cachaca .tag { background: #2a1c12; color: #E9C47A; }
.demo-card.imersiva.cachaca .demo-ver { color: #E9C47A; }
.demo-card.imersiva.cachaca:focus-visible { outline-color: #E9C47A; }
.demo-card.imersiva.grao { background: #07070A; color: #ECE8E1; border-color: #24232A; }
.demo-card.imersiva.grao .demo-desc { color: #B9B4AB; }
.demo-card.imersiva.grao .tag { background: #1C1B21; color: #ECE8E1; }
.demo-card.imersiva.grao .demo-ver { color: #ECE8E1; }
.demo-card.imersiva.grao:focus-visible { outline-color: #ECE8E1; }
.demo-card.imersiva.sereno { background: #050708; color: #EEF2F0; border-color: #1B2427; }
.demo-card.imersiva.sereno .demo-desc { color: #B6C0BD; }
.demo-card.imersiva.sereno .tag { background: #12201F; color: #9EE6F5; }
.demo-card.imersiva.sereno .demo-ver { color: #9EE6F5; }
.demo-card.imersiva.sereno:focus-visible { outline-color: #9EE6F5; }
.demo-card.imersiva.atrio { background: #F4F0E8; color: #141716; border-color: #E2DCD0; }
.demo-card.imersiva.atrio .demo-desc { color: #5B625F; }
.demo-card.imersiva.atrio .tag { background: #D7E0E4; color: #21404C; }
.demo-card.imersiva.atrio .demo-ver { color: #21404C; }
.demo-card.imersiva.atrio:focus-visible { outline-color: #21404C; }
.demo-card.imersiva.ravi { background: #0A0A0B; color: #F2F0EE; border-color: #26262B; }
.demo-card.imersiva.ravi .demo-desc { color: #B5B2BA; }
.demo-card.imersiva.ravi .tag { background: #2A0F0D; color: #FF8A80; }
.demo-card.imersiva.ravi .demo-ver { color: #FF6B60; }
.demo-card.imersiva.ravi:focus-visible { outline-color: #FF6B60; }
@media (min-width: 760px) and (max-width: 1099px) { .imersivas-sobre { grid-column: 1 / -1; } .imersivas-grid > .demo-card:nth-child(odd) + .imersivas-sobre { grid-column: auto; } }
@media (min-width: 1100px) { .imersivas-sobre { grid-column: 1 / -1; } .imersivas-grid > .demo-card:nth-child(3n+1) + .imersivas-sobre { grid-column: span 2; } .imersivas-grid > .demo-card:nth-child(3n+2) + .imersivas-sobre { grid-column: auto; } }
.imersivas-sobre { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-xl); background: var(--noite-2); border: 1px solid var(--noite-line); }
.imersivas-sobre > b { font-size: 22px; line-height: 28px; letter-spacing: -.015em; color: var(--on-noite); }
.imersivas-sobre ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.imersivas-sobre li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-noite-muted); font-size: 15px; line-height: 23px; }
.imersivas-sobre li strong { color: var(--on-noite); font-weight: 600; }
.imersivas-sobre li .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--volt); }
.imersivas-sobre .btn { align-self: flex-start; margin-top: auto; }
