/* Neevax — troca a cor de marca do Chatwoot (azul #2781F6) pelo roxo #924FDA.
 *
 * O Chatwoot deriva TODA a cor de marca de uma escala `--blue-1..12`
 * (estilo Radix). `bg-n-brand`, `text-link` etc. resolvem pra `--blue-9`.
 * Redefinindo a escala, todo o azul do site (botoes, links, estados ativos,
 * badges, bordas) vira roxo de uma vez.
 *
 * `!important` em cada variavel = blindagem: garante que o roxo vence a cascata
 * independente da ordem de carregamento ou de updates futuros do Chatwoot.
 * Vive em arquivo montado por volume => nunca some ao reiniciar o container,
 * e nao toca em nada do banco (zero gatilho de feature paga). */

:root,
.light {
  --blue-1: 253 252 254 !important;
  --blue-2: 250 245 254 !important;
  --blue-3: 244 235 253 !important;
  --blue-4: 237 224 251 !important;
  --blue-5: 228 211 248 !important;
  --blue-6: 216 194 242 !important;
  --blue-7: 200 170 233 !important;
  --blue-8: 177 136 223 !important;
  --blue-9: 146 79 218 !important;   /* #924FDA — marca Neevax */
  --blue-10: 131 62 199 !important;  /* hover */
  --blue-11: 117 50 180 !important;  /* texto/links (contraste em fundo claro) */
  --blue-12: 51 24 92 !important;

  --solid-blue: 230 218 250 !important;
  --solid-blue-2: 252 250 254 !important;
  --text-blue: 40 18 70 !important;
  --border-blue: 146, 79, 218, .5 !important;
  --border-blue-strong: 70 33 130 !important;
}

/* No tema escuro mexe so nos tons saturados (acentos), preservando os
 * fundos escuros dos tints baixos pra nao "clarear" o layout. */
.dark {
  --blue-8: 177 136 223 !important;
  --blue-9: 146 79 218 !important;
  --blue-10: 131 62 199 !important;
  --blue-11: 167 122 232 !important;  /* link mais claro p/ contraste no escuro */
  --solid-blue: 60 40 110 !important;
  --border-blue: 146, 79, 218, .5 !important;
  --border-blue-strong: 120 80 200 !important;
}

/* anel de foco azul -> roxo */
:root {
  --tw-ring-color: rgb(146 79 218 / .5) !important;
}

/* Esconde a tela de onboarding/boas-vindas ("Boa tarde, <user>. Bem-vindo..."
 * com os cards Omnichannel / Teams / Canned responses / Labels).
 * E o OnboardingView.vue do Chatwoot. O container raiz nao tem id/classe
 * propria, entao ancoramos na combinacao unica de utilitarios Tailwind dele
 * (min-h-screen + grid-cols-2 + grid-rows arbitrario). So essa tela usa esse
 * trio junto => zero falso-positivo no resto do dashboard. */
div[class*="grid-rows-[auto_1fr_1fr]"][class*="grid-cols-2"][class*="min-h-screen"] {
  display: none !important;
}

/* ============ Neevax — REDESIGN da tela de login (split) ============
 * Cópia fiel do login do ClinicOS: divisão 1.12fr/1fr, painel de marca à
 * esquerda e form claro (flat, sem card) à direita. */
/* split ocupa a viewport inteira (position:fixed inset:0) igual ao ClinicOS.
 * Sem isso, o painel roxo estica junto com o form branco (mais alto), o que
 * desalinha o bloco de texto. */
.nvx-login .nvx-split {
  position: fixed !important; inset: 0 !important; z-index: 50 !important;
  height: 100vh !important;
  display: grid !important; grid-template-columns: 1.12fr 1fr !important;
}
.nvx-login #nvx-brand { height: 100vh !important; }
.nvx-login .nvx-side {
  grid-column: 2;
  background: #f5f5f7 !important; height: 100vh !important; overflow-y: auto !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 40px !important;
}
/* esconde o header de logos do Chatwoot no painel branco (o ClinicOS não tem) */
.nvx-login .nvx-side > section.max-w-5xl { display: none !important; }
/* tira o card (borda/sombra/fundo) => form flat como no ClinicOS */
.nvx-login .nvx-card {
  background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
  margin: 0 auto !important; padding: 0 !important; max-width: 340px !important; width: 100% !important;
}
.nvx-welcome { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 600; font-size: 27px; letter-spacing: -.015em; color: #12222a; margin: 0; }
.nvx-welcome-sub { color: #5c6e75; font-size: 14px; margin: 7px 0 28px; }
@media (max-width: 860px) {
  /* celular: painel vira faixa no topo e o form fica logo abaixo, rolando junto */
  .nvx-login .nvx-split { grid-template-columns: 1fr !important; grid-template-rows: auto 1fr; overflow-y: auto !important; }
  .nvx-login #nvx-brand { height: auto !important; padding: 28px 24px; gap: 28px; }
  .nvx-login #nvx-brand .nvx-pulse { display: none; }
  .nvx-login .nvx-demo { display: none; }
  .nvx-login .nvx-hero { font-size: 24px; }
  .nvx-login .nvx-brand-foot { display: none; }
  .nvx-login .nvx-side { height: auto !important; padding: 32px 24px 48px !important; min-height: 0 !important; align-items: flex-start !important; justify-content: flex-start !important; }
}

/* painel fica fixo cobrindo a tela toda e e recortado (clip-path) ate a
 * largura da coluna da esquerda (1.12fr de 2.12fr = 52.83%). Na abertura do
 * login (html.nvx-intro) o recorte some; "Entrar" anima o recorte de volta e
 * descobre o form, que nao se mexe. */
#nvx-brand {
  position: fixed; top: 0; left: 0; width: 100vw; overflow: hidden; z-index: 60;
  clip-path: inset(0 47.17% 0 0);
  transition: clip-path .9s cubic-bezier(.65, 0, .35, 1);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 46px 52px; color: #f5f5f7; font-family: 'Inter', system-ui, sans-serif;
  background:
    /* manchas grandes e com queda suave (varias paradas) => sem borda de "bola" */
    radial-gradient(68.7% 100% at 46.5% 6%, rgba(255,255,255,.07) 0%, rgba(255,255,255,.04) 22%, rgba(255,255,255,.02) 45%, rgba(255,255,255,.007) 65%, transparent 85%),
    radial-gradient(58% 90% at 2% 100%, rgba(255,255,255,.035) 0%, rgba(255,255,255,.02) 30%, rgba(255,255,255,.006) 60%, transparent 80%),
    linear-gradient(160deg, #232325 0%, #1d1d1f 55%, #1a1a1b 100%);
}
#nvx-brand > * { position: relative; z-index: 2; }
.nvx-brand-top { display: flex; align-items: center; gap: 9px; }
.nvx-brand-logo { width: 22px; height: 22px; object-fit: contain; }
.nvx-brand-name { text-decoration: none; font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: #f3f8f7; }
.nvx-brand-mid { max-width: 470px; }
.nvx-hero { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -.015em; margin: 0; color: #f5f5f7; }
.nvx-hero em { font-style: normal; background: linear-gradient(90deg, #C9A6F2, #F3E6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
#nvx-brand .nvx-sub { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: #d2d2d7; min-height: 0; }
.nvx-demo {
  margin-top: 34px; max-width: 400px; padding: 8px; border-radius: 16px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nvx-demo-row { display: flex; align-items: center; gap: 11px; padding: 10px 10px; border-radius: 10px; opacity: 0; animation: nvxIn .5s cubic-bezier(.2,.8,.2,1) forwards; }
.nvx-demo-row:nth-child(1) { animation-delay: .15s; background: rgba(255,255,255,.05); }
.nvx-demo-row:nth-child(2) { animation-delay: .3s; }
.nvx-demo-row:nth-child(3) { animation-delay: .45s; }
.nvx-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: var(--c); box-shadow: 0 0 0 2px rgba(29,29,31,.9); }
.nvx-demo-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nvx-demo-txt b { font-size: 13px; font-weight: 600; color: #f5f5f7; }
.nvx-demo-txt i { font-style: normal; font-size: 12.5px; color: #a1a1a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvx-chip { flex: none; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; color: #d2d2d7; background: rgba(255,255,255,.07); }
.nvx-chip-new { color: #f3e6ff; background: rgba(146,79,218,.45); }
.nvx-chip-ok { color: #bff0d6; background: rgba(52,199,123,.14); }
@keyframes nvxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nvx-demo-row { animation: none; opacity: 1; } }
/* tela baixa: a vitrine encostaria no ECG */
@media (max-height: 780px) { .nvx-demo { display: none; } }
.nvx-brand-foot { font-size: 12px; color: #6e6e73; }
/* especificidade com #nvx-brand p/ vencer `#nvx-brand > *` (senao o pulse cai no fluxo) */
#nvx-brand .nvx-pulse { position: absolute; left: 0; right: 47.17%; bottom: 12%; height: 112px; z-index: 1; }
.nvx-pulse svg { width: 100%; height: 100%; display: block; overflow: visible; }
.nvx-ecg-b { fill: none; stroke: rgba(146,79,218,.32); stroke-width: 2; }
.nvx-ecg-l { fill: none; stroke: url(#nvxPulse); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 145 1000; stroke-dashoffset: 1145; filter: drop-shadow(0 0 7px rgba(146,79,218,.55)); animation: nvxSweep 3.4s linear infinite; }
@keyframes nvxSweep { to { stroke-dashoffset: 145; } }
@media (prefers-reduced-motion: reduce) { .nvx-ecg-l { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; opacity: .9; } }
/* telas de acesso: botao e links no mesmo roxo do chip "Novo lead" do painel */
.nvx-login .nvx-card [data-testid="submit_button"] { background: #73509b !important; }
.nvx-login .nvx-card a { color: #73509b !important; }
html.nvx-intro #nvx-brand { clip-path: inset(0 0 0 0); }
/* abertura = landing so com a hero: titulo+frase centralizados e maiores (o JS
 * calcula --nvx-dx/--nvx-dy/--nvx-s), vitrine e ECG escondidos. "Entrar" tira a
 * classe: o texto desliza pro lugar do split no mesmo tempo do recorte do painel
 * e a vitrine/ECG aparecem depois. */
.nvx-brand-mid { transition: transform .9s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
html.nvx-intro .nvx-brand-mid { transform: translate(var(--nvx-dx, 0), var(--nvx-dy, 0)) scale(var(--nvx-s, 1)); }
#nvx-brand .nvx-demo, #nvx-brand .nvx-pulse { transition: opacity .5s ease .55s, visibility 0s linear .55s; }
html.nvx-intro #nvx-brand .nvx-demo { opacity: 0; visibility: hidden; transition: none; }
/* hero da abertura: o ECG atravessa a tela inteira por baixo do texto (da vida a
 * landing); no split ele volta pra coluna da esquerda. O "NEEVA-X 2026" da hero sai:
 * a landing ja tem o mesmo texto no rodape. */
#nvx-brand .nvx-pulse { transition: right .9s cubic-bezier(.65, 0, .35, 1), opacity .5s ease; }
html.nvx-intro #nvx-brand .nvx-pulse { opacity: 0; visibility: hidden; transition: none; }
/* foto de fundo da hero (Unsplash, Vitaly Gariev, licenca Unsplash): so na abertura,
 * escurecida pro texto ler bem e sumindo no fim da primeira tela */
#nvx-brand .nvx-hero-bg { position: absolute; left: 0; right: 0; top: 0; height: 100vh; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity .5s ease; overflow: hidden; }
/* escurecimento por igual: o video fica parado atras de hero, Quem somos e Solucoes,
 * entao o texto de todas elas passa por cima e precisa de contraste */
#nvx-brand .nvx-hero-bg::after { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(29,29,31,.6) 0%, rgba(29,29,31,.74) 100%),
    radial-gradient(70% 60% at 50% 45%, rgba(29,29,31,.3), rgba(29,29,31,.65)); }
#nvx-brand .nvx-hero-bg { will-change: transform; }
/* video da hero: 3o video = Mixkit 1805 (mulher no celular, licenca Mixkit), em hero-celular.mp4.
 * Historico pra voltar: 2o video = Pexels 7682763 (atendente de headset) em hero-atendente.mp4. */
#nvx-brand .nvx-hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
@media (prefers-reduced-motion: reduce) { #nvx-brand .nvx-hero-bg video { display: none; } #nvx-brand .nvx-hero-bg { background-image: linear-gradient(180deg, rgba(29,29,31,.55), #1d1d1f), url(/brand-assets/hero-celular.jpg); background-size: cover; background-position: center 35%; } }
/* foto da atendente no fundo do bloco final, mesmo tratamento da hero */
.nvx-final { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; }
.nvx-final-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(29,29,31,.8) 0%, rgba(29,29,31,.86) 100%),
    url(/brand-assets/hero-atendimento.jpg) center 30% / cover no-repeat; }
html.nvx-intro #nvx-brand .nvx-hero-bg { opacity: 1; }
#nvx-brand > .nvx-hero-bg { position: absolute; }
/* botao abaixo do texto da hero (so na abertura; no split fica invisivel no lugar) */
.nvx-hero-cta { margin-top: 26px; transition: opacity .25s ease; }
html:not(.nvx-intro) .nvx-hero-cta { opacity: 0; visibility: hidden; pointer-events: none; }
.nvx-btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
html.nvx-intro #nvx-brand .nvx-brand-foot { display: none; }
@media (prefers-reduced-motion: reduce) { .nvx-brand-mid, #nvx-brand .nvx-demo, #nvx-brand .nvx-pulse { transition: none; } }
/* botoes do canto (so na abertura) */
.nvx-intro-nav { margin-left: auto; display: flex; gap: 10px; transition: opacity .25s ease; }
html:not(.nvx-intro) .nvx-intro-nav { opacity: 0; visibility: hidden; pointer-events: none; }
.nvx-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; border: 0; font: 500 14px/1 'Inter', system-ui, sans-serif; cursor: pointer; text-decoration: none; transition: background-color .15s ease, transform .1s ease; }
.nvx-btn:active { transform: scale(.97); }
.nvx-btn-ghost { color: #f5f5f7; background: rgba(255,255,255,.07); }
.nvx-btn-ghost:hover { background: rgba(255,255,255,.12); }
.nvx-btn-solid { color: #fff; background: #73509b; }
.nvx-btn-solid:hover { background: #7f5ba8; }
@media (prefers-reduced-motion: reduce) { #nvx-brand { transition: none; } }
@media (max-width: 860px) {
  /* celular: painel volta a ser a faixa do topo; na abertura cobre a tela */
  .nvx-login #nvx-brand { position: relative; width: auto; clip-path: none; z-index: 1; transition: none; }
  .nvx-login .nvx-side { grid-column: auto; }
  html.nvx-intro #nvx-brand { position: fixed; inset: 0; height: 100vh !important; }
  .nvx-intro-nav { gap: 8px; }
  .nvx-btn { height: 36px; padding: 0 12px; font-size: 13px; }
}

/* ============ abertura = landing que rola (so em html.nvx-intro) ============
 * A hero centralizada continua igual; abaixo dela entra o conteudo (.nvx-more,
 * absoluto a partir de 100vh) e o proprio painel vira a area de rolagem.
 * "Entrar" sobe ate o topo e recolhe o painel como antes. */
/* landing rola sem barra visivel (roda do mouse, toque e teclado continuam) */
html.nvx-intro #nvx-brand { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
html.nvx-intro #nvx-brand::-webkit-scrollbar { display: none; width: 0; height: 0; }
#nvx-brand .nvx-more { position: absolute; top: 100vh; left: 0; right: 0; padding: 8px 52px 32px; z-index: 2; }
html:not(.nvx-intro) #nvx-brand .nvx-more { display: none; }

/* barra do topo fixa enquanto rola; ganha fundo depois do primeiro scroll */
/* sticky conta a partir do padding do painel (46px): -32px => gruda a 14px do topo */
html.nvx-intro #nvx-brand .nvx-brand-top { position: sticky; top: -32px; z-index: 20; }
#nvx-brand .nvx-brand-top::before { content: ''; position: absolute; inset: -14px -52px; z-index: -1; background: rgba(29,29,31,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
html.nvx-intro #nvx-brand.nvx-rolou .nvx-brand-top::before { opacity: 1; }

/* menu */
.nvx-intro-nav { align-items: center; gap: 4px; }
.nvx-intro-nav > .nvx-btn { margin-left: 6px; }
/* links no centro da barra (Engage fica a esquerda, botoes a direita) */
#nvx-brand .nvx-brand-top { position: relative; }
html.nvx-intro #nvx-brand .nvx-brand-top { position: sticky; }
.nvx-nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4px; }
/* tela media: o centro nao cabe entre a marca e os botoes -> links vao pro lado dos botoes */
@media (max-width: 1180px) { .nvx-nav-links { position: static; transform: none; } }
.nvx-nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: none; color: #d2d2d7; font: 500 14px/1 'Inter', system-ui, sans-serif; cursor: pointer; border-radius: 10px; transition: color .15s ease, background-color .15s ease; }
.nvx-nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.nvx-caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nvx-menu { position: relative; }
.nvx-drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 6px; border-radius: 12px; background: #2a2a2d; box-shadow: 0 20px 50px -12px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; }
.nvx-menu:hover .nvx-drop, .nvx-menu:focus-within .nvx-drop { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease; }
.nvx-menu::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } /* ponte do hover ate o dropdown */
.nvx-drop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: #d2d2d7; font: 400 14px/1.2 'Inter', system-ui, sans-serif; cursor: pointer; }
.nvx-drop button:hover { background: rgba(255,255,255,.06); color: #fff; }
.nvx-sm { display: none; }

/* "role para baixo" */
#nvx-brand .nvx-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: #a1a1a6; transition: opacity .25s ease; pointer-events: none; }
.nvx-hint i { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); animation: nvxDesce 1.8s ease-in-out infinite; }
@keyframes nvxDesce { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: .5; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }
html:not(.nvx-intro) #nvx-brand .nvx-hint, #nvx-brand.nvx-rolou .nvx-hint { opacity: 0; }

/* secoes */
.nvx-sec { max-width: 1120px; margin: 0 auto; padding: 72px 0; }
.nvx-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: #bb92e8; }
.nvx-sec h2 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -.015em; color: #f5f5f7; margin: 0 0 32px; max-width: 760px; }
.nvx-sec h3 { font: 600 16px/1.3 'Inter', system-ui, sans-serif; color: #f5f5f7; margin: 0 0 6px; }
.nvx-sec p { font-size: 14px; line-height: 1.55; color: #b8b8bd; margin: 0; }
.nvx-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nvx-ctas .nvx-btn { height: 46px; padding: 0 22px; font-size: 15px; }

.nvx-sobre { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 40px; }
.nvx-sobre h2 { margin-bottom: 18px; }
.nvx-sobre-txt > p:not(.nvx-kicker) { font-size: 17px; line-height: 1.6; max-width: 540px; color: #d2d2d7; }
.nvx-kanban { display: block; overflow: hidden; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.nvx-k-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nvx-k-h { padding: 2px 2px 4px; }
.nvx-k-card { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.06); }
.nvx-k-card .nvx-av { width: 26px; height: 26px; font-size: 11px; }
.nvx-k-card > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nvx-k-card b { font-size: 12.5px; font-weight: 600; color: #f5f5f7; }
.nvx-k-card i { font-style: normal; font-size: 11.5px; line-height: 1.35; color: #a1a1a6; }

.nvx-grid2, .nvx-grid3, .nvx-grid4 { display: grid; gap: 14px; }
.nvx-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nvx-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nvx-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nvx-card-s, .nvx-ideal-i, .nvx-steps li { padding: 22px; border-radius: 14px; background: rgba(255,255,255,.04); transition: background-color .2s ease; }
.nvx-card-s:hover { background: rgba(255,255,255,.065); }
.nvx-card-s svg { width: 22px; height: 22px; margin-bottom: 14px; fill: none; stroke: #bb92e8; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nvx-ideal-i { background: linear-gradient(180deg, rgba(146,79,218,.16), rgba(146,79,218,.04)); }
.nvx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nvx-steps li > span { display: block; margin-bottom: 14px; font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 600; font-size: 28px; color: #bb92e8; }
.nvx-seg { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.nvx-seg h2 { margin: 0; }
.nvx-final { text-align: center; padding: 88px 0; }
.nvx-final h2 { margin: 0 auto 12px; }
.nvx-final p { font-size: 16px; }
.nvx-final .nvx-ctas { justify-content: center; }
.nvx-more-foot { max-width: 1120px; margin: 0 auto; padding: 24px 0 8px; font-size: 12px; color: #6e6e73; }

@media (max-width: 1100px) {
  .nvx-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nvx-intro-nav .nvx-nav-link[data-go="nvx-seguranca"] { display: none; }
}
@media (max-width: 960px) {
  .nvx-nav-links { display: none; }
}
@media (max-width: 860px) {
  #nvx-brand .nvx-more { padding: 0 24px 24px; }
  #nvx-brand .nvx-brand-top::before { inset: -14px -24px; }
  html.nvx-intro #nvx-brand .nvx-brand-top { top: -14px; } /* padding do painel no celular = 28px */
  .nvx-lg { display: none; } .nvx-sm { display: inline; }
  .nvx-sec { padding: 56px 0; }
  .nvx-sobre, .nvx-seg { grid-template-columns: 1fr; gap: 32px; }
  .nvx-grid2, .nvx-grid3, .nvx-grid4, .nvx-steps { grid-template-columns: 1fr; }
  .nvx-k-board { grid-template-columns: repeat(3, minmax(130px, 1fr)); overflow-x: auto; height: 224px; }
}
@media (prefers-reduced-motion: reduce) { .nvx-hint i { animation: none; } }

/* ============ Faixas claras e escuras (pegada Apple) ============
 * Escuras (grafite original da pagina): hero, Quem somos, Solucoes, Seguranca, bloco
 * final e rodape. Claras: Ideal para (branco) e Como funciona (cinza-claro). So as
 * claras ganham cor, que vaza ate a borda da tela com border-image (sem emenda). */
#nvx-brand .nvx-more { padding-top: 0; padding-bottom: 0; }
#nvx-ideal, #nvx-como { border-image: conic-gradient(var(--faixa) 0 0) fill 0 / / 0 100vmax; }
#nvx-ideal { --faixa: #fff; }
#nvx-como { --faixa: #f5f5f7; }
.nvx-more-foot { padding: 28px 0 36px; }
.nvx-band-final { padding: 72px 0; }
.nvx-band-final .nvx-final { padding: 88px 24px; }

/* faixas claras: texto escuro */
#nvx-ideal h2, #nvx-ideal h3, #nvx-como h2, #nvx-como h3 { color: #1d1d1f; }
#nvx-ideal p, #nvx-como p { color: #6e6e73; }
#nvx-ideal .nvx-ideal-i { background: linear-gradient(180deg, rgba(146,79,218,.10), rgba(146,79,218,.03)); }
#nvx-como .nvx-steps li { background: #fff; }
#nvx-como .nvx-steps li > span { color: #73509b; }
@media (max-width: 860px) { .nvx-band-final { padding: 48px 0; } }

/* hero da abertura toda centralizada (titulo, frase e botao). O bloco tem a largura
 * do proprio texto, entao ao voltar pro alinhamento a esquerda no split quase nada pula. */
.nvx-brand-mid { width: fit-content; }
html.nvx-intro .nvx-brand-mid { text-align: center; }
/* texto da abertura por cima da foto: sombra curta (borda) + halo largo e
 * fraco, so pra separar da imagem; nao aparece como "contorno" */
html.nvx-intro #nvx-brand .nvx-sobre-txt > p:not(.nvx-kicker) { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 22px rgba(0,0,0,.45); }
.nvx-k-card i { color: #c7c7cc; }

/* vitrine do pipeline em carrossel de funis */
.nvx-k-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; }
.nvx-k-top b { font: 600 12.5px/1 'Inter', system-ui, sans-serif; color: #d2d2d7; }
.nvx-k-dots { display: flex; gap: 5px; }
.nvx-k-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background-color .3s ease; }
.nvx-k-dots i.on { background: #bb92e8; }
.nvx-k-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; height: 196px; overflow: hidden; align-items: start; }
/* altura fixa: mensagem do cartao em no maximo 2 linhas, nome em 1 */
.nvx-k-card b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvx-k-card i { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }

/* ============ faixa clara unica (Ideal para + Como funciona) ============
 * Antes: branco + cinza-claro empilhados (duas cores, emenda visivel). Agora as
 * duas secoes sao um bloco so em #f5f5f7, com cartoes brancos e sombra macia. */
#nvx-ideal, #nvx-como { --faixa: #f5f5f7; }
#nvx-ideal { padding-bottom: 40px; }
#nvx-como { padding-top: 40px; }
/* mesmo padrao dos cartoes escuros: chapado, sem sombra */
#nvx-ideal .nvx-ideal-i, #nvx-como .nvx-steps li { background: #fff; padding: 22px; border-radius: 14px; }
#nvx-ideal h3, #nvx-como h3 { font-size: 17px; margin-bottom: 8px; }
#nvx-ideal p, #nvx-como p { color: #6e6e73; font-size: 14.5px; }
/* icones (Lucide) dos cartoes claros: mesmo tamanho/traco dos escuros, sem fundo */
.nvx-ideal-i svg { width: 22px; height: 22px; margin-bottom: 14px; fill: none; stroke: #73509b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* passos: numero em circulo + linha ligando os tres */
#nvx-como .nvx-steps { position: relative; }
#nvx-como .nvx-steps::before { content: ''; position: absolute; top: 47px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, #d9c9ec, #73509b 50%, #d9c9ec); z-index: 0; }
#nvx-como .nvx-steps li { position: relative; z-index: 1; }
#nvx-como .nvx-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: #73509b; color: #fff; font-size: 16px; }
.nvx-canais { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.nvx-canais i { font-style: normal; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: #f1ebf8; color: #5e407f; }
@media (max-width: 860px) {
  #nvx-como .nvx-steps::before { display: none; }
  #nvx-ideal { padding-bottom: 28px; } #nvx-como { padding-top: 28px; }
}
/* bloco final com foto: de ponta a ponta da tela, sem cantos arredondados
 * (sai do padding lateral do .nvx-more: 52px no desktop, 24px no celular) */
.nvx-band-final .nvx-final { max-width: none; border-radius: 0; margin: 0 -52px; padding-left: 52px; padding-right: 52px; }
@media (max-width: 860px) { .nvx-band-final .nvx-final { margin: 0 -24px; padding-left: 24px; padding-right: 24px; } }
/* canais com logo: marcas do Simple Icons (cor oficial), e-mail do Lucide */
.nvx-canais i { display: inline-flex; align-items: center; gap: 6px; }
.nvx-canais svg { width: 14px; height: 14px; flex: none; }
.nvx-canais .nvx-b { fill: var(--b); }
.nvx-canais .nvx-l { fill: none; stroke: #73509b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* faixa clara (Ideal para + Como funciona) num bloco so: cor + textura de papel
 * bem leve, de ponta a ponta (sai do padding lateral do .nvx-more) */
#nvx-ideal, #nvx-como { border-image: none; }
.nvx-band-claro { position: relative; isolation: isolate; }
.nvx-band-claro::before, .nvx-band-claro::after { content: ''; position: absolute; top: 0; bottom: 0; left: -52px; right: -52px; z-index: -1; pointer-events: none; }
.nvx-band-claro::before { background: #f5f5f7; }
.nvx-band-claro::after { /* escritorio claro (Unsplash) ja desfocado no arquivo, bem fraco */
  background: url(/brand-assets/fundo-escritorio-blur.jpg) center / cover no-repeat; opacity: .32; }
@media (max-width: 860px) { .nvx-band-claro::before, .nvx-band-claro::after { left: -24px; right: -24px; } }
/* rodape da abertura: centralizado, nome + direitos + produto */
.nvx-more-foot { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 40px 0 44px; }
.nvx-more-foot b { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 700; font-size: 18px; color: #f5f5f7; margin-bottom: 6px; }
.nvx-more-foot span { font-size: 13px; color: #8e8e93; }
/* Solucoes: consultoria de atendimento = cartao largo (linha inteira) */
.nvx-consult { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 28px; background: rgba(146,79,218,.14); }
.nvx-consult:hover { background: rgba(146,79,218,.18); }
.nvx-consult h3 { font-size: 18px; }
.nvx-consult p { font-size: 15px; }
.nvx-consult-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.nvx-consult-list li { position: relative; padding-left: 22px; font-size: 14px; color: #e5e5ea; }
.nvx-consult-list li::before { content: ''; position: absolute; left: 2px; top: 4px; width: 10px; height: 6px; border-left: 2px solid #bb92e8; border-bottom: 2px solid #bb92e8; transform: rotate(-45deg); }
@media (max-width: 860px) { .nvx-consult { grid-template-columns: 1fr; gap: 20px; } .nvx-consult-list { grid-template-columns: 1fr; } }
/* Ideal para: no lugar de icone, a primeira mensagem tipica de cada segmento,
 * como chega no WhatsApp (balao recebido, canto de baixo reto) */
.nvx-bolha { display: block; width: fit-content; max-width: 92%; min-height: calc(2 * 1.4em + 20px); box-sizing: border-box; margin-bottom: 18px; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: #f0f0f3; color: #1d1d1f; font-size: 13.5px; line-height: 1.4; }

/* ============ telas ficticias do sistema nos passos 02 e 03 ============
 * HTML puro imitando o Pipeline e a conversa (nomes inventados). */
.nvx-mock { margin-top: 18px; padding: 10px; border-radius: 12px; background: #f2f2f5; font-family: 'Inter', system-ui, sans-serif; color: #1d1d1f; text-align: left; }
.nvx-mock b, .nvx-mock i, .nvx-mock em, .nvx-mock small { font-style: normal; }
/* kanban */
.nvx-mk-top { display: flex; align-items: baseline; gap: 8px; padding: 2px 4px 8px; }
.nvx-mk-top b { font-size: 12px; font-weight: 600; }
.nvx-mk-top i { font-size: 11px; color: #8e8e93; }
.nvx-mk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nvx-mk-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nvx-mk-h { display: flex; align-items: center; gap: 5px; padding: 2px 2px 3px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.nvx-mk-h em { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.nvx-mk-h small { margin-left: auto; font-size: 10px; font-weight: 500; color: #8e8e93; }
.nvx-mk-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 7px 7px 8px; border-radius: 8px; background: #fff; min-width: 0; }
.nvx-mk-card b { font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 16px; }
.nvx-mk-card i { font-size: 10px; color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvx-mk-av { position: absolute; top: 6px; right: 6px; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; font-size: 7.5px; font-weight: 700; color: #fff; background: var(--c); }
/* conversa */
.nvx-cv { display: flex; flex-direction: column; gap: 8px; }
.nvx-cv-top { display: flex; align-items: center; gap: 8px; padding: 4px 4px 0; }
.nvx-cv-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: #C06BD8; flex: none; }
.nvx-cv-id { display: flex; flex-direction: column; min-width: 0; }
.nvx-cv-id b { font-size: 12px; font-weight: 600; }
.nvx-cv-id i { font-size: 10.5px; color: #8e8e93; }
.nvx-cv-etapa { margin-left: auto; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; color: #1e5fc2; background: #e3edfd; white-space: nowrap; }
.nvx-cv-meta { display: flex; gap: 6px; }
.nvx-cv-meta > span { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 7px 8px; border-radius: 8px; background: #fff; }
.nvx-cv-meta i { font-size: 9.5px; color: #8e8e93; }
.nvx-cv-meta b { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; }
.nvx-cv-meta b em { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; color: #fff; background: #924FDA; }
.nvx-cv-tag { align-self: flex-start; padding: 1px 7px; border-radius: 999px; background: #f1ebf8; color: #5e407f; }
.nvx-cv-msgs { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
.nvx-cv-msgs p { margin: 0; max-width: 82%; padding: 7px 10px; font-size: 11px !important; line-height: 1.4 !important; color: #1d1d1f !important; }
.nvx-cv-in { align-self: flex-start; background: #fff; border-radius: 12px 12px 12px 3px; }
.nvx-cv-out { align-self: flex-end; background: #e9def6; border-radius: 12px 12px 3px 12px; }
.nvx-cv-out small { display: block; margin-top: 2px; font-size: 9px; color: #73509b; text-align: right; }
.nvx-cv-input { padding: 8px 10px; border-radius: 8px; background: #fff; font-size: 10.5px; color: #8e8e93; }
.nvx-cv-input kbd { font: 600 9.5px/1 'Inter', sans-serif; padding: 2px 5px; border-radius: 4px; background: #f2f2f5; color: #1d1d1f; }
/* Como funciona: os 3 cartoes com o conteudo de baixo preenchendo a mesma altura */
#nvx-como .nvx-steps li { display: flex; flex-direction: column; }
#nvx-como .nvx-mock { flex: 1; }
/* canais do passo 01: so os logos, grandes, lado a lado, sem fundo */
#nvx-como .nvx-canais { flex: 1; display: flex; justify-content: space-around; align-items: center; gap: 12px; margin-top: 18px; min-height: 120px; }
#nvx-como .nvx-canais i { padding: 0; background: none; border-radius: 0; }
#nvx-como .nvx-canais svg { width: 44px; height: 44px; }
#nvx-como .nvx-canais .nvx-l { stroke-width: 1.6; }
/* Ideal para: icones Phosphor duotone (preenchidos, 2 tons), sem fundo */
.nvx-ideal-i svg.nvx-ph { width: 34px; height: 34px; margin-bottom: 16px; fill: #73509b; stroke: none; }
#nvx-como .nvx-canais { min-height: 0; flex: 0 0 auto; margin-top: 22px; }
#nvx-como .nvx-canais-txt { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: #f2f2f5; font-size: 13px !important; color: #6e6e73; text-align: center; }
#nvx-como .nvx-canais { min-height: 0; flex: 0 0 auto; margin-top: 22px; }
#nvx-como .nvx-canais-txt { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: #f2f2f5; font-size: 13px !important; color: #6e6e73; text-align: center; }
/* Ideal para: icones 3D (Fluent Emoji 3D, Microsoft, MIT), sem fundo */
.nvx-ideal-i .nvx-3d { display: block; width: 52px; height: 52px; margin: -4px 0 12px -4px; }
/* passo 01: os 4 canais convergindo num no "Engage" (SVG unico) */
#nvx-como .nvx-canais { display: block; }
.nvx-hub { display: block; width: 100%; height: auto; max-width: 340px; margin: 0 auto; }
.nvx-hub-l { fill: none; stroke: url(#nvxHubG); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 6; animation: nvxHub 1.6s linear infinite; }
@keyframes nvxHub { to { stroke-dashoffset: -22; } }
.nvx-hub-t { fill: #fff; font: 700 17px 'Bricolage Grotesque', 'Inter', sans-serif; }
.nvx-hub-s { fill: #e9def6; font: 500 9.5px 'Inter', system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { .nvx-hub-l { animation: none; } }
#nvx-como .nvx-canais svg.nvx-hub { width: 100%; height: auto; }
/* Seguranca: a mesma foto do bloco final, desfocada e quase invisivel no fundo,
 * de ponta a ponta. clip-path corta o vazamento do blur pras secoes vizinhas. */
.nvx-band-seg { position: relative; isolation: isolate; }
.nvx-band-seg::before { content: ''; position: absolute; top: 0; bottom: 0; left: -52px; right: -52px; z-index: -1; pointer-events: none;
  background: url(/brand-assets/hero-atendimento.jpg) center / cover no-repeat; filter: blur(22px); opacity: .1; clip-path: inset(0); }
@media (max-width: 860px) { .nvx-band-seg::before { left: -24px; right: -24px; } }
.nvx-band-seg::before { -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
/* no "Engage" sem caixa: so o nome, escuro (o cartao e branco) */
.nvx-hub-t { fill: #1d1d1f; font-size: 26px; letter-spacing: -.01em; }
/* Ideal para: icone e textos centralizados */
#nvx-ideal .nvx-ideal-i { text-align: center; }
#nvx-ideal .nvx-ideal-i .nvx-3d { margin: -4px auto 12px; }
/* bloco final: a foto sobe ate encostar na secao de Seguranca (sem faixa escura em cima);
 * embaixo a faixa escura continua */
.nvx-band-final { padding-top: 0; }
/* a foto sobe por cima do respiro de baixo da Seguranca (72px) ate o desfoque */
.nvx-band-final { margin-top: -72px; position: relative; z-index: 1; }
.nvx-band-final .nvx-final { padding-top: 160px; }
@media (max-width: 860px) { .nvx-band-final { margin-top: -56px; } .nvx-band-final .nvx-final { padding-top: 140px; } }
.nvx-band-final { margin-top: -32px; }
.nvx-band-final .nvx-final { padding-top: 120px; }

/* ============ faixa clara estilo Apple ============
 * fundo branco liso, cartoes cinza-claro #f5f5f7 sem borda nem sombra, cantos 20px.
 * As telas ficticias dentro dos cartoes invertem (painel branco, itens cinza). */
.nvx-band-claro::before { background: #fff; }
.nvx-band-claro::after { display: none; }
#nvx-ideal .nvx-ideal-i, #nvx-como .nvx-steps li { background: #f5f5f7; border-radius: 20px; padding: 28px 26px; }
#nvx-ideal h3, #nvx-como h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #1d1d1f; }
#nvx-ideal p, #nvx-como p { font-size: 15px; line-height: 1.5; color: #6e6e73; }
#nvx-como .nvx-mock { background: #fff; }
#nvx-como .nvx-mk-card, #nvx-como .nvx-cv-meta > span, #nvx-como .nvx-cv-in { background: #f5f5f7; }
#nvx-como .nvx-canais-txt { background: #fff; }
/* Seguranca: sem a foto desfocada no fundo */
.nvx-band-seg::before { display: none; }
/* Pipeline ficticio: no lugar do texto, barras-placeholder (skeleton) */
.nvx-mk-card { gap: 6px; padding: 9px 8px 10px; }
.nvx-mk-card .nvx-sk { display: block; height: 6px; border-radius: 3px; padding: 0; }
.nvx-mk-card b.nvx-sk { background: #c7c7cc; max-width: calc(100% - 18px); }
.nvx-mk-card i.nvx-sk { background: #e3e3e8; }
/* Como funciona: cartoes mais quadrados (menos altura) */
#nvx-como .nvx-steps li { padding: 22px 24px; }
#nvx-como .nvx-steps li > span { width: 36px; height: 36px; margin-bottom: 14px; font-size: 14px; }
#nvx-como .nvx-steps::before { top: 40px; }
#nvx-como h3 { margin-bottom: 6px; }
#nvx-como .nvx-mock { margin-top: 14px; padding: 8px; }
#nvx-como .nvx-canais { margin-top: 12px; }
#nvx-como .nvx-canais svg.nvx-hub { max-width: 250px; }
#nvx-como .nvx-canais-txt { padding: 9px 12px; font-size: 12.5px !important; }
.nvx-cv { gap: 6px; }
.nvx-cv-meta > span { padding: 5px 8px; }
.nvx-cv-msgs { gap: 4px; padding: 2px; }
.nvx-cv-msgs p { padding: 6px 9px; }
.nvx-mk-card { padding: 8px 7px; gap: 5px; }
/* conversa ficticia: nome do contato e da responsavel viram barras */
.nvx-cv .nvx-sk { display: block; height: 7px; border-radius: 4px; background: #c7c7cc; margin: 3px 0 4px; }
.nvx-cv-meta u.nvx-sk { display: inline-block; height: 6px; margin: 0; background: #c7c7cc; text-decoration: none; }

/* ============ Ideal para: animacoes ============
 * 1) entrada em grupo quando a secao aparece (so com JS: .nvx-anima), 60ms entre cartoes
 * 2) destaque no cartao do segmento escolhido no menu "Ideal para" (camada roxa some) */
#nvx-ideal.nvx-anima .nvx-ideal-i { opacity: 0; transform: translateY(12px); transition: opacity .5s cubic-bezier(.2, .8, .2, 1), transform .5s cubic-bezier(.2, .8, .2, 1); }
#nvx-ideal.nvx-vis .nvx-ideal-i { opacity: 1; transform: none; }
#nvx-ideal.nvx-vis .nvx-ideal-i:nth-child(2) { transition-delay: 60ms; }
#nvx-ideal.nvx-vis .nvx-ideal-i:nth-child(3) { transition-delay: 120ms; }
#nvx-ideal.nvx-vis .nvx-ideal-i:nth-child(4) { transition-delay: 180ms; }
#nvx-ideal .nvx-ideal-i { position: relative; }
#nvx-ideal .nvx-ideal-i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(115, 80, 155, .12); opacity: 0; pointer-events: none; }
#nvx-ideal .nvx-ideal-i.nvx-flash::after { animation: nvxFlash .9s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes nvxFlash { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  #nvx-ideal.nvx-anima .nvx-ideal-i { transform: none; transition: opacity .2s ease; transition-delay: 0s !important; }
  #nvx-ideal .nvx-ideal-i.nvx-flash::after { animation: nvxFlashCalmo .6s steps(1, end) forwards; }
  @keyframes nvxFlashCalmo { from { opacity: 1; } to { opacity: 0; } }
}

/* ============ Como funciona: animacoes (so com JS: .nvx-anima, uma vez) ============
 * cartoes entram em sequencia (80ms), a linha entre os passos se desenha da esquerda
 * pra direita, e na conversa a mensagem do cliente chega e depois a resposta. */
#nvx-como.nvx-anima .nvx-steps li { opacity: 0; transform: translateY(12px); transition: opacity .5s cubic-bezier(.2, .8, .2, 1), transform .5s cubic-bezier(.2, .8, .2, 1); }
#nvx-como.nvx-vis .nvx-steps li { opacity: 1; transform: none; }
#nvx-como.nvx-vis .nvx-steps li:nth-child(2) { transition-delay: 80ms; }
#nvx-como.nvx-vis .nvx-steps li:nth-child(3) { transition-delay: 160ms; }
#nvx-como.nvx-anima .nvx-steps::before { transform: scaleX(0); transform-origin: left center; transition: transform .7s cubic-bezier(.2, .8, .2, 1) .35s; }
#nvx-como.nvx-vis .nvx-steps::before { transform: scaleX(1); }
#nvx-como.nvx-anima .nvx-cv-in, #nvx-como.nvx-anima .nvx-cv-out { opacity: 0; transform: translateY(6px); transition: opacity .4s cubic-bezier(.2, .8, .2, 1), transform .4s cubic-bezier(.2, .8, .2, 1); }
#nvx-como.nvx-vis .nvx-cv-in { opacity: 1; transform: none; transition-delay: .7s; }
#nvx-como.nvx-vis .nvx-cv-out { opacity: 1; transform: none; transition-delay: 1.4s; }
@media (prefers-reduced-motion: reduce) {
  #nvx-como.nvx-anima .nvx-steps li, #nvx-como.nvx-anima .nvx-cv-in, #nvx-como.nvx-anima .nvx-cv-out { transform: none; transition: opacity .2s ease; transition-delay: 0s !important; }
  #nvx-como.nvx-anima .nvx-steps::before { transform: none; transition: none; }
}

/* ============ passo 03: conversa em loop (CSS puro, 9 s) ============
 * digitando... -> chega "Pode ser quinta as 15h?" -> aparece a Responsavel ->
 * resposta "Pode sim! Reservado." (sem digitando: quem responde e a equipe) ->
 * aparece a Etiqueta -> etapa muda de "Em conversa" pra "Agendado" -> recomeca.
 * Fica parado ate a secao aparecer (.nvx-vis). So opacity/transform. */
.nvx-cv-msgs { position: relative; }
.nvx-cv-typing { position: absolute; left: 2px; top: 2px; display: flex; gap: 3px; margin: 0; padding: 9px 10px !important; border-radius: 12px 12px 12px 3px; background: #f5f5f7; opacity: 0; }
.nvx-cv-typing i { width: 5px; height: 5px; border-radius: 50%; background: #8e8e93; animation: nvxDot 1s ease-in-out infinite; }
.nvx-cv-typing i:nth-child(2) { animation-delay: .15s; }
.nvx-cv-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes nvxDot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
.nvx-cv-etapas { margin-left: auto; display: grid; justify-items: end; }
.nvx-cv-etapas > .nvx-cv-etapa { grid-area: 1 / 1; margin: 0; }
.nvx-cv-ag { color: #0b7a6c; background: #dcf3ee; }

#nvx-como .nvx-cv-typing { animation: nvxCvTyping 9s infinite; }
#nvx-como .nvx-cv-in { animation: nvxCvIn 9s cubic-bezier(.2, .8, .2, 1) infinite; }
#nvx-como .nvx-cv-meta > span:first-child { animation: nvxCvResp 9s cubic-bezier(.2, .8, .2, 1) infinite; }
#nvx-como .nvx-cv-out { animation: nvxCvOut 9s cubic-bezier(.2, .8, .2, 1) infinite; }
#nvx-como .nvx-cv-meta > span:last-child { animation: nvxCvTag 9s cubic-bezier(.2, .8, .2, 1) infinite; }
#nvx-como .nvx-cv-etapas > .nvx-cv-etapa:first-child { animation: nvxCvEtapa1 9s infinite; }
#nvx-como .nvx-cv-ag { animation: nvxCvEtapa2 9s cubic-bezier(.2, .8, .2, 1) infinite; }
#nvx-como .nvx-cv-typing, #nvx-como .nvx-cv-in, #nvx-como .nvx-cv-out, #nvx-como .nvx-cv-meta > span, #nvx-como .nvx-cv-etapas > .nvx-cv-etapa { animation-play-state: paused; }
#nvx-como.nvx-vis .nvx-cv-typing, #nvx-como.nvx-vis .nvx-cv-in, #nvx-como.nvx-vis .nvx-cv-out, #nvx-como.nvx-vis .nvx-cv-meta > span, #nvx-como.nvx-vis .nvx-cv-etapas > .nvx-cv-etapa { animation-play-state: running; }
@keyframes nvxCvTyping { 0%, 5% { opacity: 0; } 7%, 19% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes nvxCvIn { 0%, 19% { opacity: 0; transform: translateY(6px); } 22%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes nvxCvResp { 0%, 30% { opacity: 0; transform: translateY(4px); } 33%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes nvxCvOut { 0%, 43% { opacity: 0; transform: translateY(6px); } 46%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes nvxCvTag { 0%, 56% { opacity: 0; transform: scale(.96); } 59%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes nvxCvEtapa1 { 0%, 68% { opacity: 1; } 71%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes nvxCvEtapa2 { 0%, 68% { opacity: 0; transform: scale(.94); } 71%, 93% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  #nvx-como .nvx-cv-typing, #nvx-como .nvx-cv-ag { animation: none; opacity: 0; }
  #nvx-como .nvx-cv-in, #nvx-como .nvx-cv-out, #nvx-como .nvx-cv-meta > span, #nvx-como .nvx-cv-etapas > .nvx-cv-etapa:first-child { animation: none; opacity: 1; transform: none; }
}
/* avatares do funil animado (e da vitrine): sem o anel escuro em volta */
.nvx-av { box-shadow: none; }
/* etapas sem sobrepor: a atual some antes da proxima aparecer */
@keyframes nvxCvEtapa1 { 0%, 67% { opacity: 1; } 69%, 96% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes nvxCvEtapa2 { 0%, 70% { opacity: 0; transform: scale(.94); } 72%, 92% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
/* a regra "animation:" com :first-child tinha prioridade maior e religava o play-state:
 * Etapa e Responsavel comecavam antes da secao aparecer e saiam de sincronia */
#nvx-como .nvx-cv-typing, #nvx-como .nvx-cv-in, #nvx-como .nvx-cv-out, #nvx-como .nvx-cv-meta > span, #nvx-como .nvx-cv-etapas > .nvx-cv-etapa { animation-play-state: paused !important; }
#nvx-como.nvx-vis .nvx-cv-typing, #nvx-como.nvx-vis .nvx-cv-in, #nvx-como.nvx-vis .nvx-cv-out, #nvx-como.nvx-vis .nvx-cv-meta > span, #nvx-como.nvx-vis .nvx-cv-etapas > .nvx-cv-etapa { animation-play-state: running !important; }
/* linhas dos canais ate o Engage: cinza do texto, nao roxo */
.nvx-hub-l { stroke: #6e6e73; }
.nvx-hub-l { stroke: #aeaeb2; } /* um tom acima do cinza do texto (#6e6e73), mais leve */
/* Como funciona: entrada em batidas 1, 2, 3 (rapida, sem fade lento).
 * desktop: da esquerda pra direita, 150ms entre os passos, 350ms cada.
 * celular: de cima pra baixo, cada passo entra quando chega na tela. */
#nvx-como.nvx-anima .nvx-steps li { opacity: 0; transform: translateX(-28px); transition: opacity .35s cubic-bezier(.2, .8, .2, 1), transform .35s cubic-bezier(.2, .8, .2, 1); }
#nvx-como.nvx-vis .nvx-steps li { opacity: 1; transform: none; }
#nvx-como.nvx-vis .nvx-steps li:nth-child(2) { transition-delay: 150ms; }
#nvx-como.nvx-vis .nvx-steps li:nth-child(3) { transition-delay: 300ms; }
@media (max-width: 860px) {
  #nvx-como.nvx-anima .nvx-steps li { transform: translateY(18px); }
  #nvx-como.nvx-vis .nvx-steps li { opacity: 0; transform: translateY(18px); transition-delay: 0s !important; }
  #nvx-como.nvx-anima .nvx-steps li.nvx-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #nvx-como.nvx-anima .nvx-steps li, #nvx-como.nvx-vis .nvx-steps li { transform: none !important; transition: opacity .2s ease; transition-delay: 0s !important; }
}
/* hero da abertura: frase e botao um pouco menores (o bloco inteiro ja vem ampliado 1.45x) */
#nvx-brand .nvx-sub { transition: font-size .9s cubic-bezier(.65, 0, .35, 1); }
html.nvx-intro #nvx-brand .nvx-sub { font-size: 13px; }
html.nvx-intro .nvx-hero-cta .nvx-btn { height: 34px; padding: 0 15px; font-size: 12.5px; }
@media (max-width: 860px) { html.nvx-intro #nvx-brand .nvx-sub { font-size: 14px; } }
/* CTAs no padrao Apple (medido em apple.com/br): pilula (raio 980px), texto peso 400,
 * hover so troca o tom do fundo (sem sombra, sem subir). O aperto (scale .97) fica. */
.nvx-btn { border-radius: 980px; font-weight: 400; transition: background-color .2s ease, transform .1s ease; }
.nvx-btn-solid:hover { background: #7f5ba8; }
.nvx-btn-ghost:hover { background: rgba(255,255,255,.13); }
/* CTA da hero: texto menor e descido 1px (Inter fica alto no centro do botao) */
html.nvx-intro .nvx-hero-cta .nvx-btn { font-size: 11.5px; line-height: 1; padding-top: 1px; }
/* sincronia do "Entrar": a frase e o botao da hero mudavam de tamanho ao sair da abertura
 * (13px -> 15px; botao 34px -> 46px) e o bloco deslizava pra um lugar que ainda estava
 * mudando. Agora o tamanho e o mesmo nos dois estados: so o transform anima. */
#nvx-brand .nvx-sub, html.nvx-intro #nvx-brand .nvx-sub { font-size: 13px; transition: none; }
.nvx-hero-cta .nvx-btn, html.nvx-intro .nvx-hero-cta .nvx-btn { height: 34px; padding: 1px 15px 0; font-size: 11.5px; line-height: 1; }
@media (max-width: 860px) { #nvx-brand .nvx-sub, html.nvx-intro #nvx-brand .nvx-sub { font-size: 14px; } }
/* tela de login (split): sem o pulso (ECG) e com o mesmo video de fundo da abertura */
#nvx-brand .nvx-pulse { display: none; }
#nvx-brand .nvx-hero-bg { opacity: 1; }

/* ============ abertura: titulo digitado, depois frase, botao e o resto ============ */
html.nvx-digita #nvx-brand .nvx-ch { opacity: 0; }
html.nvx-digita #nvx-brand .nvx-ch.nvx-ch-on { opacity: 1; }
.nvx-cursor { display: inline-block; width: 0; height: .95em; margin-right: -3px; border-right: 3px solid #bb92e8; vertical-align: -.1em; animation: nvxPisca .8s steps(1) infinite; }
@keyframes nvxPisca { 50% { border-color: transparent; } }
html.nvx-digita #nvx-brand .nvx-sub,
html.nvx-digita #nvx-brand .nvx-hero-cta,
html.nvx-digita #nvx-brand .nvx-intro-nav,
html.nvx-digita #nvx-brand .nvx-hint { opacity: 0; transform: translateY(8px); transition: opacity .5s cubic-bezier(.2, .8, .2, 1), transform .5s cubic-bezier(.2, .8, .2, 1); }
html.nvx-digita #nvx-brand .nvx-intro-nav { transform: none; }
html.nvx-digita.nvx-d1 #nvx-brand .nvx-sub,
html.nvx-digita.nvx-d2 #nvx-brand .nvx-hero-cta,
html.nvx-digita.nvx-d3 #nvx-brand .nvx-intro-nav,
html.nvx-digita.nvx-d3 #nvx-brand .nvx-hint { opacity: 1; transform: none; }
/* o degradê do "esquecido." (background-clip: text) pinta pelo formato de TODAS as letras,
 * mesmo as invisiveis: durante a digitacao a palavra usa cor solida; no fim o degradê volta */
html.nvx-digita #nvx-brand .nvx-hero em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #d6c2f4; }
/* menu do topo sem a setinha nos itens com lista (a lista continua abrindo no hover) */
.nvx-intro-nav .nvx-caret { display: none; }
/* Segmentos com 8 cartoes (2 linhas): a entrada segue em sequencia */
#nvx-ideal.nvx-vis .nvx-ideal-i:nth-child(5) { transition-delay: 240ms; }
#nvx-ideal.nvx-vis .nvx-ideal-i:nth-child(6) { transition-delay: 300ms; }
#nvx-ideal.nvx-vis .nvx-ideal-i:nth-child(7) { transition-delay: 360ms; }
#nvx-ideal.nvx-vis .nvx-ideal-i:nth-child(8) { transition-delay: 420ms; }
/* celular: vitrine do funil (Quem somos) sem texto quebrando em 2 linhas */
@media (max-width: 860px) {
  .nvx-kanban { padding: 10px; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
  .nvx-kanban .nvx-chip { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; padding: 2px 6px; }
  .nvx-k-card { padding: 7px; gap: 6px; }
  .nvx-k-card .nvx-av { width: 20px; height: 20px; font-size: 9px; }
  .nvx-k-card b, .nvx-k-card i { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nvx-k-card b { font-size: 11px; } .nvx-k-card i { font-size: 10px; }
}
/* celular, abertura: hero centrada por CSS na primeira tela, com altura ESTAVEL (svh = tela
 * com a barra de endereco aberta). Nao depende da altura do painel, que muda ao rolar. */
@media (max-width: 860px) {
  html.nvx-intro #nvx-brand .nvx-brand-mid {
    position: absolute; left: 0; right: 0; top: 0; z-index: 2;
    width: auto; max-width: none; height: 100vh; height: 100svh; padding: 0 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform: none !important; transition: none;
  }
  html.nvx-intro #nvx-brand .nvx-brand-mid .nvx-demo { display: none; }
  html.nvx-intro #nvx-brand .nvx-hint { top: calc(100svh - 64px); bottom: auto; }
  html.nvx-intro #nvx-brand .nvx-more { top: 100svh; }
  html.nvx-intro #nvx-brand .nvx-hero-bg { height: 100svh; }
}
