/* ==========================================================================
   OmniSmart — Camada de Motion (home)
   Abordagem: mockups VETORIAIS (HTML/CSS/SVG) animados elemento a elemento,
   no mesmo vocabulário do projeto TW (twfloat / twdash / twpulse / twspark).
   - Reveal no scroll gated por html.omni-motion:not(.omni-reduce) — sem JS,
     nada some. Desligado por completo em prefers-reduced-motion.
   ========================================================================== */

:root {
  --omni-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --omni-ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --omni-reveal-dur: 640ms;
}

/* --------------------------------------------------------------------------
   1) Reveal base (qualquer [data-reveal])
   -------------------------------------------------------------------------- */
html.omni-motion:not(.omni-reduce) [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--omni-reveal-dur) var(--omni-ease-out),
    transform var(--omni-reveal-dur) var(--omni-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.omni-motion:not(.omni-reduce) [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

/* --------------------------------------------------------------------------
   2) Vocabulário de animação vetorial (igual ao projeto TW)
   -------------------------------------------------------------------------- */
@keyframes twfloat  { 0%, 100% { transform: translateY(0); }    50% { transform: translateY(-10px); } }
@keyframes twfloat2 { 0%, 100% { transform: translateY(0); }    50% { transform: translateY(-8px); } }
@keyframes twfloat3 { 0%, 100% { transform: translateY(0); }    50% { transform: translateY(-5px); } }
@keyframes twfade   { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes twpulse  { 0% { box-shadow: 0 0 0 0 rgba(47, 28, 103, .5); } 70% { box-shadow: 0 0 0 14px rgba(47, 28, 103, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 28, 103, 0); } }
@keyframes twpulseg { 0% { box-shadow: 0 0 0 0 rgba(45, 232, 137, .55); } 70% { box-shadow: 0 0 0 13px rgba(45, 232, 137, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 232, 137, 0); } }
@keyframes twdash   { to { stroke-dashoffset: -600; } }
@keyframes twspark  { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
@keyframes twblob   { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18px, 20px) scale(1.08); } }
@keyframes twtick   { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes twtype   { 0% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } 60%, 100% { opacity: .25; transform: translateY(0); } }
@keyframes twslidein { 0% { opacity: 0; transform: translateY(9px) scale(.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

/* elementos vetoriais só ganham a animação contínua com JS ativo e sem reduce */
html.omni-motion:not(.omni-reduce) [data-float] { will-change: transform; }

/* faísca que percorre o traço do conector (offset-path definido inline no SVG/elemento) */
html.omni-motion:not(.omni-reduce) [data-spark] {
  animation: twspark 6s cubic-bezier(.65, 0, .35, 1) infinite;
}

/* aparecer em cascata dentro de um mockup revelado (mensagens, cards…) */
html.omni-motion:not(.omni-reduce) .is-revealed [data-seq] {
  opacity: 0;
  animation: twslidein 560ms var(--omni-ease-out) forwards;
  animation-delay: calc(var(--seq, 0) * 260ms + 320ms);
}

/* --------------------------------------------------------------------------
   3) Cards (module-card / guide-card) — pop do ícone + brilho no hover
   -------------------------------------------------------------------------- */
html.omni-motion:not(.omni-reduce) .module-icon {
  transition: transform 320ms var(--omni-ease-spring), opacity 320ms var(--omni-ease-out);
}

html.omni-motion:not(.omni-reduce) .module-card[data-reveal] .module-icon {
  opacity: 0;
  transform: scale(0.6) rotate(-10deg);
}

html.omni-motion:not(.omni-reduce) .module-card[data-reveal].is-revealed .module-icon {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--reveal-delay, 0ms) + 90ms);
}

html.omni-motion:not(.omni-reduce) .module-card.is-revealed:hover .module-icon {
  transform: translateY(-2px) scale(1.08);
}

html.omni-motion:not(.omni-reduce) .module-card,
html.omni-motion:not(.omni-reduce) .guide-card {
  position: relative;
}

html.omni-motion:not(.omni-reduce) .module-card::before,
html.omni-motion:not(.omni-reduce) .guide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms var(--omni-ease-out);
}

html.omni-motion:not(.omni-reduce) .module-card:hover::before,
html.omni-motion:not(.omni-reduce) .guide-card:hover::before {
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(105, 87, 237, 0.35), 0 18px 40px rgba(105, 87, 237, 0.12);
}

/* --------------------------------------------------------------------------
   4) Micro-interações (botões, links, FAQ, whatsapp float)
   -------------------------------------------------------------------------- */
html.omni-motion:not(.omni-reduce) .button .material-symbols-rounded,
html.omni-motion:not(.omni-reduce) .icon-link .material-symbols-rounded {
  transition: transform 250ms var(--omni-ease-out);
}

html.omni-motion:not(.omni-reduce) .button:hover .material-symbols-rounded,
html.omni-motion:not(.omni-reduce) .icon-link:hover .material-symbols-rounded,
html.omni-motion:not(.omni-reduce) .module-card:hover .icon-link .material-symbols-rounded,
html.omni-motion:not(.omni-reduce) .guide-card:hover .icon-link .material-symbols-rounded {
  transform: translateX(4px);
}

html.omni-motion:not(.omni-reduce) .faq-item summary .material-symbols-rounded {
  transition: transform 260ms var(--omni-ease-out);
}

html.omni-motion:not(.omni-reduce) .faq-item[open] summary .material-symbols-rounded {
  transform: rotate(180deg);
}

html.omni-motion:not(.omni-reduce) .faq-item[open] > p {
  animation: twfade 340ms var(--omni-ease-out);
}

html.omni-motion:not(.omni-reduce) .whatsapp-float {
  animation: twpulseg 2.6s ease-out infinite;
}

/* logos de clientes: entrada escalonada quando a faixa revela */
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img {
  animation: twfade 620ms var(--omni-ease-out) both;
}
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img:nth-child(1) { animation-delay: 60ms; }
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img:nth-child(2) { animation-delay: 130ms; }
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img:nth-child(3) { animation-delay: 200ms; }
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img:nth-child(4) { animation-delay: 270ms; }
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img:nth-child(5) { animation-delay: 340ms; }
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img:nth-child(6) { animation-delay: 410ms; }
html.omni-motion:not(.omni-reduce) .customer-strip.is-revealed .customer-logos img:nth-child(7) { animation-delay: 480ms; }

/* --------------------------------------------------------------------------
   5) Reduced motion — garantia extra (além do gate por classe)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.omni-motion [data-reveal],
  html.omni-motion [data-reveal].is-revealed,
  html.omni-motion [data-float],
  html.omni-motion [data-dash] path,
  html.omni-motion [data-seq],
  html.omni-motion .module-card .module-icon {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}
/* ==========================================================================
   6) HERO — reprodução vetorial FIEL do app OmniSmart (print), animada
   internamente. Estrutura sempre visível; animações só sob html.omni-motion
   e desligadas em prefers-reduced-motion.
   ========================================================================== */
.hero-visual { position: relative; }

.hs-ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hs-ic use { pointer-events: none; }

.hero-shot {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; align-items: stretch;
  background: #fff; border: 1px solid #e4e6ef; border-radius: 13px;
  box-shadow: 0 46px 92px rgba(6, 4, 22, 0.5);
  overflow: hidden;
}

/* ---- Sidebar ---- */
.hs-side { flex: 0 0 132px; width: 132px; padding: 13px 11px; background: #fff; border-right: 1px solid #eef0f6; }
.hs-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hs-brand img { height: 19px; width: auto; }
.hs-collapse { color: #b9bed2; font: 800 13px Poppins, sans-serif; }
.hs-sec { margin: 12px 0 5px; color: #9aa0b4; font: 800 7.5px "Nunito Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.hs-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; margin: 1px 0; border-radius: 7px;
  color: #4a4d63; font: 700 10.5px "Nunito Sans", sans-serif; white-space: nowrap;
}
.hs-item .hs-ic { color: #8189a8; }
.hs-chev { margin-left: auto; width: 12px; height: 12px; color: #c4c8d8; }
.hs-item.is-active { background: linear-gradient(120deg, #6957ed, #4a34c8); color: #fff; box-shadow: 0 8px 18px rgba(74, 52, 200, .3); }
.hs-item.is-active .hs-ic { color: #fff; }

/* ---- Main ---- */
.hs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fbfcff; }
.hs-toolbar { display: flex; align-items: center; padding: 10px 14px; border-bottom: 1px solid #eef0f6; background: #fff; }
.hs-toolbar strong { font: 800 12.5px Poppins, sans-serif; color: #17162b; }
.hs-tools { margin-left: auto; display: flex; gap: 10px; color: #a4abc2; }
.hs-tools .hs-ic:last-child { color: #6957ed; }

.hs-panels { flex: 1; display: flex; min-height: 0; }

/* lista de conversas */
.hs-list { flex: 0 0 152px; width: 152px; border-right: 1px solid #eef0f6; background: #fff; overflow: hidden; }
.hs-listbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; border-bottom: 1px solid #f1f2f8; color: #8a90a8; font: 800 9px "Nunito Sans", sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.hs-listbar .hs-ic { width: 13px; height: 13px; }
.hs-conv { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-bottom: 1px solid #f4f5fa; }
.hs-conv.is-active { background: #f3f0ff; box-shadow: inset 2px 0 0 #6957ed; }
.hs-conv-t { min-width: 0; flex: 1; }
.hs-conv-t b { display: block; font: 800 9.5px Poppins, sans-serif; color: #22233a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-conv-t i { display: block; font: 600 8.5px "Nunito Sans", sans-serif; color: #9aa0b4; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-ch { flex: none; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.hs-ch.wa { background: #25d366; } .hs-ch.tg { background: #29a9eb; } .hs-ch.ig { background: #e1306c; } .hs-ch.fb { background: #1877f2; }

/* avatares */
.hs-av { flex: none; width: 26px; height: 26px; border-radius: 50%; }
.hs-av.av1 { background: linear-gradient(135deg, #6957ed, #2f1c67); }
.hs-av.av2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.hs-av.av3 { background: linear-gradient(135deg, #10b981, #059669); }
.hs-av.av4 { background: linear-gradient(135deg, #ec4899, #db2777); }
.hs-av.av5 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.hs-av.av6 { background: linear-gradient(135deg, #14b8a6, #0d9488); }

/* thread */
.hs-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fbfcff; }
.hs-thread-head { display: flex; align-items: center; gap: 9px; padding: 9px 15px; border-bottom: 1px solid #eef0f6; background: #fff; }
.hs-thread-head .hs-av { width: 30px; height: 30px; }
.hs-thread-id b { display: block; font: 800 11.5px Poppins, sans-serif; color: #17162b; }
.hs-thread-id small { display: flex; align-items: center; gap: 5px; font: 700 9px "Nunito Sans", sans-serif; color: #16a34a; }
.hs-live { width: 6px; height: 6px; border-radius: 50%; background: #2acf69; }

.hs-msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 15px; overflow: hidden; }
.hs-msg { display: flex; align-items: flex-end; gap: 7px; max-width: 90%; }
.hs-msg .hs-av { width: 22px; height: 22px; align-self: flex-start; }
.hs-msg.in { align-self: flex-start; }
.hs-msg.out { align-self: flex-end; }
.hs-msg p { margin: 0; padding: 8px 11px; font: 600 10.5px "Nunito Sans", sans-serif; line-height: 1.42; border-radius: 11px; box-shadow: 0 2px 7px rgba(20, 25, 50, .06); }
.hs-msg.in p { background: #fff; color: #2b2b3d; border: 1px solid #eef0f6; border-bottom-left-radius: 3px; }
.hs-msg.out p { background: #6957ed; color: #fff; border-bottom-right-radius: 3px; }
.hs-agent { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #2f1c67; color: #fff; display: grid; place-items: center; font: 800 8px Poppins, sans-serif; align-self: flex-start; }
.hs-typing { display: inline-flex; gap: 4px; padding: 9px 11px; background: #fff; border: 1px solid #eef0f6; border-radius: 11px; border-bottom-left-radius: 3px; }
.hs-typing i { width: 5px; height: 5px; border-radius: 50%; background: #b9bed2; }

.hs-input { display: flex; align-items: center; gap: 9px; margin: 0 15px 13px; padding: 7px 8px 7px 12px; background: #fff; border: 1px solid #eef0f6; border-radius: 999px; color: #a4abc2; }
.hs-input > span:first-of-type { flex: 1; font: 600 10.5px "Nunito Sans", sans-serif; color: #9aa0b4; }
.hs-send { width: 27px; height: 27px; border-radius: 50%; background: #2f1c67; color: #fff; display: grid; place-items: center; }
.hs-send .hs-ic { width: 13px; height: 13px; }

/* ---- Telefone ---- */
.hs-phone {
  position: absolute; right: -5%; bottom: -7%; z-index: 4;
  width: 148px; padding: 11px 11px 14px;
  background: linear-gradient(160deg, #221a49, #17132f);
  border: 5px solid #100d22; border-radius: 26px;
  box-shadow: 0 30px 60px rgba(6, 4, 22, .5);
}
.hs-phone-notch { width: 42px; height: 5px; border-radius: 3px; background: #100d22; margin: -4px auto 9px; }
.hs-phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.hs-phone-top img { height: 13px; width: auto; filter: brightness(0) invert(1); }
.hs-phone-on { display: inline-flex; align-items: center; gap: 4px; font: 800 8px "Nunito Sans", sans-serif; color: #2de889; }
.hs-phone-on i { width: 5px; height: 5px; border-radius: 50%; background: #2de889; }
.hs-phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.hs-phone-stats div { background: rgba(255, 255, 255, .07); border-radius: 8px; padding: 7px 9px; }
.hs-phone-stats b { display: block; font: 800 14px Poppins, sans-serif; color: #fff; }
.hs-phone-stats small { font: 700 7.5px "Nunito Sans", sans-serif; color: #aab0d6; }
.hs-phone-card { position: relative; background: linear-gradient(135deg, #6957ed, #2f1c67); border-radius: 10px; padding: 11px; margin-bottom: 10px; }
.hs-phone-card b { font: 800 11px Poppins, sans-serif; color: #fff; line-height: 1.25; }
.hs-phone-badge { display: inline-block; margin-top: 8px; background: rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; padding: 3px 9px; font: 800 7.5px "Nunito Sans", sans-serif; }
.hs-phone-msg { display: flex; gap: 4px; margin-bottom: 6px; }
.hs-phone-msg span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.hs-phone-msg.in span:first-child { width: 20px; border-radius: 999px; height: 20px; background: rgba(255, 255, 255, .12); }
.hs-phone-msg.in span:last-child { flex: 1; align-self: center; }
.hs-phone-msg.out { justify-content: flex-end; }
.hs-phone-msg.out span { width: 62%; background: rgba(45, 232, 137, .3); align-self: center; }

/* ---- Animações internas (só com motion ativo, sem reduced-motion) ---- */
html.omni-motion:not(.omni-reduce) .hero-shot { animation: twfloat3 9s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .hs-phone  { animation: twfloat3 7s ease-in-out infinite .5s; }
html.omni-motion:not(.omni-reduce) .hs-live,
html.omni-motion:not(.omni-reduce) .hs-phone-on i { animation: twpulseg 2.4s ease-out infinite; }
html.omni-motion:not(.omni-reduce) .hs-typing i          { animation: twtype 1.3s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .hs-typing i:nth-child(2) { animation-delay: .18s; }
html.omni-motion:not(.omni-reduce) .hs-typing i:nth-child(3) { animation-delay: .36s; }

@media (max-width: 620px) {
  .hs-list { display: none; }
  .hs-phone { width: 118px; right: -2%; }
}
@media (max-width: 460px) {
  .hs-side { flex-basis: 108px; width: 108px; }
  .hs-phone { display: none; }
}

/* ==========================================================================
   7) Demo por segmento — lista + celular que troca com motion
   ========================================================================== */
.seg-demo { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 54px; align-items: center; margin-top: 6px; }

.seg-list { display: flex; flex-direction: column; gap: 12px; }
.seg-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 18px; border: 1px solid var(--omni-line); border-radius: 15px; background: #fff; cursor: pointer; font-family: inherit; transition: border-color .22s var(--omni-ease-out), box-shadow .26s var(--omni-ease-out), transform .2s var(--omni-ease-out); }
.seg-tab:hover { border-color: #cfc7f2; transform: translateY(-2px); }
.seg-ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #f0eefc; color: #6957ed; transition: background .22s, color .22s; }
.seg-ic .hs-ic { width: 23px; height: 23px; stroke-width: 1.85; }
.seg-tx { flex: 1; min-width: 0; }
.seg-tx strong { display: block; font: 800 16px Poppins, sans-serif; color: #17162b; }
.seg-tx small { display: block; margin-top: 2px; font: 600 12.5px "Nunito Sans", sans-serif; color: #6b7089; }
.seg-arrow { flex: none; width: 18px; height: 18px; color: #c8ccdb; transition: transform .2s var(--omni-ease-out), color .2s; }
.seg-tab.is-active { border-color: #6957ed; box-shadow: 0 18px 42px rgba(105, 87, 237, .16); }
.seg-tab.is-active .seg-ic { background: linear-gradient(135deg, #6957ed, #4a34c8); color: #fff; }
.seg-tab.is-active .seg-arrow { color: #6957ed; transform: translateX(3px); }

.seg-stage { position: relative; display: flex; justify-content: center; }
.seg-phone { position: relative; width: 298px; background: #100d22; border: 9px solid #100d22; border-radius: 46px; box-shadow: 0 54px 96px rgba(6, 4, 22, .42); overflow: hidden; }
.seg-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 108px; height: 23px; background: #100d22; border-radius: 0 0 16px 16px; z-index: 6; }
.seg-screen { display: none; flex-direction: column; height: 560px; background: #eef1f8; }
.seg-screen.is-active { display: flex; }

.seg-top { display: flex; align-items: center; gap: 10px; padding: 30px 16px 13px; background: #fff; border-bottom: 1px solid #eef0f6; }
.seg-top-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.seg-top-av .hs-ic { width: 21px; height: 21px; stroke: #fff; }
.seg-top-id { flex: 1; min-width: 0; }
.seg-top-id b { display: block; font: 800 14px Poppins, sans-serif; color: #17162b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg-top-id small { display: flex; align-items: center; gap: 5px; font: 700 10px "Nunito Sans", sans-serif; color: #16a34a; }
.seg-top-id i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #2acf69; }
.seg-top-call { flex: none; width: 20px; height: 20px; color: #a8afc4; }

.seg-body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 16px 14px; overflow: hidden; background: linear-gradient(180deg, #eef1f8, #e6eaf4); }
.seg-msg { max-width: 84%; padding: 9px 12px; border-radius: 14px; font: 600 12px "Nunito Sans", sans-serif; line-height: 1.42; }
.seg-msg.in { align-self: flex-start; background: #fff; color: #2b2b3d; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(20, 25, 50, .06); }
.seg-msg.out { align-self: flex-end; background: var(--acc, #6957ed); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 8px 18px rgba(20, 25, 50, .14); }
.seg-msg b { font-weight: 800; }
.seg-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 13px; background: #fff; border-radius: 14px; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(20, 25, 50, .06); }
.seg-typing i { width: 6px; height: 6px; border-radius: 50%; background: #c2c7d8; }

.seg-input { display: flex; align-items: center; gap: 8px; margin: 0 12px 15px; padding: 9px 9px 9px 15px; background: #fff; border-radius: 999px; box-shadow: 0 2px 8px rgba(20, 25, 50, .05); }
.seg-input span { flex: 1; font: 600 12px "Nunito Sans", sans-serif; color: #9aa0b4; }
.seg-send { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--acc, #6957ed); color: #fff; display: grid; place-items: center; }
.seg-send .hs-ic { width: 15px; height: 15px; }

.seg-stat { position: absolute; left: 4%; bottom: 46px; z-index: 7; display: flex; align-items: center; gap: 11px; background: #17162b; color: #fff; border-radius: 14px; padding: 11px 16px; box-shadow: 0 22px 46px rgba(6, 4, 22, .36); }
.seg-stat-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(45, 232, 137, .16); color: #2de889; display: grid; place-items: center; }
.seg-stat-ic .hs-ic { width: 18px; height: 18px; }
.seg-stat-tx b { display: block; font: 800 13.5px Poppins, sans-serif; }
.seg-stat-tx small { display: block; font: 700 10px "Nunito Sans", sans-serif; color: #aab0d6; }

/* animações internas */
html.omni-motion:not(.omni-reduce) .seg-screen.is-active [data-seq] { opacity: 0; animation: twslidein 520ms var(--omni-ease-out) forwards; animation-delay: calc(var(--seq, 0) * 240ms + 140ms); }
html.omni-motion:not(.omni-reduce) .seg-typing i { animation: twtype 1.3s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .seg-typing i:nth-child(2) { animation-delay: .18s; }
html.omni-motion:not(.omni-reduce) .seg-typing i:nth-child(3) { animation-delay: .36s; }
html.omni-motion:not(.omni-reduce) .seg-top-id i { animation: twpulseg 2.4s ease-out infinite; }
html.omni-motion:not(.omni-reduce) .seg-stat { animation: twfloat2 6s ease-in-out infinite; }

@media (max-width: 900px) {
  .seg-demo { grid-template-columns: 1fr; gap: 34px; }
  .seg-stage { order: -1; }
  .seg-stat { left: auto; right: 2%; }
}
@media (max-width: 460px) {
  .seg-phone { width: 260px; }
  .seg-stat { display: none; }
}

/* ==========================================================================
   8) Kanban vetorial (seção "Organize cada conversa")
   ========================================================================== */
.kb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; }
.kb-col { background: #eef1f8; border-radius: 13px; padding: 11px 9px; min-width: 0; }
.kb-col-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 3px 6px 11px; }
.kb-col-head span { font: 800 11px Poppins, sans-serif; color: #3a3d55; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-col-head em { flex: none; font-style: normal; font: 800 10px "Nunito Sans", sans-serif; color: #8a90a8; background: #fff; border-radius: 999px; padding: 2px 8px; }
.kb-card { display: flex; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid #eef0f6; border-radius: 11px; padding: 9px; margin-bottom: 8px; box-shadow: 0 2px 7px rgba(20, 25, 50, .05); }
.kb-card:last-child { margin-bottom: 0; }
.kb-av { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; }
.kb-ch { position: absolute; bottom: -1px; left: -3px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; }
.kb-ch.wa { background: #25d366; } .kb-ch.tg { background: #29a9eb; } .kb-ch.ig { background: #e1306c; } .kb-ch.fb { background: #1877f2; }
.kb-cb { flex: 1; min-width: 0; }
.kb-tag { display: inline-flex; align-items: center; gap: 3px; font: 700 8px "Nunito Sans", sans-serif; color: #aab0c4; }
.kb-tag .hs-ic { width: 10px; height: 10px; stroke-width: 2; }
.kb-cb b { display: block; margin: 1px 0; font: 800 11px Poppins, sans-serif; color: #22233a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-cb i { display: block; font-style: normal; font: 600 9.5px "Nunito Sans", sans-serif; color: #9aa0b4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-check { flex: none; width: 15px; height: 15px; color: #cdd2e0; margin-top: 3px; }
.kb-col-done .kb-check { color: #22c55e; }

/* pulso sutil só no primeiro card de cada coluna (canal "ativo") */
html.omni-motion:not(.omni-reduce) .kb-col .kb-card:first-of-type .kb-ch { animation: twpulseg 3.2s ease-out infinite; }

@media (max-width: 640px) {
  .kb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-col:nth-child(n+3) { display: none; }
}

/* ==========================================================================
   9) Fluxo de automação vetorial (seção "faz o processo andar")
   ========================================================================== */
.flow { position: relative; width: 100%; height: 430px; }
.flow-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; max-width: 232px; background: #fff; border-radius: 13px; padding: 12px 15px; box-shadow: 0 24px 48px rgba(6, 4, 22, .42); }
.flow-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.flow-ic .hs-ic { width: 22px; height: 22px; }
.flow-ic.g { background: #eeeafd; color: #2f1c67; }
.flow-ic.t { background: #fff2e3; color: #f97316; }
.flow-ic.w { background: #e7f6ec; color: #16a34a; }
.flow-ic.a { background: #f0eefc; color: #6957ed; }
.flow-tx { min-width: 0; }
.flow-k { display: block; margin-bottom: 2px; font: 800 8.5px "Nunito Sans", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #9aa0b4; }
.flow-tx b { display: block; font: 700 12.5px Poppins, sans-serif; color: #22233a; line-height: 1.32; }
.flow-tx .hl { display: inline; color: #2f1c67; font-weight: 800; }
.fn1 { top: 3%; left: 0; }
.fn2 { bottom: 3%; left: 5%; }
.fn3 { top: 9%; right: 0; }
.fn4 { bottom: 13%; right: 5%; }

html.omni-motion:not(.omni-reduce) .flow-wire path { animation: twdash 20s linear infinite; }
html.omni-motion:not(.omni-reduce) .fn1 { animation: twfloat 7s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .fn2 { animation: twfloat2 6s ease-in-out infinite .4s; }
html.omni-motion:not(.omni-reduce) .fn3 { animation: twfloat 6.6s ease-in-out infinite .2s; }
html.omni-motion:not(.omni-reduce) .fn4 { animation: twfloat3 5.6s ease-in-out infinite .6s; }
html.omni-motion:not(.omni-reduce) .flow-ic.w { animation: twpulseg 2.6s ease-out infinite; }

@media (max-width: 560px) {
  .flow { height: 380px; }
  .flow-node { max-width: 190px; padding: 10px 12px; }
  .flow-tx b { font-size: 11px; }
}

/* ==========================================================================
   10) Painel "Principais funções" vetorial (seção IA)
   ========================================================================== */
.fx { position: relative; border-radius: 18px; padding: 28px 24px 116px; background: linear-gradient(160deg, #6957ed 0%, #3a2a9c 100%); overflow: hidden; box-shadow: var(--omni-shadow, 0 20px 50px rgba(22, 20, 50, .11)); }
.fx-kicker { position: relative; z-index: 2; display: block; text-align: center; margin-bottom: 24px; font: 800 21px Poppins, sans-serif; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.fx-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 12px; }
.fx-tile { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.fx-ic { width: 58px; height: 58px; border-radius: 16px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.fx-ic .hs-ic { width: 27px; height: 27px; stroke: #fff; }
.fx-tile small { font: 800 11px "Nunito Sans", sans-serif; line-height: 1.25; color: #fff; }

.fx-chat { position: absolute; z-index: 3; background: #fff; border-radius: 11px; padding: 9px 12px; box-shadow: 0 18px 36px rgba(6, 4, 22, .32); }
.fx-chat-1 { left: 5%; bottom: 26%; display: flex; align-items: center; gap: 9px; }
.fx-chat-av { flex: none; width: 27px; height: 27px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b, #ef4444); }
.fx-chat-tx b { display: block; font: 800 10px Poppins, sans-serif; color: #17162b; }
.fx-chat-tx i { display: block; font-style: normal; font: 600 9px "Nunito Sans", sans-serif; color: #9aa0b4; }
.fx-chat-2 { right: 5%; bottom: 7%; max-width: 190px; }
.fx-chat-msg { display: block; font: 600 10px "Nunito Sans", sans-serif; color: #3a3d55; line-height: 1.4; }
.fx-chat-2 time { display: block; margin-top: 3px; text-align: right; font: 700 8px "Nunito Sans", sans-serif; color: #c4c8d8; }

.fx-sq { position: absolute; z-index: 1; border-radius: 9px; }
.fx-sq1 { width: 66px; height: 66px; background: rgba(45, 232, 137, .38); left: 12%; bottom: 12%; }
.fx-sq2 { width: 44px; height: 44px; background: rgba(255, 255, 255, .12); right: 16%; top: 44%; }
.fx-sq3 { width: 54px; height: 54px; background: rgba(23, 22, 43, .22); right: 8%; bottom: 30%; }
.fx-sq4 { width: 38px; height: 38px; background: rgba(45, 232, 137, .28); left: 4%; top: 40%; }

html.omni-motion:not(.omni-reduce) .fx-chat-1 { animation: twfloat2 5.6s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .fx-chat-2 { animation: twfloat 6.4s ease-in-out infinite .5s; }
html.omni-motion:not(.omni-reduce) .fx-sq1 { animation: twfloat3 7s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .fx-sq2 { animation: twfloat3 6s ease-in-out infinite .8s; }
html.omni-motion:not(.omni-reduce) .fx-sq3 { animation: twfloat3 8s ease-in-out infinite .3s; }
html.omni-motion:not(.omni-reduce) .fx-sq4 { animation: twfloat2 6.6s ease-in-out infinite .6s; }

/* ==========================================================================
   11) Jornada animada (seção "Um cliente. Uma história.")
   Destaque percorre os passos 1→2→3→4 em loop.
   ========================================================================== */
.journey-step { transition: border-color .35s var(--omni-ease-out), box-shadow .35s var(--omni-ease-out), transform .35s var(--omni-ease-out); overflow: hidden; }
.journey-num { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #eef0f6; color: #9096ac; font: 800 11px Poppins, sans-serif; transition: background .35s, color .35s, transform .35s var(--omni-ease-spring); }
.journey-icon { transition: transform .35s var(--omni-ease-spring), background .35s, color .35s; }
/* barra de progresso na base do card */
.journey-step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #6957ed, #2de889); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--omni-ease-out); }

/* passo ATIVO (percorre 1->2->3->4 via JS .is-on) */
html.omni-motion:not(.omni-reduce) .journey-step.is-on { border-color: #6957ed; box-shadow: 0 22px 46px rgba(105, 87, 237, .2); transform: translateY(-5px); }
html.omni-motion:not(.omni-reduce) .journey-step.is-on .journey-icon { background: linear-gradient(135deg, #6957ed, #2f1c67) !important; color: #fff !important; transform: scale(1.1); }
html.omni-motion:not(.omni-reduce) .journey-step.is-on .journey-num { background: linear-gradient(135deg, #2de889, #10b981); color: #06301d; transform: scale(1.14); }
html.omni-motion:not(.omni-reduce) .journey-step.is-on::after { transform: scaleX(1); }
/* passos já percorridos ficam com a barra cheia (marca de progresso) */
html.omni-motion:not(.omni-reduce) .journey-step.is-done::after { transform: scaleX(1); opacity: .4; }
html.omni-motion:not(.omni-reduce) .journey-step.is-done .journey-num { background: #e7f6ec; color: #16a34a; }

/* ==========================================================================
   12) Kanban — card viajando entre os funis
   ========================================================================== */
.kb { position: relative; }
.kb-fly { position: absolute; top: 44px; left: 1%; width: 22.5%; display: flex; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid #cfc4f2; border-radius: 11px; padding: 9px; box-shadow: 0 22px 42px rgba(105, 87, 237, .32); z-index: 6; opacity: 0; }
.kb-fly .kb-cb i { color: #6957ed; font-weight: 700; }
html.omni-motion:not(.omni-reduce) .kb-fly { animation: kbFly 9s cubic-bezier(.55, 0, .25, 1) infinite; }
@keyframes kbFly {
  0%  { left: 1%;  opacity: 0; transform: translateY(0) rotate(-3deg) scale(.96); }
  4%  { opacity: 1; }
  11% { left: 1%;  transform: translateY(0) rotate(0) scale(1); }
  17% { transform: translateY(-12px) rotate(3deg) scale(1.05); }
  25% { left: 26%; transform: translateY(0) rotate(0) scale(1); }
  42% { left: 26%; }
  47% { transform: translateY(-12px) rotate(3deg) scale(1.05); }
  55% { left: 50.5%; transform: translateY(0) rotate(0) scale(1); }
  70% { left: 50.5%; }
  75% { transform: translateY(-12px) rotate(3deg) scale(1.05); }
  84% { left: 75%; opacity: 1; transform: translateY(0) rotate(0) scale(1); }
  93% { opacity: 0; }
  100%{ left: 75%; opacity: 0; }
}
@media (max-width: 640px) { .kb-fly { display: none; } }

/* ==========================================================================
   13) Divisão das seções por cores (ritmo visual) + polish
   ========================================================================== */
#plataforma { background: #ffffff; }
#solucoes   { background: linear-gradient(180deg, #f5f3fd 0%, #f8f6ff 100%); }
.product-band { background: #ffffff; }
#ia         { background: linear-gradient(180deg, #f4f7ff 0%, #eef2fb 100%); }
#equipes    { background: linear-gradient(180deg, #edf9f2 0%, #f4fbf7 100%); }
#clientes   { background: #f6f7fb; }
#cases      { background: #ffffff; }
#conteudos  { background: linear-gradient(180deg, #f5f3fd 0%, #f9f7ff 100%); }
#midia      { background: linear-gradient(180deg, #edf9f2 0%, #f5fbf8 100%); }
#faq        { background: #f6f7fb; }

/* faixa fina de destaque no topo das seções coloridas, para separar melhor */
#solucoes, #equipes, #conteudos, #midia, #clientes, #faq { position: relative; }

/* eyebrow com traço animado ao revelar */
.eyebrow { position: relative; }

/* ==========================================================================
   14) Hero — celular de IA de VOZ (substitui o card de marketing)
   ========================================================================== */
.vp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.vp-top img { height: 12px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.vp-tag { display: inline-flex; align-items: center; gap: 3px; font: 800 7.5px "Nunito Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #2de889; }
.vp-tag .hs-ic { width: 11px; height: 11px; fill: #2de889; stroke: none; }

.vp-caller { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.vp-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b, #ef4444); }
.vp-caller-tx b { display: block; font: 800 11px Poppins, sans-serif; color: #fff; }
.vp-caller-tx small { display: block; font: 700 8px "Nunito Sans", sans-serif; color: #aab0d6; }

.vp-orb { position: relative; width: 78px; height: 78px; margin: 4px auto 12px; display: grid; place-items: center; }
.vp-ring { position: absolute; inset: 6px; border-radius: 50%; border: 2px solid rgba(45, 232, 137, .55); }
.vp-orb-core { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #7a68f2, #2f1c67); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(105, 87, 237, .55); }
.vp-orb-core .hs-ic { width: 24px; height: 24px; stroke: #fff; }

.vp-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 28px; margin-bottom: 11px; }
.vp-wave i { width: 3px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #2de889, #6957ed); transform: scaleY(.28); transform-origin: center; }

.vp-caption { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 13px; font: 700 8.5px "Nunito Sans", sans-serif; color: #dcd8f0; text-align: center; }
.vp-live { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #2de889; }

.vp-ctrls { display: flex; align-items: center; justify-content: center; gap: 12px; }
.vp-btn { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.vp-btn .hs-ic { width: 16px; height: 16px; stroke: #fff; }
.vp-end { width: 42px; height: 42px; background: #f14253; box-shadow: 0 10px 22px rgba(241, 66, 83, .5); }
.vp-end .hs-ic { width: 21px; height: 21px; fill: #fff; stroke: none; }

@keyframes vpRing { 0% { transform: scale(.55); opacity: .75; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes vpBar  { 0%, 100% { transform: scaleY(.28); } 50% { transform: scaleY(1); } }
html.omni-motion:not(.omni-reduce) .vp-ring { animation: vpRing 2.4s ease-out infinite; }
html.omni-motion:not(.omni-reduce) .vp-ring:nth-child(2) { animation-delay: 1.2s; }
html.omni-motion:not(.omni-reduce) .vp-orb-core { animation: twpulseg 2.6s ease-out infinite; }
html.omni-motion:not(.omni-reduce) .vp-live { animation: twpulseg 2s ease-out infinite; }
html.omni-motion:not(.omni-reduce) .vp-wave i { animation: vpBar 1.05s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(1)  { animation-delay: -.9s;  }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(2)  { animation-delay: -.2s;  }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(3)  { animation-delay: -.6s;  }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(4)  { animation-delay: -.35s; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(5)  { animation-delay: -.75s; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(6)  { animation-delay: -.1s;  }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(7)  { animation-delay: -.5s;  }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(8)  { animation-delay: -.85s; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(9)  { animation-delay: -.25s; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(10) { animation-delay: -.65s; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(11) { animation-delay: -.15s; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(12) { animation-delay: -.55s; }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(13) { animation-delay: -.8s;  }
html.omni-motion:not(.omni-reduce) .vp-wave i:nth-child(14) { animation-delay: -.3s;  }

/* ==========================================================================
   15) Hero — realismo do app (iniciais nos avatares + recibos de leitura)
   ========================================================================== */
.hs-av { display: grid; place-items: center; }
.hs-av::after { content: attr(data-i); color: #fff; font: 800 9px Poppins, sans-serif; }
.hs-thread-head .hs-av::after { font-size: 11px; }
.hs-conv .hs-av::after { font-size: 9.5px; }
.hs-msg .hs-av::after { font-size: 8px; }
.hs-time { float: right; display: inline-flex; align-items: center; gap: 2px; margin: 5px -2px -2px 10px; font: 700 8px "Nunito Sans", sans-serif; color: rgba(255, 255, 255, .72); }
.hs-time .hs-read { width: 13px; height: 13px; stroke: #52e6a6; }

/* ==========================================================================
   16) Painel de funções — card de IA de voz (junto do chat)
   ========================================================================== */
.fx-voice { position: absolute; z-index: 4; right: 3%; top: 39%; display: flex; align-items: center; gap: 9px; background: #17162b; color: #fff; border-radius: 12px; padding: 8px 13px 8px 9px; box-shadow: 0 18px 36px rgba(6, 4, 22, .38); }
.fx-voice-orb { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #7a68f2, #2f1c67); display: grid; place-items: center; }
.fx-voice-orb .hs-ic { position: relative; z-index: 2; width: 15px; height: 15px; stroke: #fff; }
.fx-voice-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(45, 232, 137, .6); }
.fx-voice-tx b { display: block; font: 800 10.5px Poppins, sans-serif; }
.fx-voice-wave { display: flex; align-items: center; gap: 2px; height: 12px; margin-top: 4px; }
.fx-voice-wave i { width: 2px; height: 100%; border-radius: 2px; background: #2de889; transform: scaleY(.3); transform-origin: center; }
html.omni-motion:not(.omni-reduce) .fx-voice { animation: twfloat3 6s ease-in-out infinite .3s; }
html.omni-motion:not(.omni-reduce) .fx-voice-ring { animation: vpRing 2.4s ease-out infinite; }
html.omni-motion:not(.omni-reduce) .fx-voice-wave i { animation: vpBar 1s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(1){animation-delay:-.7s}
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(2){animation-delay:-.2s}
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(3){animation-delay:-.5s}
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(4){animation-delay:-.9s}
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(5){animation-delay:-.3s}
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(6){animation-delay:-.6s}
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(7){animation-delay:-.15s}
html.omni-motion:not(.omni-reduce) .fx-voice-wave i:nth-child(8){animation-delay:-.45s}

/* ==========================================================================
   17) Mockups vetoriais das abas por equipe (#equipes)
   ========================================================================== */
.tab-panel figure { margin: 0; width: 100%; }
.tm { width: 100%; background: #fff; border: 1px solid #e6e8f2; border-radius: 14px; box-shadow: 0 30px 62px rgba(20, 25, 50, .13); overflow: hidden; }
.tm-bar { display: flex; align-items: center; gap: 6px; padding: 11px 15px; border-bottom: 1px solid #eef0f6; background: #fbfcff; }
.tm-dot { width: 9px; height: 9px; border-radius: 50%; }
.tm-dot.r { background: #f14253; } .tm-dot.y { background: #f5b53f; } .tm-dot.g { background: #2acf69; }
.tm-title { margin-left: 8px; font: 800 12px Poppins, sans-serif; color: #3a3d55; }
.tm-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 800 9.5px "Nunito Sans", sans-serif; color: #6b7089; background: #f1f2f8; border-radius: 999px; padding: 3px 9px; }
.tm-badge-up { color: #16a34a; background: #e7f6ec; }
.tm-body { padding: 14px; }

/* inbox (Atendimento) */
.tm-inbox { display: flex; flex-direction: column; gap: 4px; }
.tm-conv { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; }
.tm-conv.is-on { background: #f3f0ff; box-shadow: inset 2px 0 0 #6957ed; }
.tm-conv .hs-av { width: 36px; height: 36px; }
.tm-conv .hs-av::after { font-size: 11px; }
.tm-ct { flex: 1; min-width: 0; }
.tm-ct b { display: block; font: 800 13px Poppins, sans-serif; color: #22233a; }
.tm-ct i { display: block; font-style: normal; font: 600 11px "Nunito Sans", sans-serif; color: #9aa0b4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-un { flex: none; width: 20px; height: 20px; display: grid; place-items: center; background: #6957ed; color: #fff; border-radius: 999px; font: 800 9.5px "Nunito Sans", sans-serif; }

/* pipeline (Vendas) */
.tm-pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tm-stage { background: #f5f6fb; border-radius: 11px; padding: 9px 8px; }
.tm-stage-win { background: #eafaf1; }
.tm-stage-h { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 9px; font: 800 10.5px Poppins, sans-serif; color: #3a3d55; }
.tm-stage-h em { font-style: normal; font: 800 9px "Nunito Sans", sans-serif; color: #8a90a8; background: #fff; border-radius: 999px; padding: 1px 7px; }
.tm-deal { background: #fff; border: 1px solid #eef0f6; border-radius: 9px; padding: 8px 9px; margin-bottom: 7px; }
.tm-deal:last-child { margin-bottom: 0; }
.tm-deal b { display: block; font: 800 10.5px Poppins, sans-serif; color: #22233a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-val { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font: 700 9.5px "Nunito Sans", sans-serif; color: #6b7089; }
.tm-val-win { color: #16a34a; }
.tm-val-win .hs-ic { width: 11px; height: 11px; stroke: #16a34a; }

/* dashboard (Gestão) */
.tm-dash { display: flex; flex-direction: column; gap: 12px; }
.tm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.tm-kpis > div { background: #f5f6fb; border-radius: 10px; padding: 10px 11px; }
.tm-kpis b { display: block; font: 800 17px Poppins, sans-serif; color: #17162b; }
.tm-kpis small { font: 700 8.5px "Nunito Sans", sans-serif; color: #8a90a8; }
.tm-kpi-hi { background: linear-gradient(135deg, #6957ed, #2f1c67) !important; }
.tm-kpi-hi b, .tm-kpi-hi small { color: #fff; }
.tm-chart-wrap { background: #f5f6fb; border-radius: 11px; padding: 11px 12px; }
.tm-chart-h { display: flex; justify-content: space-between; font: 700 9.5px "Nunito Sans", sans-serif; color: #5a6178; margin-bottom: 9px; }
.tm-chart-up { color: #16a34a; font-weight: 800; }
.tm-chart { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.tm-chart i { flex: 1; height: var(--h); background: #d8d1f4; border-radius: 4px; }
.tm-chart .tm-bar-g { background: #2de889; }
.tm-legend { display: flex; flex-wrap: wrap; gap: 12px; font: 700 9.5px "Nunito Sans", sans-serif; color: #5a6178; }
.tm-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.tm-lg.wa { background: #25d366; } .tm-lg.vo { background: #6957ed; } .tm-lg.ch { background: #f5b53f; }

/* workflow (Processos) */
.tm-wf { display: flex; flex-direction: column; }
.tm-step { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid #eef0f6; border-radius: 11px; padding: 10px 13px; box-shadow: 0 2px 8px rgba(20, 25, 50, .05); }
.tm-step-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.tm-step-ic .hs-ic { width: 20px; height: 20px; }
.tm-step-ic.g { background: #eeeafd; color: #2f1c67; } .tm-step-ic.b { background: #eaf1ff; color: #2f6df6; } .tm-step-ic.w { background: #e7f6ec; color: #16a34a; } .tm-step-ic.d { background: #eafaf1; color: #16a34a; }
.tm-step-tx small { display: block; font: 800 8px "Nunito Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #9aa0b4; }
.tm-step-tx b { display: block; font: 700 11.5px Poppins, sans-serif; color: #22233a; }
.tm-link { width: 2px; height: 15px; margin: 3px 0 3px 31px; background: repeating-linear-gradient(#c9cfe0 0 3px, transparent 3px 7px); }
.tm-step-done { border-color: #b8ecca; background: #f5fdf8; }

/* animação: barras do gráfico sobem quando a aba fica ativa */
html.omni-motion:not(.omni-reduce) .tab-panel.is-active .tm-chart i { transform-origin: bottom; animation: tmGrow .7s var(--omni-ease-out) both; }
html.omni-motion:not(.omni-reduce) .tab-panel.is-active .tm-chart i:nth-child(2) { animation-delay: .06s; }
html.omni-motion:not(.omni-reduce) .tab-panel.is-active .tm-chart i:nth-child(3) { animation-delay: .12s; }
html.omni-motion:not(.omni-reduce) .tab-panel.is-active .tm-chart i:nth-child(4) { animation-delay: .18s; }
html.omni-motion:not(.omni-reduce) .tab-panel.is-active .tm-chart i:nth-child(5) { animation-delay: .24s; }
html.omni-motion:not(.omni-reduce) .tab-panel.is-active .tm-chart i:nth-child(6) { animation-delay: .30s; }
html.omni-motion:not(.omni-reduce) .tab-panel.is-active .tm-chart i:nth-child(7) { animation-delay: .36s; }
@keyframes tmGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ==========================================================================
   18) Polish + motion extra
   ========================================================================== */
/* Hero: orbs de luz ambiente ao fundo */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(52px); }
.hero::before { width: 360px; height: 360px; background: radial-gradient(circle, rgba(105, 87, 237, .55), transparent 70%); top: -90px; left: -70px; }
.hero::after { width: 320px; height: 320px; background: radial-gradient(circle, rgba(45, 232, 137, .20), transparent 70%); bottom: -130px; left: 28%; }
html.omni-motion:not(.omni-reduce) .hero::before { animation: twblob 16s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .hero::after { animation: twblob 21s ease-in-out infinite reverse; }

/* Números: count-up com dígitos tabulares */
.number-value .num { font-variant-numeric: tabular-nums; }

/* Depoimentos: hover lift + estrelas surgindo */
.testimonial { transition: transform .25s var(--omni-ease-out), box-shadow .25s var(--omni-ease-out); }
html.omni-motion:not(.omni-reduce) .testimonial:hover { transform: translateY(-4px); box-shadow: 0 26px 52px rgba(27, 19, 62, .13); }
html.omni-motion:not(.omni-reduce) .testimonial.is-revealed .stars .material-symbols-rounded { animation: twpop .42s var(--omni-ease-spring) both; }
html.omni-motion:not(.omni-reduce) .testimonial.is-revealed .stars .material-symbols-rounded:nth-child(2) { animation-delay: .06s; }
html.omni-motion:not(.omni-reduce) .testimonial.is-revealed .stars .material-symbols-rounded:nth-child(3) { animation-delay: .12s; }
html.omni-motion:not(.omni-reduce) .testimonial.is-revealed .stars .material-symbols-rounded:nth-child(4) { animation-delay: .18s; }
html.omni-motion:not(.omni-reduce) .testimonial.is-revealed .stars .material-symbols-rounded:nth-child(5) { animation-delay: .24s; }
@keyframes twpop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Números e cards de guia: hover lift extra */
html.omni-motion:not(.omni-reduce) .guide-card { transition: transform .25s var(--omni-ease-out), border-color .2s, box-shadow .25s; }
html.omni-motion:not(.omni-reduce) .guide-card:hover { transform: translateY(-4px); border-color: #bcb4e5; box-shadow: 0 20px 44px rgba(27, 19, 62, .12); }

/* Botões: brilho passando ao hover */
.button-primary, .button-brand { position: relative; overflow: hidden; }
.button-primary::after, .button-brand::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
html.omni-motion:not(.omni-reduce) .button-primary:hover::after, html.omni-motion:not(.omni-reduce) .button-brand:hover::after { animation: btnShine .7s ease-out; }
@keyframes btnShine { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 0; } }

/* Avatar do chamador (IA de voz): silhueta de pessoa em vez de círculo chapado */
.vp-av { background: rgba(255, 255, 255, .12) !important; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.vp-av .hs-ic { width: 19px; height: 19px; stroke: rgba(255, 255, 255, .78); }

/* ==========================================================================
   19) Polish das seções: módulos, depoimentos, contato, rodapé
   ========================================================================== */
/* 24 módulos: barra de destaque no topo ao hover */
html.omni-motion:not(.omni-reduce) .module-card::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #6957ed, #2de889);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--omni-ease-out);
}
html.omni-motion:not(.omni-reduce) .module-card:hover::after { transform: scaleX(1); }

/* Depoimentos: avatar + aspa decorativa */
.testimonial { position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: 4px; right: 22px; font: 800 64px Poppins, sans-serif; line-height: 1; color: #efedfb; pointer-events: none; }
.testimonial footer { display: flex; align-items: center; gap: 12px; }
.tst-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 14px Poppins, sans-serif; }
.tst-av::after { content: attr(data-i); }
.tst-av.av1 { background: linear-gradient(135deg, #6957ed, #2f1c67); }
.tst-av.av3 { background: linear-gradient(135deg, #10b981, #059669); }
.tst-av.av5 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.tst-who strong { display: block; }

/* Contato: foco nos campos + hover nos canais */
.contact-card .field input, .contact-card .field textarea { transition: border-color .2s var(--omni-ease-out), box-shadow .2s var(--omni-ease-out); }
.contact-card .field input:focus, .contact-card .field textarea:focus { border-color: #6957ed; box-shadow: 0 0 0 3px rgba(105, 87, 237, .16); outline: none; }
.contact-channel { transition: transform .2s var(--omni-ease-out), background .2s; }
html.omni-motion:not(.omni-reduce) .contact-channel:hover { transform: translateY(-2px); }

/* Rodapé: leve elevação nos ícones sociais e nos links */
html.omni-motion:not(.omni-reduce) .omni-global-socials a { transition: transform .2s var(--omni-ease-out), border-color .2s, color .2s; }
html.omni-motion:not(.omni-reduce) .omni-global-socials a:hover { transform: translateY(-2px); }
html.omni-motion:not(.omni-reduce) .omni-global-footer-links a { transition: color .18s, padding-left .2s var(--omni-ease-out); }
html.omni-motion:not(.omni-reduce) .omni-global-footer-links a:hover { padding-left: 4px; }

/* ==========================================================================
   20) Sublinhado estilizado (pincel) — padrão reutilizável
   ========================================================================== */
.omni-underline {
  padding: 0 .04em .14em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9C28 3.5 62 3.5 92 7c14 1.6 21 .6 26-1.5' fill='none' stroke='%232de889' stroke-width='5.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% .36em;
}
html.omni-motion:not(.omni-reduce) [data-reveal].is-revealed .omni-underline,
html.omni-motion:not(.omni-reduce) .hero-copy.is-revealed .omni-underline {
  animation: omniUnderline .8s var(--omni-ease-out) .25s both;
}
@keyframes omniUnderline {
  from { background-size: 0% .36em; }
  to   { background-size: 100% .36em; }
}

/* ==========================================================================
   21) Divisão de seções — ritmo claro branco <-> tom (revisado)
   Garante que nenhuma seção clara fique igual à vizinha; tons perceptíveis.
   ========================================================================== */
.customer-strip { background: #fff; }
#plataforma     { background: #fff; }
.product-band   { background: #fff; }
#ia             { background: #fff; }
.numbers        { background: #fff; }
#cases          { background: #fff; }
#midia          { background: #fff; }

#solucoes       { background: #f2eff9; }   /* lavanda */
#equipes        { background: #eaf6f0; }   /* menta   */
#clientes       { background: #f2eff9; }   /* lavanda */
#conteudos      { background: #eaf6f0; }   /* menta   */
#faq            { background: #f2eff9; }   /* lavanda */

/* hairline sutil de separação em todas as seções claras (some sobre as escuras) */
.customer-strip, #plataforma, #solucoes, .product-band, #ia, #equipes,
.numbers, #clientes, #cases, #conteudos, #midia, #faq {
  border-top: 1px solid rgba(23, 22, 43, .055);
}

/* Botão flutuante do WhatsApp: logo maior/mais visível (home) */
.whatsapp-float { width: 58px; height: 58px; }
.whatsapp-float svg { width: 31px; height: 31px; display: block; }

/* ==========================================================================
   22) Plataforma modular — agrupado por categoria (menos poluído)
   ========================================================================== */
.module-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.module-cat { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--omni-line); border-radius: 14px; background: var(--omni-white); transition: border-color .18s var(--omni-ease-out), box-shadow .22s var(--omni-ease-out), transform .2s var(--omni-ease-out); }
.module-cat:hover { border-color: #cfc7f2; box-shadow: 0 18px 40px rgba(27, 19, 62, .09); transform: translateY(-3px); }
.module-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.module-cat-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eeeafd; color: var(--omni-brand); }
.module-cat-head h3 { margin: 0; font: 800 17px Poppins, sans-serif; color: var(--omni-ink); }
.module-cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.module-cat-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 8px; color: #3d4257; font: 700 14px "Nunito Sans", sans-serif; text-decoration: none; transition: background .15s, color .15s; }
.module-cat-list a:hover { background: var(--omni-soft); color: var(--omni-brand); }
.module-cat-list a .material-symbols-rounded { font-size: 16px; color: #c4c8d8; transition: transform .2s var(--omni-ease-out), color .2s; }
.module-cat-list a:hover .material-symbols-rounded { color: var(--omni-brand); transform: translateX(3px); }
.module-cat:nth-child(2) .module-cat-ic { background: #eaf1ff; color: var(--omni-blue); }
.module-cat:nth-child(3) .module-cat-ic { background: var(--omni-soft-green); color: var(--omni-green-dark); }
.module-cat:nth-child(4) .module-cat-ic { background: #f0eefc; color: var(--omni-violet); }
.module-cat:nth-child(5) .module-cat-ic { background: #e7f6ec; color: #16a34a; }
.module-cat:nth-child(6) .module-cat-ic { background: #fff0ed; color: var(--omni-coral); }
@media (max-width: 900px) { .module-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .module-cats { grid-template-columns: 1fr; } }

/* ==========================================================================
   23) Hero — playback ao vivo do chat (atendimento omnichannel em loop)
   ========================================================================== */
html.omni-motion:not(.omni-reduce) .hs-msgs.is-live .hs-msg { display: none; animation: none; opacity: 1; }
html.omni-motion:not(.omni-reduce) .hs-msgs.is-live .hs-msg.show { display: flex; animation: twslidein 460ms var(--omni-ease-out) both; }
.hs-typing-live { align-self: flex-start; display: none; }
.hs-typing-live.on { display: inline-flex; }
.hs-typing-live.out { align-self: flex-end; }
.hs-typing-live .bubble { display: inline-flex; gap: 4px; padding: 10px 12px; background: #fff; border: 1px solid #eef0f6; border-radius: 12px; border-bottom-left-radius: 3px; box-shadow: 0 2px 7px rgba(20, 25, 50, .06); }
.hs-typing-live.out .bubble { background: #ece9fb; border-color: #ddd7f7; border-bottom-left-radius: 12px; border-bottom-right-radius: 3px; }
.hs-typing-live .bubble i { width: 5px; height: 5px; border-radius: 50%; background: #b7bcd0; }
html.omni-motion:not(.omni-reduce) .hs-typing-live.on .bubble i { animation: twtype 1.25s ease-in-out infinite; }
html.omni-motion:not(.omni-reduce) .hs-typing-live.on .bubble i:nth-child(2) { animation-delay: .16s; }
html.omni-motion:not(.omni-reduce) .hs-typing-live.on .bubble i:nth-child(3) { animation-delay: .32s; }
/* dot de canal da conversa ativa pulsa (atividade omnichannel) */
html.omni-motion:not(.omni-reduce) .hs-conv.is-active .hs-ch { animation: twpulseg 2.6s ease-out infinite; }

/* Correção: app do hero com altura fixa (não cresce); mensagens rolam de baixo */
.hero-shot { height: 412px; }
.hs-side { overflow: hidden; }
.hs-main, .hs-panels, .hs-thread, .hs-msgs { min-height: 0; }
.hs-msgs { justify-content: flex-end; }

/* ==========================================================================
   24) Depoimentos — tratamento mais premium
   ========================================================================== */
.testimonial { border-radius: 14px; box-shadow: 0 12px 32px rgba(23, 22, 43, .06); padding: 26px 26px 24px; }
html.omni-motion .testimonial .stars, .testimonial .stars .material-symbols-rounded { color: #f5b53f; }
.testimonial .stars .material-symbols-rounded { font-size: 19px; }
.testimonial blockquote { font-size: 15.5px; line-height: 1.65; color: #33374b; }
.testimonial::before { color: #eceafa; font-size: 70px; top: 10px; right: 24px; }
.testimonial .tst-av { box-shadow: 0 8px 18px rgba(20, 25, 50, .16); }
