/* =====================================================================
   Site institucional — DataForce Systems
   Tema escuro (padrão) e claro: as cores vêm do tokens.css; o claro é definido aqui.
   As "telas do sistema" (.ux-*) usam as mesmas medidas e cores do sistema real.
   ===================================================================== */
:root[data-theme="light"] {
  color-scheme: light;
  --brand: #A87A2C; --brand-strong: #8F6620;
  --bg: #F6F3FA; --bg-2: #EFEAF6; --surface: #FFFFFF; --surface-2: #F3EEF9; --surface-3: #E6DCF3;
  --border: rgba(62, 10, 108, 0.10); --border-strong: rgba(62, 10, 108, 0.20);
  --text: #1E063A; --text-2: #4B3B66; --muted: #6E6385;
  --shadow: 0 10px 34px -14px rgba(30, 6, 58, 0.28);
}
*, *::before, *::after { box-sizing: border-box; }
:root { --header-h: 76px; --ease: cubic-bezier(.2, .7, .2, 1); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; font-weight: 450; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 var(--space-4); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); }
h3 { font-size: var(--fs-lg); letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 var(--space-4); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--brand); color: var(--brand-ink); border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }
.theme-anim, .theme-anim * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

.container { width: min(1200px, 100% - 2 * clamp(1rem, 4vw, 2.5rem)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--space-4); font: 800 12.5px/1 var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.28rem); color: var(--text-2); max-width: 60ch; line-height: 1.6; }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.hl { color: var(--brand); }

/* ---------------- botões ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8em 1.5em; border-radius: 12px; font: 700 15.5px/1.1 var(--font-body); text-decoration: none; white-space: nowrap; border: 1px solid var(--border-strong); color: var(--text); background: transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .2s, border-color .2s, background .2s; }
.btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--gradient); color: #1a0836; border-color: transparent; box-shadow: 0 12px 34px -12px rgba(207,161,80,.7); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(207,161,80,.85); border-color: transparent; }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: 14.5px; border-radius: 10px; }
.btn-wa svg { color: #25d366; }

/* ---------------- cabeçalho ---------------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.header.scrolled, .header.open { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--border); }
.header .container { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.brand img { height: 21px; width: auto; }
.brand-tag { padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 6px; color: var(--brand); font: 800 10.5px/1.2 var(--font-body); letter-spacing: .18em; }
.menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); margin: 0 0 0 auto; padding: 0; list-style: none; }
.menu a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--text-2); padding: 6px 0; position: relative; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--brand); border-radius: 2px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); cursor: pointer; transition: color .2s, border-color .2s; }
.theme-btn:hover { color: var(--text); border-color: var(--brand); }
.theme-btn span { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.drawer-head, .drawer-foot, .nav-overlay, .menu .mi { display: none; }
.m-only { display: none; }
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .m-only { display: grid; margin-left: auto; }
  .header.scrolled, .header.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(8,0,20,.6); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .header.open .nav-overlay { opacity: 1; pointer-events: auto; }
  .nav-wrap { position: fixed; top: 0; bottom: 0; left: 0; z-index: 2; width: min(310px, 86vw); display: flex; flex-direction: column; padding: calc(14px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); background: var(--bg-2); border-right: 1px solid var(--border); box-shadow: var(--shadow); overflow-y: auto; transform: translateX(-105%); transition: transform .28s var(--ease); visibility: hidden; }
  .header.open .nav-wrap { transform: none; visibility: visible; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 20px; }
  .drawer-head img { height: 19px; width: auto; }
  .drawer-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; }
  .drawer-close svg { width: 20px; height: 20px; }
  .menu { flex-direction: column; align-items: stretch; gap: 4px; margin: 0; }
  .menu a { display: flex; align-items: center; gap: 12px; padding: 12px; font-size: 16px; border-radius: 10px; }
  .menu a:hover { background: var(--surface); }
  .menu a[aria-current="page"] { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--brand); }
  .menu a[aria-current="page"]::after { display: none; }
  .menu .mi { display: grid; place-items: center; width: 20px; color: var(--brand); }
  .menu .mi svg { width: 20px; height: 20px; }
  .header-cta { flex-direction: column; align-items: stretch; margin-top: 22px; }
  .header-cta .theme-btn { display: none; }
  .header-cta .btn { width: 100%; }
  .drawer-foot { display: grid; gap: 6px; margin-top: auto; padding: 22px 6px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
  .drawer-foot a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; font-weight: 700; }
  .drawer-foot svg { width: 18px; height: 18px; color: #25d366; }
}
@media (min-width: 1021px) { .nav-wrap { display: contents; } }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(2.5rem, 6vh, 5rem)) 0 clamp(3.5rem, 8vh, 6rem); }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-purple), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; left: -320px; bottom: -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(207,161,80,.14), transparent); pointer-events: none; }
:root[data-theme="light"] .hero::before { opacity: .35; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: var(--space-6) 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.hero-stack { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { max-width: 920px; display: flex; flex-direction: column; align-items: center; }
.hero-copy .lead { margin-inline: auto; }
.hero-copy .hero-actions, .hero-copy .trust { justify-content: center; }
.hero-shot { position: relative; width: 100%; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.hero-shot::before { content: ""; position: absolute; inset: 8% 6% -4%; border-radius: 40px; background: radial-gradient(closest-side, rgba(207,161,80,.22), transparent 75%); filter: blur(20px); pointer-events: none; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-shot { margin-top: 10px; } }

/* faixa de canais */
.channels { border-block: 1px solid var(--border); background: var(--bg-2); }
.channels .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 24px; }
.channels > .container > span { font-weight: 700; color: var(--muted); font-size: 14.5px; }
.ch-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ch-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-size: 14.5px; font-weight: 700; color: var(--text); }
.ch-list svg { width: 17px; height: 17px; }

/* ---------------- blocos de recurso ---------------- */
.feature { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.rev > .feature-txt { order: 2; }
.feature-txt h2 { margin-bottom: var(--space-4); }
.ticks { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); line-height: 1.5; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFA150' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ticks b { color: var(--text); font-weight: 700; }
@media (max-width: 980px) { .feature { grid-template-columns: 1fr; } .feature.rev > .feature-txt { order: 0; } }

/* cartões */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, transparent); box-shadow: var(--shadow); }
.card h3 { margin: 16px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.card .icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 13%, transparent); color: var(--brand); }
.card .icon svg { width: 24px; height: 24px; }
.card .tag { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 4px 9px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }

/* passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: #1a0836; font-weight: 900; font-size: 18px; margin-bottom: 18px; }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* planos (resumo; os preços ficam na página de planos do painel) */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: stretch; }
.plan-main { background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 70px -36px rgba(207,161,80,.45); }
.plan-main .tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 99px; background: var(--gradient); color: #1a0836; }
.plan-main h3 { font-size: 26px; margin: 0; }
.plan-main ul { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 9px; color: var(--text-2); font-size: 15px; }
.plan-main li { display: flex; gap: 10px; }
.plan-main li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.plan-main .btn { margin-top: auto; }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.addon { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.addon b { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.addon b svg { width: 20px; height: 20px; color: var(--brand); }
.addon span { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.addon small { color: var(--brand); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .addons { grid-template-columns: 1fr; } }

/* perguntas */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5em; line-height: .7; color: var(--brand); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 22px; margin: 0; }

/* chamada final */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.25rem, 4vw, 4rem); border-radius: 28px; background: var(--surface); border: 1px solid var(--border); }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, var(--glow-purple), transparent); pointer-events: none; }
:root[data-theme="light"] .cta-band::before { opacity: .3; }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--text-2); max-width: 56ch; margin: 0 auto var(--space-6); font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* página interna: topo */
.page-hero { padding: calc(var(--header-h) + clamp(2.5rem, 6vh, 5rem)) 0 clamp(2rem, 5vh, 4rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -340px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-purple), transparent); pointer-events: none; }
:root[data-theme="light"] .page-hero::before { opacity: .35; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); max-width: 18ch; }

/* lista de módulos (recursos) */
.mod-group { margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.mod-group > h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: 8px; }
.mod-group > p { color: var(--text-2); max-width: 64ch; margin-bottom: 26px; }

/* sobre / texto corrido */
.prose { max-width: 760px; }
.prose p { color: var(--text-2); font-size: 1.08rem; line-height: 1.75; }
.prose h2 { margin-top: var(--space-7); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }

/* contato */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.c-list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: 14px; }
.c-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.c-list .ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 13%, transparent); color: var(--brand); }
.c-list .ico svg { width: 21px; height: 21px; }
.c-list small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.c-list a { font-weight: 700; text-decoration: none; }
.c-list a:hover { color: var(--brand); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: 500 16px var(--font-body); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A497B9' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form-msg.ok { background: rgba(34,197,94,.12); color: #4ade80; }
.form-msg.err { background: rgba(239,68,68,.12); color: #fca5a5; }
:root[data-theme="light"] .form-msg.ok { color: #166534; } :root[data-theme="light"] .form-msg.err { color: #991b1b; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* rodapé */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: clamp(3rem, 6vw, 4.5rem) 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid p { color: var(--text-2); max-width: 34ch; margin-top: 16px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--text-2); }
.footer a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* botão flutuante do WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* entrada ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

/* =====================================================================
   TELAS DO SISTEMA (réplicas fiéis, animadas)
   ===================================================================== */
.ux-scale { position: relative; width: 100%; }
.ux-scale > .ux-win { transform-origin: top left; position: absolute; top: 0; left: 0; }
.gone { display: none !important; }
.ux-win.bare { background: none; border: 0; box-shadow: none; overflow: visible; }
.ux-win { position: relative; --c-wa: #25d366; width: var(--w, 760px); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(5,0,15,.85), 0 0 0 1px rgba(207,161,80,.05); font-family: var(--font-body); color: var(--text); font-size: 14px; line-height: 1.4; text-align: left; user-select: none; -webkit-user-select: none; }
:root[data-theme="light"] .ux-win { box-shadow: 0 40px 90px -40px rgba(30,6,58,.35); }
.ux-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.ux-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.ux-url { margin-left: 10px; padding: 5px 12px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ux-url svg { width: 11px; height: 11px; }
.ux-app { display: flex; min-height: 0; }
.ux-side { width: 176px; flex: none; background: var(--bg-2); border-right: 1px solid var(--border); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.ux-logo { height: 15px; width: auto; margin: 2px 8px 16px; }
.ux-nav { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.ux-nav svg { width: 15px; height: 15px; flex: none; }
.ux-nav.on { background: var(--surface); color: var(--text); box-shadow: inset 2px 0 0 var(--brand); }
.ux-nav b { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--brand); color: #1a0836; font-size: 10.5px; display: grid; place-items: center; transition: transform .3s var(--ease); }
.ux-nav b.bump { animation: ux-bump .5s var(--ease); }
.ux-main { flex: 1; min-width: 0; padding: 18px 18px 16px; position: relative; }
.ux-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ux-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.ux-title svg { width: 16px; height: 16px; color: var(--text-2); }
.ux-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--border-strong); font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
.ux-btn.pri { background: var(--gradient); border-color: transparent; color: #1a0836; }
.ux-btn.solid { background: var(--surface-3); border-color: transparent; }
.ux-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--border); margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.ux-tabs span { padding: 0 2px 8px; }
.ux-tabs .on { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); }
.ux-av { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #fff; position: relative; }
.ux-av.sm { width: 20px; height: 20px; font-size: 8.5px; }
.ux-av.lg { width: 38px; height: 38px; font-size: 13px; }
.ux-av .ch { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--surface); }
.ux-av .ch svg { width: 8px; height: 8px; }
.c-ig { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.c-fb { background: #0866ff; }
.c-wa { background: #25d366; }
.c-mail { background: #CFA150; }

/* kanban (igual ao Funil) */
.ux-board { display: flex; gap: 10px; align-items: flex-start; }
.ux-col { flex: 1 1 0; min-width: 0; background: var(--surface-2); border-radius: 10px; display: flex; flex-direction: column; }
.ux-colh { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--c); color: #fff; border-radius: 10px 10px 0 0; font-weight: 700; font-size: 12.5px; text-shadow: 0 1px 1px rgba(0,0,0,.15); white-space: nowrap; }
.ux-colh em { font-style: normal; opacity: .9; font-weight: 600; }
.ux-colh .s { margin-left: auto; font-size: 11px; opacity: .85; font-weight: 600; }
.ux-cards { display: flex; flex-direction: column; gap: 7px; padding: 7px; min-height: 230px; }
.ux-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 9px 9px 7px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.ux-ct { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; }
.ux-ct > span:not(.ux-av) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux-wa { display: flex; align-items: center; gap: 5px; background: var(--surface-2); border-radius: 6px; padding: 5px 7px; color: var(--text-2); font-size: 11px; transition: background .3s; }
.ux-wa svg { width: 11px; height: 11px; flex: none; }
.ux-wa .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux-wa small { color: var(--muted); font-size: 10px; flex: none; }
.ux-wa b { flex: none; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #25d366; color: #fff; font-size: 10px; display: grid; place-items: center; }
.ux-wa.unread .t { color: var(--text); font-weight: 600; }
.ux-task { font-size: 11px; color: var(--text-2); display: flex; align-items: center; gap: 5px; }
.ux-task svg { width: 11px; height: 11px; color: #ff7575; }
.ux-foot { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); }
.ux-foot .ico { margin-left: auto; display: flex; gap: 6px; opacity: .7; }
.ux-foot .ico svg { width: 11px; height: 11px; }
.ux-val { font-size: 11px; font-weight: 700; color: var(--text); }
.ux-card.lift { z-index: 5; box-shadow: 0 18px 32px -10px rgba(0,0,0,.55); border-color: var(--brand); }
.ux-card.won { border-color: #00c875; box-shadow: 0 0 0 2px rgba(0,200,117,.25); }
.ux-cursor { position: absolute; z-index: 9; width: 22px; height: 22px; top: 0; left: 0; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); opacity: 0; transition: opacity .3s; }
.ux-cursor svg { width: 22px; height: 22px; }
.ux-toast { position: absolute; z-index: 8; top: 14px; right: 14px; width: 270px; display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 24px 48px -16px rgba(0,0,0,.6); opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ux-toast.on { opacity: 1; transform: none; }
.ux-toast b { display: block; font-size: 12.5px; }
.ux-toast > span:not(.ux-av) span { display: block; font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

/* conversas */
.ux-conv { display: grid; grid-template-columns: 250px minmax(0, 1fr); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; height: 430px; }
.ux-list { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; background: var(--bg); }
.ux-filters { display: flex; gap: 5px; padding: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.ux-pill { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border-strong); font-size: 11px; font-weight: 600; color: var(--text-2); }
.ux-pill.on { background: var(--gradient); color: #1a0836; border-color: transparent; }
.ux-li { display: flex; gap: 9px; padding: 10px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.ux-li.on { background: var(--surface); box-shadow: inset 2px 0 0 var(--brand); }
.ux-li .m { flex: 1; min-width: 0; }
.ux-li strong { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
.ux-li strong small { font-weight: 500; color: var(--muted); font-size: 10px; }
.ux-li p { margin: 2px 0 5px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.ux-chip { padding: 1px 7px; border-radius: 6px; font-size: 9.5px; font-weight: 700; background: var(--surface-3); color: var(--text-2); }
.ux-chip.ig { background: rgba(236,72,153,.16); color: #f472b6; }
.ux-chip.wa { background: rgba(37,211,102,.15); color: #22c55e; }
.ux-chip.fb { background: rgba(8,102,255,.16); color: #60a5fa; }
.ux-chip.q { background: rgba(207,161,80,.16); color: var(--brand); }
.ux-li .n { margin-top: 18px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--brand); color: #1a0836; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.ux-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }
.ux-chath { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.ux-chath .who { flex: 1; min-width: 0; }
.ux-chath .who b { display: block; font-size: 13.5px; }
.ux-chath .who small { color: var(--muted); font-size: 11px; }
.ux-msgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 14px; background-image: radial-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px); background-size: 16px 16px; }
.ux-day { align-self: center; padding: 3px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: 10.5px; font-weight: 600; color: var(--text-2); }
.ux-bub { align-self: flex-start; max-width: 76%; padding: 7px 11px 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px 13px 13px 4px; font-size: 12.5px; }
.ux-bub b { display: block; font-size: 10.5px; color: var(--brand); margin-bottom: 1px; }
.ux-bub time { display: block; text-align: right; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.ux-bub.mine { align-self: flex-end; background: rgba(207,161,80,.12); border-color: rgba(207,161,80,.28); border-radius: 13px 13px 4px 13px; }
.ux-sys { align-self: center; display: flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: var(--surface); border: 1px dashed var(--border-strong); font-size: 11px; color: var(--text-2); }
.ux-sys svg { width: 12px; height: 12px; color: var(--brand); }
.ux-typing { align-self: flex-end; display: flex; gap: 3px; padding: 9px 12px; border-radius: 13px 13px 4px 13px; background: rgba(207,161,80,.12); border: 1px solid rgba(207,161,80,.28); }
.ux-typing.in { align-self: flex-start; background: var(--surface-2); border-color: var(--border); border-radius: 13px 13px 13px 4px; }
.ux-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: ux-blink 1.1s infinite; }
.ux-typing.in i { background: var(--muted); }
.ux-typing i:nth-child(2) { animation-delay: .18s; } .ux-typing i:nth-child(3) { animation-delay: .36s; }
.ux-ai { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; background: rgba(124,58,237,.18); color: #c4b5fd; border: 1px solid rgba(124,58,237,.35); font-size: 11px; font-weight: 700; }
:root[data-theme="light"] .ux-ai { color: #5b21b6; background: rgba(124,58,237,.1); }
.ux-ai svg { width: 12px; height: 12px; }
.ux-compose { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-2); min-height: 50px; }
.ux-input { flex: 1; padding: 8px 12px; border-radius: 99px; background: var(--surface); color: var(--muted); font-size: 12px; }
.ux-mic { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient); display: grid; place-items: center; color: #1a0836; }
.ux-mic svg { width: 14px; height: 14px; }

/* lead (ficha) */
.ux-stages { display: flex; gap: 3px; margin: 10px 0 12px; }
.ux-stage { flex: 1; padding: 7px 4px; text-align: center; font-size: 11px; font-weight: 600; background: var(--surface); color: var(--text-2); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%); transition: background .45s, color .45s; }
.ux-stage:first-child { clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); border-radius: 6px 0 0 6px; }
.ux-stage.done { background: color-mix(in srgb, var(--brand) 28%, var(--surface)); color: var(--text); }
.ux-stage.cur { background: var(--gradient); color: #1a0836; }
.ux-stage.won { background: #00c875; color: #fff; }
.ux-hist { display: flex; flex-direction: column; gap: 10px; padding-left: 4px; }
.ux-ev { display: flex; gap: 9px; font-size: 12px; }
.ux-ev .dot { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--brand); }
.ux-ev .dot svg { width: 12px; height: 12px; }
.ux-ev small { display: block; color: var(--muted); font-size: 10.5px; }

/* telefonia + ata */
.ux-phone { width: 250px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.ux-phone .num { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ux-phone .st { font-size: 12px; color: var(--text-2); min-height: 16px; }
.ux-wave { display: flex; align-items: center; gap: 3px; height: 36px; opacity: .25; transition: opacity .3s; }
.ux-wave.on { opacity: 1; }
.ux-wave i { width: 4px; height: 34px; border-radius: 3px; background: var(--brand); transform: scaleY(.2); }
.ux-wave.on i { animation: ux-wave 1s ease-in-out infinite; }
.ux-keys { display: flex; gap: 14px; }
.ux-key { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.ux-key svg { width: 18px; height: 18px; }
.ux-key.hang { background: #ef4444; color: #fff; }
.ux-key.call { background: #22c55e; color: #fff; }
.ux-doc { width: 320px; background: #fff; color: #1d1530; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); font-size: 11.5px; }
.ux-doc .hd { background: #13002C; color: #fff; padding: 14px 16px; }
.ux-doc .hd small { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #CFA150; font-weight: 800; }
.ux-doc .hd b { display: block; font-size: 15px; margin-top: 4px; }
.ux-doc .meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; font-size: 9.5px; color: #cbbfe0; }
.ux-doc .meta b { font-size: 11px; color: #fff; margin: 0; }
.ux-doc .bd { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 7px; }
.ux-doc h5 { margin: 4px 0 0; font-size: 11.5px; color: #13002C; font-weight: 800; }
.ux-doc li { margin-left: 14px; line-height: 1.45; }
.ux-doc ul { margin: 0; padding: 0; }
.ux-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--brand); animation: ux-spin .8s linear infinite; }

/* lead search */
.ux-ls .box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.ux-fld { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.ux-fld label { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 5px; }
.ux-in { border: 1px solid var(--border-strong); border-radius: 9px; padding: 8px 10px; font-size: 13px; min-height: 35px; background: var(--bg); }
.ux-in .caret { display: inline-block; width: 1.5px; height: 14px; background: var(--brand); vertical-align: -2px; margin-left: 1px; animation: ux-caret 1s steps(1) infinite; }
.ux-srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.ux-src { padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; border: 1px solid var(--border-strong); color: var(--text-2); }
.ux-src.on { background: var(--gradient); color: #1a0836; border-color: transparent; }
.ux-go { margin-left: auto; transition: transform .15s, filter .2s; }
.ux-go.press { transform: scale(.95); filter: brightness(1.15); }
.ux-table { margin-top: 12px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.ux-tr { display: grid; grid-template-columns: 22px 1.4fr 1fr 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--border); font-size: 11.5px; }
.ux-tr:last-child { border-bottom: 0; }
.ux-tr.th { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--surface); }
.ux-tr b { display: block; font-size: 12px; }
.ux-tr small { color: var(--muted); font-size: 10px; }
.ux-tr .wa { color: #22c55e; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.ux-tr .wa svg { width: 11px; height: 11px; }
.ux-tr .em { color: var(--brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux-ck { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.ux-ck svg { width: 10px; height: 10px; color: #1a0836; opacity: 0; }
.ux-ck.on { background: var(--brand); border-color: var(--brand); }
.ux-ck.on svg { opacity: 1; }
.ux-sel { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 12px; color: var(--text-2); }

/* processos */
.ux-areas { display: flex; gap: 6px; margin-bottom: 12px; }
.ux-area { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border-strong); font-size: 11.5px; font-weight: 600; color: var(--text-2); transition: background .3s, color .3s, border-color .3s; }
.ux-area small { font-size: 9.5px; opacity: .75; font-weight: 600; }
.ux-area.on { background: var(--gradient); color: #1a0836; border-color: transparent; }
.ux-boards { position: relative; }
.ux-boards > * { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ux-boards > *:not(.on) { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(8px); pointer-events: none; }
.ux-boards .ux-cards { min-height: 0; }

/* sua marca */
.ux-brand .ux-win { transition: background-color .6s; }
.ux-brand .ux-side, .ux-brand .ux-bar, .ux-brand .ux-card, .ux-brand .ux-col { transition: background-color .6s, border-color .6s; }
.ux-blogo { display: flex; align-items: center; gap: 8px; margin: 0 6px 14px; font-weight: 800; font-size: 14px; }
.ux-blogo i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; background: var(--brand); transition: background .6s; }
.ux-brand .ux-nav.on { transition: box-shadow .6s; }
.ux-brand .ux-btn.pri, .ux-brand .ux-nav b { transition: background .6s; }

/* aparecer em sequência (cenas) */
[data-at]:not(.on) { display: none !important; }
[data-at].on { animation: ux-in .45s var(--ease) both; }
[data-at].on.fade { animation: ux-fade .5s ease both; }

@keyframes ux-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ux-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ux-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes ux-wave { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes ux-spin { to { transform: rotate(360deg); } }
@keyframes ux-caret { 50% { opacity: 0; } }
@keyframes ux-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* legenda abaixo das telas */
.shot-cap { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.shot-cap i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-at].on, .ux-typing i, .ux-wave.on i, .ux-spin { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* marcas fictícias que se alternam na seção "Sua marca" */
.ux-brand .ux-win.b1 { --brand: #2bb3a3; --gradient: linear-gradient(120deg, #2bb3a3, #5fd3c4); --bg: #0c1a1a; --bg-2: #102222; --surface: #142a29; --surface-2: #1a3533; --surface-3: #22423f; --border: rgba(160,230,220,.12); --border-strong: rgba(160,230,220,.22); }
.ux-brand .ux-win.b2 { --brand: #e0414a; --gradient: linear-gradient(120deg, #e0414a, #ec7178); --bg: #1b1111; --bg-2: #211616; --surface: #261a1a; --surface-2: #322223; --surface-3: #472f31; --border: rgba(240,200,200,.12); --border-strong: rgba(240,200,200,.22); }
:root[data-theme="light"] .ux-brand .ux-win.b1 { --brand: #1f8f82; --bg: #f2f8f7; --bg-2: #e8f2f1; --surface: #ffffff; --surface-2: #edf6f5; --surface-3: #d6ebe8; --border: rgba(16,80,72,.12); --border-strong: rgba(16,80,72,.22); }
:root[data-theme="light"] .ux-brand .ux-win.b2 { --brand: #c7323b; --bg: #faf4f4; --bg-2: #f4eaea; --surface: #ffffff; --surface-2: #f7eeee; --surface-3: #efdcdc; --border: rgba(90,20,20,.12); --border-strong: rgba(90,20,20,.22); }
.ux-brand .ux-win, .ux-brand .ux-win * { transition: background-color .6s ease, border-color .6s ease, color .6s ease, box-shadow .6s ease; }
.ux-bn { display: none; } .ux-bn.on { display: inline; }
.ux-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.ux-stat small { display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ux-stat b { display: block; font-size: 22px; margin-top: 4px; }
.ux-stat i { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--brand); font-style: normal; }
.ux-fields { display: flex; flex-direction: column; gap: 8px; }
.ux-fields label { font-size: 10.5px; color: var(--text-2); font-weight: 600; }
.ux-fields .ux-in { font-size: 12px; min-height: 30px; padding: 6px 9px; margin-top: 3px; }
.ux-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.ux-ltabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; }
.ux-ltabs span { padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 600; color: var(--text-2); }
.ux-ltabs .on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); }
.ux-hist { flex-direction: column-reverse; }
.ux-ev.won .dot { color: #00c875; }
.ux-mini { font-size: 10.5px; display: inline-flex; gap: 6px; margin-top: 4px; }
.ux-mini span { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--border-strong); color: var(--text-2); }

.ux-board.tall .ux-cards { min-height: 330px; }

/* versão compacta (celular) das telas */
.ux-win.compact .ux-side { display: none; }
.ux-win.compact .ux-conv { grid-template-columns: minmax(0, 1fr); height: 470px; }
.ux-win.compact .ux-list { display: none; }
.ux-win.compact .ux-chath .ux-btn { display: none; }
.ux-win.compact .ux-colh { font-size: 11.5px; }
.ux-win.compact .ux-tr { grid-template-columns: 22px 1.3fr 1fr; }
.ux-win.compact .ux-tr > :last-child { display: none; }
.ux-win.compact .ux-fld { grid-template-columns: 1fr; }
.ux-win.compact.bare > div { flex-direction: column; }
.ux-win.compact .ux-lead-grid { grid-template-columns: minmax(0, 1fr) !important; }
.ux-win.compact .ux-lead-grid > .ux-fields { display: none; }
.ux-win.compact .ux-h .ux-btn:not(.pri) { display: none; }
.ux-win.compact .ux-stage { font-size: 9.5px; }

/* =====================================================================
   CALCULADORA DE PLANOS
   ===================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.calc-main { display: grid; gap: 20px; min-width: 0; }
.calc-block { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(1.25rem, 2.5vw, 2rem); }
.calc-h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.calc-h b { display: block; font-size: 19px; font-family: var(--font-display); letter-spacing: -.01em; }
.calc-h small { display: block; color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.calc-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); color: #1a0836; font-weight: 900; }
.calc-users { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.calc-users .step { width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font-size: 24px; font-weight: 600; cursor: pointer; transition: border-color .2s, transform .1s; }
.calc-users .step:hover { border-color: var(--brand); }
.calc-users .step:active { transform: scale(.94); }
.calc-users input[type=number] { width: 96px; height: 50px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); text-align: center; font: 800 24px var(--font-display); -moz-appearance: textfield; }
.calc-users input[type=number]::-webkit-inner-spin-button, .calc-users input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-users input[type=number]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.calc-x { color: var(--text-2); font-size: 16px; margin-left: 4px; }
.calc-x b { color: var(--text); }
#c-range { width: 100%; margin: 20px 0 6px; accent-color: var(--brand); height: 6px; cursor: pointer; }
.calc-inc { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; font-size: 14.5px; color: var(--text-2); }
.calc-inc li { display: flex; gap: 9px; align-items: flex-start; }
.calc-inc svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
@media (max-width: 560px) { .calc-inc { grid-template-columns: 1fr; } }
.calc-addons { display: grid; gap: 10px; }
.addon-ck { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--border-strong); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.addon-ck:hover { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.addon-ck input { position: absolute; opacity: 0; pointer-events: none; }
.addon-ck .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--border-strong); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.addon-ck .box svg { width: 15px; height: 15px; color: #1a0836; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s var(--ease); }
.addon-ck .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.addon-ck .ic svg { width: 21px; height: 21px; }
.addon-ck .tx { flex: 1; min-width: 0; }
.addon-ck .tx b { display: block; font-size: 16px; }
.addon-ck .tx small { display: block; color: var(--text-2); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.addon-ck .pr { flex: none; font-weight: 800; font-size: 15px; white-space: nowrap; color: var(--text-2); }
.addon-ck:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.addon-ck:has(input:checked) .box { background: var(--brand); border-color: var(--brand); }
.addon-ck:has(input:checked) .box svg { opacity: 1; transform: none; }
.addon-ck:has(input:checked) .pr { color: var(--brand); }
.addon-ck:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 560px) { .addon-ck { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: start; } .addon-ck .ic { display: none; } .addon-ck .pr { grid-column: 2; } .addon-ck .box { margin-top: 1px; } }

.calc-sum { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 70px -36px rgba(207,161,80,.45); }
.cycle { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.cycle button { min-height: 40px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font: 700 14.5px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cycle button.on { background: var(--surface-2); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.cycle .off { font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: rgba(34,197,94,.16); color: #22c55e; }
.sum-lines { display: grid; gap: 9px; font-size: 14.5px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); animation: ux-in .3s var(--ease) both; }
.sum-line b { color: var(--text); font-weight: 700; white-space: nowrap; }
.sum-line.disc { color: #22c55e; } .sum-line.disc b { color: #22c55e; }
.sum-total { padding-top: 14px; border-top: 1px dashed var(--border-strong); display: grid; }
.sum-total small { color: var(--muted); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.sum-total b { font: 900 clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem)/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sum-total span { color: var(--text-2); font-size: 14px; min-height: 1.2em; }
.calc-sum .btn { width: 100%; }
.sum-fine { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-sum { position: static; } }

/* chamada de planos na página inicial */
.price-teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.teaser-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.teaser-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.teaser-list li span { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); flex: none; }
.teaser-list li span svg { width: 20px; height: 20px; }
.teaser-list b { flex: 1; }
.teaser-list small { color: var(--muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) { .price-teaser { grid-template-columns: 1fr; } }

/* ---- réplica: Vendas e Estoque ---- */
.ux-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(207,161,80,.14); color: var(--gold, #CFA150); white-space: nowrap; }
.ux-in svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: var(--muted); }
.ux-vi { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 11px; margin-bottom: 7px; border-radius: 11px; background: var(--surface-2); }
.ux-vi .ic { font-size: 19px; }
.ux-vi .t { display: grid; min-width: 0; } .ux-vi .t b { font-size: 13px; } .ux-vi .t small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux-vi .q { font-size: 12px; color: var(--text-2); } .ux-vi .p { font-size: 13px; }
.ux-vbuyer { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; border: 1px dashed var(--border-strong); margin: 4px 0 10px; flex-wrap: wrap; }
.ux-vbuyer > span:nth-child(2) { display: grid; flex: 1; min-width: 140px; } .ux-vbuyer small { font-size: 11px; color: var(--muted); }
.ux-vtot { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); }
.ux-vtot > span:first-child { color: var(--text-2); font-size: 12px; }
.ux-vtot b { font-size: 18px; color: var(--gold, #CFA150); font-variant-numeric: tabular-nums; }
.ux-vtot small { font-size: 11px; color: var(--muted); opacity: 0; transition: opacity .3s; }
.ux-vtot small.on { opacity: 1; }
.ux-vtot .ux-btn { margin-left: auto; }
.ux-vdocs { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; }
.ux-vdocs .ux-doc { flex: 1; width: auto; }
.ux-vside { display: flex; flex-direction: column; gap: 8px; width: 190px; }
.ux-vchip { padding: 9px 11px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.ux-vchip.ok { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35); color: #86efac; }
:root[data-theme="light"] .ux-vchip.ok { color: #15803d; }
/* ---- réplica: Agendamentos ---- */
.ux-ag { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.ux-agh { display: grid; grid-template-columns: 46px repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.ux-agh span { padding: 9px 6px; text-align: center; font-size: 12px; font-weight: 700; border-left: 1px solid var(--border); white-space: nowrap; }
.ux-agh span:first-child { border-left: 0; }
.ux-agh i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.ux-agb { display: grid; grid-template-columns: 46px 1fr; height: 330px; position: relative; }
.ux-agt { position: relative; }
.ux-agt span { position: absolute; right: 7px; font-size: 10px; color: var(--muted); transform: translateY(2px); }
.ux-agc { position: relative; background: linear-gradient(90deg, transparent calc(33.33% - 1px), var(--border) calc(33.33% - 1px) 33.33%, transparent 33.33% calc(66.66% - 1px), var(--border) calc(66.66% - 1px) 66.66%, transparent 66.66%); border-left: 1px solid var(--border); }
.ux-agc .hl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--border); }
.ux-agc .off { position: absolute; left: calc(var(--col) * 33.33%); width: 33.33%; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.03) 6px 12px), rgba(0,0,0,.18); }
:root[data-theme="light"] .ux-agc .off { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(62,10,108,.05) 6px 12px), rgba(62,10,108,.04); }
.ux-apt { position: absolute; left: calc(var(--col) * 33.33% + 3px); width: calc(33.33% - 6px); padding: 4px 7px 3px 9px; border-radius: 8px; overflow: hidden; display: grid; align-content: start;
  background: color-mix(in srgb, var(--c) 28%, var(--surface)); box-shadow: inset 3px 0 0 var(--c); }
.ux-apt b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux-apt small { font-size: 10px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ux-apt.new { box-shadow: inset 3px 0 0 var(--c), 0 0 0 2px var(--c), 0 10px 24px -8px rgba(0,0,0,.6); }
.ux-agnow { position: absolute; left: -4px; right: 0; height: 2px; background: #ef4444; }
.ux-agnow::before { content: ''; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.ux-wanote { position: absolute; z-index: 8; right: 16px; bottom: 18px; width: 300px; border-radius: 14px; overflow: hidden; background: #0b141a; box-shadow: 0 24px 48px -16px rgba(0,0,0,.7); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ux-wanote.on { opacity: 1; transform: none; }
.ux-wanote .wh { display: grid; grid-template-columns: 20px 1fr; gap: 0 8px; align-items: center; padding: 9px 12px; background: #1f2c34; color: #e9edef; }
.ux-wanote .wh svg { width: 18px; height: 18px; color: #25d366; grid-row: span 2; }
.ux-wanote .wh b { font-size: 12px; } .ux-wanote .wh small { font-size: 10.5px; color: #8696a0; }
.ux-wanote .bub { margin: 10px 12px 12px; padding: 9px 11px; border-radius: 0 10px 10px 10px; background: #005c4b; color: #e9edef; font-size: 12px; line-height: 1.45; }
.ux-in:has(> svg) { display: flex; align-items: center; }
