/* Página /agents (Revaya Agents) no layout de referência do hubenjoy.com.br:
   Inter Tight nos títulos (peso 500, tracking negativo, segunda linha em cinza), Inter no texto,
   Geist Mono nas etiquetas em azul, botões azuis retos, fundo branco, grades com bordas finas,
   caixas pretas e FAQ em duas colunas. Carregado por último: sobrescreve home-v3/hero-video/revaya. */

body.rv-agents-page {
    --ag-ink: #0a0a0a;
    --ag-head: #26251e;
    --ag-text-2: #52525b;
    --ag-muted: #8a8a8a;
    --ag-line: #e7e7e7;
    --ag-soft: #f5f5f5;
    --ag-blue: #0284c7;
    --ag-blue-2: #0369a1;
    --ag-display: "Inter Tight", "Inter", system-ui, sans-serif;
    --ag-body: "Inter", system-ui, sans-serif;
    --ag-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
    --font-display: var(--ag-display);
    --font-body: var(--ag-body);
    --v3-bg: #ffffff;
    --v3-bg-soft: var(--ag-soft);
    --v3-text: var(--ag-ink);
    --v3-text-2: var(--ag-text-2);
    --v3-text-3: var(--ag-muted);
    --v3-line: var(--ag-line);
    --v3-card: #ffffff;
    font-family: var(--ag-body);
    background: #fff;
    color: var(--ag-ink);
}

html:root body.rv-agents-page .grain-overlay,
html:root body.rv-agents-page .cursor-glow,
html:root body.rv-agents-page .scroll-progress,
html:root body.rv-agents-page .cta-mesh { display: none !important; }

/* ---------- Cabeçalho: barra branca simples ---------- */
html:root body.rv-agents-page #mainHeader,
html:root body.rv-agents-page #mainHeader.scrolled { top: 0 !important; padding: 0 !important; background: rgba(255, 255, 255, 0.9) !important; backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
html:root body.rv-agents-page #mainHeader.scrolled { border-bottom-color: var(--ag-line); }
html:root body.rv-agents-page #mainHeader nav,
html:root body.rv-agents-page #mainHeader.scrolled nav { max-width: 1216px; margin: 0 auto; padding: 10px 24px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html:root body.rv-agents-page #mainHeader nav::before { display: none !important; }
html:root body.rv-agents-page .nav-menu li a { font-family: var(--ag-body); font-size: 0.92rem; font-weight: 400; color: var(--ag-ink) !important; }
html:root body.rv-agents-page .nav-menu li a.hv-nav-cta,
html:root body.rv-agents-page .hv-nav-cta { background: var(--ag-blue) !important; color: #fff !important; border-radius: 8px !important; padding: 10px 16px !important; font-weight: 500; box-shadow: none !important; }
html:root body.rv-agents-page .hv-nav-cta:hover { background: var(--ag-blue-2) !important; }

/* ---------- Tipografia comum ---------- */
html:root body.rv-agents-page .section-tag,
html:root body.rv-agents-page .v3-hero-pill { display: inline-block; padding: 0 !important; border: 0 !important; background: none !important; font: 500 0.75rem/1.5 var(--ag-mono) !important; letter-spacing: 0.12em !important; text-transform: uppercase; color: var(--ag-blue) !important; box-shadow: none !important; }
html:root body.rv-agents-page .section-tag::before,
html:root body.rv-agents-page .v3-hero-pill::before { display: none !important; }
html:root body.rv-agents-page .section-title,
html:root body.rv-agents-page .rv-del-title,
html:root body.rv-agents-page .cta-title,
html:root body.rv-agents-page .faq-impact-phrase { font-family: var(--ag-display) !important; font-weight: 500 !important; letter-spacing: -0.02em !important; color: var(--ag-head) !important; }
html:root body.rv-agents-page .section-title em,
html:root body.rv-agents-page .cta-title em,
html:root body.rv-agents-page .faq-impact-phrase .highlight { font-family: inherit !important; font-style: normal !important; font-weight: inherit !important; font-size: inherit !important; letter-spacing: inherit !important; color: var(--ag-muted) !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
html:root body.rv-agents-page .rv-del-title { font-size: clamp(1.9rem, 2.6vw, 2.3rem); line-height: 1.2; }
html:root body.rv-agents-page .rv-del-muted { color: var(--ag-muted); }
html:root body.rv-agents-page .section-subtitle,
html:root body.rv-agents-page .rv-del-lead,
html:root body.rv-agents-page .v3-split-sub { font-family: var(--ag-body); color: var(--ag-text-2); }
html:root body.rv-agents-page .v3-section { padding: 104px 0; background: #fff; }
html:root body.rv-agents-page .v3-section.is-soft { background: #fff; }
html:root body.rv-agents-page .container { max-width: 1264px; }

/* ---------- Botões ---------- */
html:root body.rv-agents-page .hv-btn,
html:root body.rv-agents-page .btn { height: 52px; padding: 0 28px; border-radius: 8px !important; font: 500 1rem/1 var(--ag-body) !important; letter-spacing: 0 !important; animation: none !important; transform: none; }
html:root body.rv-agents-page .hv-btn-primary,
html:root body.rv-agents-page .btn-primary { background: var(--ag-blue) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
html:root body.rv-agents-page .hv-btn-primary::after,
html:root body.rv-agents-page .btn-primary::after { display: none !important; }
html:root body.rv-agents-page .hv-btn-primary:hover,
html:root body.rv-agents-page .btn-primary:hover { background: var(--ag-blue-2) !important; }
html:root body.rv-agents-page .hv-btn-secondary { background: transparent !important; border: 0 !important; color: var(--ag-ink) !important; padding: 0 12px !important; box-shadow: none !important; }
html:root body.rv-agents-page .hv-btn-secondary::after { content: "→"; display: inline !important; position: static !important; width: auto !important; background: none !important; transform: none !important; margin-left: 6px; }

/* ---------- Topo: texto em cima, app sobre faixa azul ---------- */
html:root body.rv-agents-page .v3-hero { padding: 150px 0 0; background: #fff; overflow: hidden; }
html:root body.rv-agents-page .v3-hero::before,
html:root body.rv-agents-page .v3-hero::after { display: none !important; }
html:root body.rv-agents-page .v3-hero-grid { display: block; }
html:root body.rv-agents-page .v3-hero-copy { max-width: 760px; margin: 0 0 0 6%; text-align: left; }
html:root body.rv-agents-page .v3-hero-title { margin: 18px 0 20px; font: 500 clamp(2.6rem, 4.6vw, 3.5rem)/1.1 var(--ag-display) !important; letter-spacing: -0.03em !important; color: var(--ag-head) !important; }
html:root body.rv-agents-page .v3-hero-title em { font: inherit !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
html:root body.rv-agents-page .v3-hero-sub { max-width: 600px; margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ag-text-2); }
html:root body.rv-agents-page .v3-hero-cta { justify-content: flex-start; margin-top: 30px; gap: 8px; }
html:root body.rv-agents-page .v3-hero-note { margin-top: 16px; text-align: left; font-size: 0.9rem; color: var(--ag-text-2); }
html:root body.rv-agents-page .v3-app-wrap { position: relative; margin: 64px calc(50% - 50vw) 0; padding: 80px calc(50vw - 50%) 90px; background: linear-gradient(to bottom, #fff 0, #fff 22%, var(--ag-blue) 22%, var(--ag-blue) 100%); }
html:root body.rv-agents-page .v3-app { max-width: 1000px; margin: 0 auto; box-shadow: 0 30px 80px rgba(10, 10, 10, 0.28) !important; border-radius: 12px; }
html:root body.rv-agents-page .v3-app-toast { left: max(2%, calc(50% - 620px)); }

/* ---------- Frase grande em cinza ---------- */
.rv-stmt { padding: 112px 0 40px; background: #fff; }
.rv-stmt-text { max-width: 1216px; margin: 0; font: 500 clamp(1.6rem, 2.8vw, 2.5rem)/1.28 var(--ag-display); letter-spacing: -0.02em; color: var(--ag-muted); }

/* ---------- Agentes em grade de células ---------- */
html:root body.rv-agents-page .rv-ag { padding-top: 64px; }
.rv-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ag-line); border-left: 1px solid var(--ag-line); }
.rv-cell { padding: 28px 26px 32px; border-right: 1px solid var(--ag-line); border-bottom: 1px solid var(--ag-line); background: #fff; }
.rv-cell-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rv-cell-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--ag-blue); color: #fff; }
.rv-cell-ico svg { width: 16px; height: 16px; }
.rv-cell-aud { font: 500 0.68rem/1 var(--ag-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ag-muted); }
.rv-cell h3 { margin: 0 0 8px; font: 500 1.2rem/1.3 var(--ag-display); letter-spacing: -0.01em; color: var(--ag-head); }
.rv-cell p { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--ag-text-2); }

/* ---------- Delegar (já no formato Córtex): só cores e fontes ---------- */
html:root body.rv-agents-page .rv-del-box { background: var(--ag-blue); }
html:root body.rv-agents-page .rv-del-fig { background: var(--ag-soft); border-color: var(--ag-line); }
html:root body.rv-agents-page .rv-del-n { font-family: var(--ag-mono); color: var(--ag-blue); }
html:root body.rv-agents-page .rv-del-dark { background: var(--ag-ink); border-radius: 12px; }
html:root body.rv-agents-page .rv-del-dark-title { font-family: var(--ag-display); font-weight: 500; }
html:root body.rv-agents-page .rv-del-list h4 { font-family: var(--ag-body); font-weight: 500; }

/* ---------- Assistente e times ---------- */
html:root body.rv-agents-page .v3-frame,
html:root body.rv-agents-page .v3-squad-panel img { border-radius: 12px; }
html:root body.rv-agents-page .v3-cmd-list strong,
html:root body.rv-agents-page .v3-squad-name { font-family: var(--ag-display); font-weight: 500; }
html:root body.rv-agents-page .v3-squad-tab[aria-selected="true"] { border-color: var(--ag-blue) !important; box-shadow: none !important; }
html:root body.rv-agents-page .v3-chips li { border-radius: 999px; border-color: var(--ag-line); background: #fff; }
html:root body.rv-agents-page .v3-squad-agents span:first-child,
html:root body.rv-agents-page .v3-log time { font-family: var(--ag-mono); }

/* ---------- Tabela de atividade dos agentes ---------- */
.rv-act { border: 1px solid var(--ag-line); border-radius: 12px; overflow: hidden; background: #fff; }
.rv-act table { width: 100%; border-collapse: collapse; }
.rv-act th { padding: 16px 22px; text-align: left; font: 500 0.7rem/1.4 var(--ag-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ag-muted); border-bottom: 1px solid var(--ag-line); }
.rv-act td { padding: 22px; font-size: 0.95rem; line-height: 1.45; color: var(--ag-text-2); border-bottom: 1px solid var(--ag-line); vertical-align: middle; }
.rv-act td:first-child { color: var(--ag-ink); font-weight: 500; white-space: nowrap; }
.rv-act tr.is-on td { background: #f0f8ff; }
.rv-act tr.is-on .rv-pill { background: var(--ag-blue); color: #fff; }
.rv-pill { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--ag-soft); color: var(--ag-ink); font-size: 0.85rem; white-space: nowrap; }
.rv-when { font-family: var(--ag-mono); font-size: 0.82rem !important; color: var(--ag-muted) !important; white-space: nowrap; }
.rv-act-foot { margin: 0; padding: 12px 22px; font-size: 0.78rem; color: var(--ag-muted); }

/* ---------- Monte o seu time: passos em células ---------- */
html:root body.rv-agents-page #monte .section-header,
html:root body.rv-agents-page #assistente .section-header { text-align: left; margin-left: 0; }
html:root body.rv-agents-page .v3-flow { gap: 0 !important; border-top: 1px solid var(--ag-line); border-left: 1px solid var(--ag-line); }
html:root body.rv-agents-page .v3-flow li { margin: 0; padding: 28px 26px; border: 0 !important; border-right: 1px solid var(--ag-line) !important; border-bottom: 1px solid var(--ag-line) !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
html:root body.rv-agents-page .v3-flow-num { font-family: var(--ag-mono); color: var(--ag-blue); }
html:root body.rv-agents-page .v3-flow-area { font: 500 1.1rem/1.3 var(--ag-display); letter-spacing: -0.01em; text-transform: none; color: var(--ag-head); }
html:root body.rv-agents-page .v3-result { font-family: var(--ag-display); font-weight: 500; color: var(--ag-head); }

/* ---------- Cabeçalhos de seção à esquerda ---------- */
html:root body.rv-agents-page .section-header { text-align: left; margin-left: 0; margin-right: 0; max-width: 760px; }
html:root body.rv-agents-page .section-header .section-subtitle { margin-left: 0; }

/* ---------- FAQ: título à esquerda, lista com linhas à direita ---------- */
html:root body.rv-agents-page .faq-section { padding: 104px 0; background: #fff !important; }
html:root body.rv-agents-page .faq-impact-box { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html:root body.rv-agents-page .faq-impact-phrase { font-size: clamp(1.9rem, 2.6vw, 2.3rem) !important; line-height: 1.2 !important; }
html:root body.rv-agents-page .faq-impact-subtext { color: var(--ag-text-2) !important; font-family: var(--ag-body); }
html:root body.rv-agents-page .faq-item { border: 0 !important; border-bottom: 1px solid var(--ag-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html:root body.rv-agents-page .faq-question { padding: 22px 0 !important; font: 500 1.02rem/1.4 var(--ag-body) !important; color: var(--ag-ink) !important; background: none !important; }
html:root body.rv-agents-page .faq-icon-wrap { background: none !important; border: 0 !important; color: var(--ag-muted) !important; box-shadow: none !important; }
html:root body.rv-agents-page .faq-answer p { color: var(--ag-text-2) !important; padding-left: 0 !important; }

/* ---------- Chamada final em preto ---------- */
html:root body.rv-agents-page .cta-section { background: var(--ag-ink) !important; padding: 120px 0 !important; }
html:root body.rv-agents-page .cta-title { color: #fff !important; }
html:root body.rv-agents-page .cta-title em { color: rgba(255, 255, 255, 0.55) !important; }
html:root body.rv-agents-page .cta-subtitle { color: rgba(255, 255, 255, 0.72) !important; font-family: var(--ag-body); }
html:root body.rv-agents-page .hv-btn-whatsapp { border-radius: 8px !important; }

@media (max-width: 1024px) {
    .rv-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html:root body.rv-agents-page .v3-hero-copy { margin-left: 0; }
    .rv-act { overflow-x: auto; }
    .rv-act table { min-width: 640px; }
}
@media (max-width: 640px) {
    .rv-cells { grid-template-columns: 1fr; }
    html:root body.rv-agents-page .v3-hero { padding-top: 120px; }
    html:root body.rv-agents-page .v3-app-wrap { margin: 40px -20px 0; padding: 32px 16px 40px; }
    html:root body.rv-agents-page .v3-app-wrap .v3-app-toast { display: none !important; }
    .rv-stmt { padding-top: 72px; }
}

/* ---------- Ajustes da 1ª revisão ---------- */
html:root body.rv-agents-page .v3-hero-copy { margin-left: 0; max-width: 820px; }
html:root body.rv-agents-page .v3-hero-title { max-width: none !important; width: auto; }
html:root body.rv-agents-page .v3-app-wrap .v3-app-toast { left: calc(50% - 600px); bottom: 150px; top: auto; }
html:root body.rv-agents-page .v3-flow li p { font-weight: 400 !important; color: var(--ag-text-2) !important; font-family: var(--ag-body); }
html:root body.rv-agents-page .cta-section .hv-btn-whatsapp { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.3) !important; box-shadow: none !important; }
html:root body.rv-agents-page .cta-section .cta-note,
html:root body.rv-agents-page .cta-section p:last-child { color: rgba(255, 255, 255, 0.6) !important; }
html:root body.rv-agents-page .cta-section .hv-cta-note { color: rgba(255, 255, 255, 0.6) !important; }
html:root body.rv-agents-page .v3-app-wrap .v3-app-toast { left: max(16px, calc(50% - 660px)); bottom: 300px; }

/* ---------- Topo no formato do hubenjoy: print do app sobre faixa azul + faixa de agentes em ação ---------- */
html:root body.rv-agents-page .v3-hero { padding: 140px 0 0; }
html:root body.rv-agents-page .v3-hero-copy { margin-left: 5%; }
html:root body.rv-agents-page .v3-hero-title { font-size: clamp(2.7rem, 4.4vw, 3.6rem) !important; line-height: 1.1 !important; margin-top: 0; }
html:root body.rv-agents-page .hv-btn-secondary.rv-down::after { content: "↓"; }
.rv-hero-vis { position: relative; margin-top: 72px; }
.rv-hero-band { position: absolute; left: 0; right: 0; top: 18%; bottom: 0; background: var(--ag-blue); }
.rv-hero-stage { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 24px 80px; }
.rv-hero-shot { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(10, 10, 10, 0.1); box-shadow: 0 30px 80px rgba(10, 10, 10, 0.3); }
.rv-hero-agent { left: -40px !important; top: 40% !important; }
.rv-hero-cursor { position: absolute; left: calc(24px + (100% - 48px) * 0.3); top: 54%; display: flex; align-items: flex-start; gap: 2px; }
.rv-hero-tag { margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--ag-blue); color: #fff; font: 500 0.85rem/1.2 var(--ag-body); white-space: nowrap; box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35); }
@keyframes rv-cursor { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-60px, 40px); } 60% { transform: translate(-60px, 40px); } }
@media (prefers-reduced-motion: reduce) { .rv-hero-cursor { animation: none; } }

.rv-ticker { border-bottom: 1px solid var(--ag-line); background: #fff; }
.rv-ticker-in { display: flex; align-items: center; gap: 24px; height: 54px; overflow: hidden; }
.rv-ticker-label { display: flex; align-items: center; gap: 10px; flex: none; padding-right: 24px; border-right: 1px solid var(--ag-line); font: 500 0.75rem/1 var(--ag-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ag-ink); }
.rv-ticker-track { display: flex; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-ticker-list { display: flex; flex: none; gap: 40px; margin: 0; padding: 0 40px 0 0; list-style: none; animation: rv-ticker 40s linear infinite; }
.rv-ticker-list li { display: flex; gap: 6px; white-space: nowrap; font: 500 0.75rem/1 var(--ag-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ag-muted); }
.rv-ticker-list li span:first-child { color: var(--ag-ink); }
.rv-tk-sep { color: var(--ag-line); }
@keyframes rv-ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .rv-ticker-list { animation: none; } }

@media (max-width: 1024px) {
    .rv-hero-agent { display: none; }
    html:root body.rv-agents-page .v3-hero-copy { margin-left: 0; }
}
@media (max-width: 640px) {
    .rv-hero-vis { margin-top: 40px; }
    .rv-hero-stage { padding: 0 16px 40px; }
    .rv-hero-cursor { display: none; }
    .rv-ticker-label { padding-right: 12px; }
}

/* ---------- Animação do topo (rv-dm): assistente, pré-vendas no WhatsApp e gráficos ---------- */
.rv-dm { position: relative; display: grid; grid-template-columns: 190px 1fr; height: 510px; border-radius: 12px; border: 1px solid rgba(10, 10, 10, 0.1); background: #f4f7fb; box-shadow: 0 30px 80px rgba(10, 10, 10, 0.3); overflow: hidden; font-family: var(--ag-body); color: #0f172a; text-align: left; }
.rv-dm-side { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; background: #fff; border-right: 1px solid #e5e9f0; }
.rv-dm-logo { width: 138px; height: auto; margin: 0 6px 18px; }
.rv-dm-nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #475569; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s; }
.rv-dm-nav svg { width: 15px; height: 15px; flex: none; }
.rv-dm[data-scene="1"] .rv-dm-nav[data-on="s1"],
.rv-dm[data-scene="2"] .rv-dm-nav[data-on="s2"],
.rv-dm[data-scene="3"] .rv-dm-nav[data-on="s3"] { background: #e0f2fe; color: #0369a1; border-color: #7dd3fc; }
.rv-dm-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.rv-dm-top { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 20px; border-bottom: 1px solid #e5e9f0; background: #fff; }
.rv-dm-crumb { font: 500 11px/1 var(--ag-mono); letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.rv-dm-user { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #7dd3fc; color: #0369a1; font-size: 11px; }
.rv-dm-scene { position: absolute; inset: 48px 0 0; padding: 22px 26px; display: none; }
.rv-dm-scene.is-play { display: block; }
.rv-dm-scene[data-s="2"].is-play { display: grid; grid-template-columns: 1fr 250px; gap: 18px; }
.rv-dm-scene[data-s="3"].is-play { display: flex; flex-direction: column; gap: 14px; }

/* entrada em sequência */
.rv-a { opacity: 0; transform: translateY(8px); }
.is-play .rv-a { animation: rv-in .45s ease forwards; animation-delay: var(--d, 0s); }
@keyframes rv-in { to { opacity: 1; transform: none; } }

/* cena 1 */
.rv-dm-q { width: fit-content; max-width: 70%; margin: 0 0 12px auto; padding: 10px 14px; border-radius: 12px 12px 4px 12px; background: #e2e8f0; font-size: 13.5px; }
.rv-dm-q.is-voice { display: flex; align-items: center; gap: 10px; background: #e0f2fe; color: #0c4a6e; }
.rv-dm-wave { display: flex; align-items: center; gap: 2px; height: 14px; }
.rv-dm-wave i { width: 3px; height: 100%; border-radius: 2px; background: #0284c7; animation: rv-wave 1s ease-in-out infinite; }
.rv-dm-wave i:nth-child(2) { animation-delay: .1s; } .rv-dm-wave i:nth-child(3) { animation-delay: .2s; } .rv-dm-wave i:nth-child(4) { animation-delay: .3s; } .rv-dm-wave i:nth-child(5) { animation-delay: .4s; }
@keyframes rv-wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.rv-dm-ans { max-width: 82%; margin-bottom: 14px; font-size: 13.5px; }
.rv-dm-ans p { margin: 0 0 10px; color: #334155; }
.rv-dm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; overflow: hidden; }
.rv-dm-kpis > div { padding: 10px 12px; border-right: 1px solid #e2e8f0; }
.rv-dm-kpis > div:last-child { border-right: 0; }
.rv-dm-kpis small { display: block; font-size: 10.5px; color: #64748b; }
.rv-dm-kpis b { display: block; margin-top: 2px; font: 600 15px/1.3 var(--ag-display); }
.rv-dm-kpis em { font-style: normal; font-size: 11px; color: #059669; }
.rv-dm-kpis .is-bad { color: #dc2626; }
.rv-dm-kpis.is-big b { font-size: 22px; }
.rv-dm-rows { margin-top: 8px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.rv-dm-rows div { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 12.5px; border-top: 1px solid #eef2f6; }
.rv-dm-rows div:first-child { border-top: 0; }
.rv-dm-rows span:first-child { flex: 1; }
.rv-dm-tag { padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.rv-dm-tag.is-bad { background: #fee2e2; color: #b91c1c; }
.rv-dm-tag.is-ok { background: #dcfce7; color: #15803d; }
.rv-dm-done { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 90%; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; font-size: 13px; color: #334155; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.rv-dm-ok { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: #0284c7; color: #fff; font-size: 11px; }
.rv-dm-undo { margin-left: 6px; padding: 3px 9px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 11.5px; white-space: nowrap; }

/* cena 2 */
.rv-dm-wa { display: flex; flex-direction: column; min-height: 0; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; overflow: hidden; }
.rv-dm-wa-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #eef2f6; }
.rv-dm-wa-head div { flex: 1; min-width: 0; }
.rv-dm-wa-head b { display: block; font-size: 13.5px; }
.rv-dm-wa-head small { font-size: 11px; color: #64748b; }
.rv-dm-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e0f2fe; color: #0369a1; font-weight: 600; font-size: 12px; }
.rv-dm-msgs { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #f8fafc; flex: 1; }
.rv-dm-in, .rv-dm-out { max-width: 78%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.rv-dm-in { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }
.rv-dm-out { align-self: flex-end; background: #0284c7; color: #fff; border-bottom-right-radius: 4px; }
.rv-dm-crm { position: relative; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; align-self: start; }
.rv-dm-lbl { display: block; margin-bottom: 4px; font: 500 10px/1.4 var(--ag-mono); letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.rv-dm-crm b { font-size: 14px; }
.rv-dm-stage { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.rv-dm-stage span { padding: 6px 10px; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 12px; color: #94a3b8; }
.is-play .rv-dm-stage .is-1 { animation: rv-stage 4.2s forwards; }
.is-play .rv-dm-stage .is-2 { animation: rv-stage2 4.2s forwards; }
.is-play .rv-dm-stage .is-3 { animation: rv-stage3 4.2s forwards; }
@keyframes rv-stage { 0%, 35% { background: #e0f2fe; color: #0369a1; border-color: #7dd3fc; } 36%, 100% { background: none; color: #94a3b8; border-color: #e2e8f0; } }
@keyframes rv-stage2 { 0%, 35% { } 36%, 80% { background: #e0f2fe; color: #0369a1; border-color: #7dd3fc; } 81%, 100% { background: none; color: #94a3b8; border-color: #e2e8f0; } }
@keyframes rv-stage3 { 0%, 80% { } 81%, 100% { background: #dcfce7; color: #15803d; border-color: #86efac; } }
.rv-dm-crm ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #475569; }
.rv-dm-crm li::before { content: "✓ "; color: #0284c7; }
.rv-dm-speed { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 999px; background: #0f172a; color: #fff; font: 500 11px/1.4 var(--ag-mono); }

/* cena 3 */
.rv-dm-charts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; flex: 1; min-height: 0; }
.rv-dm-chart { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.rv-dm-chart small { font-size: 11.5px; color: #64748b; }
.rv-dm-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding-top: 14px; }
.rv-dm-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: #0284c7; transform-origin: bottom; transform: scaleY(0); }
.rv-dm-bars i:nth-child(odd) { background: #7dd3fc; }
.is-play .rv-dm-bars i { animation: rv-bar .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
@keyframes rv-bar { to { transform: scaleY(1); } }
.rv-dm-line { flex: 1; width: 100%; height: 100%; margin-top: 10px; }
.rv-dm-line path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.rv-dm-line path + path { stroke-dasharray: 4 4; stroke-dashoffset: 0; opacity: 0; }
.is-play .rv-dm-line path:first-child { animation: rv-draw 1.6s .4s ease forwards; }
.is-play .rv-dm-line path + path { animation: rv-in .6s .3s forwards; }
@keyframes rv-draw { to { stroke-dashoffset: 0; } }
.is-play .rv-dm-kpis.is-big > div { opacity: 0; animation: rv-in .5s forwards; }
.is-play .rv-dm-kpis.is-big > div:nth-child(2) { animation-delay: .15s; }
.is-play .rv-dm-kpis.is-big > div:nth-child(3) { animation-delay: .3s; }

/* abas da demonstração */
.rv-dm-tabs { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.rv-dm-tab { position: relative; overflow: hidden; padding: 9px 16px 11px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 500 13px/1 var(--ag-body); cursor: pointer; }
.rv-dm-tab.is-on { background: #fff; color: var(--ag-ink); border-color: #fff; }
.rv-dm-tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--ag-blue); }
.rv-dm-tab.is-on i { animation: rv-progress 7s linear forwards; }
@keyframes rv-progress { to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
    .rv-a, .is-play .rv-a, .rv-dm-bars i, .is-play .rv-dm-kpis.is-big > div { opacity: 1 !important; transform: none !important; animation: none !important; }
    .rv-dm-line path:first-child { stroke-dashoffset: 0; }
    .rv-dm-line path + path { opacity: 1; }
}
@media (max-width: 1024px) {
    .rv-dm { grid-template-columns: 1fr; }
    .rv-dm-side { display: none; }
}
@media (max-width: 640px) {
    .rv-dm { height: 600px; }
    .rv-dm-scene { padding: 16px; }
    .rv-dm-scene[data-s="2"].is-play { grid-template-columns: 1fr; }
    .rv-dm-crm { display: none; }
    .rv-dm-charts { grid-template-columns: 1fr; }
    .rv-dm-kpis > div { padding: 8px; }
    .rv-dm-kpis.is-big b { font-size: 16px; }
    .rv-dm-ans, .rv-dm-q { max-width: 100%; }
    .rv-dm-tabs { flex-wrap: wrap; }
}
html:root body.rv-agents-page .rv-dm-scene::before,
html:root body.rv-agents-page .rv-dm-scene::after { display: none !important; content: none !important; }
html:root body.rv-agents-page .rv-dm-scene { margin: 0; min-height: 0; background: none; }
html:root body.rv-agents-page .rv-dm-scene { position: absolute !important; inset: 48px 0 0 !important; padding: 22px 26px !important; }
.rv-dm-bars { min-height: 110px; }
@media (max-width: 640px) {
    html:root body.rv-agents-page .rv-dm-scene { padding: 16px !important; }
    .rv-dm-chart { min-height: 160px; }
}

/* ---------- Seção do aplicativo (App Store e Google Play) ---------- */
.rv-app-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.rv-app .rv-del-lead { margin-top: 18px; max-width: 520px; }
.rv-app-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rv-app-badges img { display: block; height: 48px; width: auto; }
.rv-phone { position: relative; justify-self: center; width: 300px; padding: 14px; border-radius: 44px; background: #0a0a0a; box-shadow: 0 30px 80px rgba(10, 10, 10, .28); }
.rv-phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 999px; background: #0a0a0a; z-index: 2; }
.rv-phone-screen { display: flex; flex-direction: column; gap: 8px; height: 560px; padding: 56px 14px 16px; border-radius: 32px; background: #f4f7fb; font-family: var(--ag-body); color: #0f172a; }
.rv-phone-top { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 6px; font: 700 20px/1.2 var(--ag-display); }
.rv-phone-dot { width: 8px; height: 8px; border-radius: 50%; background: #0ea5e9; box-shadow: 0 0 0 4px rgba(14, 165, 233, .2); }
.rv-phone-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; }
.rv-phone-row div { flex: 1; min-width: 0; }
.rv-phone-row b { display: block; font-size: 13px; }
.rv-phone-row small { display: block; font-size: 11.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-phone-asst { margin-top: auto; padding: 12px; border-radius: 14px; background: #e0f2fe; }
.rv-phone-asst small { font: 500 10px/1.4 var(--ag-mono); letter-spacing: .1em; text-transform: uppercase; color: #0369a1; }
.rv-phone-asst p { margin: 4px 0 0; font-size: 13px; color: #0c4a6e; }
.rv-phone-mic { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 999px; background: #0284c7; color: #fff; font-size: 13px; }
.rv-phone-mic .rv-dm-wave i { background: #fff; }
@media (max-width: 1024px) {
    .rv-app-grid { grid-template-columns: 1fr; gap: 40px; }
}
.rv-phone-shot { display: block; width: 100%; height: auto; border-radius: 32px; }
.rv-phone::before { top: 26px; width: 84px; height: 24px; margin-left: -42px; }

/* ---------- Animação do topo mais próxima do app real (menu completo, barra do topo, fontes do app) ---------- */
.rv-dm { --app-sans: "Manrope", system-ui, sans-serif; --app-mono: "JetBrains Mono", ui-monospace, monospace; --app-serif: "Playfair Display", Georgia, serif; font-family: var(--app-sans); grid-template-columns: 210px 1fr; height: 560px; }
.rv-dm-side { gap: 0; padding: 16px 12px; overflow: hidden; }
.rv-dm-logo { width: 132px; margin: 2px 6px 14px; }
.rv-dm-search { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 7px 10px; border: 1px solid #dbe3ee; border-radius: 8px; background: #f4f7fb; font-size: 12px; color: #64748b; }
.rv-dm-search svg { width: 13px; height: 13px; }
.rv-dm-search kbd { margin-left: auto; padding: 0 5px; border-radius: 4px; background: #fff; font: 500 9.5px/16px var(--app-mono); color: #94a3b8; }
.rv-dm-nav { padding: 6px 10px; font-size: 12.5px; }
.rv-dm-nav svg { width: 14px; height: 14px; }
.rv-dm-grp { display: flex; align-items: center; justify-content: space-between; margin: 12px 10px 4px; font: 500 9.5px/1.4 var(--app-mono); letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.rv-dm-grp svg { width: 12px; height: 12px; }
.rv-dm-top { justify-content: flex-end; gap: 10px; }
.rv-dm-tools { display: flex; align-items: center; gap: 14px; margin-right: 8px; color: #64748b; }
.rv-dm-tools svg { width: 15px; height: 15px; }
.rv-dm-flag { width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(#0f9d58, #0f9d58); position: relative; }
.rv-dm-flag::after { content: ""; position: absolute; inset: 3px 5px; background: #fbbf24; transform: rotate(45deg) scale(.7); }
.rv-dm-uname { font-size: 12.5px; color: #0f172a; }
.rv-dm-scene[data-s="1"].is-play { display: grid; grid-template-columns: 180px 1fr; gap: 18px; }
html:root body.rv-agents-page .rv-dm-scene[data-s="1"] { padding: 0 22px 0 0 !important; }
.rv-dm-hist { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; background: #fff; border-right: 1px solid #e5e9f0; }
.rv-dm-lbl { margin-top: 8px; }
.rv-dm-hsearch { padding: 6px 10px; border-radius: 8px; background: #eef2f7; font-size: 11.5px; color: #64748b; }
.rv-dm-hitem { padding: 6px 8px; border-radius: 6px; font-size: 12px; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-dm-hitem.is-on { background: #e0f2fe; color: #0369a1; }
.rv-dm-chatcol { padding: 18px 0 0; min-width: 0; }
.rv-dm-scene[data-s="2"].is-play { grid-template-columns: 190px 1fr 210px; gap: 14px; }
.rv-dm-list { display: flex; flex-direction: column; gap: 6px; }
.rv-dm-citem { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; }
.rv-dm-citem.is-on { border-color: #7dd3fc; background: #f0f9ff; }
.rv-dm-citem > span:nth-child(2) { flex: 1; min-width: 0; }
.rv-dm-citem b { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-dm-citem small { display: block; font-size: 10.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-dm-citem em { font-style: normal; padding: 1px 6px; border-radius: 4px; background: #dcfce7; color: #15803d; font: 600 9.5px/1.5 var(--app-mono); }
.rv-dm-citem .rv-dm-av { width: 26px; height: 26px; font-size: 11px; }
.rv-dm-in, .rv-dm-out { font-size: 12.5px; }
.rv-dm-ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.rv-dm-ph b { font: 700 20px/1.2 var(--app-sans); letter-spacing: -.01em; }
.rv-dm-ph small { font: 500 10.5px/1.4 var(--app-mono); letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.rv-dm-chips { display: flex; gap: 4px; margin-left: auto; }
.rv-dm-chips i { font-style: normal; padding: 3px 9px; border-radius: 6px; font-size: 11px; color: #64748b; border: 1px solid #e2e8f0; background: #fff; }
.rv-dm-chips i.is-on { background: #0284c7; color: #fff; border-color: #0284c7; }
.rv-dm-kpis b { font-family: var(--app-serif) !important; font-weight: 500 !important; }
.rv-dm-kpis small, .rv-dm-chart small { font-family: var(--app-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 9.5px; }
@media (max-width: 1024px) {
    .rv-dm-scene[data-s="1"].is-play { grid-template-columns: 1fr; }
    html:root body.rv-agents-page .rv-dm-scene[data-s="1"] { padding: 16px !important; }
    .rv-dm-hist, .rv-dm-list { display: none; }
    .rv-dm-scene[data-s="2"].is-play { grid-template-columns: 1fr 210px; }
    .rv-dm-chatcol { padding: 0; }
}
@media (max-width: 640px) {
    .rv-dm-scene[data-s="2"].is-play { grid-template-columns: 1fr; }
    .rv-dm-tools, .rv-dm-uname { display: none; }
    .rv-dm-chips { display: none; }
}
