*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--bg-page); color: var(--text); font: 400 15px/1.55 var(--fonte); font-feature-settings: "ss05"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.pular { position: absolute; left: -9999px; }
.pular:focus { left: 16px; top: 16px; z-index: 99; background: var(--blue); padding: 10px 16px; border-radius: var(--r-tile); }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(27px, 3.6vw, 42px); }
h3 { font-size: 18px; letter-spacing: -0.015em; }
p { color: var(--text-2); }
.mt { margin-top: 18px; }

.largura { width: min(1180px, 100% - 40px); margin-inline: auto; }
.quadro { border-inline: 1px solid var(--border); border-top: 1px solid var(--border); position: relative; }
.quadro::before, .quadro::after { content: ""; position: absolute; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
.quadro::before { left: -3px; } .quadro::after { right: -3px; }
.secao { padding: clamp(64px, 9vw, 120px) clamp(16px, 2.5vw, 28px); }
.sem-respiro { padding-inline: 0; padding-bottom: 0; }
.brilho { background-image: radial-gradient(60% 360px at 75% 0%, rgba(39, 102, 234, 0.16), transparent 100%); }

/* botões */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: var(--r-tile); font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, transform .2s; }
.bt:active { transform: scale(.97); }
.bt-primario { background: var(--blue); color: #fff; }
.bt-primario:hover { background: var(--blue-bright); }
.bt-contorno { border: 1px solid var(--border-input); margin-top: 22px; }
.bt-contorno:hover { background: var(--bg-inner); }
.bt-p { height: 38px; padding: 0 16px; }
.bt-icone { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-tile); background: var(--bg-inner); border: 1px solid var(--border); flex: none; }
.bt-icone:hover { background: var(--bg-icon); }
svg.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
i[data-ic] { display: inline-flex; font-style: normal; }

/* topo */
.topo { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg-page) 82%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.topo-in { height: 68px; display: flex; align-items: center; gap: 28px; }
.marca img, .rodape img { width: 132px; height: 52px; object-fit: cover; }
.logo-claro, html[data-tema="claro"] .logo-escuro { display: none; }
html[data-tema="claro"] .logo-claro { display: block; }
.menu { display: flex; gap: 4px; flex: 1; }
.menu a { padding: 8px 12px; border-radius: var(--r-pill); font-size: 14px; color: var(--text-2); }
.menu a:hover { color: var(--text); background: var(--bg-inner); }
.menu .menu-entrar { margin-left: auto; }
.topo-acoes { display: flex; gap: 8px; align-items: center; }
.bt-menu { display: none; }

/* abertura */
.abertura { padding-top: clamp(48px, 8vw, 96px); }
.abertura-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.selo-novo { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: var(--r-pill); background: var(--bg-inner); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.selo-novo span { background: var(--blue); color: #fff; border-radius: var(--r-pill); padding: 2px 10px; font-size: 12px; font-weight: 600; }
.selo-novo svg { width: 15px; height: 15px; }
.chamada { max-width: 620px; font-size: clamp(15px, 1.5vw, 18px); }

/* formulário */
.cartao-form { width: min(760px, 100%); margin-top: 10px; }
.formulario { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; padding: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-janela); text-align: left; box-shadow: 0 24px 60px -30px rgba(39, 102, 234, .5); }
.campo { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.campo label { font-size: 12px; color: var(--text-2); padding-left: 2px; }
.campo input { height: 46px; width: 100%; padding: 0 14px; background: var(--bg-inner); border: 1px solid var(--border-input); border-radius: var(--r-tile); font-size: 16px; }
.campo input::placeholder { color: var(--text-3); }
.campo input[aria-invalid="true"] { border-color: var(--perigo); }
.erro { font-size: 12px; color: var(--perigo); min-height: 0; }
.formulario .bt { align-self: start; margin-top: 23px; }
.formulario .bt[disabled] { opacity: .6; cursor: wait; }
.armadilha { position: absolute; left: -9999px; }
.aviso-form { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); text-align: center; }
.aviso-form.falha { color: var(--perigo); }
.sucesso { display: flex; gap: 14px; align-items: center; padding: 20px; background: var(--bg-card); border: 1px solid var(--blue-border); border-radius: var(--r-janela); text-align: left; }
.sucesso .bola { width: 40px; height: 40px; border-radius: var(--r-tile); background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.sucesso strong { display: block; font-weight: 500; }

/* órbita de canais */
.orbita { height: 400px; position: relative; margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent); }
.nucleo { position: absolute; left: 50%; top: 50%; width: 164px; height: 164px; margin: -82px; border-radius: 50%; background: radial-gradient(circle, var(--blue-soft), var(--bg-card) 75%); border: 1px solid var(--blue-border); display: grid; place-items: center; box-shadow: 0 0 90px rgba(39, 102, 234, .45); z-index: 2; }
.anel { position: absolute; left: 50%; top: 50%; border: 1px dashed var(--border-input); border-radius: 50%; transform: translate(-50%, -50%); }
.bolha { position: absolute; width: var(--t, 78px); height: var(--t, 78px); border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: grid; place-items: center; opacity: 0; will-change: transform; }
.satelite { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 12px 3px rgba(59, 130, 246, .55); opacity: 0; }
.onda { position: absolute; left: 50%; top: 50%; width: 1200px; height: 1200px; margin: -600px; border-radius: 50%; background: radial-gradient(closest-side, transparent 90%, rgba(59, 130, 246, .14) 96%, rgba(59, 130, 246, .75) 99%, transparent); opacity: 0; pointer-events: none; }
.bolha .rede { width: 56%; height: 56%; }
.rede { width: 26px; height: 26px; border-radius: 24%; object-fit: contain; flex: none; }

/* canais e números */
.rotulo-centro { text-align: center; font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.esteira { overflow: hidden; margin-bottom: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.esteira-in { display: flex; width: max-content; animation: corre 55s linear infinite; }
.esteira:hover .esteira-in { animation-play-state: paused; }
@keyframes corre { to { transform: translateX(-50%); } }
.esteira-item { display: flex; align-items: center; gap: 10px; padding: 0 28px; color: var(--text-2); font-size: 17px; font-weight: 500; white-space: nowrap; }
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 0; }
.numeros > div { padding: 40px 18px 26px; border-left: 1px solid var(--border); }
.numeros > div:first-child { border-left: 0; }
.numeros strong { display: block; font-size: clamp(34px, 4.4vw, 54px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.numeros span { color: var(--text-2); font-size: 13px; }

.titulo-centro { text-align: center; max-width: 720px; margin: 0 auto 52px; padding-inline: 16px; display: flex; flex-direction: column; gap: 16px; }
.duas-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.duas-col.meio { align-items: center; margin-bottom: 0; }
.nota { text-align: center; font-size: 12px; color: var(--text-3); margin: 24px auto 0; max-width: 720px; padding-inline: 16px; }

/* mosaico */
.mosaico { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.m { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 18px; min-width: 0; display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, transform .25s; }
.m:hover { border-color: var(--blue-border); transform: translateY(-3px); }
.m3 { grid-column: span 3; } .m4 { grid-column: span 4; } .m5 { grid-column: span 5; } .m8 { grid-column: span 8; }
.m h3 { font-size: 15px; }
.apoio { font-size: 12px; color: var(--text-2); }
.tile { background: var(--bg-inner); border-radius: var(--r-tile); padding: 10px 12px; font-size: 13px; }
.entre { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; overflow: hidden; }
.coluna { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.coluna > header { font-size: 12px; color: var(--text-2); display: flex; justify-content: space-between; gap: 4px; }
.coluna .tile b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coluna .tile small { color: var(--text-3); font-size: 11px; }
.selo { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; color: var(--cor, var(--blue-light)); background: color-mix(in srgb, var(--cor, var(--blue-light)) 15%, transparent); align-self: flex-start; white-space: nowrap; }
.balao { max-width: 90%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--bg-inner); font-size: 13px; }
.balao.eu { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--blue-soft); border: 1px dashed var(--blue-border); }
.mini-bt { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-tile); font-size: 12px; font-weight: 500; background: var(--bg-inner); }
.mini-bt.azul { background: var(--blue); color: #fff; }
.grande { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.grande small { font-size: 13px; color: var(--text-3); font-weight: 400; }
.barras { display: flex; align-items: flex-end; gap: 6px; height: 110px; margin-top: auto; }
.barras i { flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: var(--bg-icon); transition: height .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--n) * 35ms); }
.barras i.destaque { background: linear-gradient(#60a5fa, #2766ea 60%, rgba(39, 102, 234, .15)); }
.visivel .barras i { height: var(--h); }
.qr { width: 84px; height: 84px; border-radius: 8px; background: #fff; padding: 6px; flex: none; }

/* gráficos */
.grafico svg { width: 100%; height: auto; overflow: visible; }
.grafico text { font-family: var(--fonte); font-size: 11px; fill: var(--text-3); }
.g-grade { stroke: var(--border); }
.g-linha { fill: none; stroke: var(--blue-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.4, 0, .2, 1); }
.g-antes { fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-dasharray: 3 6; }
.g-area { fill: url(#degrade); opacity: 0; transition: opacity 1s .9s; }
.g-marca { opacity: 0; transition: opacity .45s; transition-delay: var(--at); }
.g-marca rect { fill: #fff; }
.g-marca text { fill: #0a0a0a; font-size: 12px; font-weight: 600; }
.g-marca circle { fill: var(--blue-bright); stroke: var(--bg-card); stroke-width: 3; }
.g-marca line { stroke: var(--border-input); }
html[data-tema="claro"] .g-marca rect { fill: #0a0a0a; }
html[data-tema="claro"] .g-marca text { fill: #fff; }
.visivel .g-linha { stroke-dashoffset: 0; }
.visivel .g-area, .visivel .g-marca { opacity: 1; }

/* vitrine de telas */
.vitrine-abas { display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 4px; margin-bottom: 18px; scrollbar-width: none; }
.pill { flex: none; height: 38px; padding: 0 16px; border-radius: var(--r-tile); font-size: 14px; color: var(--text-2); background: var(--bg-card); border: 1px solid var(--border); transition: .15s; }
.pill:hover { color: var(--text); border-color: var(--blue-border); }
.pill[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.palco { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-janela); padding: clamp(10px, 4vw, 48px) clamp(10px, 4vw, 48px) 0; background-image: radial-gradient(70% 70% at 50% 100%, rgba(39, 102, 234, .24), transparent); overflow: hidden; }
.janela { background: #0a0a0a; border: 1px solid var(--border-input); border-bottom: 0; border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5); }
.janela-barra { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.janela-barra i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.janela-barra span { margin: 0 auto; font-size: 12px; color: #8c8c8c; padding-right: 44px; }
.janela-tela { position: relative; aspect-ratio: 16 / 10; }
.janela-tela img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(14px) scale(.99); transition: opacity .45s var(--curva), transform .45s var(--curva); }
.janela-tela img.ativa { opacity: 1; transform: none; }
/* capturas com o topo cortado são mais largas: mostra inteiras, sem comer o menu */
.janela-tela img[src$="funil.jpg"], .janela-tela img[src$="proposta.jpg"] { object-fit: contain; }
.legenda-tela { text-align: center; margin-top: 18px; min-height: 3.1em; padding-inline: 16px; }

/* agentes */
.agentes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.agentes-lista { padding: 24px clamp(16px, 2.5vw, 28px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border-right: 1px solid var(--border); }
#lista-agentes { display: flex; flex-direction: column; gap: 6px; }
.aba { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r-card); text-align: left; color: var(--text-3); border: 1px solid transparent; position: relative; overflow: hidden; }
.aba:hover { color: var(--text); }
.aba[aria-selected="true"] { color: var(--text); background: var(--blue-soft); border-color: var(--blue-border); }
.aba b { display: block; font-weight: 500; font-size: 17px; line-height: 1.3; }
.aba small { font-size: 12px; color: var(--text-2); }
.aba .progresso { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue-bright); }
.rodando .aba[aria-selected="true"] .progresso { animation: enche 7s linear forwards; }
@keyframes enche { to { width: 100%; } }
.retrato { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-icon); object-fit: cover; display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; color: var(--blue-light); border: 1px solid var(--border); }
.setas { display: flex; gap: 10px; }
.setas .bt-icone { border-radius: 50%; width: 44px; height: 44px; }
.conversa { padding: 24px clamp(16px, 2.5vw, 28px); display: flex; flex-direction: column; gap: 16px; min-width: 0; min-height: 680px; }
.conversa > * { animation: surge .5s both; }
.conversa > :nth-child(2) { animation-delay: .25s; } .conversa > :nth-child(3) { animation-delay: .55s; } .conversa > :nth-child(4) { animation-delay: .8s; }
@keyframes surge { from { opacity: 0; transform: translateY(12px); } }
.pergunta { align-self: flex-end; background: var(--bg-inner); border-radius: var(--r-card); padding: 12px 18px; max-width: 90%; }
.resposta { color: var(--text); }
.painel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.painel .barras { height: 150px; gap: 3px; }
.painel .barras i { background: none; display: flex; flex-direction: column; overflow: hidden; border-radius: 3px 3px 0 0; animation: cresce .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.55s + var(--n) * 14ms); height: var(--h); transform-origin: bottom; }
.painel .barras i::before, .painel .barras i::after, .painel .barras i b { content: ""; display: block; }
.painel .barras i::before { flex: 25; background: rgba(96, 165, 250, .3); }
.painel .barras i b { flex: 33; background: #60a5fa; }
.painel .barras i::after { flex: 42; background: #2766ea; }
.painel .barras i.futuro { opacity: .25; }
@keyframes cresce { from { transform: scaleY(0); } }
.legenda { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.legenda .l-cheia { width: 18px; height: 3px; background: var(--blue-bright); }
.legenda .l-pontos { width: 18px; height: 0; border-top: 2px dotted var(--text-3); }
.item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 14px; }
.item small { display: block; color: var(--text-3); font-size: 12px; }
.item em { font-style: normal; font-size: 13px; color: var(--blue-light); white-space: nowrap; }
.caixa { margin-top: auto; border: 1px solid var(--border-input); border-radius: var(--r-card); padding: 14px 14px 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg-card); }
.enviar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }

/* controle */
.controle { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; }
.bloco { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-janela); padding: 26px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.linha-tempo { margin-top: 18px; display: flex; flex-direction: column; }
.linha-tempo li { display: grid; grid-template-columns: 18px 44px 1fr; gap: 10px; padding-bottom: 22px; position: relative; opacity: 0; transform: translateY(10px); transition: .5s; transition-delay: var(--at); }
.visivel .linha-tempo li { opacity: 1; transform: none; }
.linha-tempo li::before { content: ""; width: 9px; height: 9px; margin: 7px 0 0 4px; border-radius: 50%; background: var(--blue-bright); }
.linha-tempo li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 1px; background: var(--border-input); }
.linha-tempo time { color: var(--text-3); font-size: 13px; padding-top: 1px; }
.linha-tempo div { font-size: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.folha { margin-top: auto; padding-top: 24px; }
.folha-topo strong { display: block; font-size: 22px; font-weight: 600; }
.folha-topo em { font-style: normal; font-size: 14px; color: var(--blue-light); }
.folha .legenda { margin-top: 10px; }
.compositor { margin: 16px auto 0; max-width: 820px; background: var(--bg-card); border: 1px solid var(--blue-border); border-radius: var(--r-janela); padding: 24px; box-shadow: 0 30px 70px -40px rgba(39, 102, 234, .7); }
.compositor p { color: var(--text); font-size: clamp(17px, 2.2vw, 24px); min-height: 3.2em; }
.cursor { display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--blue-bright); animation: pulsa 1s steps(1) infinite; }
.compositor > div { display: flex; justify-content: space-between; align-items: center; }
.compositor-ic { display: flex; gap: 18px; color: var(--text-3); }

/* criativos */
.criativos { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 20px; align-items: end; }
.peca { display: flex; flex-direction: column; gap: 12px; margin: 0; min-width: 0; }
.peca figcaption { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.arte { border-radius: var(--r-card); overflow: hidden; background: #000; border: 1px solid var(--border); transition: transform .3s; }
.arte:hover { transform: translateY(-6px) rotate(-.6deg); }
.arte.feed { aspect-ratio: 4 / 5; } .arte.reel { aspect-ratio: 9 / 16; }
.arte img { width: 100%; height: 100%; object-fit: cover; }
.legenda-reel { background: #2766ea; line-height: 1.55; padding: 2px 8px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.pauta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; counter-reset: p; }
.pauta li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--bg-card); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); animation: acende 7.2s infinite; }
.pauta li:nth-child(2) { animation-delay: 1.2s; } .pauta li:nth-child(3) { animation-delay: 2.4s; } .pauta li:nth-child(4) { animation-delay: 3.6s; } .pauta li:nth-child(5) { animation-delay: 4.8s; } .pauta li:nth-child(6) { animation-delay: 6s; }
@keyframes acende { 0%, 16% { background: var(--blue-soft); border-color: var(--blue-border); color: var(--blue-light); } 22%, 100% { background: var(--bg-card); border-color: var(--border); color: var(--text-2); } }

/* integrações */
.integracoes { display: flex; flex-direction: column; gap: 28px; }
.grupo h3 { font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-bottom: 10px; }
.grupo ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.integracao { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-tile); padding: 10px 12px; display: flex; align-items: center; gap: 12px; font-size: 14px; min-height: 56px; transition: .15s; }
.integracao:hover { border-color: var(--blue-border); }
.integracao span:not(.circulo) { flex: 1; min-width: 0; }
.integracao .rede, .integracao .circulo { width: 34px; height: 34px; }
.integracao .circulo { border-radius: 9px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue-light); flex: none; }
.roteiro { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-tile); padding: 16px; }
.roteiro strong { font-size: 14px; font-weight: 500; color: var(--text-2); }
.pilha { display: flex; }
.pilha li { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-inner); border: 2px solid var(--bg-card); display: grid; place-items: center; overflow: hidden; }
.pilha li + li { margin-left: -10px; }
.pilha .rede { width: 28px; height: 28px; }
.pilha .mais { position: relative; font-size: 20px; line-height: 1; color: var(--blue-light); }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* aparelhos 3D (e a reserva em 2D) */
.celular-area, .mac { position: relative; }
.celular-area { justify-self: center; width: min(520px, 100%); height: clamp(540px, calc(100vh - 96px), 760px); display: flex; justify-content: center; align-items: center; }
.telefone { width: min(320px, 82%); background: #0a0a0a; border: 9px solid #1c1c1c; outline: 1px solid var(--border-input); border-radius: 52px; overflow: hidden; line-height: 0; transform: perspective(1400px) rotateY(-16deg) rotateX(3deg) rotate(1.5deg); box-shadow: 30px 40px 80px -30px rgba(39, 102, 234, .45); }
.conversa-canvas { width: 100%; height: auto; border-radius: 43px; }
.mac { background: radial-gradient(48% 42% at 50% 48%, rgba(39, 102, 234, .24), rgba(39, 102, 234, .08) 55%, rgba(39, 102, 234, 0) 100%); }
.mac.tem3d { aspect-ratio: 16 / 11; max-height: calc(100vh - 84px); width: 100%; }
.cena3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; animation: surge-cena .8s var(--curva) both; }
@keyframes surge-cena { from { opacity: 0; transform: translateY(24px); } }
.tem3d > .palco, .tem3d > .telefone { display: none; }
.carregando > .palco, .carregando > .telefone { visibility: hidden; }
.corte3d { position: absolute; left: 0; right: 0; bottom: -1px; height: 50%; background: linear-gradient(to top, var(--bg-page) 4%, transparent); transform-origin: bottom; transform: scaleY(0); pointer-events: none; will-change: transform; }
.carregando::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 120px; height: 3px; margin-left: -60px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue-bright), transparent); animation: pulsa 1s infinite; }
.rodape p a { text-decoration: underline; text-underline-offset: 2px; }

/* mascote */
.mascote { overflow: visible; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); }
.mascote .olho { transform-box: fill-box; transform-origin: center; }
.nucleo .mascote { width: 108px; height: 108px; }
.bola-bot .mascote { width: 56px; height: 56px; }

/* mosaico: conversa e faixa do financeiro */
.chat { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-tile); background: var(--chat-fundo) radial-gradient(var(--chat-ponto) 1px, transparent 1px) 0 0 / 16px 16px; }
.chat .balao { background: var(--chat-recebida); border: 0; }
.chat .balao.eu { background: var(--chat-enviada); }
.faixa { display: flex; gap: 3px; height: 5px; }
.faixa i { flex: var(--l); background: var(--c); border-radius: var(--r-pill); }

/* segurança */
.seguranca { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seguranca article { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.seguranca .circulo { width: 40px; height: 40px; border-radius: var(--r-tile); background: var(--blue-soft); color: var(--blue-light); display: grid; place-items: center; }
.seguranca h3 { font-size: 15px; }
.seguranca p { font-size: 13px; }

/* planos */
.planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plano { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.plano.principal { border-color: var(--blue-border); box-shadow: 0 0 0 1px var(--blue-border), 0 30px 70px -40px rgba(39, 102, 234, .8); }
.plano .apoio { min-height: 3.1em; }
.plano .preco { font-size: 42px; font-weight: 600; letter-spacing: -.04em; }
.plano .preco small { font-size: 14px; color: var(--text-3); font-weight: 400; letter-spacing: 0; }
.plano ul { display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: var(--text-2); padding-top: 16px; border-top: 1px solid var(--border); }
.plano li { display: flex; gap: 10px; }
.plano li svg { color: var(--blue-light); margin-top: 2px; }
.plano .bt { margin-top: auto; }
.plano .bt:not(.bt-primario) { border: 1px solid var(--border-input); }
.plano .bt:not(.bt-primario):hover { background: var(--bg-inner); }

/* dúvidas */
.duvidas { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
details { border-bottom: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue-light); font-size: 22px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 20px; max-width: 640px; }

.contato { border-top: 1px solid var(--border); padding: clamp(72px, 10vw, 130px) 0; }
.contato-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.contato h2 { max-width: 700px; }

.rodape { border-top: 1px solid var(--border); padding: 32px 0; }
.rodape-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--text-2); }
.rodape nav a:hover { color: var(--text); }
.rodape p { font-size: 12px; color: var(--text-3); }

.js .revela { opacity: 0; filter: blur(6px); transform: translateY(26px); transition: opacity .8s, filter .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .revela.visivel { opacity: 1; filter: none; transform: none; }

/* texto em escadinha: cada palavra sai do desfoque e sobe até o lugar */
.palavra { display: inline-block; }
.escada:not(.entra) .palavra, .escada:not(.entra) .sobe { opacity: 0; }
.escada.entra .palavra { animation: foco .9s cubic-bezier(.2, .65, .25, 1) var(--atraso) both; }
.escada.entra .sobe { animation: foco-bloco .9s cubic-bezier(.2, .65, .25, 1) var(--atraso) both; }
@keyframes foco { from { opacity: 0; filter: blur(8px); transform: translateY(.42em); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes foco-bloco { from { opacity: 0; filter: blur(7px); transform: translateY(18px); } to { opacity: 1; filter: blur(0); transform: none; } }

@media (max-width: 1000px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; padding: 12px 20px 20px; background: var(--bg-page); border-bottom: 1px solid var(--border); }
  .menu.aberto { display: flex; }
  .menu a { padding: 12px; }
  .menu .menu-entrar { margin-left: 0; }
  .bt-menu { display: grid; }
  .topo-in { justify-content: space-between; }
  .formulario { grid-template-columns: 1fr; }
  .formulario .bt { margin-top: 4px; align-self: stretch; }
  .m3 { grid-column: span 6; } .m4, .m5, .m8 { grid-column: span 12; }
  .agentes, .controle, .duas-col, .duvidas { grid-template-columns: minmax(0, 1fr); }
  .agentes-lista { min-width: 0; }
  .conversa .entre { flex-wrap: wrap; }
  .agentes-lista { border-right: 0; border-bottom: 1px solid var(--border); }
  #lista-agentes { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .aba { flex: none; padding-right: 16px; }
  .setas { display: none; }
  .criativos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .peca.reel { grid-column: 1 / -1; order: -1; width: min(320px, 100%); justify-self: center; }
  
  .seguranca { grid-template-columns: repeat(2, 1fr); }
  .planos { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .topo-acoes .bt-p { display: none; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .numeros > div:nth-child(3) { border-left: 0; }
  .numeros > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .m3 { grid-column: span 12; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .grupo ul { grid-template-columns: minmax(0, 1fr); }
  .seguranca { grid-template-columns: 1fr; }
  /* no celular a captura inteira fica ilegível: aproxima a área principal, sem o menu lateral */
  .janela-tela { aspect-ratio: 1; }
  .janela-tela img, .janela-tela img[src$="funil.jpg"], .janela-tela img[src$="proposta.jpg"] { object-fit: cover; object-position: 45% top; }
  .celular-area { height: 580px; }
  .telefone { width: min(280px, 82%); }
  .mac.tem3d { aspect-ratio: 1; margin-inline: -12px; }
  .orbita { height: 300px; }
  .bolha { --escala: .72; }
  .conversa { min-height: 720px; }
  .grafico text { font-size: 26px; }
  .g-marca { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.forca-movimento) { scroll-behavior: auto; }
  html:not(.forca-movimento) *, html:not(.forca-movimento) *::before, html:not(.forca-movimento) *::after { animation: none !important; transition: none !important; }
}

/* com "reduzir movimento", a entrada continua só com desfoque e transparência, sem deslocamento */
@keyframes foco-parado { from { opacity: 0; filter: blur(7px); } to { opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) {
  html:not(.forca-movimento) .escada.entra .palavra.palavra, html:not(.forca-movimento) .escada.entra .sobe.sobe { animation: foco-parado .9s ease var(--atraso) both !important; }
  html.js:not(.forca-movimento) .revela.revela { transform: none; transition: opacity .8s, filter .8s !important; }
}

/* o carrossel de canais segue rodando (devagar, e para com o mouse em cima) */
@media (prefers-reduced-motion: reduce) {
  html:not(.forca-movimento) .esteira .esteira-in.esteira-in { animation: corre 55s linear infinite !important; }
  html:not(.forca-movimento) .esteira:hover .esteira-in.esteira-in { animation-play-state: paused !important; }
}

/* ---------- desempenho ---------- */
.fora *, .fora *::before, .fora *::after { animation-play-state: paused !important; }
.nucleo, .anel, .satelite, .onda, .esteira-in { will-change: transform; }
/* blocos grandes (e os que têm 3D) entram sem desfoque: filtrar a área inteira trava máquinas antigas */
.js .vitrine.revela, .js .agentes.revela, .js #criativos.revela { filter: none; }

/* espaço do vídeo de apresentação */
.video-quadro { aspect-ratio: 16 / 9; max-width: 1040px; margin: 0 auto; border-radius: var(--r-janela); border: 1px solid var(--blue-border); background: radial-gradient(60% 70% at 50% 50%, var(--blue-soft), transparent), var(--bg-card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--text-2); font-size: 14px; }
.video-quadro { position: relative; overflow: hidden; }
.video-quadro video, .video-quadro iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; object-fit: cover; background: #0a0a0a; }
.video-tocar { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding-bottom: 7%; border: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.video-tocar[hidden] { display: none; }
.video-tocar .video-play { position: absolute; top: 70%; left: 50%; translate: -50% -50%; transition: scale .25s ease; box-shadow: 0 8px 40px rgba(39,102,234,.5); }
.video-tocar:hover .video-play, .video-tocar:focus-visible .video-play { scale: 1.08; }
@media (max-width: 600px) { .video-tocar > span:last-child { display: none; } }
.video-play { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.video-play::after { content: ""; margin-left: 5px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }

/* ---------- tela de abertura ---------- */
.abertura-site { display: none; }
html.abrindo { overflow: hidden; }
.abertura-site { position: fixed; inset: 0; z-index: 200; background: var(--bg-page); flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .6s ease, filter .6s ease; }
html[data-abertura].js .abertura-site { display: flex; }
.abertura-site img { width: 220px; height: 88px; object-fit: cover; }
html:not([data-tema="claro"]) .abertura-site .logo-claro, html[data-tema="claro"] .abertura-site .logo-escuro { display: none; }
.abertura-site .trilho { width: min(240px, 60vw); height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.abertura-site i { display: block; height: 100%; background: var(--blue-bright); transform: scaleX(0); transform-origin: left; }
.abertura-site p { font-size: 12px; color: var(--text-3); }
.abertura-site.sai { opacity: 0; filter: blur(8px); pointer-events: none; }
/* o texto da primeira dobra espera a abertura terminar */
html.abrindo .escada.entra .palavra, html.abrindo .escada.entra .sobe { animation: none !important; opacity: 0; }

/* ---------- modo leve: mesmos efeitos, mais baratos de desenhar ---------- */
.leve .topo { backdrop-filter: none; background: var(--bg-page); }
.leve .mascote { filter: none; }
.leve .nucleo { box-shadow: 0 0 40px rgba(39, 102, 234, .4); }
.leve .satelite, .leve .abertura-site.sai { box-shadow: none; filter: none; }
html.leve .revela { filter: none; }
html.leve .escada.entra .palavra, html.leve .escada.entra .sobe { animation-name: foco-leve !important; }
@keyframes foco-leve { from { opacity: 0; filter: blur(4px); transform: translateY(.35em); } to { opacity: 1; filter: blur(0); transform: none; } }
