/* ==========================================================================
   SDR Automotivo - página inicial (landing)
   Acabamento de produto: superfícies com profundidade, cantos levemente arredondados,
   tipografia grande e muito respiro. O vermelho continua sendo o único acento.
   Tudo que se move para com prefers-reduced-motion.
   ========================================================================== */

:root {
  --font-head: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --page-x: max(var(--gutter), calc((100vw - 1200px) / 2));
  --sec-y: clamp(48px, 4.6vw, 68px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --raio: 20px;
  --raio-m: 14px;
  --raio-p: 10px;

  /* tema escuro (padrão) */
  --bg: #050506;
  --bg-2: #0c0c0e;
  --bg-3: #141417;
  --text-1: #f5f5f7;
  --text-2: #a7a7ae;
  --text-3: #8b8b93;
  --rule: rgba(255, 255, 255, .09);
  --rule-strong: rgba(255, 255, 255, .16);
  --sup: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  --sup-solida: #0e0e11;
  --borda: rgba(255, 255, 255, .085);
  --borda-forte: rgba(255, 255, 255, .18);
  --realce: inset 0 1px 0 rgba(255, 255, 255, .07);
  --sombra: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 10px 24px -12px rgba(0, 0, 0, .6);
  --vidro: rgba(14, 14, 17, .62);
  --luz: rgba(255, 255, 255, .06);
  --acento-suave: rgba(246, 65, 55, .14);
  --acento-luz: rgba(246, 65, 55, .22);
  --tela: #08080a;
  --balao-ia: #17171b;
  --balao-cli: #f1f1f3;
  --balao-cli-texto: #0a0a0b;
}
:root[data-theme="light"] {
  --bg: #f2f2f4;
  --bg-2: #f5f5f7;
  --bg-3: #ebebed;
  --text-1: #0a0a0b;
  --text-2: #52525b;
  --text-3: #6b6b73;
  --rule: rgba(0, 0, 0, .08);
  --rule-strong: rgba(0, 0, 0, .15);
  --sup: linear-gradient(180deg, #ffffff, #fcfcfc);
  --sup-solida: #ffffff;
  --borda: rgba(0, 0, 0, .09);
  --borda-forte: rgba(0, 0, 0, .17);
  --realce: inset 0 1px 0 rgba(255, 255, 255, 1);
  --sombra: 0 1px 2px rgba(16, 16, 24, .05), 0 14px 34px -14px rgba(16, 16, 24, .18), 0 44px 90px -44px rgba(16, 16, 24, .28);
  --vidro: rgba(255, 255, 255, .7);
  --luz: rgba(0, 0, 0, .035);
  --acento-suave: rgba(198, 46, 37, .08);
  --acento-luz: rgba(198, 46, 37, .2);
  --tela: #e9eaee;
  --balao-ia: #ffffff;
  --balao-cli: #0a0a0b;
  --balao-cli-texto: #ffffff;
}

body { background: var(--bg); font-feature-settings: "cv11", "ss01"; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nota { margin-top: 28px; text-align: center; font-family: var(--font-mono); font-size: 11px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
:focus-visible { outline: 2px solid var(--text-1); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.botao { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s; }
.botao:hover { transform: translateY(-1px); }
.botao-primario { background: var(--accent-btn); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 30px -10px rgba(198, 46, 37, .7); }
.botao-primario:hover { background: var(--accent-btn-hover); }
.botao-primario::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 2px; transition: transform .25s var(--ease); }
.botao-primario:hover::after { transform: translateX(3px) rotate(45deg); }
.botao-vidro { background: var(--vidro); color: var(--text-1); border: 1px solid var(--borda-forte); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.botao-vidro:hover { border-color: var(--text-2); }

/* --------------------------------------------------------------------------
   Cabeçalho (mesma estrutura das outras páginas públicas, com acabamento da landing)
   -------------------------------------------------------------------------- */
.topbar.site { position: sticky; top: 0; z-index: 40; background: var(--bg); background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom-color: var(--borda); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.topbar.site nav a:not(.nav-cta) { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.topbar.site nav a:not(.nav-cta):hover { color: var(--text-1); }
.topbar.site nav a.nav-cta { height: 36px; padding: 0 16px; border-radius: 10px; border-color: var(--borda-forte); font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.topbar.site .theme-toggle { height: 36px; min-width: 0; padding: 0 14px; border-radius: 10px; border-color: var(--borda-forte); font-family: var(--font-body); font-size: 13px; letter-spacing: 0; text-transform: none; }
.skip { z-index: 60; border-radius: 0 0 10px 10px; }
html { scroll-padding-top: calc(var(--topbar-h) + 8px); }
.tema-icone { display: none !important; }
.tema-icone span { width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.leitura { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform-origin: left center; transform: scaleX(var(--lido, 0)); pointer-events: none; }

/* --------------------------------------------------------------------------
   Herói com fundo em movimento
   -------------------------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 78vh; min-height: 78svh; overflow: hidden; isolation: isolate; }
.hero-fundo { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 40% at 64% 58%, rgba(255, 196, 150, .16), transparent 70%),
  radial-gradient(30% 22% at 78% 62%, rgba(246, 65, 55, .22), transparent 70%),
  linear-gradient(180deg, #050506 0%, #0b0a0a 55%, #050506 100%); }
/* Tema claro: o herói continua noturno, numa vitrine emoldurada com cantos arredondados no meio da página clara */
:root[data-theme="light"] .hero {
  --bg: #050506; --text-1: #f5f5f7; --text-2: #b4b4bb; --text-3: #9a9aa2;
  --borda: rgba(255, 255, 255, .1); --borda-forte: rgba(255, 255, 255, .2); --vidro: rgba(14, 14, 17, .55); --acento-suave: rgba(246, 65, 55, .16);
  --accent: #f64137;
  margin: 14px; min-height: calc(78vh - 28px); min-height: calc(78svh - 28px);
  border-radius: 28px; clip-path: inset(0 round 28px); color: var(--text-1); background: var(--bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 30px 80px -30px rgba(16, 16, 24, .45);
}
:root[data-theme="light"] .hero .botao-vidro:hover { border-color: #b4b4bb; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-fundo.pronto .hero-video { opacity: 1; }
/* véu para o texto: escurece (ou clareia) do lado das letras e no pé, emendando com a página */
.hero-fundo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 38%, transparent 66%),
  linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 22%, transparent 45%),
  linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent) 0%, transparent 18%); }
.hero-inner { position: relative; padding: clamp(40px, 6vh, 80px) var(--page-x) clamp(40px, 7vh, 88px); max-width: calc(var(--page-x) + 860px); }
.selo { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--borda-forte); border-radius: 999px; background: var(--vidro); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 500; color: var(--text-1); }
.selo-ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--acento-suave); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(40px, 5.3vw, 80px); line-height: 1; letter-spacing: -0.045em; max-width: 12.5em; }
.hero h1 span { color: var(--text-2); }
.hero .lead { max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--text-2); }
.hero .acoes { margin-top: 28px; }
@keyframes subir { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: subir 1s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
}

/* --------------------------------------------------------------------------
   Seções (enxutas: pouco espaço vertical, títulos médios)
   -------------------------------------------------------------------------- */
.secao { position: relative; padding: var(--sec-y) var(--page-x); }
.cabeca { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.secao h2, .cta h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.06; letter-spacing: -0.038em; }
.secao h2 + p { margin-top: 10px; max-width: 34em; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.secao { isolation: isolate; }
.secao::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 100%); height: 70%; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, var(--luz), transparent 70%); pointer-events: none; z-index: -1; }

/* Superfície comum */
.aparelho, .ficha, .aba, .mock, .painel, .seguranca { background: var(--sup); border: 1px solid var(--borda); box-shadow: var(--realce), var(--sombra); }

/* --------------------------------------------------------------------------
   1. Conversa + ficha
   -------------------------------------------------------------------------- */
.secao-conversa { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.conversa-texto > p:not(.kicker) { margin-top: 10px; max-width: 36em; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.pontos { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pontos > div { padding: 14px 18px; border-radius: var(--raio-m); border: 1px solid var(--borda); background: var(--sup); box-shadow: var(--realce); }
.pontos dt { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.pontos dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--acento-suave); }
.pontos dd { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

.palco-conversa { position: relative; display: grid; grid-template-columns: 340px 260px; gap: 20px; align-items: center; }
.aparelho { position: relative; display: flex; flex-direction: column; height: 440px; border-radius: 28px; overflow: hidden; background: var(--tela); }
.ap-topo, .mk-topo-grupo { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; border-bottom: 1px solid var(--borda); background: var(--vidro); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); flex: none; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--text-1); color: var(--bg); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.contato { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contato b { font-size: 14.5px; font-weight: 600; }
.contato > span { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status.digitando { color: var(--accent); }
.tela { position: relative; flex: 1; overflow: hidden; }
.conversa { list-style: none; display: flex; flex-direction: column; gap: 7px; padding: 14px 12px 20px; transform: translateY(var(--rolagem, 0px)); transition: transform .7s var(--ease); }
.msg { position: relative; max-width: 86%; padding: 8px 11px 20px; font-size: 13.5px; line-height: 1.42; }
.msg.cli { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--balao-cli); color: var(--balao-cli-texto); }
.msg.ia { align-self: flex-start; border-radius: 16px 16px 16px 4px; background: var(--balao-ia); border: 1px solid var(--borda); color: var(--text-1); }
.msg .hora, .gm .hora { position: absolute; right: 10px; bottom: 4px; font-family: var(--font-mono); font-size: 10px; opacity: .72; }
.msg.audio { display: flex; align-items: center; gap: 10px; min-width: 210px; padding: 11px 13px 22px; }
.play { width: 0; height: 0; flex: none; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.onda { display: flex; align-items: center; gap: 2px; height: 20px; flex: 1; }
.onda i { display: block; width: 3px; flex: none; border-radius: 2px; background: currentColor; opacity: .38; transition: opacity .2s; }
.onda i:nth-child(6n+1) { height: 30%; } .onda i:nth-child(6n+2) { height: 70%; } .onda i:nth-child(6n+3) { height: 100%; }
.onda i:nth-child(6n+4) { height: 55%; } .onda i:nth-child(6n+5) { height: 85%; } .onda i:nth-child(6n) { height: 40%; }
.onda i.tocou { opacity: 1; }
.dur { font-family: var(--font-mono); font-size: 11px; }
.cartao-visita { display: flex; flex-direction: column; gap: 3px; min-width: 220px; box-shadow: inset 3px 0 0 var(--accent); }
.cv-rotulo { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cv-quando { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.cv-linha { font-size: 12.5px; color: var(--text-2); }
.digitando-bolha { align-self: flex-start; display: flex; gap: 4px; padding: 12px 13px; border-radius: 16px 16px 16px 4px; background: var(--balao-ia); border: 1px solid var(--borda); }
.digitando-bolha i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: pontinho 1.2s ease-in-out infinite; }
.digitando-bolha i:nth-child(2) { animation-delay: .15s; }
.digitando-bolha i:nth-child(3) { animation-delay: .3s; }
@keyframes pontinho { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

.palco-conversa.anima .msg { opacity: 0; transform: translateY(12px) scale(.97); transform-origin: left bottom; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.palco-conversa.anima .msg.cli { transform-origin: right bottom; }
.palco-conversa.anima .msg.on { opacity: 1; transform: none; }
html:not(.js) .tela, .palco-conversa.estatica .tela { overflow: visible; }
html:not(.js) .aparelho, .palco-conversa.estatica .aparelho { height: auto; }

.ficha { padding: 16px 18px; border-radius: var(--raio); }
.ficha-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--borda); }
.ficha-titulo { font-size: 14px; font-weight: 600; }
.ficha-situacao, .selo-mini { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--acento-luz); background: var(--acento-suave); font-size: 11.5px; font-weight: 500; color: var(--text-1); white-space: nowrap; }
.ficha dl > div { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--borda); }
.ficha dl > div:last-child { border-bottom: 0; padding-bottom: 2px; }
.ficha dl > div::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--rule-strong); transition: background .3s, border-color .3s; }
.ficha dl > div::after { content: ""; position: absolute; left: 5px; top: 19px; width: 6px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); opacity: 0; transition: opacity .3s; }
.ficha dl > div.ok::before, html:not(.js) .ficha dl > div::before, .palco-conversa:not(.anima) .ficha dl > div::before { background: var(--accent); border-color: var(--accent); }
.ficha dl > div.ok::after, html:not(.js) .ficha dl > div::after, .palco-conversa:not(.anima) .ficha dl > div::after { opacity: 1; }
.ficha dt { font-size: 12px; color: var(--text-3); }
.ficha dd { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.palco-conversa.anima .ficha dd { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.palco-conversa.anima .ficha dl > div:not(.ok) dt::after { content: " · aguardando"; }
.palco-conversa.anima .ficha dl > div.ok dd { opacity: 1; transform: none; }
.ficha dl > div.acendeu { animation: acende 1.1s var(--ease); }
@keyframes acende { from { background: var(--acento-suave); } to { background: transparent; } }

/* --------------------------------------------------------------------------
   2. Abas: entrega, Google Agenda, grupo, resumo e follow-up
   -------------------------------------------------------------------------- */
.abas { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; max-width: 1080px; margin: 0 auto; }
.abas-lista { display: flex; flex-direction: column; gap: 6px; }
.aba { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 11px 16px 11px 20px; border-radius: var(--raio-m); text-align: left; cursor: pointer; overflow: hidden; box-shadow: var(--realce); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.aba b { font-size: 15px; font-weight: 600; color: var(--text-1); }
.aba span { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.aba::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--rule-strong); transition: background .3s; }
.aba:hover { border-color: var(--borda-forte); }
.aba[aria-selected="true"] { border-color: var(--acento-luz); box-shadow: var(--realce), var(--sombra); }
.aba[aria-selected="true"]::before { background: var(--accent); }
.aba::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); opacity: 0; }
.abas.girando .aba[aria-selected="true"]::after { opacity: .5; animation: avanca var(--tempo-aba, 7s) linear forwards; }
@keyframes avanca { to { transform: scaleX(1); } }
.aba:focus-visible { outline-offset: 2px; }
.abas-paineis { position: relative; min-height: 0; }
.js .painel-aba[hidden] { display: none; }
.painel-aba { animation: entra-painel .5s var(--ease); }
@keyframes entra-painel { from { opacity: 0; transform: translateY(10px); } }
html:not(.js) .painel-aba + .painel-aba { margin-top: 16px; }

.mock { border-radius: var(--raio); overflow: hidden; }
.mk-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--borda); background: var(--bg-2); }
.mk-titulo { font-size: 14px; font-weight: 600; }
.mk-topo-grupo { justify-content: flex-start; }
.mk-nota { padding: 0 16px 14px; font-size: 12.5px; color: var(--text-3); }

/* lead entregue */
.mk-linhas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px 18px 0; }
.mk-linhas > div { padding: 10px 12px; border-radius: var(--raio-p); border: 1px solid var(--borda); background: var(--bg-2); }
.mk-linhas dt { font-size: 12px; color: var(--text-3); }
.mk-linhas dd { margin-top: 2px; font-size: 14px; font-weight: 500; }
.mk-visita { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: baseline; margin: 12px 18px 18px; padding: 14px 16px; border-radius: var(--raio-m); border: 1px solid var(--acento-luz); background: var(--acento-suave); box-shadow: inset 3px 0 0 var(--accent); }
.mk-visita-rotulo { grid-row: 1 / 3; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.mk-visita b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.mk-visita span:last-child { font-size: 13px; color: var(--text-2); }

/* Google Agenda */
.ga-grade { position: relative; height: 160px; margin: 14px 18px 0; border-radius: var(--raio-m); border: 1px solid var(--borda); background: var(--bg-2); }
.ga-hora { position: absolute; left: 14px; right: 14px; top: calc(14px + var(--h) * 38px); font-family: var(--font-mono); font-size: 11px; color: var(--text-3); line-height: 1; }
.ga-hora::after { content: ""; position: absolute; left: 52px; right: 0; top: 5px; height: 1px; background: var(--borda); }
.ga-evento { position: absolute; left: 72px; right: 14px; top: 46px; height: 34px; display: flex; flex-direction: column; justify-content: center; padding: 0 12px; border-radius: 8px; background: var(--accent-btn); color: #fff; font-size: 11.5px; line-height: 1.25; box-shadow: 0 8px 20px -8px rgba(198, 46, 37, .6); }
.ga-evento b { font-size: 12.5px; font-weight: 600; }
.ga-log { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 12px 18px 0; }
.ga-log li { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.ga-acao { flex: none; min-width: 72px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--borda-forte); font-size: 11.5px; font-weight: 600; color: var(--text-1); text-align: center; }
.ga-lembretes { padding: 12px 18px 16px; font-size: 13px; color: var(--text-3); }
@media (prefers-reduced-motion: no-preference) {
  .painel-aba.ativo .ga-evento { animation: move-evento 6s var(--ease) .6s both; }
  .painel-aba.ativo .ga-log li { animation: entra-painel .5s var(--ease) both; }
  .painel-aba.ativo .ga-log li:nth-child(2) { animation-delay: 1.8s; }
  .painel-aba.ativo .ga-log li:nth-child(3) { animation-delay: 3.6s; }
}
@keyframes move-evento { 0%, 25% { top: 46px; } 45%, 100% { top: 84px; } }

/* grupo */
.grupo { position: relative; background: var(--tela); }
.avatar-grupo { position: relative; background: var(--bg-3); }
.avatar-grupo i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--text-2); }
.avatar-grupo i:first-child { left: 6px; top: 8px; }
.avatar-grupo i:last-child { right: 6px; bottom: 8px; background: var(--accent); }
.grupo-msgs { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 12px; }
.gm { position: relative; align-self: flex-start; max-width: 92%; padding: 9px 12px 20px; border-radius: 16px 16px 16px 4px; background: var(--balao-ia); border: 1px solid var(--borda); font-size: 13.5px; line-height: 1.45; }
.gm-autor { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 600; color: var(--accent); }
.gm-vend .gm-autor { color: var(--text-2); }
.gm-titulo { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.gm-linha { display: block; font-size: 13px; color: var(--text-2); }
.gm-mencao { display: inline-block; margin-top: 4px; font-weight: 500; color: var(--accent); }
.gm p .gm-mencao { margin-top: 0; }
.gm-sistema { align-self: center; display: flex; align-items: center; gap: 10px; margin-top: 2px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--acento-luz); background: var(--acento-suave); font-size: 13px; font-weight: 500; }
.marca-check { width: 10px; height: 5px; margin-top: -3px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.grupo.anima .gm, .grupo.anima .gm-sistema { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.grupo.anima .on { opacity: 1 !important; transform: none !important; }
.gm.chamando { animation: chama 1.4s var(--ease); }
@keyframes chama { 0% { box-shadow: 0 0 0 0 var(--acento-luz); } 100% { box-shadow: 0 0 0 12px transparent; } }

/* resumo */
.rs-lista { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.rs-lista li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.rs-lista li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--acento-suave); }
.rs-conversa { display: flex; justify-content: space-between; margin: 0 18px 18px; padding: 12px 14px; border-radius: var(--raio-p); border: 1px dashed var(--borda-forte); font-size: 13px; color: var(--text-3); }
@media (prefers-reduced-motion: no-preference) {
  .painel-aba.ativo .rs-lista li { animation: entra-painel .5s var(--ease) both; }
  .painel-aba.ativo .rs-lista li:nth-child(2) { animation-delay: .12s; }
  .painel-aba.ativo .rs-lista li:nth-child(3) { animation-delay: .24s; }
  .painel-aba.ativo .rs-lista li:nth-child(4) { animation-delay: .36s; }
}

/* follow-up */
.fw-linhas { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px 6px; }
.fw-linha { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; font-size: 13px; color: var(--text-2); }
.fw-trilho { position: relative; height: 14px; }
.fw-trilho::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule-strong); }
.fw-trilho i { position: absolute; top: 50%; left: calc(var(--x) * (100% - 12px)); width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--text-1); box-shadow: 0 0 0 4px var(--sup-solida); }
.fw-trilho i.fw-acento { background: var(--accent); }
.fw-eixo { display: flex; justify-content: space-between; margin-left: 140px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.fw-msg { margin: 12px 18px 18px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--balao-ia); border: 1px solid var(--borda); font-size: 14px; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .painel-aba.ativo .fw-trilho i { animation: ponto .5s var(--ease) both; }
  .painel-aba.ativo .fw-trilho i:nth-child(2) { animation-delay: .15s; }
  .painel-aba.ativo .fw-trilho i:nth-child(3) { animation-delay: .3s; }
  .painel-aba.ativo .fw-trilho i:nth-child(4) { animation-delay: .45s; }
  .painel-aba.ativo .fw-trilho i:nth-child(5) { animation-delay: .6s; }
}
@keyframes ponto { from { opacity: 0; transform: scale(.2); } }

/* --------------------------------------------------------------------------
   3. Indicadores
   -------------------------------------------------------------------------- */
.secao-indicadores { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.painel { border-radius: var(--raio); overflow: hidden; }
.pn-topo { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--borda); background: var(--bg-2); }
.pn-pontos { display: flex; gap: 6px; }
.pn-pontos i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-strong); }
.pn-titulo { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.pn-exemplo { margin-left: auto; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--borda-forte); font-size: 12px; font-weight: 500; color: var(--text-1); white-space: nowrap; }
.pn-corpo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.funil { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-right: 1px solid var(--borda); }
.funil li { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; align-items: baseline; }
.fu-nome { font-size: 13.5px; color: var(--text-2); }
.fu-valor { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.fu-barra { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.fu-barra i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); min-width: 6px; border-radius: 6px; background: var(--text-2); transform-origin: left center; transition: transform 1.3s var(--ease); }
.funil li:nth-child(2) .fu-barra i { transition-delay: .15s; }
.funil li:nth-child(3) .fu-barra i { transition-delay: .3s; }
.funil li:nth-child(4) .fu-barra i { transition-delay: .45s; }
.js .painel:not(.in) .fu-barra i { transform: scaleX(0); }
.fu-destaque .fu-barra i { background: var(--accent); }
.pn-lado { display: flex; flex-direction: column; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-bottom: 1px solid var(--borda); flex: 1; justify-content: center; }
.kpi:last-child { border-bottom: 0; }
.kpi-nome { font-size: 13px; color: var(--text-2); }
.kpi-valor { font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.kpi-valor b { font-weight: 600; }
.kpi-medidor { position: relative; height: 6px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.kpi-medidor i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 4px; background: var(--text-1); transform-origin: left; transition: transform 1.3s var(--ease) .5s; }
.js .painel:not(.in) .kpi-medidor i { transform: scaleX(0); }

/* --------------------------------------------------------------------------
   Segurança (faixa discreta)
   -------------------------------------------------------------------------- */
.seguranca { display: grid; grid-template-columns: auto minmax(15em, auto) minmax(0, 1fr) auto; align-items: center; gap: 16px 28px; margin: 0 var(--page-x) 40px; padding: 16px 20px; border-radius: var(--raio); }
.seg-icone { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--acento-suave); border: 1px solid var(--acento-luz); }
.seg-icone::before { content: ""; position: absolute; left: 11px; top: 9px; width: 16px; height: 19px; border: 1.5px solid var(--text-1); border-radius: 3px 3px 9px 9px; box-sizing: border-box; }
.seg-icone::after { content: ""; position: absolute; left: 15.5px; top: 15px; width: 7px; height: 4px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.seguranca h2 { font-size: 16px; letter-spacing: -0.015em; line-height: 1.3; }
.seg-itens { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.seg-itens li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.seg-itens li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.seg-link { font-size: 14px; font-weight: 500; color: var(--text-1); white-space: nowrap; border-bottom: 1px solid var(--borda-forte); padding: 6px 0; transition: border-color .2s; }
.seg-link:hover { border-color: var(--text-1); }

/* --------------------------------------------------------------------------
   Chamada final
   -------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(44px, 5vw, 64px) var(--page-x); border-top: 1px solid var(--borda); text-align: center; }
.cta-luz { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 70% at 50% 100%, var(--acento-luz), transparent 70%); }
.cta-luz::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta h2 span { color: var(--text-2); }
.cta .acoes { justify-content: center; margin-top: 22px; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.foot { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; column-gap: 40px; align-items: center; padding: 18px var(--page-x); border-top: 1px solid var(--borda); font-size: 13px; color: var(--text-3); }
.foot .wordmark { color: var(--text-1); }
.foot nav, .foot .legal, .foot .end, .foot .co { display: flex; align-items: center; gap: 0 24px; white-space: nowrap; }
.foot nav { flex-wrap: wrap; }
.foot nav a, .foot .legal a { padding: 10px 0; color: var(--text-2); transition: color .2s; }
.foot nav a:hover, .foot .legal a:hover { color: var(--text-1); }
.foot .co { color: var(--text-2); }

/* --------------------------------------------------------------------------
   Revelação por rolagem: sobe e ganha nitidez
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); }
  .js [data-reveal].in { transform: none; filter: blur(0); }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .foot { grid-template-columns: 200px minmax(0, 1fr); row-gap: 4px; }
  .foot .end { grid-column: 2; justify-content: space-between; }
  .secao-conversa { grid-template-columns: minmax(0, 1fr); }
  .palco-conversa { justify-content: center; }
}
@media (max-width: 1023px) {
  .seguranca { grid-template-columns: auto minmax(0, 1fr) auto; }
  .seg-itens { grid-column: 2 / -1; grid-row: 2; }
  .secao-indicadores { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .abas { grid-template-columns: minmax(0, 1fr); }
  .abas-paineis { min-height: 0; }
  .foot { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 20px var(--page-x) 16px; }
  .foot .end { grid-column: 1; }
}
@media (max-width: 679px) {
  .palco-conversa { grid-template-columns: minmax(0, 1fr); }
  .aparelho { height: 480px; }
  .pn-corpo { grid-template-columns: minmax(0, 1fr); }
  .funil { border-right: 0; border-bottom: 1px solid var(--borda); }
}
@media (max-width: 639px) {
  .topbar.site nav { gap: 10px; }
  .topbar.site .tema-texto { display: none; }
  .topbar.site .tema-icone { display: inline-flex !important; width: 40px; height: 40px; padding: 0; }
  .topbar.site nav a.nav-cta { height: 40px; }
  .hero-fundo::after { background:
    linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 45%, color-mix(in srgb, var(--bg) 30%, transparent) 70%, transparent 88%); }
  .secao { padding-top: 40px; padding-bottom: 40px; }
  .hero { min-height: calc(92svh - var(--topbar-h)); }
  .hero-inner { padding-top: 30vh; padding-top: 30svh; padding-bottom: 36px; }
  :root[data-theme="light"] .hero { margin: 10px; border-radius: 22px; clip-path: inset(0 round 22px); min-height: calc(92svh - var(--topbar-h) - 20px); }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); margin: 20px 0 18px; }
  .hero .lead { font-size: 16px; }
  .hero .acoes .botao { width: 100%; }
  .aba { padding: 12px 14px 12px 18px; }
  .mk-linhas { grid-template-columns: minmax(0, 1fr); }
  .fw-linha { grid-template-columns: 110px minmax(0, 1fr); }
  .fw-eixo { margin-left: 110px; }
  .ga-log li { flex-direction: column; gap: 4px; }
  .seguranca { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
  .seg-itens { grid-column: 1 / -1; flex-direction: column; }
  .seg-link { grid-column: 1 / -1; justify-self: start; }
  .cta .acoes .botao { width: 100%; }
  .foot { row-gap: 14px; padding: 24px var(--page-x); }
  .foot nav, .foot .legal { flex-direction: column; align-items: flex-start; }
  .foot .end { flex-wrap: wrap; row-gap: 14px; }
  .foot .legal, .foot .co { flex-basis: 100%; }
  .foot .co { justify-content: space-between; margin-top: 6px; }
}

/* --------------------------------------------------------------------------
   Movimento reduzido: tudo visível e parado
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .leitura { display: none; }
  .js .painel:not(.in) .fu-barra i, .js .painel:not(.in) .kpi-medidor i { transform: none; }
  .digitando-bolha i, .painel-aba { animation: none; }
  .botao:hover { transform: none; }
}
