/* =========================================================================
   IDX · site institucional
   BASE: o CSS da home IDX (templates/website/index.html, commit HEAD de 2026-09),
   copiado sem mudanças. É a identidade do site: violeta #4E26DE, Urbanist, botão
   pílula, cartão 16px, janelas de produto no padrão do CRM, seção .night.
   Tudo que é novo vem DEPOIS, no bloco "Extensões", e reusa os mesmos tokens.
   ========================================================================= */

/* =========================================================
   IDX — home
   Marca: violeta #4E26DE + Urbanist. Neutros puxados pro violeta
   (não slate), pra que corpo de texto e marca sejam da mesma família.
   Regra de forma: botão = pílula · cartão = 16px · controle = 8–12px.
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --paper: #FFFFFF;
  --paper-card: #FFFFFF;
  --paper-soft: #F8F7FC;
  --paper-2: #F1EFF8;
  --paper-3: #E4E0F0;

  --ink: #140C33;
  --ink-2: #3D3955;
  --ink-3: #5C5873;
  --ink-4: #736F87;           /* menor tom que ainda passa 4.5:1 no branco */
  --line: #E8E5F0;
  --line-2: #D7D2E4;

  --accent: #4E26DE;
  --accent-deep: #3A1CB0;
  --accent-soft: #EFEBFD;
  --accent-line: #D8CEF8;

  --night: #120A2E;           /* única seção escura: IODAI */
  --night-2: #1C1340;

  --wa: #25D366;
  --wa-ink: #0B3D20;
  --success: #1CB454;
  --warning: #E2A907;
  --danger: #E63535;

  --spectrum: linear-gradient(90deg, #4E26DE 0%, #6B3BEE 100%);

  --shadow-sm: 0 1px 2px rgba(20,12,51,.05), 0 2px 6px rgba(20,12,51,.04);
  --shadow-md: 0 6px 16px -6px rgba(20,12,51,.10), 0 18px 40px -16px rgba(20,12,51,.12);
  --shadow-lg: 0 24px 48px -18px rgba(46,22,140,.22), 0 48px 96px -40px rgba(20,12,51,.20);

  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 20px;
  --display: "Urbanist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: var(--display);
  --mono: var(--display);
  --container: 1200px;
  --gutter: 24px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--line-2) transparent; accent-color: var(--accent); }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink-2);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
em { font-style: normal; }
section[id] { scroll-margin-top: 80px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 100px; font-weight: 600; font-size: 14px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 16px; } }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Tipografia de seção ---------- */
.h2 { font-size: clamp(32px, 3.9vw, 50px); font-weight: 700; line-height: 1.05; letter-spacing: -0.032em; }
.h2 em { color: var(--accent); }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-3); max-width: 56ch; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 720px) { .sec-head { margin-bottom: 36px; gap: 14px; } }

section { padding: 120px 0; position: relative; }
@media (max-width: 900px) { section { padding: 84px 0; } }
@media (max-width: 640px) { section { padding: 64px 0; } }
.tint { background: var(--paper-soft); }

/* ---------- Botões ----------
   transition só nas propriedades que mudam; :active afunda 3%
   (feedback de toque), hover só em dispositivos com mouse. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 100px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; background: transparent; color: var(--ink);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; }
.btn .arrow { transition: transform 200ms var(--ease-out); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px rgba(78,38,222,.55); }
.btn-outline { background: var(--paper-card); border-color: var(--line-2); color: var(--ink); }
.btn-ghost { color: var(--ink-2); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn .wa-glyph { width: 19px; height: 19px; color: #1DA851; }
.btn-wa .wa-glyph { color: var(--wa-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-deep); }
  .btn-outline:hover { border-color: var(--ink-4); }
  .btn-ghost:hover { color: var(--ink); background: var(--paper-2); }
  .btn-wa:hover { background: #1FC45C; }
  .btn:hover .arrow { transform: translateX(3px); }
}

/* ---------- Nav ---------- */
.nav-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
nav.site { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease, background-color 200ms ease; }
nav.site.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
nav.site .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; }
.brand-mark { height: 30px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink-3); }
.nav-links a { padding: 8px 12px; border-radius: 100px; transition: color 160ms ease, background-color 160ms ease; }
.nav-links a[aria-current="true"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); background: var(--paper-2); } }
.nav-cta { display: flex; gap: 6px; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 100px; background: var(--paper-card); align-items: center; justify-content: center; }
.nav-toggle .i { width: 20px; height: 20px; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }
.nav-mobile { display: none; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-mobile a:not(.btn) { display: block; padding: 13px 4px; font-size: 17px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.nav-mobile .acts { display: grid; gap: 10px; margin-top: 16px; }
.nav-mobile .btn { width: 100%; }
@media (max-width: 1020px) {
  .nav-links, .nav-cta .desk { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.open { display: block; }
}

/* ---------- Hero ---------- */
/* hero ocupa a primeira tela inteira (descontada a nav: 68px + 1px de borda); svh evita o pulo
   da barra de endereço no celular, vh fica de fallback */
header.hero { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); display: grid; align-items: center; padding: 48px 0; position: relative; overflow: clip; }
header.hero > .wrap { width: 100%; }
/* luz de fundo: um único halo violeta atrás da janela do produto, nada atrás do texto */
header.hero::before { content: ""; position: absolute; right: -12%; top: -8%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(78,38,222,.10), rgba(78,38,222,0)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; position: relative; }
.meta-badge { height: 38px; width: auto; }
.hero h1 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin: 28px 0 24px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: clamp(17px, 1.45vw, 20px); max-width: 44ch; color: var(--ink-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  header.hero { padding: 40px 0 56px; }
  header.hero::before { right: -30%; top: 30%; width: 110%; }
}
@media (max-width: 640px) {
  .meta-badge { height: 32px; }
  .hero h1 { margin: 22px 0 18px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Entrada do hero: o único momento coreografado da página.
   Texto sobe 10px saindo de um desfoque leve; a janela do produto
   chega logo depois. Com reduced-motion nada disso existe. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero-visual { animation: windowIn 900ms var(--ease-out) 160ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes windowIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Hero: mural 3D de fundo ----------
   Mesmo princípio do "3D marquee": colunas verticais que rolam em sentidos alternados
   dentro de um plano girado nos três eixos. Cada coluna tem o grupo de telas repetido
   3x; cada cópia anda -100% da própria altura (+ gap), então o loop fecha sem emenda.
   Esmaecido por opacidade + máscara, e um véu claro atrás do texto. */
header.hero > .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; perspective: 900px; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 66%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 66%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; }
.hb-plane { --gap: 22px; position: absolute; left: calc(50% - 330px); top: 50%; display: flex; gap: var(--gap); transform-style: preserve-3d;
  transform: translate(-50%, -50%) translateZ(-120px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg); }
.hb-col { width: 330px; height: 1700px; display: flex; flex-direction: column; gap: var(--gap); overflow: hidden; }
.hb-grp { display: flex; flex-direction: column; gap: var(--gap); flex-shrink: 0; }
.hb-grp img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(20,12,51,.28), 0 0 0 1px rgba(20,12,51,.06); }
@media (prefers-reduced-motion: no-preference) {
  .js .hb-grp { animation: hbScroll var(--dur, 46s) linear infinite; }
  .js .hb-col.rev .hb-grp { animation-direction: reverse; }
  .hero-bg.off .hb-grp { animation-play-state: paused; }
}
@keyframes hbScroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% - var(--gap))); } }
/* véu claro atrás do texto: o mural passa por baixo sem disputar contraste */
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; inset: 4% -6% 0 -8%; z-index: -1; background: radial-gradient(closest-side, rgba(255,255,255,.88), rgba(255,255,255,.6) 60%, rgba(255,255,255,0)); filter: blur(8px); pointer-events: none; }
@media (max-width: 980px) { .hero-bg { display: none; } .hero-copy::before { content: none; } }

/* ---------- Logos ---------- */
.logos { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.logos-title { text-align: center; font-size: 14.5px; font-weight: 500; color: var(--ink-4); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; align-items: center; gap: 56px; width: max-content; padding-right: 56px; list-style: none; margin: 0; padding-left: 0; }
.logo-track li { flex: none; display: flex; align-items: center; }
.logo-track img { height: 30px; width: auto; filter: grayscale(1); opacity: .6; transition: filter 200ms ease, opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .logo-track img:hover { filter: none; opacity: 1; } }
.logo-track .komyo { height: 22px; } .logo-track .ideal { height: 27px; } .logo-track .acia { height: 30px; }
.logo-track .acp { height: 42px; } .logo-track .sebrae { height: 38px; border-radius: 7px; } .logo-track .tim { height: 25px; }
.logo-track .senff { height: 32px; } .logo-track .fomento { height: 32px; } .logo-track .dentaluni { height: 28px; }
.logo-track .unimed { height: 25px; } .logo-track .unicuritiba { height: 42px; } .logo-track .positivo { height: 30px; }
.logo-track .centroeuropeu { height: 40px; border-radius: 4px; } .logo-track .fac { height: 38px; } .logo-track .boavista { height: 30px; }
.logo-track .sicoob { height: 42px; } .logo-track .konduto { height: 21px; }
.logo-track .tecsol { height: 42px; filter: invert(1) hue-rotate(180deg) grayscale(1); }
@media (hover: hover) and (pointer: fine) { .logo-track .tecsol:hover { filter: invert(1) hue-rotate(180deg); } }
.marquee-inner { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-inner { animation: marquee 60s linear infinite; }
  .marquee:hover .marquee-inner { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
/* sem movimento: os logos quebram em linhas, centralizados, e a cópia some */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-inner { width: auto; justify-content: center; }
  .logo-track { flex-wrap: wrap; justify-content: center; width: auto; gap: 28px 44px; padding: 0 var(--gutter); }
  .logo-track[aria-hidden="true"] { display: none; }
}

/* ---------- Produto: abas por cima, janela larga embaixo ---------- */
.feature-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0 0 32px; }
.ftab { position: relative; text-align: left; padding: 20px 20px 4px 0; background: none; border: 0; color: var(--ink-3); display: grid; gap: 6px; align-content: start; transition: color 200ms ease; }
.ftab::before { content: ""; position: absolute; left: 0; right: 16px; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.ftab[aria-selected="true"]::before { transform: scaleX(1); }
.ftab .ft-name { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; color: var(--ink-3); transition: color 200ms ease; }
.ftab .ft-name .i { width: 18px; height: 18px; }
.ftab .ft-desc { font-size: 14.5px; line-height: 1.5; color: var(--ink-4); max-width: 30ch; }
.ftab[aria-selected="true"] .ft-name { color: var(--ink); }
.ftab[aria-selected="true"] .ft-name .i { color: var(--accent); }
.ftab[aria-selected="true"] .ft-desc { color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .ftab:hover .ft-name { color: var(--ink); } }
.ftab:focus-visible { outline-offset: -2px; }
.product-stage { position: relative; }
.product-stage .prodwin { height: 452px; max-width: 1040px; margin: 0 auto; }
.product-stage .bars { height: 150px; }
@media (max-width: 900px) {
  .feature-tabs { grid-template-columns: repeat(4, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .feature-tabs::-webkit-scrollbar { display: none; }
  .ftab { scroll-snap-align: start; }
  .ftab .ft-desc { display: none; }
  .product-stage .prodwin { height: 470px; }
}

/* ---------- Split (funil / IODAI) ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split.flip .split-media { order: -1; }
.split-copy .h2 { margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); line-height: 1.5; }
.checks li .i { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
@media (max-width: 980px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split.flip .split-media { order: 0; }
}

/* ---------- IODAI: a única seção escura ---------- */
.night { background: var(--night); color: rgba(255,255,255,.78); overflow: clip; }
.night::before { content: ""; position: absolute; left: -10%; top: 10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(107,59,238,.28), rgba(107,59,238,0)); pointer-events: none; }
.night .h2 { color: #fff; }
.night .h2 .io-name { display: inline-flex; align-items: center; gap: .22em; }
.night .h2 .io-name svg { width: .72em; height: .72em; }
.night .lead { color: rgba(255,255,255,.72); }
.night .checks li { color: rgba(255,255,255,.88); }
.night .checks li .i { color: #A994F7; }
.io-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.io-foot p { font-size: 15px; color: rgba(255,255,255,.66); }
.io-foot p b { color: #fff; font-weight: 600; }

/* ---------- Módulos: três grupos, sem caixa em volta ---------- */
.mod-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.mod-group { padding: 32px 36px 8px 0; }
.mod-group + .mod-group { padding-left: 36px; border-left: 1px solid var(--line); }
.mod-group h3 { font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--ink-4); margin-bottom: 26px; }
.mod-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.mod-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.mod-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mod-ic svg { width: 20px; height: 20px; }
.mod-ic.io { background: var(--night); }
.mod-ic.io svg { width: 22px; height: 22px; }
.mod-item h4 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 1px 0 4px; }
.mod-item p { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 980px) {
  .mod-groups { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .mod-group, .mod-group + .mod-group { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.quote { margin: 0; padding: 40px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 32px; }
.quote.feat { background: var(--night); color: #fff; }
.quote.side { background: var(--paper-card); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); font-weight: 500; }
.quote.feat blockquote { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.42; letter-spacing: -.012em; color: rgba(255,255,255,.9); }
.quote blockquote b { font-weight: 700; color: var(--ink); }
.quote.feat blockquote b { color: #fff; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.t-logo { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; background-size: cover; background-position: center; }
.quote .nm { font-weight: 700; font-size: 16px; color: var(--ink); }
.quote .rl { font-size: 14px; color: var(--ink-4); line-height: 1.4; }
.quote.feat .nm { color: #fff; }
.quote.feat .rl { color: rgba(255,255,255,.62); }
@media (max-width: 900px) { .quotes { grid-template-columns: minmax(0, 1fr); } .quote { padding: 28px; } }

/* ---------- Planos ----------
   Um quadro só: a coluna da esquerda traz título e ciclo, as três seguintes são os
   planos, e a tabela comparativa continua nas MESMAS colunas logo abaixo (28% + 3×24%).
   O recomendado é uma faixa lilás que desce do cabeçalho até o fim da tabela.
   Abaixo de 1080px o título sobe e a tabela vira "rótulo em cima, três valores embaixo",
   com os valores alinhados às colunas dos planos. */
#precos { --band: #F6F3FF; --band-line: #E6DFFB; --lab: 28%; }
.pb { display: grid; grid-template-columns: var(--lab) repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); }
.pb-intro { grid-row: span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 44px 40px 0 0; }
.pb-intro .h2 { font-size: clamp(34px, 3.3vw, 44px); }
.pb-intro .lead { font-size: 16.5px; }
.pb-intro .cycle { margin-top: 10px; }

.cycle { position: relative; display: inline-flex; padding: 4px; border-radius: 100px; background: var(--paper-2); isolation: isolate; }
.cycle button { position: relative; border: 0; background: none; padding: 9px 18px; border-radius: 100px; font-size: 15px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; transition: color 200ms ease, transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.cycle button span { font-size: 12.5px; font-weight: 700; color: #047857; background: #ecfdf5; padding: 2px 7px; border-radius: 100px; }
.cycle button[aria-pressed="true"] { background: var(--paper-card); color: var(--ink); box-shadow: var(--shadow-sm); }
.cycle button:active { transform: scale(.97); }
.cycle-thumb { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 100px; background: var(--paper-card); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; }
.cycle.ready .cycle-thumb { opacity: 1; }
.cycle.ready.anim .cycle-thumb { transition: transform 320ms var(--ease-out), width 320ms var(--ease-out); }
.cycle.ready button[aria-pressed="true"] { background: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .cycle button[aria-pressed="false"]:hover { color: var(--ink); } }

.pc { position: relative; grid-row: span 6; display: grid; grid-template-rows: subgrid; padding: 52px 28px 32px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.pc.rec { background: var(--band); }
.pc-tag { position: absolute; top: 20px; left: 28px; display: flex; white-space: nowrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.pc-tag .i { width: 15px; height: 15px; }
.pc h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.pc-for { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin-top: 6px; max-width: 30ch; }
.pc-price { display: flex; align-items: baseline; gap: 5px; margin-top: 26px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.pc-price .cur { font-size: 18px; font-weight: 600; color: var(--ink-3); align-self: flex-start; margin-top: 6px; }
.pc-price [data-k="preco"] { display: inline-block; font-size: clamp(40px, 3.9vw, 50px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.pc-price .per { font-size: 15px; color: var(--ink-4); font-weight: 500; }
.pc-note { font-size: 13.5px; line-height: 1.45; color: var(--ink-4); margin-top: 10px; font-variant-numeric: tabular-nums; }
.pc-note b { font-weight: 700; color: #047857; }
.pc-cta { margin-top: 22px; width: 100%; }
.pc-hl { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; align-content: start; }
.pc-hl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink-3); }
.pc-hl b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-hl .i { width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }

/* Tabela comparativa */
.cmp { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp col.c-lab { width: var(--lab); }
.cmp th, .cmp td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; font-weight: 400; }
.cmp th[scope="row"], .cmp th[scope="rowgroup"], .cmp .cmp-title { text-align: left; padding-left: 0; }
.cmp th[scope="row"] { color: var(--ink-2); }
.cmp tr > :nth-child(3) { background: var(--band); border-bottom-color: var(--band-line); }
.cmp thead th { position: sticky; top: 68px; z-index: 2; vertical-align: bottom; background: var(--paper-card); padding-block: 18px 16px; border-bottom: 1px solid var(--line-2); }
.cmp thead tr > :nth-child(3) { background: var(--band); border-bottom-color: var(--accent-line); }
.cmp .cmp-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.cmp thead .nm { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.cmp thead .mp { display: block; font-size: 13.5px; color: var(--ink-4); font-variant-numeric: tabular-nums; margin-top: 2px; }
/* Preço e atalho só aparecem quando o cabeçalho gruda no topo: logo abaixo dos
   cartões seriam repetição; lá no meio da tabela são o que falta para decidir. */
.cmp thead .mp, .cmp thead .go { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 240ms var(--ease-out), opacity 200ms ease; }
.cmp.stuck thead .mp { max-height: 24px; opacity: 1; }
.cmp.stuck thead .go { max-height: 28px; opacity: 1; }
.cmp thead .go { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); }
.cmp thead .go .i { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cmp thead .go:hover .i { transform: translateX(3px); } }
.cmp .grp th { padding-top: 36px; padding-bottom: 12px; font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: .005em; }
.cmp .grp td { padding-top: 36px; }
.cmp .v { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cmp .v.soft { font-weight: 500; color: var(--ink-4); }
.cmp .v.inf { color: var(--accent); }
.cmp .ok { width: 20px; height: 20px; color: var(--accent); margin: 0 auto; stroke-width: 2.2; }
.cmp tfoot td { border-bottom: 0; padding-block: 24px 28px; }
.cmp tfoot td:nth-child(3) { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.cmp tfoot .btn { width: 100%; }

/* Adicionais */
.adds { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.adds-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; }
.adds-head h3 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; }
.adds-head p { font-size: 15.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; max-width: 58ch; }
.adds-head .btn .i { width: 17px; height: 17px; color: var(--accent); }
.adds-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; margin-top: 36px; }
.adds-g h4 { font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.adds-g ul { list-style: none; padding: 0; margin: 0; }
.adds-g li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; }
.adds-g li + li { border-top: 1px dashed var(--line-2); }
.adds-g .ai { width: 40px; height: 40px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.adds-g .ai .i { width: 19px; height: 19px; }
.adds-g .an { display: flex; flex-direction: column; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.adds-g .an small { font-size: 13.5px; font-weight: 400; color: var(--ink-4); margin-top: 2px; }
.adds-g .ap { text-align: right; font-size: 13.5px; color: var(--ink-4); white-space: nowrap; font-variant-numeric: tabular-nums; }
.adds-g .ap b { font-size: 16px; font-weight: 700; color: var(--ink); }
.adds-g .ap .consult { font-size: 14.5px; font-weight: 600; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (max-width: 1080px) {
  #precos { --lab: 0%; }
  .pb { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(6, auto); }
  .pb-intro { grid-column: 1 / -1; grid-row: auto; padding: 0 0 40px; }
  .pb-intro .h2 { font-size: clamp(32px, 4.4vw, 44px); }
  .pc { padding: 52px 22px 28px; }
  .pc-tag { left: 22px; }
  .cmp, .cmp thead, .cmp tbody, .cmp tfoot { display: block; }
  .cmp colgroup { display: none; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp thead { position: sticky; top: 68px; z-index: 2; }
  .cmp thead th { position: static; }
  .cmp thead th:first-child, .cmp tfoot td:first-child, .cmp .grp td { display: none; }
  .cmp th[scope="row"], .cmp .grp th { grid-column: 1 / -1; border-bottom: 0; background: none; padding: 14px 0 2px; font-size: 14px; }
  .cmp .grp th { padding-top: 32px; font-size: 13.5px; }
  .cmp td { padding: 6px 12px 12px; }
  .cmp tr > :nth-child(3) { background: none; border-bottom-color: var(--line); }
  .cmp thead th:nth-child(3) { background: var(--band); border-radius: var(--r) var(--r) 0 0; }
  .cmp td:nth-child(3) .v { color: var(--accent-deep); }
}
@media (max-width: 760px) {
  .pb { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
  .pb-intro { padding-bottom: 20px; }
  .pc { grid-row: auto; grid-template-rows: none; align-content: start; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 28px 22px 24px; }
  .pc.rec { border-color: var(--accent-line); padding-top: 52px; }
  .pc-tag { top: 20px; }
  .cmp { margin-top: 56px; }
  .cmp thead th { padding: 12px 6px; }
  .cmp thead .nm { font-size: 14.5px; }
  .cmp thead .mp { font-size: 12.5px; }
  .cmp thead .go, .cmp.stuck thead .go, .cmp tfoot { display: none; }
  .cmp th[scope="row"] { font-size: 14px; }
  .cmp td { padding: 4px 6px 12px; font-size: 14.5px; }
  .adds { margin-top: 64px; padding-top: 32px; }
  .adds-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .cycle.ready.anim .cycle-thumb { transition: none; } }

/* ---------- Serviços de marketing: bento com exatamente 5 células ---------- */
.svc-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.svc-head .sec-head { margin-bottom: 0; }
.bento { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.cell { border-radius: var(--r-lg); padding: 28px; background: var(--paper-card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cell .i { width: 22px; height: 22px; color: var(--accent); margin-bottom: 12px; }
.cell h3 { font-size: 19px; font-weight: 700; letter-spacing: -.012em; }
.cell p { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.cell.feat { grid-row: span 2; background: var(--accent); border-color: var(--accent); color: rgba(255,255,255,.85); padding: 32px; }
.cell.feat .i { color: #fff; }
.cell.feat h3 { color: #fff; font-size: 24px; }
.cell.feat p { color: rgba(255,255,255,.8); font-size: 16px; max-width: 36ch; }
/* o caminho que a campanha percorre dentro do IDX */
.trail { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; padding-top: 28px; }
.trail li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 12px 14px; font-size: 15px; font-weight: 600; color: #fff; }
.trail li .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--accent); flex-shrink: 0; }
.cell.feat .trail .n .i { width: 15px; height: 15px; margin: 0; color: var(--accent); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cell.feat { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Blog (hidratado no cliente) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; gap: 16px; }
.blog-card .thumb { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.blog-card .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); opacity: .5; }
.blog-card .thumb .ph svg { width: 36px; height: 36px; }
.blog-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.blog-card .excerpt { font-size: 15px; color: var(--ink-3); line-height: 1.55; margin-top: 6px; }
.blog-card .meta { font-size: 13.5px; color: var(--ink-4); margin-top: 10px; }
@media (hover: hover) and (pointer: fine) { .blog-card:hover .thumb img { transform: scale(1.03); } .blog-card:hover h3 { color: var(--accent-deep); } }
.blog-more { margin-top: 40px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: 108px; display: grid; gap: 20px; justify-items: start; }
.qa { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 18px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 24px; align-items: center; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { position: relative; width: 14px; height: 14px; flex-shrink: 0; color: var(--ink-4); transition: transform 300ms var(--ease-out), color 200ms ease; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.75px; margin-top: -.875px; background: currentColor; border-radius: 2px; }
.qa summary .pm::after { transform: rotate(90deg); }
.qa[open] summary .pm { transform: rotate(45deg); color: var(--accent); }
.qa .answer { padding: 0 0 26px; font-size: 16px; color: var(--ink-3); line-height: 1.65; max-width: 62ch; }
/* abre/fecha com altura animada onde o navegador sabe interpolar (Chromium) */
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .qa::details-content { transition: none; } }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 36px; } .faq-aside { position: static; } }

/* ---------- CTA final ---------- */
.final { text-align: center; padding: 136px 0; }
.final .h2 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; margin: 0 auto; }
.final .lead { margin: 22px auto 0; }
.final .acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.reassure { list-style: none; padding: 0; margin: 28px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--ink-3); }
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure .i { width: 17px; height: 17px; color: var(--success); }
@media (max-width: 640px) { .final { padding: 88px 0; } .final .acts .btn { flex: 1 1 100%; } }

/* ---------- Rodapé ---------- */
/* Contato visível (não ícone mudo), links com alvo de toque decente
   e o símbolo da marca fechando a página. O símbolo gigante é o único
   momento de movimento: sobe com a rolagem onde o navegador suporta
   scroll-driven animation; nos demais já nasce no lugar. */
footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 80px 0 0; color: var(--ink-3); }
.ftop { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.fbrand .brand-mark { height: 34px; }
.fbrand p { font-size: 16px; color: var(--ink-2); max-width: 30ch; margin: 20px 0 0; line-height: 1.5; text-wrap: pretty; }
.fbrand .meta-badge { height: 30px; margin-top: 20px; }

.fcontact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.fcontact a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; min-height: 44px; }
.fc-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--paper-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); flex-shrink: 0; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.fc-ic svg { width: 17px; height: 17px; }
.fc-txt { display: grid; line-height: 1.25; }
.fc-l { font-size: 13px; color: var(--ink-4); }
.fc-v { font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.fcontact a:active .fc-ic { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .fcontact a:hover .fc-ic { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
  .fcontact a[data-wa]:hover .fc-ic { color: #1DA851; background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.35); }
}

footer h2 { font-size: 14px; font-weight: 700; color: var(--ink); margin: 6px 0 14px; letter-spacing: 0; }
.fcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.fcol a { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--ink-3); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color 160ms ease, text-decoration-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .fcol a:hover { color: var(--ink); text-decoration-color: var(--line-2); } }

.fbottom { margin-top: 64px; border-top: 1px solid var(--line); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.fbottom .legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fbottom address { font-style: normal; }
.totop { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 16px; border: 1px solid var(--line-2); border-radius: 100px; background: var(--bg); font-weight: 600; color: var(--ink-2); transition: color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.totop .i { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.totop:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .totop:hover { color: var(--ink); border-color: var(--ink-4); } .totop:hover .i { transform: translateY(-2px); } }

/* o símbolo da marca como fundo: canto inferior direito, atrás do conteúdo,
   cortado pelas bordas do footer (overflow: hidden) */
footer > .wrap { z-index: 1; }
.fmark { position: absolute; z-index: 0; right: clamp(-90px, -5vw, -24px); bottom: clamp(-100px, -5.5vw, -36px); width: clamp(340px, 50vw, 720px); color: #E6E0F8; pointer-events: none; }
.fmark svg { width: 100%; height: auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fmark svg { animation: fmark-rise linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }
    @keyframes fmark-rise { from { transform: translateY(18%); } to { transform: none; } }
  }
}

@media (max-width: 960px) { .ftop { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fbrand { grid-column: 1 / -1; } .fbrand p { max-width: 42ch; } }
@media (max-width: 560px) {
  footer { padding-top: 64px; }
  .ftop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .fbottom { margin-top: 48px; flex-direction: column; align-items: flex-start; }
}

/* ---------- CTA fixo no celular ---------- */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 320ms var(--ease-out); }
.mobile-cta.show { transform: none; }
.mobile-cta .btn { width: 100%; }
@media (max-width: 1020px) { .mobile-cta { display: block; } body { padding-bottom: 72px; } }
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ---------- Revelação ao rolar ----------
   Só com JS (classe .js no <html>): sem script, tudo aparece de cara. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* =========================================================
   Janelas do produto. As regras abaixo vêm do CRM real
   (tokens do app: primary #3073F1, sidebar #F2F4F7): é o que faz
   o mockup parecer tela de verdade. Não trocar pelo violeta do site.
   ========================================================= */
/* Chat da IODAI dentro da janela (espelha a tela real) */
.chat-head { display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: var(--paper-card); border-bottom: 1px solid var(--line); position: relative; }
.chat-head .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--ink-3); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(78,38,222,.1); }
.chat-head .avatar svg { width: 22px; height: 22px; }
.chat-head .who .n { font-weight: 700; font-size: 14px; line-height: 1.15; color: var(--ink); }
.chat-head .who .s { font-size: 11px; color: var(--success); display: flex; align-items: center; gap: 5px; margin-top: 2px; font-weight: 600; }
.chat-head .who .s .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulsedot 1.8s ease-in-out infinite; }
@keyframes pulsedot { 0%,100%{ opacity: 1; } 50%{ opacity: .35; } }
.chat-head .ai-badge { margin-left: auto; font: 700 10.5px var(--sans); background: #EDE7FC; color: #6B21A8; padding: 4px 10px; border-radius: 100px; display: inline-flex; align-items: center; gap: 5px; }
.chat-head .ai-badge .iodai-ic { width: 12px; height: 12px; }
.chat-body { padding: 14px; display: grid; gap: 9px; background: var(--paper-2); min-height: 274px; align-content: start; position: relative; }
.chat-body::before { content:""; position:absolute; inset:0; opacity:.5; pointer-events:none; background-image: radial-gradient(rgba(15,23,42,.045) 1px, transparent 1px); background-size: 16px 16px; }
.chat-body > * { position: relative; z-index: 1; }
/* Cards de ação na conversa (agendamento / pagamento) */
.chat-card { background: var(--paper-card); border: 1px solid var(--accent-line); border-radius: 12px; border-bottom-right-radius: 5px; padding: 10px 11px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-sm); max-width: 88%; justify-self: end; }
.chat-card .cc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.chat-card .cc-ic svg { width: 19px; height: 19px; }
.chat-card .cc-ic.green { background: rgba(28,180,84,.12); color: var(--success); }
.chat-card .cc-ic.blue { background: var(--accent-soft); color: var(--accent); }
.chat-card .cc-t { font: 9px var(--mono); letter-spacing: .04em; color: var(--ink-4); }
.chat-card .cc-v { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-top: 1px; }
.chat-card .cc-link { font-size: 11px; color: var(--accent-deep); font-weight: 600; margin-top: 2px; }
.bubble { max-width: 80%; padding: 10px 13px; border-radius: 15px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.03); }
.bubble.in { background: var(--paper-card); border: 1px solid var(--line); border-bottom-left-radius: 5px; justify-self: start; color: var(--ink-2); }
.bubble.out { background: var(--accent); color: #fff; border-bottom-right-radius: 5px; justify-self: end; }
.bubble b { font-weight: 700; }
.bubble .meta { font-size: 10px; opacity: .6; margin-top: 4px; text-align: right; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.85); animation: blink 1.2s infinite; }
.typing i:nth-child(2){animation-delay:.2s} .typing i:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,60%,100%{opacity:.3} 30%{opacity:1} }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; }
.bars i { flex: 1; border-radius: 5px 5px 0 0; background: var(--spectrum); opacity: .9; }
/* Cards de lead do Funil (usados dentro da janela do produto) */

.pw-pane .lead { background: var(--paper-card); border: .5px solid #D3D1C7; border-radius: 12px; padding: 11px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.pw-pane .lead:last-child { margin-bottom: 0; }
.pw-pane .lead.t-tranquilo { border-left: 2px solid #97C459; }
.pw-pane .lead.t-atencao { border-left: 3px solid #EF9F27; }
.pw-pane .lead.t-critico { border-left: 4px solid #E24B4A; }
.lead-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.lead-name { font-size: 12.5px; font-weight: 600; color: #2C2C2A; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.temp { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 100px; font-size: 9px; font-weight: 600; flex-shrink: 0; }
.temp svg { width: 9px; height: 9px; }
.temp.quente { background: #FAECE7; color: #993C1D; }
.temp.morno  { background: #FAEEDA; color: #854F0B; }
.temp.frio   { background: #E6F1FB; color: #185FA5; }
.lead-val { display: flex; align-items: baseline; gap: 3px; margin-bottom: 8px; }
.lead-val .cur { font-size: 9.5px; color: #888780; }
.lead-val .amt { font-size: 17px; font-weight: 600; color: #2C2C2A; letter-spacing: -.02em; line-height: 1; }
.lead-prazo { border-radius: 8px; padding: 6px 8px; margin-bottom: 8px; }
.lead-prazo.tranquilo { background: #EAF3DE; }
.lead-prazo.atencao { background: #FAEEDA; }
.lead-prazo.critico { background: #FCEBEB; }
.pz-head { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; font-size: 9px; font-weight: 600; }
.pz-head svg { width: 10px; height: 10px; flex-shrink: 0; }
.lead-prazo.tranquilo .pz-head { color: #3B6D11; }
.lead-prazo.atencao .pz-head { color: #854F0B; }
.lead-prazo.critico .pz-head { color: #A32D2D; }
.pz-dates { display: flex; align-items: center; gap: 9px; }
.pz-col .l { font-size: 7px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1px; font-weight: 600; }
.pz-col .d { font-size: 10px; font-weight: 600; }
.lead-prazo.tranquilo .pz-col .l { color: #639922; } .lead-prazo.tranquilo .pz-col .d { color: #173404; }
.lead-prazo.atencao .pz-col .l { color: #BA7517; } .lead-prazo.atencao .pz-col .d { color: #412402; }
.lead-prazo.critico .pz-col .l { color: #A32D2D; } .lead-prazo.critico .pz-col .d { color: #501313; }
.pz-arrow { width: 9px; height: 9px; opacity: .5; }
.lead-prazo.tranquilo .pz-arrow { color: #639922; } .lead-prazo.atencao .pz-arrow { color: #BA7517; } .lead-prazo.critico .pz-arrow { color: #A32D2D; }
.lead-status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 100px; border: 1px solid; font-size: 9px; font-weight: 600; margin-bottom: 8px; }
.lead-status .sdot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.lead-div { height: 1px; background: #F0F0EE; margin-bottom: 8px; }
.lead-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lead-foot .fl { font-size: 7px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-4); font-weight: 600; margin-bottom: 3px; }
.lead-foot .fv { display: flex; align-items: center; gap: 4px; font-size: 9px; color: var(--ink-3); min-width: 0; }
.lead-foot .fv svg { width: 9px; height: 9px; color: var(--ink-4); flex-shrink: 0; }
.lead-foot .fv span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-foot .rav { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 6.5px; font-weight: 700; flex-shrink: 0; }
/* ---------- Janela do produto com abas (cockpit, funil e IODAI) ---------- */
.prodwin {
  position: relative; display: flex; flex-direction: column; height: 404px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.pw-chrome { position: relative; flex-shrink: 0; display: flex; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--paper-card); }
.pw-dots { display: flex; gap: 6px; }
.pw-dots i { width: 8px; height: 8px; border-radius: 50%; }
.pw-dots i:nth-child(1) { background: #F13615; } .pw-dots i:nth-child(2) { background: #E2A907; } .pw-dots i:nth-child(3) { background: #1CB454; }
.pw-chrome .lbl { position: absolute; left: 50%; transform: translateX(-50%); font: 600 9.5px var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; }
.pw-body { display: flex; flex: 1; min-height: 0; }

.pw-tabs { width: 150px; flex-shrink: 0; border-right: 1px solid var(--line); background: var(--paper-soft); padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.pw-tab { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; text-align: left; font: 600 11.5px var(--sans); color: var(--ink-3); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.pw-tab svg { width: 14px; height: 14px; flex-shrink: 0; }
.pw-tab .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-tab:hover { color: var(--ink); }
.pw-tab.on { background: var(--paper-card); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.pw-tab.on::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 2.5px; height: 16px; border-radius: 3px; background: var(--accent); }
.pw-tab .pw-badge { margin-left: auto; font: 700 9px var(--mono); padding: 1px 5px; border-radius: 6px; background: var(--paper-2); color: var(--ink-3); border: 1px solid transparent; flex-shrink: 0; }
.pw-tab.on .pw-badge { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-line); }

.pw-panes { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--paper-card); }
.pw-pane { display: none; min-height: 0; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 15px 16px 30px; }
.pw-pane::-webkit-scrollbar { display: none; }
.pw-pane.on { display: block; flex: 1 1 auto; animation: pwIn .34s cubic-bezier(.23,1,.32,1) both; }
/* painel colado nas bordas (chat da IODAI): cabecalho + corpo + barra de digitacao */
.pw-pane.flush { padding: 0; overflow: hidden; }
.pw-pane.flush.on { display: flex; flex-direction: column; }
.pw-pane.flush > .ichead, .pw-pane.flush > .ifoot, .pw-pane.flush > .chat-head { flex-shrink: 0; }
.pw-pane.flush .chat-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.pw-pane.flush .chat-body::-webkit-scrollbar { display: none; }
.prodwin .pw-pane.flush .chat-body > * { opacity: 0; animation: bubbleIn .5s cubic-bezier(.2,.7,.2,1) both; }
.prodwin .pw-pane.flush .chat-body > :nth-child(1) { animation-delay: .05s; }
.prodwin .pw-pane.flush .chat-body > :nth-child(2) { animation-delay: .16s; }
.prodwin .pw-pane.flush .chat-body > :nth-child(3) { animation-delay: .27s; }
.prodwin .pw-pane.flush .chat-body > :nth-child(4) { animation-delay: .38s; }
.prodwin .pw-pane.flush .chat-body > :nth-child(5) { animation-delay: .49s; }
.pw-pane.flush .ibody { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.pw-pane.flush .ibody::-webkit-scrollbar { display: none; }
/* o stagger longo das bolhas (.sc-media.in .ibody) é para a 1ª entrada na tela;
   aqui a aba pode ser reaberta a qualquer momento, então a sequência é curta */
.prodwin .pw-pane.flush .ibody > :nth-child(1) { animation-delay: .05s; }
.prodwin .pw-pane.flush .ibody > :nth-child(2) { animation-delay: .16s; }
.prodwin .pw-pane.flush .ibody > :nth-child(3) { animation-delay: .27s; }
.prodwin .pw-pane.flush .ibody > :nth-child(4) { animation-delay: .38s; }
.prodwin .pw-pane.flush .ibody > :nth-child(5) { animation-delay: .49s; }
@keyframes pwIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.pw-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(to top, var(--paper-card), rgba(255,255,255,0)); pointer-events: none; }
.pw-pane-head { margin-bottom: 12px; }
.pw-pane-head .pw-h { margin: 0; font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pw-pane-head p { margin: 3px 0 0; font-size: 10.5px; line-height: 1.35; color: var(--ink-4); }

/* blocos internos reaproveitados pelas tres janelas */
.pw-list { display: grid; gap: 5px; }
.pw-row { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border: 1px solid transparent; border-radius: 10px; }
.pw-row.on { background: var(--paper-card); border-color: var(--line); box-shadow: var(--shadow-sm); }
.pw-ava { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--spectrum); color: #fff; display: grid; place-items: center; font: 800 9.5px var(--display); flex-shrink: 0; }
.pw-ava.g { background: #1CB454; } .pw-ava.o { background: #F13615; } .pw-ava.m { background: #8009AF; }
.pw-ava.wa { background: #25D366; }
.pw-ava svg { width: 12px; height: 12px; }
.pw-ava .st { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--paper-card); }
.pw-rmain { flex: 1; min-width: 0; }
.pw-rtop { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pw-rname { font-size: 11.5px; font-weight: 700; color: var(--ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-rtime { font: 9px var(--mono); color: var(--ink-4); flex-shrink: 0; }
.pw-rsub { display: block; font-size: 10px; color: var(--ink-4); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-rsub b { color: var(--accent-deep); font-weight: 700; }
.pw-unread { font: 700 8.5px var(--mono); background: var(--accent); color: #fff; border-radius: 100px; padding: 1px 6px; flex-shrink: 0; }
.pw-tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 1px 6px; border-radius: 5px; font-size: 8.5px; font-weight: 600; }
.pw-tag i { width: 5px; height: 5px; border-radius: 50%; }
.pw-chip { font: 600 9px var(--mono); color: var(--ink-3); background: var(--paper-2); border-radius: 6px; padding: 2px 7px; flex-shrink: 0; }
.pw-chip.g { background: rgba(28,180,84,.12); color: #157a3a; }
.pw-chip.a { background: var(--accent-soft); color: var(--accent-deep); }
.pw-val { font-family: var(--display); font-size: 12.5px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); flex-shrink: 0; }

.pw-stagerow { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; padding: 9px 10px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-card); }
.pw-stagerow:last-child { margin-bottom: 0; }
.pw-stagerow .sname { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--ink); }
.pw-stagerow .sname i { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.pw-stagerow .sval { font-size: 11.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pw-stagerow .strack { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.pw-stagerow .strack i { display: block; height: 100%; border-radius: 4px; }
.pw-stagerow .smeta { grid-column: 1 / -1; font: 9px var(--mono); color: var(--ink-4); }

.pw-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 11px; }
.pw-metric { border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; background: var(--paper-card); }
.pw-metric .l { font: 8.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); }
.pw-metric .v { font-family: var(--display); font-size: 14px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-top: 2px; }
.pw-metric .v.a { color: var(--accent); } .pw-metric .v.g { color: #1CB454; }

/* ficha da qualificacao automatica (IODAI) */
.pw-fields { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--paper-card); }
.pw-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; border-bottom: 1px solid var(--line); }
.pw-field:last-child { border-bottom: none; }
.pw-field .l { font: 8.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); flex-shrink: 0; }
.pw-field .v { font-size: 11px; font-weight: 700; color: var(--ink); text-align: right; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-note { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 10px; font-size: 9.5px; font-weight: 600; color: var(--accent-deep); }
.pw-note .iodai-ic, .pw-note svg { width: 12px; height: 12px; flex-shrink: 0; }

/* lista de conversas da IODAI dentro do painel */
.pw-pane .inbox-list { display: grid; gap: 4px; padding: 0; background: transparent; border-right: none; }

.pw-pane .dash-stats { gap: 8px; margin-bottom: 9px; }
.pw-pane .dash-stat { padding: 9px 10px; border-radius: 10px; }
.pw-pane .dash-stat .n { font-size: 18px; margin-top: 3px; }
.pw-pane .dash-stat .d { font-size: 9px; white-space: nowrap; }
.pw-pane .dash-chart { padding: 11px 12px; border-radius: 10px; }
.pw-pane .dash-chart .ct { font-size: 10.5px; margin-bottom: 10px; }
.pw-pane .bars { height: 66px; gap: 6px; }
/* ---------- Fidelidade ao CRM real ----------
   Dentro da janela valem os tokens do sistema, não os da marca do site:
   primary #3073F1, sidebar #F2F4F7, bordas #e5e7eb e a escala de cinzas do
   Tailwind. É o que faz o mockup parecer print de tela em vez de ilustração. */
.prodwin {
  --app-primary: #3073F1;
  --app-primary-soft: rgba(48,115,241,.1);
  --app-side: #F2F4F7;
  --app-line: #e5e7eb;
  --app-line-2: #dfe4ed;
  --app-ink: #1f2937;
  --app-ink-2: #4b5563;
  --app-ink-3: #6b7280;
  --app-ink-4: #9ca3af;
  --app-menu: #818998;
}

/* sidebar: cabeçalho da empresa, títulos de seção, itens e rodapé do usuário */
.prodwin .pw-tabs { width: 176px; background: var(--app-side); border-right: 1px solid var(--app-line-2); padding: 0; gap: 0; }
.pw-side-head { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border-bottom: 1px solid var(--app-line-2); }
.pw-side-logo { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--app-line); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.pw-side-logo svg { width: 18px; height: 18px; }
.pw-side-head .nm { font-size: 11.5px; font-weight: 600; color: #2c3542; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-side-head .pl { font-size: 9.5px; color: #92a1b7; line-height: 1.2; }
.pw-side-scroll { flex: 1; min-height: 0; overflow: hidden; padding: 8px 8px 0; display: flex; flex-direction: column; gap: 2px; }
.pw-side-title { font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--app-menu); opacity: .75; padding: 7px 8px 4px; }
.prodwin .pw-tab { padding: 7px 9px; border: none; border-radius: 8px; gap: 9px; font: 500 12px var(--sans); color: var(--app-menu); }
.prodwin .pw-tab svg { width: 15px; height: 15px; }
.prodwin .pw-tab:hover { color: #5b6472; background: rgba(0,0,0,.03); }
.prodwin .pw-tab.on { background: var(--app-primary-soft); color: var(--app-primary); box-shadow: none; font-weight: 500; }
.prodwin .pw-tab.on::before { display: none; }
.prodwin .pw-tab .pw-badge { background: #ef4444; color: #fff; border: none; border-radius: 100px; min-width: 15px; height: 15px; padding: 0 4px; font: 700 8.5px var(--sans); display: inline-flex; align-items: center; justify-content: center; }
.pw-side-foot { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-top: 1px solid var(--app-line-2); }
.pw-side-foot .av { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--app-primary); color: #fff; display: grid; place-items: center; font: 600 9px var(--sans); flex-shrink: 0; }
.pw-side-foot .av i { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: #1CB454; border: 2px solid var(--app-side); }
.pw-side-foot .nm { font-size: 11px; font-weight: 500; color: #2c3542; line-height: 1.3; }
.pw-side-foot .rl { font-size: 9.5px; color: #92a1b7; line-height: 1.3; }

/* cabeçalho de página do módulo */
.prodwin .pw-pane-head .pw-h { font: 600 13px var(--sans); letter-spacing: -.01em; text-transform: none; color: var(--app-ink); }
.prodwin .pw-pane-head p { font-size: 11px; color: var(--app-ink-3); }

/* KPI do dashboard — ícone em caixa, variação em pílula, valor grande, rótulo */
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.app-kpi { background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 10px; }
.app-kpi .k-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.app-kpi .k-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--app-ink-3); background: #f9fafb; border: 1px solid #d1d5db; }
.app-kpi .k-ic svg { width: 14px; height: 14px; }
.app-kpi .k-var { display: inline-flex; align-items: center; gap: 2px; font-size: 9px; font-weight: 600; padding: 1px 5px; border-radius: 100px; background: #ecfdf5; color: #047857; }
.app-kpi .k-var svg { width: 9px; height: 9px; }
.app-kpi .k-val { font-size: 17px; font-weight: 700; color: #111827; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.app-kpi .k-lbl { font-size: 9.5px; color: var(--app-ink-3); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-kpi .k-lbl span { color: var(--app-ink-4); }
.app-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 11px 12px; }
.app-card .c-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.app-card .c-t { font-size: 11.5px; font-weight: 600; color: var(--app-ink); }
.app-card .c-s { font-size: 9.5px; color: var(--app-ink-4); }
.prodwin .bars i { background: var(--app-primary); opacity: .85; border-radius: 3px 3px 0 0; }

/* coluna do Funil: fundo tintado com a cor da etapa + chip sólido + pílulas brancas */
.kcol-head { padding: 9px 10px; border: 1px solid; border-radius: 12px 12px 0 0; margin-bottom: -1px; }
.kcol-head .kchip { display: inline-block; max-width: 100%; padding: 3px 8px; border-radius: 7px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.kcol-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.kcol-pills .kp { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 7px; background: #fff; border: 1px solid var(--app-line); font-size: 9px; font-weight: 500; color: var(--app-ink-2); }
.kcol-pills .kp svg { width: 9px; height: 9px; }
.kcol-body { border: 1px solid var(--app-line); border-top: none; border-radius: 0 0 12px 12px; background: #fff; padding: 8px; }

/* LeadCard */
.prodwin .lead { border: 1px solid var(--app-line); border-radius: 12px; padding: 12px; box-shadow: 0 1px 10px rgba(0,0,0,.04); }
.prodwin .lead-name { font-size: 12.5px; font-weight: 500; color: #374151; }
.prodwin .lead-val .cur { font-size: 10px; color: var(--app-ink-3); }
.prodwin .lead-val .amt { font-size: 16px; font-weight: 500; color: #374151; }
.prodwin .lead-foot .fv { color: var(--app-ink-2); }
.lead-since { font-size: 9.5px; color: var(--app-ink-3); }
.prodwin .lead-foot .rav { background: var(--app-primary); }

/* IODAI — item de conversa, cabeçalho e bolhas iguais aos do módulo */
.prodwin .ic { gap: 9px; padding: 7px 8px; border-radius: 12px; background: #fff; border: 1px solid transparent; }
.prodwin .ic.on { background: var(--app-primary-soft); border-color: transparent; box-shadow: none; }
.prodwin .ica { width: 32px; height: 32px; background: #f3f4f6; color: var(--app-ink-2); font: 600 10px var(--sans); }
.prodwin .ica.g { background: #f3f4f6; color: var(--app-ink-2); } .prodwin .ica.o { background: #f3f4f6; color: var(--app-ink-2); }
.prodwin .ic-state { width: 13px; height: 13px; right: -2px; bottom: -2px; }
.prodwin .ic .icn { font-size: 12px; font-weight: 600; color: #374151; }
.prodwin .ic .icp { font-size: 10.5px; color: var(--app-ink-3); }
.prodwin .ic-unread { background: #22c55e; color: #fff; border-radius: 100px; min-width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; font: 700 8.5px var(--sans); padding: 0 4px; }
.prodwin .ichead { padding: 9px 12px; border-bottom: 1px solid var(--app-line); }
.prodwin.iodai-ui .ichead .badge { background: #e0f2fe; color: #0369a1; border: none; border-radius: 100px; font: 500 9.5px var(--sans); padding: 3px 9px; }
.prodwin.iodai-ui .ichead .takeover { color: var(--app-ink-2); border-color: var(--app-line); background: #fff; font-weight: 500; font-size: 9px; padding: 3px 7px; }
.prodwin .ibody { background: #f8fafc; }
.prodwin .bubble.in { background: #fff; border: 1px solid var(--app-line); color: #374151; border-radius: 12px 12px 12px 4px; }
.prodwin .bubble.out { background: var(--app-primary); color: #fff; border-radius: 12px 12px 4px 12px; }
.prodwin .bubble.out .meta { color: rgba(255,255,255,.7); }
.prodwin .bubble.out .meta .ck { color: rgba(255,255,255,.75); }
.prodwin .bubble.in .meta { color: var(--app-ink-4); }
.prodwin .if-send { background: var(--app-primary); box-shadow: none; }
.prodwin .if-input { background: #f9fafb; border-color: var(--app-line); }
.prodwin .ib-sys { border-color: var(--app-line); color: var(--app-ink-3); box-shadow: none; }
.prodwin .ib-sys .sd { background: var(--app-primary); }
.prodwin .chat-head { border-bottom: 1px solid var(--app-line); }
.prodwin .chat-head .avatar { background: #f3f4f6; color: var(--app-ink-2); box-shadow: none; }
.prodwin .chat-head .ai-badge { background: #e0f2fe; color: #0369a1; font-weight: 500; }
.prodwin .chat-body { background: #f8fafc; }
.prodwin .chat-body::before { display: none; }
.prodwin .chat-card { border-color: var(--app-line); border-radius: 12px 12px 4px 12px; }
.prodwin .chat-card .cc-ic.blue { background: rgba(48,115,241,.1); color: var(--app-primary); }
.prodwin .chat-card .cc-link { color: var(--app-primary); }
.prodwin .pw-ava { background: var(--app-primary); }
.prodwin .pw-rsub b { color: var(--app-primary); }
.prodwin .pw-chip.a { background: var(--app-primary-soft); color: var(--app-primary); }
.prodwin .pw-unread { background: #22c55e; }
.prodwin .pw-metric .v.a { color: var(--app-primary); }
.prodwin .pw-row.on { background: var(--app-primary-soft); border-color: transparent; box-shadow: none; }

.pw-side-head .col, .pw-side-foot .col { display: flex; flex-direction: column; min-width: 0; }

/* topo da página do módulo (seletor de funil + resumo) */
.pw-topbar { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--app-line); background: #fff; }
.pw-select { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--app-line); border-radius: 8px; background: #fff; font-size: 11px; font-weight: 600; color: var(--app-ink); }
.pw-select svg { width: 11px; height: 11px; color: var(--app-ink-4); }
.pw-mini { font-size: 10px; color: var(--app-ink-4); white-space: nowrap; }

/* kanban do Funil: colunas lado a lado, como na tela */
.pw-pane.kanban-pane { padding: 0; }
.pw-pane.kanban-pane.on { display: flex; flex-direction: column; }
.kanban-strip { flex: 1; min-height: 0; display: flex; gap: 10px; padding: 10px 0 10px 12px; overflow: hidden; }
.kanban-strip .kcol { width: 210px; flex-shrink: 0; display: flex; flex-direction: column; min-height: 0; }
.kanban-strip .kcol-body { flex: 1; min-height: 0; overflow: hidden; display: grid; gap: 8px; align-content: start; }
.lead-srv { margin-bottom: 8px; }
.lead-srv span { display: inline-block; padding: 2px 7px; border-radius: 100px; background: #faf5ff; border: 1px solid #e9d5ff; color: #7e22ce; font-size: 8.5px; font-weight: 500; }

/* IODAI: o módulo é lista + conversa lado a lado */
.pw-pane.inbox-pane { padding: 0; }
.pw-pane.inbox-pane.on { display: grid; grid-template-columns: 196px 1fr; min-height: 0; overflow: hidden; }
.io-list { border-right: 1px solid var(--app-line); background: #fff; padding: 8px 7px; display: grid; gap: 3px; align-content: start; overflow: hidden; }
.io-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.io-chat .ibody { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.io-chat .ibody::-webkit-scrollbar { display: none; }
.prodwin .io-chat .ibody > * { opacity: 0; animation: bubbleIn .5s cubic-bezier(.2,.7,.2,1) both; }
.prodwin .io-chat .ibody > :nth-child(1) { animation-delay: .05s; }
.prodwin .io-chat .ibody > :nth-child(2) { animation-delay: .16s; }
.prodwin .io-chat .ibody > :nth-child(3) { animation-delay: .27s; }
.prodwin .io-chat .ibody > :nth-child(4) { animation-delay: .38s; }
.prodwin .io-chat .ibody > :nth-child(5) { animation-delay: .49s; }
@media (max-width: 640px) { .pw-pane.inbox-pane.on { grid-template-columns: 1fr; } .io-list { display: none; } }

@media (max-width: 560px) {
  /* no empilhado a sidebar vira faixa: precisa vencer .prodwin .pw-tabs */
  .prodwin .pw-tabs { width: 100%; border-right: none; border-bottom: 1px solid var(--app-line-2); }
  .pw-side-head, .pw-side-foot { display: none; }
  .pw-side-scroll { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 8px; gap: 6px; }
  .pw-side-scroll::-webkit-scrollbar { display: none; }
  .pw-side-title { display: none; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pw-pane.on { animation: none; }
  .prodwin .pw-pane.flush .chat-body > * { animation: none !important; opacity: 1 !important; }
}
.prodwin.iodai-ui { height: 432px; }
/* hero: a conversa inteira (incluindo o card de resultado) precisa caber sem rolagem */
.hero-visual .prodwin { height: 472px; }
.hero-visual .chat-body { gap: 8px; }
.hero-visual .bubble { font-size: 12.5px; padding: 9px 12px; }
.hero-visual .chat-card { padding: 9px 10px; }
@media (max-width: 940px) { .prodwin { height: 420px; } .prodwin.iodai-ui { height: 448px; } }
@media (max-width: 560px) {
  .prodwin { height: 470px; border-radius: var(--r-lg); }
  .pw-body { flex-direction: column; }
  .pw-tabs { width: 100%; flex-direction: row; gap: 6px; padding: 8px; border-right: none; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .pw-tabs::-webkit-scrollbar { display: none; }
  .pw-tab { width: auto; flex-shrink: 0; }
  .pw-tab.on::before { display: none; }
  .pw-tab .pw-badge { margin-left: 2px; }
  .pw-pane .dash-stats { grid-template-columns: 1fr 1fr; }
}

/* Inbox (IODAI) — painel claro que "salta" sobre a seção escura */
.inbox-list { border-right: 1px solid var(--line); background: var(--paper-2); padding: 8px; display: grid; gap: 4px; align-content: start; }
.ic { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 10px; }
.ic.on { background: var(--paper-card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ica { width: 30px; height: 30px; border-radius: 50%; background: var(--spectrum); color: #fff; display: grid; place-items: center; font: 800 10.5px var(--display); flex-shrink: 0; }
.ica.g { background: #1CB454; } .ica.o { background: #F13615; }
.ic .icn { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.ic .icp { font-size: 10.5px; color: var(--ink-4); }
.ic .icb { margin-left: auto; font: 8.5px var(--mono); background: var(--accent-soft); color: var(--accent-deep); padding: 2px 6px; border-radius: 100px; flex-shrink: 0; }
.ichead { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); background: var(--paper-card); }
.ichead .icn { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.ichead .ics { font-size: 10.5px; color: #1CB454; display: flex; align-items: center; gap: 5px; }
.ichead .ics::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1CB454; }
.ichead .iactrl { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.ichead .badge { font: 9px var(--mono); background: var(--accent-soft); color: var(--accent-deep); border: 1px solid var(--accent-line); padding: 3px 8px; border-radius: 100px; font-weight: 700; }
.ichead .takeover { font: 10px var(--sans); font-weight: 600; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 9px; }
.ibody { padding: 14px 13px; display: grid; gap: 9px; background: var(--paper-2); flex: 1; align-content: start; }

/* ---------- Inbox IODAI v2 — espelha o módulo real (lista, chat e input) ---------- */
.iodai-ui .inbox-list { padding: 11px 9px; gap: 5px; }
.il-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 1px 3px 6px; overflow: hidden; }
.il-title { font-size: 12px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.il-conn { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; color: var(--ink-4); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.il-conn .dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: pulsedot 1.8s ease-in-out infinite; }
.il-search { display: flex; align-items: center; gap: 6px; background: var(--paper-card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; font-size: 9.5px; color: var(--ink-4); margin-bottom: 6px; white-space: nowrap; overflow: hidden; }
.il-search svg { width: 11px; height: 11px; flex-shrink: 0; }
.il-tabs { display: flex; gap: 2px; background: var(--paper-3); border-radius: 8px; padding: 2px; margin-bottom: 7px; }
.il-tabs .tab { flex: 1; text-align: center; font-size: 9px; font-weight: 600; color: var(--ink-3); padding: 4px 0; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.il-tabs .tab.on { background: var(--paper-card); color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.iodai-ui .ic { display: flex; gap: 8px; padding: 8px 7px; border-radius: 10px; align-items: flex-start; min-width: 0; overflow: hidden; }
.iodai-ui .ic.on { background: #F1ECFD; border: 1px solid rgba(78,38,222,.16); box-shadow: var(--shadow-sm); }
.ica-wrap { position: relative; flex-shrink: 0; }
.iodai-ui .ica { width: 31px; height: 31px; font-size: 10px; display: grid; place-items: center; }
.ic-state { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-card); box-shadow: 0 1px 3px rgba(15,23,42,.2); display: grid; place-items: center; }
.ic-state svg { width: 8px; height: 8px; display: block; }
.ic-state.wa { color: #16A34A; }
.ic-main { flex: 1; min-width: 0; display: block; }
.ic-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.iodai-ui .ic .icn { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ict { font-size: 8.5px; color: var(--ink-4); flex-shrink: 0; }
.iodai-ui .icp { display: block; font-size: 9.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.iodai-ui .icp b { font-weight: 700; color: var(--ink-2); }
.ic-unread { min-width: 14px; height: 14px; border-radius: 100px; background: #22C55E; color: #fff; font-size: 8px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; flex-shrink: 0; }
.ic-tags { display: flex; gap: 4px; margin-top: 4px; }
.itag { display: inline-flex; align-items: center; gap: 3px; padding: 1.5px 6px; border-radius: 100px; font-size: 8px; font-weight: 600; }
.itag .td { width: 5px; height: 5px; border-radius: 50%; }
/* header do chat */
.iodai-ui .ichead { gap: 9px; padding: 10px 12px; }
.iodai-ui .ichead .ica { width: 34px; height: 34px; font-size: 11px; box-shadow: 0 0 0 3px rgba(78,38,222,.1); }
.ich-info { flex: 1; min-width: 0; }
.iodai-ui .ichead .icn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ich-sub { display: flex; align-items: center; gap: 4px; margin-top: 1px; white-space: nowrap; overflow: hidden; }
.iodai-ui .ics { font-size: 9.5px; flex-shrink: 0; }
.ich-num { font-size: 9.5px; color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.iodai-ui .iactrl { flex-shrink: 0; gap: 5px; }
.iodai-ui .ichead .badge { background: #EDE7FC; color: #6B21A8; border-color: #DDD0F5; white-space: nowrap; flex-shrink: 0; }
.iodai-ui .ichead .takeover { color: #B45309; border-color: #FDE68A; background: #FFFBEB; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1080px) and (min-width: 561px) { .iodai-ui .ichead .takeover { display: none; } }
/* bolhas no padrão do app: recebida slate-100, enviada primary, ✓✓ e autoria IODAI */
.iodai-ui .bubble { font-size: 11.5px; padding: 8px 11px; border-radius: 14px; max-width: 78%; }
.iodai-ui .bubble.in { background: var(--paper-3); border: none; border-bottom-left-radius: 4px; color: #1E293B; }
.iodai-ui .bubble.out { border-bottom-right-radius: 4px; }
.iodai-ui .bubble .meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 8.5px; }
.iodai-ui .bubble.out .meta .ck { color: #DDD0F5; letter-spacing: -1px; }
.ia-by { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; margin-right: auto; }
.ia-by .iodai-ic { width: 9px; height: 9px; }
.ib-sys { justify-self: center; display: inline-flex; align-items: center; gap: 6px; background: var(--paper-card); border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px; font-size: 8.5px; font-weight: 600; color: var(--ink-3); box-shadow: var(--shadow-sm); }
.ib-sys .sd { width: 7px; height: 7px; border-radius: 50%; background: var(--spectrum); flex-shrink: 0; }
/* barra de digitação */
.ifoot { display: flex; align-items: center; gap: 5px; padding: 9px 11px; border-top: 1px solid var(--line); background: var(--paper-card); }
.ifoot .if-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-4); flex-shrink: 0; }
.ifoot .if-ic svg { width: 14px; height: 14px; }
.if-input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--paper-2); border-radius: 9px; padding: 6px 10px; font-size: 10px; color: var(--ink-4); white-space: nowrap; overflow: hidden; }
.if-send { width: 28px; height: 28px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 4px 10px rgba(78,38,222,.35); }
.if-send svg { width: 13px; height: 13px; }
.pw-pane-head .pw-h { margin: 0; font: 600 13px var(--sans); letter-spacing: -.01em; color: var(--app-ink); }
.iodai-ic { display: block; }
.ichead .badge { display: inline-flex; align-items: center; gap: 4px; }
.ichead .badge .iodai-ic { width: 11px; height: 11px; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
/* elevação declarada uma vez: anel de 1px dentro da própria sombra, sem borda */
.prodwin { border-color: transparent; box-shadow: 0 0 0 1px rgba(20,12,51,.07), var(--shadow-lg); }
.night .prodwin { box-shadow: 0 30px 80px -24px rgba(0,0,0,.55); border-color: transparent; }

/* barras do dashboard crescem ao entrar na tela; leads do kanban chegam em sequência */
@media (prefers-reduced-motion: no-preference) {
  .js .product-stage .bars i { transform: scaleY(0); transform-origin: bottom; transition: transform 800ms var(--ease-out); }
  .js .product-stage.in .bars i { transform: none; }
  .js .product-stage.in .bars i:nth-child(2) { transition-delay: 60ms; } .js .product-stage.in .bars i:nth-child(3) { transition-delay: 120ms; }
  .js .product-stage.in .bars i:nth-child(4) { transition-delay: 180ms; } .js .product-stage.in .bars i:nth-child(5) { transition-delay: 240ms; }
  .js .product-stage.in .bars i:nth-child(6) { transition-delay: 300ms; } .js .product-stage.in .bars i:nth-child(7) { transition-delay: 360ms; }
  .js .product-stage.in .bars i:nth-child(8) { transition-delay: 420ms; }
  .js .split-media .kanban-strip .lead { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .split-media.in .kanban-strip .lead { opacity: 1; transform: none; }
  .js .split-media.in .kcol:nth-child(2) .lead { transition-delay: 120ms; }
  .js .split-media.in .kcol:nth-child(3) .lead { transition-delay: 240ms; }
  /* IODAI: a conversa acontece quando a janela entra na tela */
  .js .split-media .io-chat .ibody > * { animation: none; opacity: 0; }
  .js .split-media.in .io-chat .ibody > * { animation: bubbleIn 500ms var(--ease-out) both; }
  .js .split-media.in .io-chat .ibody > :nth-child(1) { animation-delay: 300ms; }
  .js .split-media.in .io-chat .ibody > :nth-child(2) { animation-delay: 1000ms; }
  .js .split-media.in .io-chat .ibody > :nth-child(3) { animation-delay: 1700ms; }
  .js .split-media.in .io-chat .ibody > :nth-child(4) { animation-delay: 2300ms; }
  .js .split-media.in .io-chat .ibody > :nth-child(5) { animation-delay: 2900ms; }
}
@media (prefers-reduced-motion: reduce) {
  .prodwin .pw-pane.on, .prodwin .pw-pane.flush .chat-body > *, .prodwin .io-chat .ibody > * { animation: none !important; opacity: 1 !important; }
  .typing i, .chat-head .who .s .dot { animation: none; }
}

/* ---------- Painel "Produto": réplica do app real ----------
   Classes e cores copiadas de LeftSideBar.tsx/_sidenav.scss, dashboard/index.tsx,
   IODAI/components, Funil/ui e Jornada/View (primary #3073F1, cinzas do Tailwind).
   Escala ~0,88 do tamanho real para caber a tela inteira na janela. */
.prodwin.app {
  --p: #3073F1; --p10: rgba(48,115,241,.1);
  --g50: #f9fafb; --g100: #f3f4f6; --g200: #e5e7eb; --g400: #9ca3af; --g500: #6b7280; --g600: #4b5563; --g700: #374151; --g800: #1f2937; --g900: #111827;
  --menu: #818998; --menu-ink: #2c3542; --menu-sub: #92a1b7; --menu-line: #dfe4ed;
  --wshadow: 0 1px 10px rgba(0,0,0,.04);
  font-family: var(--sans); color: var(--g800);
}
.product-stage .prodwin.app { height: 580px; max-width: 1120px; }
.prodwin.app .i { width: 1em; height: 1em; stroke-width: 1.8; }
.prodwin.app .pw-chrome { justify-content: center; padding: 9px 14px; }
.prodwin.app .pw-dots { position: absolute; left: 14px; }
.app-url { display: inline-flex; align-items: center; gap: 6px; background: var(--g100); border-radius: 8px; padding: 4px 14px; font-size: 11.5px; color: var(--g500); min-width: 280px; justify-content: center; }
.app-url .i { font-size: 11px; }
.app-body { flex: 1; min-height: 0; display: flex; }

/* sidebar */
.sb { width: 206px; flex-shrink: 0; background: #F2F4F7; border-right: 1px solid var(--g200); display: flex; flex-direction: column; min-height: 0; }
.sb-head { display: flex; align-items: center; gap: 9px; padding: 12px 12px 10px; }
.sb-logo { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--menu-line); background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.sb-logo svg { width: 22px; height: auto; }
.sb-co { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sb-co b { font-size: 12px; font-weight: 600; color: var(--menu-ink); }
.sb-co small { font-size: 10px; color: var(--menu-sub); text-transform: capitalize; }
.sb-caret { margin-left: auto; font-size: 13px; color: var(--menu-sub); }
.sb-short { display: flex; gap: 4px; padding: 2px 10px 8px; }
.prodwin.app .sb-sc { width: 36px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--g500); font-size: 16px; background: none; border: 0; padding: 0; }
.prodwin.app .sb-sc.on { background: var(--p10); color: var(--p); }
.sb-scroll { flex: 1; min-height: 0; overflow: hidden; padding: 0 8px; display: flex; flex-direction: column; gap: 1px; }
.sb-title { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--menu); opacity: .75; padding: 10px 11px 5px; }
.prodwin.app .sb-item { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 11px; border: 0; border-radius: 8px; background: none; font: 400 13px var(--sans); color: var(--menu); text-align: left; box-shadow: none; }
.prodwin.app .sb-item .i { font-size: 17px; }
.prodwin.app button.sb-item:hover, .prodwin.app button.sb-sc:hover { background: rgba(0,0,0,.04); color: var(--menu-ink); }
.prodwin.app .sb-item.on { background: rgba(30,133,255,.1); color: rgb(30,133,255); font-weight: 400; }
.prodwin.app .sb-item.on::before { display: none; }
.sb-badge { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 100px; background: #ef4444; color: #fff; font: 700 9px var(--sans); font-style: normal; display: inline-flex; align-items: center; justify-content: center; }
.sb-foot { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 10px; border-top: 1px solid var(--menu-line); }
.sb-av { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--p); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.sb-av i { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; border: 2px solid #F2F4F7; }
.sb-me { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; flex: 1; }
.sb-me b { font-size: 12px; font-weight: 500; color: var(--menu-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-me small { font-size: 10px; color: var(--menu-sub); }
.sb-ib { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #8391A2; font-size: 14px; flex-shrink: 0; }

/* área principal */
.app-main { flex: 1; min-width: 0; background: #f5f5f5; }
.prodwin.app .pw-pane { padding: 18px 20px; }
.prodwin.app .pw-pane.on { display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.wcard { background: #fff; border: 1px solid var(--g200); border-radius: 12px; box-shadow: var(--wshadow); }

/* dashboard */
.dsh-pills { display: flex; gap: 5px; flex-wrap: nowrap; overflow: hidden; }
.dsh-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 100px; font-size: 11.5px; font-weight: 600; color: var(--g600); white-space: nowrap; }
.dsh-pills span .i { font-size: 13px; }
.dsh-pills span.on { background: var(--p); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.dsh-sec { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dsh-sec b { display: block; font-size: 14px; font-weight: 600; color: var(--g800); }
.dsh-sec small { font-size: 11px; color: var(--g400); }
.dsh-period { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--g200); border-radius: 8px; padding: 5px 10px; font-size: 11px; font-weight: 500; color: var(--g600); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--g200); border-radius: 12px; box-shadow: var(--wshadow); padding: 11px 12px; display: grid; gap: 4px; }
.k-l { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--g500); white-space: nowrap; overflow: hidden; }
.k-l .i { font-size: 12px; color: var(--g400); flex-shrink: 0; }
.k-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.k-row b { font-size: 20px; font-weight: 700; color: var(--g900); font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.spark { width: 56px; height: 22px; flex-shrink: 0; }
.spark path { fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.k-var { justify-self: start; display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px; border-radius: 6px; font-size: 9.5px; font-weight: 600; }
.k-var.up { background: #ecfdf5; color: #047857; }
.k-var .i { font-size: 10px; }
.dsh-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; }
.dsh-grid .wcard { padding: 13px 14px; display: flex; flex-direction: column; min-height: 0; }
.w-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.w-top b { font-size: 12.5px; font-weight: 600; color: var(--g800); }
.w-top small { font-size: 10px; color: var(--g400); }
.area { flex: 1; min-height: 0; width: 100%; }
.area .grid path { stroke: var(--g100); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.area .fill { fill: url(#ck-area); }
.area .line { fill: none; stroke: #3073F1; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.w-x { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--g400); margin-top: 6px; }
.donut-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.donut { width: 112px; height: 112px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 13; }
.donut text { transform: rotate(90deg); transform-origin: 50px 50px; font: 700 17px var(--sans); fill: var(--g900); }
.donut text.s { font-size: 8px; font-weight: 500; fill: var(--g400); }
.legend { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; gap: 5px; }
.legend li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--g600); }
.legend i { width: 8px; height: 8px; border-radius: 3px; }
.legend b { margin-left: auto; font-weight: 600; color: var(--g800); font-variant-numeric: tabular-nums; }

/* IODAI */
.prodwin.app .pw-pane.iod.on { padding: 0; flex-direction: row; gap: 0; background: #fff; }
.iod-list { width: 272px; flex-shrink: 0; border-right: 1px solid var(--g200); display: flex; flex-direction: column; min-height: 0; }
.il-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px; }
.il-top b { display: block; font-size: 17px; font-weight: 700; color: var(--g800); line-height: 1.2; }
.il-top small { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--g500); }
.il-top small i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.il-new { width: 32px; height: 32px; border-radius: 10px; background: var(--p); color: #fff; display: grid; place-items: center; font-size: 16px; }
.il-nums { display: flex; gap: 5px; padding: 0 14px 10px; }
.il-nums span { padding: 3px 10px; border-radius: 100px; font-size: 10.5px; font-weight: 500; color: var(--g600); background: var(--g100); }
.il-nums span.on { background: var(--p); color: #fff; }
.il-search { margin: 0 14px 10px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 10px; background: var(--g50); border: 1px solid var(--g200); font-size: 11.5px; color: var(--g400); white-space: nowrap; overflow: hidden; }
.il-seg { margin: 0 14px 8px; display: flex; background: var(--g100); border-radius: 8px; padding: 2px; }
.il-seg span { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; font-size: 10.5px; font-weight: 500; color: var(--g500); }
.il-seg span.on { background: #fff; color: var(--g800); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.il-items { flex: 1; min-height: 0; overflow: hidden; padding: 0 8px; display: grid; gap: 2px; align-content: start; }
.it { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; }
.it.on { background: var(--p10); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.it-av { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--g100); color: var(--g600); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.it-av em { position: absolute; right: -3px; bottom: -3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); display: grid; place-items: center; font-size: 11px; }
.it-av em.ia { color: #0284c7; } .it-av em.wa { color: #16a34a; }
.it-av u { position: absolute; top: -4px; right: -4px; width: 17px; height: 17px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 9px; font-weight: 700; text-decoration: none; display: grid; place-items: center; }
.it-m { flex: 1; min-width: 0; display: grid; gap: 2px; }
.it-r { display: flex; justify-content: space-between; gap: 6px; }
.it-r b { font-size: 12.5px; font-weight: 600; color: var(--g700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-r small, .it-p { font-size: 10.5px; color: var(--g500); }
.it-p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 100px; font-size: 9.5px; font-weight: 500; color: var(--t); background: color-mix(in srgb, var(--t) 13%, #fff); border: 1px solid color-mix(in srgb, var(--t) 27%, #fff); }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--t); }
.iod-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ic-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--g200); }
.ic-av { width: 40px; height: 40px; border-radius: 50%; background: var(--g100); color: var(--g600); display: grid; place-items: center; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 2px var(--p10); flex-shrink: 0; }
.ic-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ic-who b { font-size: 15px; font-weight: 600; color: var(--g800); }
.ic-who small { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--g500); }
.ic-num { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 500; color: var(--g600); }
.ic-num .i { color: #22c55e; font-size: 13px; }
.ic-ia { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #e0f2fe; color: #0369a1; display: grid; place-items: center; font-size: 14px; }
.ic-ia i { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.ic-btn { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--g500); font-size: 15px; }
.ic-body { flex: 1; min-height: 0; overflow: hidden; background: var(--g50); padding: 16px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.bb { max-width: 74%; padding: 8px 11px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.05); display: grid; gap: 3px; }
.bb small { justify-self: end; font-size: 9.5px; }
.bb.in { align-self: flex-start; background: #fff; border: 1px solid var(--g200); color: var(--g800); border-radius: 13px 13px 13px 4px; }
.bb.in small { color: var(--g400); }
.bb.out { align-self: flex-end; background: var(--p); color: #fff; border-radius: 13px 13px 4px 13px; }
.bb.out small { color: rgba(255,255,255,.65); }
.by { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 100px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); font-size: 9px; color: rgba(255,255,255,.9); margin-bottom: 2px; }
.ic-input { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--g200); }
.ic-add { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--g500); font-size: 17px; flex-shrink: 0; }
.ic-field { flex: 1; min-width: 0; padding: 8px 11px; border-radius: 8px; background: var(--g50); border: 1px solid var(--g200); font-size: 11.5px; color: var(--g400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-send { width: 34px; height: 34px; border-radius: 8px; background: var(--p); color: #fff; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }

/* Funil */
.prodwin.app .pw-pane.fnl.on { padding-right: 0; }
.fnl-top { display: flex; align-items: center; gap: 12px; padding-right: 20px; }
.fnl-sel { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--g200); border-radius: 8px; padding: 6px 11px; font-size: 12px; font-weight: 600; color: var(--g800); }
.fnl-meta { font-size: 11px; color: var(--g500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fnl-cols { flex: 1; min-height: 0; display: flex; gap: 10px; overflow: hidden; }
.fcol { width: 236px; flex-shrink: 0; display: flex; flex-direction: column; min-height: 0; }
.fcol-h { padding: 9px 10px; border: 1px solid color-mix(in srgb, var(--s) 20%, transparent); border-bottom: 0; border-radius: 12px 12px 0 0; background: color-mix(in srgb, var(--s) 8%, #fff); }
.chip { display: inline-block; padding: 3px 9px; border-radius: 8px; background: var(--s); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.pills span { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 8px; background: #fff; border: 1px solid var(--g200); font-size: 9.5px; font-weight: 500; color: var(--g600); }
.fcol-b { flex: 1; min-height: 0; overflow: hidden; padding: 8px; display: grid; gap: 8px; align-content: start; border: 1px solid color-mix(in srgb, var(--s) 20%, transparent); border-top: 0; border-radius: 0 0 12px 12px; background: color-mix(in srgb, var(--s) 8%, #fff); }
.lc { background: #fff; border: 1px solid var(--g200); border-left: 2px solid #D3D1C7; border-radius: 12px; box-shadow: var(--wshadow); padding: 11px 12px; display: grid; gap: 7px; }
.lc.u-ok { border-left-color: #97C459; } .lc.u-at { border-left: 3px solid #EF9F27; } .lc.u-cr { border-left: 4px solid #E24B4A; }
.lc-t { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.lc-t b { font-size: 12.5px; font-weight: 500; color: var(--g800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.temp { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 100px; font-size: 9px; flex-shrink: 0; }
.temp.q { background: #FAECE7; color: #993C1D; } .temp.m { background: #FAEEDA; color: #854F0B; } .temp.f { background: #E6F1FB; color: #185FA5; }
.lc-v { font-size: 17px; font-weight: 500; color: var(--g800); letter-spacing: -.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.lc-v small { font-size: 10px; color: var(--g500); margin-right: 3px; }
.lc-pz { border-radius: 8px; padding: 6px 8px; display: grid; gap: 4px; font-size: 9px; font-weight: 600; }
.lc-pz div { display: flex; align-items: baseline; gap: 5px; font-size: 10px; }
.lc-pz em { font-style: normal; font-size: 7.5px; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.lc-pz em + * { margin-right: 6px; }
.lc-pz.ok { background: #EAF3DE; color: #3B6D11; } .lc-pz.at { background: #FAEEDA; color: #854F0B; } .lc-pz.cr { background: #FCEBEB; color: #A32D2D; }
.svc { justify-self: start; padding: 2px 8px; border-radius: 100px; background: #faf5ff; border: 1px solid #e9d5ff; color: #7e22ce; font-size: 9px; }
.lc-f { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 7px; border-top: 1px solid var(--g100); font-size: 9.5px; color: var(--g600); }
.lc-f div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lc-f em { flex-basis: 100%; font-style: normal; font-size: 7.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--g400); font-weight: 600; }
.lc-f i { width: 15px; height: 15px; border-radius: 50%; background: var(--p); color: #fff; font-style: normal; font-size: 6.5px; font-weight: 700; display: grid; place-items: center; }

/* Jornada */
.jrn-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 12px; }
.jrn-main { padding: 16px 18px; display: flex; flex-direction: column; }
.jm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.jm-top b { display: block; font-size: 13px; font-weight: 600; color: var(--g800); }
.jm-top small { font-size: 11px; color: var(--g500); }
.jm-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; background: #dbeafe; color: #1d4ed8; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.jm-lbl { margin-top: 18px; font-size: 9.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--g400); text-align: center; }
.jm-clock { text-align: center; font-size: 56px; font-weight: 700; letter-spacing: -.02em; color: var(--g800); font-variant-numeric: tabular-nums; line-height: 1.1; }
.jm-msg { text-align: center; font-size: 11px; color: var(--g500); }
.jm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 14px; }
.jm-stats div { background: var(--g50); border-radius: 12px; padding: 9px 11px; display: grid; gap: 2px; }
.jm-stats em { display: flex; align-items: center; gap: 5px; font-style: normal; font-size: 10px; color: var(--g500); }
.jm-stats em i { width: 6px; height: 6px; border-radius: 50%; }
.jm-stats b { font-size: 16px; font-weight: 700; color: var(--g800); font-variant-numeric: tabular-nums; }
.jm-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: 12px; background: #dc2626; color: #fff; font-size: 13px; font-weight: 700; }
.jm-btn .i { font-size: 16px; }
.jrn-today { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.jt-h { font-size: 13px; font-weight: 600; color: var(--g800); }
.jt-per { display: grid; gap: 7px; }
.jt-ph { display: flex; justify-content: space-between; align-items: center; }
.jt-ph em, .jt-io em, .jt-foot em { font-style: normal; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--g400); font-weight: 600; }
.jt-ph .dur { background: var(--g100); padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 700; color: var(--g700); }
.jt-ph .now { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: #16a34a; }
.jt-ph .now i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.jt-io { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.jt-io div { border: 1px solid var(--g200); border-radius: 10px; padding: 7px 9px; display: grid; gap: 1px; }
.jt-io div.open { border-style: dashed; }
.jt-io div.open b { color: var(--g200); }
.jt-io em { display: flex; align-items: center; gap: 4px; letter-spacing: .04em; }
.jt-io em i { width: 6px; height: 6px; border-radius: 50%; } .jt-io i.g { background: #22c55e; } .jt-io i.r { background: #f87171; }
.jt-io b { font-size: 18px; font-weight: 700; color: var(--g800); font-variant-numeric: tabular-nums; }
.jt-foot { margin-top: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; }
.jt-foot div { background: var(--g100); border-radius: 12px; padding: 8px 10px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.jt-foot div:last-child { grid-template-columns: 1fr; }
.jt-ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; background: #fff; display: grid; place-items: center; color: var(--p); font-size: 15px; }
.jt-foot b { font-size: 15px; font-weight: 700; color: var(--g800); font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) { .sb { width: 184px; } .ic-num { display: none; } .kpi .spark { display: none; } }
@media (max-width: 900px) {
  .product-stage .prodwin.app { height: 540px; }
  .sb { display: none; }
  .iod-list { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dsh-grid { grid-template-columns: minmax(0, 1fr); }
  .dsh-grid .wcard:last-child { display: none; }
  .jrn-grid { grid-template-columns: minmax(0, 1fr); }
  .jrn-today { display: none; }
  .app-url { min-width: 0; }
}
@media (max-width: 560px) {
  .prodwin.app .pw-pane { padding: 14px; }
  .dsh-sec .dsh-period { display: none; }
  .dsh-pills span:not(.on):nth-child(-n+2) { display: none; }
  .jm-clock { font-size: 44px; }
  .fcol { width: 214px; }
}
.t-logo.ar-avatar { background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAIAAAAErfB6AAAAA3NCSVQICAjb4U/gAAALUUlEQVR4nO2da3BU1R3A/+c+9r15bh6bB3kCEt4PAfNEHcfq8LCttkUrKj4YrDOdcaaO2jqddmofUzvyQRxQ+6Fa29qhAsMw7dAilCQIAkZDNCQE8oBFkpBkQ7K7d/fee04/RBjUgNDsOffu8fw+bjb3f/b+9px7Hv9zFtVtfQ8E/CJZXQABXYRgzhGCOUcI5hwhmHOEYM4RgjlHCOYcIZhzhGDOEYI5RwjmHCGYc4RgzhGCOUcI5hwhmHOEYM4RgjlHCOYcIZhzhGDOEYI5RwjmHCGYc4RgzhGCOUcI5hwhmHOEYM4RgjlHCOYcIZhzhGDOEYI5RwjmHCGYc4RgzhGCOUcI5hwhmHOEYM5RrC4AazDAuIkvmCSECRACGF/6CwIkgYQKJJItS35JkpGV5UwW3xTBBCBs4DbDLFekp2bmLirIKsz2Bfxur8shI4QADEIiWmJ4XAsNj7eGRrZ29h/XcJUqZSlSSotG3B9GSgD6dXxSN15ZUHhXVXF5bvp1/mPPhdH/tJ97/MO+CkUOqqlanzkXPG7iFs38S03ptxdXuGT5Rv6VACAASGC8q6X73qZTcx1KhgwTL6YQ3HayCEBjzLirMO3ikyvWLp1xg3bhskiHJH13cUXkydvWlmY2Rg2S9IJShs8abBB4P5rYf/echpmFSbzsB93nl+1sXe5W1dSpxhzW4DiBs4YZWl/TMLMQklnjyNKy/IHH6jTAUfz177YJvAmOYxIHfPzR+oJ0H0Byn5gIAHJ87ub1DQGHFMWp0VpzJdgkcNo09z9Um+5y0IviUZV/PFhtIEiJBzI/ggnAwUj82P23ZLiclAMRr6ruuf+W92MJnNRnAA34EXxQM/bcOWtapo92IAQIAHL97uZV85qjJtjbccrMZGmY9Ju4zyQwMcUoASCpREK5iuSSpBjGTxb475hdwrBEpLoi+PPK0I4zF9NudAjGkBQYJo2bpEXTNxZnfGdWfkVuRpbfrSqybuDweLSr/+KOE6FX+kYB48ENKwI+N+OyjcX1tFf31nqdth032boGE4CmmPFcWebuhlnBdO8X/qbI6a70kkD67bOLnx0db+m9wN4uAPid6t9qKl442pev2PRhZ98aTAg0RRPNq+ZVVwav9TarJw+juuHdvLfW47BnJbbp944ANMUS3Q8ur64Mkmv2Yiy/rR5V2TSvYNS06dyHPQWjpki89b5FpYF0uNRrtTN3VhUc14Xg62bQMF5fUjK3MIfYegDyOQTITfnZMoJrtzRWYTvBGOCESR6qmQkAyO5VF+BSA/OL6YGIaXVRJsN2gi8Y+O2lJapku4Jdm0UFWWFsx1badvexwzDrpxdYXYobpiTbG7Ll8oO9BE/coaIs6tONSSfT50nYsQLbTHACk8fyUs8uAHicChA7GraXYINA0OuyuhT/D8oNpwQxwl6CEQKdZlclHEuEYwkaVyYEg2HHXpYt5qIRgAlk0IDOhJ4zNE4jxO7Wno1NXWcSJgAEVfm12oqV88uSeH0Jwa9m5/+5Z/hEwpihqDkqSPaYn7F+Ltog0K6bGRL6zeLi2hkFRZm+pE8w/2zX0Re7wzVOSUIIADAhzXH8fEn6i2tuTmKUCUIj402d554/dmYIkypVVqy2bKVgAtCdMIud8ksrptdML6IUZXdr98p9XXXuL7dVzZq5vb589YJySnEPdoV+su9kd9ysdFj5HLRMcByTD2L6zlun07vFE5Ru3ls02byJCdClG/0/uoNq9F0fnV697+TNbtVl0Q4YC75cBKF+gxR7lMEnGmjbDcfivbo+6YeUAQZ0PByNUy3AqgXlF55YUeZVz+vYkqUvCwS3a/q6soxt6+oD9EdEhAAQdJU7iwCA0F/QyPY633mw7pGKrDZNpx3rq7AWfFgzfz0/+NO7FrEJl+lxFjklDJOMXzBgn4qyWQ27n/vWwt8vKmzUDDbhLsNU8KmEsWlu/hP1c1gGfbW6slmbZKHnAw2/VV3BsiSP1lZtmV9wMs7UMTvBoyZ+oChj461M7QLAqgVlz5ZkNGrG5bUATOB9zfxxcdo9C5kKBoANDbMfnpYZZpgyz6gXbRAwCWnecKti0Rrvro9Or206FTEIADgV9PeaitUL6fbvroZJSP3r+wkhbG4FI8GN44mOB5bOyMtkEGsyPp85GYnGAUimx3Xli+zpGgxPf+twnY/i/prLsGiiwyb+w9x86+zCZZGZHuclu2Bhvl5lTsbL84MjJouGmrpgAnBc0x+vr6IdKLV4vK6qLa4zMExd8IiBty6e5neqtAOlFl6H8saS4hGD+voTdcGfJIx7FpbSjpKKrF5Q9kmC+tQHXcFxTNbl+XP9HqpRUpQcn3t9MD1OOZOLruABE6+dk3oZdMz4/uxgP+VWmu6Cf4+B5xQGqIa4TnSCd7ecbjwTRgQvL8xcubDcpVifZDOnKNBrdk4DiiWhKJgAALFFimTMMGr/eOC8joOKBADbzl58+kjPJ482+J0sRqLXoCDDB4CojscpNtE6IQ/neb/+ffR57UD7uIkrHIpHQh4JTXPIaUTecqDd6nIBAGwI+qnm21IUHMMwL9dP7/rXz6b2gRxZvvKshQwVPXOi38IiXeambI9Gc8mSbg0OuOmeh3Kd9Bj6l/IpJACgPwa9HvI8rgTNfjRFwSYQp2p9R+aqWJ0ON4HLIZs0M+apDpNSYnegxSAAQvO7RlGwDBA3bLml0k7EdJPqScUUBSsIhmJ0U9o4YDAad9Js6SgKdiOpbTBC7/p80DEccaVoDXZK8Eb/GL3r88Gr5y46aKZMU15NIhAKU9lrxAefjUbodrFoC54mS5+GhqmGSGnaQ8PFMl0FdK+ep0jvfnqOaoiU5t32c3mUj8ije3WXhLacDQ9FNKpRUpThWHxzX9hNec8S9YyOWU7HrtYe2lFSkd0f99xEP5OJuuBsBT1yuDems96yYXM001x3qDdAf/swdcEIoMqh/OlgJ+1AqcWbBztnOVj82BaLvOhsRdp4rK9v+CKDWCnBmZGxDUd6A0xOIGa0N2m517F++0dsYtmfx7a3LPMySiZhJFhF6Fxcf/GfH7IJZ2d++6+WXk13sFppY7e7MKBIvzw59PahDmYRbchfD3e80Hkhl+Hx8Ez3By9zKT883PvOkZMsg9qHbce67j/Ue4uL6dFVrHf417nVHxzs2by/jXFcy9ny37b7mrrr3Ky38FhwEFqdW/ld2/njA2MvrVni+wbsWYok9Gd2HN05EPnqUU4MsOYIp1KHfGRI8299b3/H2YlXyEQWNRdc+TEOdIR8W/YdGoqVO6xJT7PsjC6vDLUux917Ttz75oGPzwwgBHZJg5syEx+j9ezg9946cNueT2tdqte63w+38qxKBLDEKZ+NGQu2f3y7T316SenyyrwsjwU/f5RERqLaoa7zLx/t/veYscwpVzstPg3U+sNIHQjVuZSoTp5qPNW9t2NNlntNRc6MvLT8dF+Gx+FyqmhqQ0ZZkSdP70QohoHgKaUFEkK0hB6OJPpHxzv7x3aeGtgxHCtzyHmKbMkT96tYfxjpl9AJGTPJMCafYQCMAciUD9NAdZ5Ju3KoMZqY2oOfACBACJCUL0GWhNJkpNosV9gW37IrURHKUlAWQCUQAPnzxOEpgOBqO0NIvUedcr8OJeMrSBF7HQj+RSZu2VQVXCPnKRm99olr2NQu2FuwIAkIwZwjBHOOEMw5QjDnCMGcIwRzjhDMOUIw5wjBnCMEc44QzDlCMOcIwZwjBHOOEMw5QjDnCMGcIwRzjhDMOUIw5wjBnCMEc44QzDlCMOcIwZwjBHOOEMw5QjDnCMGcIwRzjhDMOUIw5wjBnCMEc44QzDlCMOcIwZwjBHOOEMw5QjDnCMGcIwRzzv8AEgqii7mlsZAAAAAASUVORK5CYII=') center/cover; }

/* =========================================================================
   Extensões (1/2): camada de movimento da home (hm-*). Mesma linguagem das LPs.
   ========================================================================= */
:root {
  --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.4%, 1.067, 1.099 24.3%, 1.108 26%, 1.1, 1.083 30.2%, 1.018 36.4%, .996 39.7%, .985 43.3%, .986 49.8%, 1.001 63.7%, 1);
  --success-ink: #117A3D;
}

/* ---------- Progresso de leitura ---------- */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #4E26DE, #8009AF 60%, #F13615); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { animation: hm-grow linear both; animation-timeline: scroll(root); }
  }
}
@keyframes hm-grow { to { transform: scaleX(1); } }

/* ---------- Botões: reflexo que atravessa o principal ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 66%); transform: translateX(-120%); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-out); }
  .btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 28px -10px rgba(78,38,222,.6); }
}

/* ---------- Hero: título palavra por palavra + sublinhado ---------- */
.hero h1 .hl { position: relative; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 1em; background: linear-gradient(90deg, #4E26DE, #8009AF 60%, #F13615); transform-origin: 0 50%; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  /* o h1 deixa de subir inteiro: quem anima agora são as palavras (o JS as embrulha em .w) */
  .js .hero-copy > h1.hm-split { animation: none; }
  .js .hero h1 .hm-w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); animation: hm-word 700ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 120ms); }
  .js .hero h1 .hl::after { transform: scaleX(0); animation: hm-underline 800ms var(--ease-out) forwards; animation-delay: var(--ul, 700ms); }
  /* lead e botões esperam as palavras terminarem de chegar */
  .js .hero-copy > h1.hm-split ~ .lead { animation-delay: 520ms; }
  .js .hero-copy > h1.hm-split ~ .hero-actions { animation-delay: 640ms; }
  /* o halo atrás da janela deriva devagar */
  header.hero::before { animation: hm-drift 18s var(--ease-in-out) infinite alternate; }
}
@keyframes hm-word { to { opacity: 1; transform: none; filter: none; } }
@keyframes hm-underline { to { transform: scaleX(1); } }
@keyframes hm-drift { to { transform: translate3d(-6%, 8%, 0) scale(1.08); } }

/* ---------- Hero: palco da janela (inclinação + chips + cena) ---------- */
.hero-visual { perspective: 1400px; }
.hero-visual .prodwin { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 600ms var(--ease-out); will-change: transform; }
.hm-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(20,12,51,.06), 0 18px 36px -14px rgba(46,22,140,.35); font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; line-height: 1.25; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity 300ms var(--ease-out), transform 600ms var(--spring); pointer-events: none; }
.hm-float.on { opacity: 1; transform: none; }
.hm-float .fi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.hm-float .fi .i { width: 16px; height: 16px; stroke-width: 2.2; }
.hm-float small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-4); margin-top: 1px; }
.hm-float.f1 { left: -46px; top: 92px; }
.hm-float.f1 .fi { background: rgba(28,180,84,.12); color: var(--success-ink); }
.hm-float.f2 { right: 24px; top: -26px; }
.hm-float.f2 .fi { background: var(--accent-soft); color: var(--accent); }
.hm-float.f3 { left: -30px; bottom: 64px; }
.hm-float.f3 .fi { background: #FFF1EC; color: #C2410C; }
@media (max-width: 1240px) { .hm-float.f1 { left: -12px; } .hm-float.f2 { right: 12px; } .hm-float.f3 { left: -10px; } }
@media (max-width: 560px) { .hm-float { font-size: 12.5px; padding: 8px 12px 8px 8px; } .hm-float small, .hm-float.f2 { display: none; } .hm-float.f1 { top: auto; bottom: 150px; left: -6px; } .hm-float.f3 { bottom: 80px; left: auto; right: -6px; } }
/* traços de cena: o ativo preenche no tempo do rodízio */
.hm-scenes { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.hm-scenes i { width: 34px; height: 4px; border-radius: 4px; background: var(--paper-3); position: relative; overflow: hidden; }
.hm-scenes i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.hm-scenes i.done::after { transform: scaleX(1); }
.hm-scenes i.on::after { animation: hm-grow var(--scene-ms, 6000ms) linear forwards; }
/* cada bolha da cena assenta com mola, em vez da subida linear de antes */
@media (prefers-reduced-motion: no-preference) {
  .prodwin .pw-pane.flush .chat-body > * { animation-name: hm-pop; animation-timing-function: var(--spring); animation-duration: 560ms; }
}
@keyframes hm-pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Revelação ao rolar: entra saindo de um desfoque ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { filter: blur(3px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out); transform: translateY(18px); }
  .js .reveal.in { filter: none; transform: none; }
}

/* ---------- Seção escura (IODAI): céu discreto ---------- */
.night::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,.35), transparent), radial-gradient(1px 1px at 64% 72%, rgba(255,255,255,.3), transparent), radial-gradient(1px 1px at 30% 84%, rgba(255,255,255,.35), transparent), radial-gradient(1px 1px at 90% 58%, rgba(255,255,255,.4), transparent), radial-gradient(1px 1px at 46% 8%, rgba(255,255,255,.3), transparent); }
.night > .wrap { z-index: 1; }

/* ---------- Módulos: ícone responde com mola ---------- */
.mod-ic { transition: transform 450ms var(--spring), background-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .mod-item:hover .mod-ic { transform: translateY(-3px) rotate(-6deg); }
  .mod-item:hover .mod-ic:not(.io) { background: var(--accent); color: #fff; }
}

/* ---------- Depoimentos: marca-texto + cartão que levanta ---------- */
/* seletor pesado de propósito: precisa vencer o .js .reveal.in { transform: none } da home */
@media (hover: hover) and (pointer: fine) { .js .quote.reveal.in:hover, .quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); transition: transform 500ms var(--spring), box-shadow 300ms ease; } }
.quote blockquote b { background: linear-gradient(transparent 58%, rgba(123,92,255,.28) 58%) no-repeat 0 0 / 0% 100%; transition: background-size 900ms var(--ease-out) 450ms; }
.quote.feat blockquote b { background-image: linear-gradient(transparent 58%, rgba(183,164,250,.35) 58%); }
.quote.in blockquote b { background-size: 100% 100%; }

/* ---------- Serviços (bento): brilho que segue o cursor ---------- */
.cell { position: relative; isolation: isolate; overflow: hidden; }
.cell::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(78,38,222,.09), transparent 45%); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.cell.feat::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(255,255,255,.16), transparent 45%); }
@media (hover: hover) and (pointer: fine) {
  .cell:hover::before { opacity: 1; }
  .cell:not(.feat):hover { border-color: var(--accent-line); }
}
/* o caminho da campanha acende item por item quando o cartão entra */
@media (prefers-reduced-motion: no-preference) {
  .js .cell.feat .trail li { opacity: 0; transform: translateX(-10px); transition: opacity 500ms var(--ease-out), transform 600ms var(--spring); }
  .js .cell.feat.in .trail li, .js .reveal.in .cell.feat .trail li { opacity: 1; transform: none; }
  .js .cell.feat .trail li:nth-child(2) { transition-delay: 120ms; }
  .js .cell.feat .trail li:nth-child(3) { transition-delay: 240ms; }
  .js .cell.feat .trail li:nth-child(4) { transition-delay: 360ms; }
  .js .cell.feat .trail li:nth-child(5) { transition-delay: 480ms; }
}

/* ---------- FAQ ---------- */
.qa summary { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--accent-deep); } }

/* ---------- CTA final: orbes que derivam ---------- */
.final { overflow: clip; }
.final > .wrap { z-index: 1; }
.hm-orbs { position: absolute; inset: 0; pointer-events: none; }
.hm-orbs i { position: absolute; border-radius: 50%; }
.hm-orbs i:nth-child(1) { width: 560px; height: 560px; right: 2%; top: -24%; background: radial-gradient(closest-side, rgba(78,38,222,.12), transparent); }
.hm-orbs i:nth-child(2) { width: 460px; height: 460px; left: -6%; bottom: -34%; background: radial-gradient(closest-side, rgba(37,211,102,.10), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .hm-orbs i:nth-child(1) { animation: hm-drift 16s var(--ease-in-out) infinite alternate; }
  .hm-orbs i:nth-child(2) { animation: hm-drift2 20s var(--ease-in-out) infinite alternate; }
}
@keyframes hm-drift2 { to { transform: translate3d(8%, -10%, 0) scale(.92); } }

/* ---------- CTA fixo do celular: sobe com mola ---------- */
.mobile-cta { transition: transform 420ms var(--spring); }

@media (prefers-reduced-motion: reduce) {
  .hm-float { opacity: 1; transform: none; transition: none; }
  .hero-visual .prodwin { transform: none !important; }
}

/* =========================================================================
   Extensões (2/2): o que o site multipágina precisa e a home antiga não tinha.
   Tudo reusa os tokens e as formas da base: cartão 16px, borda --line,
   ícone em quadrado --accent-soft, sombra --shadow-md.
   ========================================================================= */

/* ---------- Menu "Produto": cartão branco com os módulos ---------- */
.nav-links .drop { position: relative; }
.nav-links .drop > button { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border: 0; background: none; border-radius: 100px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink-3); transition: color 160ms ease, background-color 160ms ease; }
.nav-links .drop > button .i { width: 15px; height: 15px; transition: transform 250ms var(--ease-out); }
.nav-links .drop.open > button .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .nav-links .drop > button:hover { color: var(--ink); background: var(--paper-2); } }
.nav-links a[aria-current="page"], .nav-links .drop.current > button { color: var(--ink); font-weight: 600; }
.drop-panel { position: absolute; left: -8px; top: calc(100% + 12px); width: 580px; padding: 10px; border-radius: var(--r-lg); background: var(--paper-card); box-shadow: 0 0 0 1px rgba(20,12,51,.06), var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: 48px 0; pointer-events: none; transition: opacity 180ms var(--ease-out), transform 240ms var(--ease-out); }
.drop.open .drop-panel { opacity: 1; transform: none; pointer-events: auto; }
.drop-panel a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1px 12px; align-items: center; padding: 11px 12px; border-radius: 12px; transition: background-color 160ms ease; }
.drop-panel a:hover { background: var(--paper-soft); }
.drop-panel .mod-ic { grid-row: span 2; }
.drop-panel b { font-size: 15px; font-weight: 700; color: var(--ink); }
.drop-panel span.s { font-size: 13px; color: var(--ink-4); line-height: 1.35; }
.drop-panel .foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.drop-panel .foot a { display: inline; padding: 0; font-weight: 600; color: var(--accent-deep); }
.nav-mobile .grp { font-size: 13px; font-weight: 700; color: var(--ink-4); margin: 16px 0 2px; }

/* ---------- Foto (banco público) no enquadramento dos cartões IDX ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--paper-2); box-shadow: 0 0 0 1px rgba(20,12,51,.06), var(--shadow-md); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; } .photo.wide { aspect-ratio: 16 / 10; } .photo.sq { aspect-ratio: 1; }
.photo-stack { position: relative; }
.float-card { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border-radius: 14px; background: var(--paper-card); box-shadow: 0 0 0 1px rgba(20,12,51,.06), 0 18px 36px -14px rgba(46,22,140,.35); font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.25; white-space: nowrap; }
.float-card small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-4); }
.float-card .fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.float-card .fi.g { background: rgba(28,180,84,.12); color: #117A3D; }
.float-card .fi .i { width: 17px; height: 17px; stroke-width: 2.1; }
@media (prefers-reduced-motion: no-preference) { .float-card.bob { animation: hm-bob 6s var(--ease-in-out) infinite alternate; } .float-card.bob.late { animation-delay: -3s; } }
@keyframes hm-bob { to { transform: translateY(-8px); } }
@media (max-width: 560px) { .float-card { font-size: 12.5px; } .float-card small { display: none; } }

/* ---------- Topo das páginas internas (mesmo desenho do hero da home) ---------- */
.page-hero { position: relative; padding: 56px 0 104px; overflow: clip; }
.page-hero::before { content: ""; position: absolute; right: -12%; top: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(78,38,222,.10), rgba(78,38,222,0)); pointer-events: none; }
.page-hero .hero-grid { position: relative; }
.page-hero h1 { font-size: clamp(38px, 4.2vw, 58px); font-weight: 700; line-height: 1.03; letter-spacing: -0.035em; margin: 24px 0 22px; }
.page-hero h1 .hl { color: var(--accent); position: relative; }
.page-hero .lead { font-size: clamp(17px, 1.45vw, 20px); max-width: 48ch; }
.page-hero .hero-actions { margin-top: 34px; }
.page-hero .tagline { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 100px; background: var(--paper-card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.page-hero .tagline .mod-ic { width: 28px; height: 28px; border-radius: 8px; }
.page-hero .tagline .mod-ic svg { width: 15px; height: 15px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-4); margin-bottom: 18px; }
.crumbs a { transition: color 160ms ease; } .crumbs a:hover { color: var(--accent-deep); }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .hero-copy > * { animation: rise 700ms var(--ease-out) both; }
  .page-hero .hero-copy > :nth-child(2) { animation-delay: 60ms; } .page-hero .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .page-hero .hero-copy > :nth-child(4) { animation-delay: 180ms; } .page-hero .hero-copy > :nth-child(5) { animation-delay: 240ms; }
  .page-hero .hero-visual { animation: windowIn 900ms var(--ease-out) 160ms both; }
}
@media (max-width: 980px) { .page-hero { padding: 36px 0 72px; } }

/* ---------- Grade de recursos (mesmo item de .mod-list, em colunas) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.feat-grid .mod-item { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--line); }
.feat-grid .mod-item:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.feat-grid .mod-ic { transition: transform 450ms var(--spring), background-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .feat-grid .mod-item:hover .mod-ic:not(.io) { transform: translateY(-3px) rotate(-6deg); background: var(--accent); color: #fff; } }
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat-grid .mod-item, .feat-grid .mod-item:not(:nth-child(3n+1)) { padding: 26px 24px 26px 0; border-left: 0; } .feat-grid .mod-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } .feat-grid .mod-item, .feat-grid .mod-item:nth-child(even) { padding: 24px 0; border-left: 0; } }

/* ---------- Cartões de módulo (usa .cell da base) ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
a.cell { transition: transform 500ms var(--spring), border-color 200ms ease, box-shadow 300ms ease; }
a.cell .go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--accent-deep); }
a.cell .go .i { width: 16px; height: 16px; margin: 0; color: currentColor; transition: transform 250ms var(--ease-out); }
a.cell.feat .go { color: #fff; }
@media (hover: hover) and (pointer: fine) { a.cell:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--shadow-md); } a.cell:hover .go .i { transform: translateX(4px); } }
.cell.has-photo { padding: 0; overflow: hidden; }
.cell.has-photo .cell-img { aspect-ratio: 16 / 10; overflow: hidden; }
.cell.has-photo .cell-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.cell.has-photo .cell-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
@media (hover: hover) and (pointer: fine) { .cell.has-photo:hover .cell-img img { transform: scale(1.05); } }
@media (max-width: 980px) { .cards3, .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards3, .cards4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Faixa de fatos (só números verdadeiros do produto) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 22px 26px 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.facts span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { padding-left: 0; border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Faixa de CTA no fim das páginas internas ---------- */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 40px 44px; border-radius: var(--r-xl); background: var(--night); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; right: -10%; top: -60%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(107,59,238,.35), rgba(107,59,238,0)); pointer-events: none; }
.cta-strip h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; line-height: 1.1; max-width: 22ch; position: relative; }
.cta-strip p { margin-top: 10px; max-width: 52ch; position: relative; }
.cta-strip .acts { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
@media (max-width: 640px) { .cta-strip { padding: 30px 22px; } .cta-strip .acts .btn { flex: 1 1 100%; } }

/* título palavra por palavra também no topo das páginas internas */
.page-hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 1em; background: linear-gradient(90deg, #4E26DE, #8009AF 60%, #F13615); transform-origin: 0 50%; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero .hero-copy > h1.hm-split { animation: none; }
  .js .page-hero h1 .hm-w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); animation: hm-word 700ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 120ms); }
  .js .page-hero h1 .hl::after { transform: scaleX(0); animation: hm-underline 800ms var(--ease-out) forwards; animation-delay: var(--ul, 700ms); }
}
.cards3 .cell.feat, .cards4 .cell.feat { grid-row: auto; }
#precos.teaser .pc { border-radius: var(--r-lg); padding-bottom: 36px; }
#precos.teaser .pb-more { grid-column: 1 / -1; margin-top: 28px; display: flex; justify-content: center; }

/* ==========================================================================
   Extensões (3/3): formulário de contato (portado de /forms, mesmos estados)
   e peças da página Sobre.
   ========================================================================== */
.form-card { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 30px 30px 28px; position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--spectrum); }
.form-card .fc-head { margin-bottom: 22px; }
.form-card .fc-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; color: var(--ink); }
.form-card .fc-head p { font-size: 14.5px; color: var(--ink-3); margin: 0; }
@media (max-width: 520px) { .form-card { padding: 24px 20px 22px; } }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--accent); margin-left: 2px; }
.field .hint, .choices-label .hint { font-size: 12.5px; color: var(--ink-4); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2214%22 height=%2214%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23736F87%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%226 9 12 15 18 9%22/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78,38,222,.14); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(230,53,53,.12); }
.field .err { font-size: 12.5px; color: var(--danger); font-weight: 600; display: none; }
.field.has-error .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.phone-group { display: flex; gap: 8px; }
.phone-group select { width: 88px; flex-shrink: 0; padding-left: 12px; padding-right: 28px; }
.phone-group input { flex: 1; min-width: 0; }
.choices-label { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 9px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 100px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: border-color .18s, background-color .18s, color .18s, transform 160ms var(--ease-out); user-select: none; cursor: pointer; }
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); background: var(--paper); flex-shrink: 0; transition: background-color .18s, border-color .18s; }
.choice:active span { transform: scale(.97); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.choice input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--paper); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(78,38,222,.18); }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 20px; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.consent label { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.consent label a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; }
.consent.has-error label { color: var(--danger); }
.btn-block { width: 100%; justify-content: center; }
.form-foot { font-size: 12.5px; color: var(--ink-4); text-align: center; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.form-foot .i { width: 14px; height: 14px; color: var(--success); }
.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
form.sending fieldset { opacity: .55; pointer-events: none; }
.form-result { display: none; text-align: center; padding: 12px 6px 6px; }
.form-result.show { display: block; animation: resultIn .5s var(--ease-out) both; }
@keyframes resultIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.form-result .ri { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.form-result .ri .i { width: 28px; height: 28px; }
.form-result.ok .ri { background: rgba(28,180,84,.12); color: var(--success); }
.form-result.fail .ri { background: rgba(230,53,53,.1); color: var(--danger); }
.form-result h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; color: var(--ink); }
.form-result p { font-size: 15px; color: var(--ink-3); margin: 0 auto 22px; max-width: 38ch; }
.form-result .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.page-hero .form-card { align-self: start; }

/* canais de contato ao lado do formulário */
.ways { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; max-width: 460px; }
.ways a, .ways .way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-card); transition: border-color .2s, transform 160ms var(--ease-out); }
.ways a:hover { border-color: var(--accent-line); }
.ways a:active { transform: scale(.98); }
.ways .wi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.ways .wi.wa { background: rgba(37,211,102,.12); color: #128C4B; }
.ways .wi svg { width: 20px; height: 20px; }
.ways b { display: block; font-size: 15.5px; color: var(--ink); }
.ways small { display: block; font-size: 13.5px; color: var(--ink-4); }

/* Sobre: dois lados da mesma casa */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.duo .cell h3 { font-size: 26px; }
.duo .cell ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.duo .cell li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.duo .cell li .i { width: 18px; height: 18px; color: var(--accent); margin: 2px 0 0; }
.duo .cell.feat li { color: rgba(255,255,255,.85); }
.duo .cell.feat li .i { color: #fff; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.id-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-card); overflow: hidden; }
.id-card > div { padding: 24px 26px; }
.id-card > div + div { border-left: 1px solid var(--line); }
.id-card span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }
.id-card b { font-size: 16.5px; color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .id-card { grid-template-columns: minmax(0, 1fr); } .id-card > div + div { border-left: 0; border-top: 1px solid var(--line); } }
