/* Ajustes exclusivos do revaya.com.br (home v3 com a marca Revaya + implantação).
   Mesma regra da landing do RevSales+: cor chapada, sem degradê, sem ícone decorativo. */


/* ---------- Implantação (home) ---------- */
.rv-impl .v3-card.is-featured { border-color: var(--v3-line-strong); }

.rv-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: rv-step;
}

.rv-steps li {
    counter-increment: rv-step;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--v3-line);
    background: var(--v3-chip);
    font-size: 0.85rem;
    color: var(--v3-text-2);
}

.rv-steps li::before {
    content: counter(rv-step, decimal-leading-zero) " ";
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: var(--v3-text-3);
}

.rv-impl-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
    margin-top: auto;
    padding-top: 28px;
}

.rv-impl-actions .v3-card-link { margin-top: 0; }

/* ---------- Página /implantacao ---------- */
.rv-page-hero { padding: 150px 0 72px; text-align: center; }
.rv-page-hero .section-title { max-width: 860px; margin: 14px auto 18px; }
.rv-page-hero .section-subtitle { max-width: 720px; margin: 0 auto; }
.rv-page-hero .v3-hero-cta { margin-top: 32px; }

.rv-stepline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-stepline li {
    padding: 26px 22px;
    border-radius: 18px;
    border: 1px solid var(--v3-line);
    background: var(--v3-card);
}

.rv-stepline .v3-flow-num { display: block; margin-bottom: 14px; }

.rv-stepline h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--v3-text);
}

.rv-stepline p { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--v3-text-2); }

.rv-includes { justify-content: center; max-width: 860px; margin: 0 auto; }

.rv-note {
    max-width: 680px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--v3-text-3);
}

@media (max-width: 1024px) {
    .rv-stepline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .rv-stepline { grid-template-columns: 1fr; }
    .rv-page-hero { padding: 120px 0 56px; }
}

/* ---------- Página /agents (Revaya Agents = home do RevSales+ com a marca nova) ---------- */
/* O lockup REVAYA | AGENTS é largo (~9,5:1) e não tem margem: altura menor que a do logo antigo. */
.rv-agents-page .logo img { height: 17px; width: auto; }
.rv-agents-page .v3-app-logo { width: 112px; margin-top: 4px; }
.rv-agents-page .footer-logo img,
.rv-agents-page footer img[alt="Revaya Agents"] { height: 22px; width: auto; opacity: 1; }

@media (max-width: 640px) {
    .rv-agents-page .logo img { height: 14px; }
}

/* ---------- /agents · "O que você pode delegar hoje" (estrutura da seção Córtex do hubenjoy) ---------- */
.rv-del-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.rv-del-title { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.45rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; color: var(--v3-text); }
.rv-del-title span { display: block; }
.rv-del-muted { color: var(--v3-text-3); }
.rv-del-lead { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--v3-text-2); }

.rv-del-vis { position: relative; padding: 0 0 0; margin-bottom: 72px; }
.rv-del-box { position: absolute; left: 0; right: 0; top: 12%; bottom: -6%; border-radius: 20px; background: #0284c7; }
.rv-del-shot { position: relative; display: block; width: 80%; height: auto; margin: 0 auto; border-radius: 14px; border: 1px solid rgba(15, 23, 42, 0.12); box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28); }
.rv-del-agent { position: absolute; left: 3%; top: 42%; width: 210px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28); }
.rv-del-agent-ico { display: grid; place-items: center; height: 92px; border-radius: 10px; background: #f0f9ff; color: #0284c7; font: 700 1.6rem/1 "JetBrains Mono", monospace; letter-spacing: 0.1em; }
.rv-del-agent-name { margin: 12px 0 2px; font-weight: 700; font-size: 0.92rem; color: #0f172a; }
.rv-del-agent-st { margin: 0; white-space: nowrap; display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: #0284c7; }
.rv-del-live { width: 7px; height: 7px; border-radius: 50%; background: #0ea5e9; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2); flex: none; }

.rv-del-dores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rv-del-fig { margin: 0; border-radius: 18px; border: 1px solid var(--v3-line); background: var(--v3-bg-soft); overflow: hidden; }
.rv-del-art { display: grid; place-items: center; min-height: 230px; padding: 28px; }
.rv-del-fig figcaption { display: flex; gap: 14px; padding: 4px 26px 28px; font-size: 1.02rem; line-height: 1.5; color: var(--v3-text); }
.rv-del-n { flex: none; padding-top: 3px; font: 600 0.78rem/1.4 "JetBrains Mono", monospace; color: #0284c7; }

.rv-mock { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); font-size: 0.78rem; color: #0f172a; }
.rv-mock strong { display: block; font-size: 0.8rem; }
.rv-mock p { margin: 1px 0 0; color: rgba(15, 23, 42, 0.6); font-size: 0.74rem; }
.rv-mock-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; }
.rv-mock-row > div { flex: 1; min-width: 0; }
.rv-mock-card { padding: 10px; border-radius: 8px; border: 1px solid rgba(15, 23, 42, 0.08); }
.is-dim { opacity: 0.45; }
.rv-mock-av { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #e0f2fe; color: #0369a1; font-weight: 700; font-size: 0.75rem; }
.rv-mock-time { font: 500 0.7rem "JetBrains Mono", monospace; color: rgba(15, 23, 42, 0.45); }
.rv-mock-tag { align-self: flex-start; display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; }
.rv-mock-row .rv-mock-tag { margin-top: 0; align-self: center; }
.rv-mock-tag.is-warn { background: #fef3c7; color: #92400e; }
.rv-mock-tag.is-bad { background: #fee2e2; color: #b91c1c; }

.rv-del-dark { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 14px; padding: 56px 48px; border-radius: 18px; background: #0f172a; color: #fff; }
.rv-del-dark-title { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.35rem); line-height: 1.14; letter-spacing: -0.025em; font-weight: 700; }
.rv-del-dark .rv-del-muted { color: rgba(255, 255, 255, 0.5); }
.rv-del-list { display: flex; flex-direction: column; gap: 22px; }
.rv-del-list h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: #fff; }
.rv-del-list p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 1024px) {
    .rv-del-head, .rv-del-dark { grid-template-columns: 1fr; gap: 24px; }
    .rv-del-dores { grid-template-columns: 1fr; }
    .rv-del-shot { width: 92%; }
    .rv-del-agent { display: none; }
    .rv-del-dark { padding: 40px 28px; }
}

/* ---------- /agents · Os principais agentes ---------- */
.rv-ag-group { margin: 34px 0 14px; font: 600 0.74rem/1.4 "JetBrains Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v3-text-3); }
.rv-ag-group:first-of-type { margin-top: 0; }
.rv-ag-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.rv-ag-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-ag-card { padding: 24px 22px; border-radius: 18px; border: 1px solid var(--v3-line); background: var(--v3-card); }
.rv-ag-grid.is-3 .rv-ag-card { background: var(--v3-bg-soft); }
.rv-ag-area { display: block; margin-bottom: 14px; font: 600 0.72rem/1.4 "JetBrains Mono", monospace; color: #0284c7; }
.rv-ag-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--v3-text); }
.rv-ag-card p { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--v3-text-2); }

@media (max-width: 1200px) { .rv-ag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .rv-ag-grid, .rv-ag-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rv-ag-grid, .rv-ag-grid.is-3 { grid-template-columns: 1fr; } }
