/* =========================================================================
   VATSE FINANCEIRO: pagina de venda
   Composição própria desta página (o núcleo compartilhado vive em core.css):
   nasce escura no oliva-tinta, o miolo é papel claro, fecha escura. A
   assinatura visual são as contas recebendo baixa e o saldo do mês subindo.
   ========================================================================= */

.vfi-sales { --vfi-tinta: #171d06; --vfi-tinta-2: #212a09; }

/* Herói */
.vfi-hero { background: linear-gradient(165deg, var(--vfi-tinta), var(--vfi-tinta-2) 70%, #2a350c); padding: calc(var(--nav-h, 72px) + 64px) 0 84px; position: relative; overflow: hidden; }
.vfi-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 340px at 78% 22%, rgba(var(--sv-accent-rgb), .18), transparent 70%); pointer-events: none; }
.vfi-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.vfi-kicker { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .2em; color: var(--sv-accent-ink); margin-bottom: 18px; }
.vfi-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; color: #f6f8ee; margin: 0 0 18px; }
.vfi-hero h1 em { font-style: normal; color: var(--sv-accent-ink); }
.vfi-hero-copy p { color: rgba(240, 245, 226, .72); line-height: 1.75; max-width: 52ch; margin: 0 0 26px; }
.vfi-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vfi-actions-center { justify-content: center; }
.vfi-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 800; font-size: .95rem; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.vfi-btn:hover { transform: translateY(-1px); }
.vfi-btn-primary { background: var(--sv-accent); color: var(--sv-accent-on, #fff); }
.vfi-btn-primary:hover { filter: brightness(1.08); }
.vfi-btn-ghost { border: 1px solid rgba(255, 255, 255, .25); color: #f2f5e8; }
.vfi-btn-outline-light { border: 1px solid rgba(255, 255, 255, .35); color: #f2f5e8; }
.vfi-proof { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: .8rem; color: rgba(236, 242, 219, .62); }
.vfi-proof i { color: var(--sv-accent-ink); margin-right: 6px; }

/* O caixa: papel claro flutuando sobre a tinta */
.vfi-caixa { background: #fcfdf9; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); padding: 20px 20px 18px; max-width: 360px; justify-self: end; width: 100%; position: relative; }
.vfi-caixa-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #e7ecd9; margin-bottom: 12px; }
.vfi-caixa-head strong { font-size: .95rem; color: #1c220c; letter-spacing: -.02em; }
.vfi-caixa-head span { font-size: .72rem; color: #7d8a5e; }
.vfi-caixa-head b { color: #1c220c; }
.vfi-caixa-list { display: grid; gap: 8px; min-height: 118px; }
.vfi-conta { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #e7ecd9; border-radius: 11px; padding: 11px 13px; background: #fff; font-size: .82rem; color: #1c220c; opacity: 0; transform: translateY(5px); transition: opacity .3s ease, transform .3s ease; }
.vfi-conta.show { opacity: 1; transform: translateY(0); }
.vfi-conta span { font-weight: 600; }
.vfi-conta b { font-weight: 900; }
.vfi-conta.is-rec b { color: #0f7a3d; }
.vfi-conta.is-des b { color: #b42318; }
.vfi-conta .vfi-vals i { color: #0f7a3d; margin-left: 6px; }
.vfi-caixa-toast { position: absolute; left: 18px; right: 18px; bottom: -18px; background: #1c220c; color: #eef3e0; border-radius: 11px; padding: 10px 14px; font-size: .78rem; font-weight: 700; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.vfi-caixa-toast i { color: #a3e635; }
.vfi-caixa-toast.show { opacity: 1; transform: translateY(0); }

/* Faixa de resultados */
.vfi-strip { background: #101505; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.vfi-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.vfi-strip-grid > div { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .06); }
.vfi-strip-grid > div:last-child { border-right: 0; }
.vfi-strip strong { display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; color: var(--sv-accent-ink); }
.vfi-strip span { font-size: .78rem; color: rgba(238, 243, 224, .55); }

/* Miolo papel */
.vfi-paper { background: #f9faf5; }
.vfi-componente { padding: clamp(70px, 8vw, 110px) 0; }
.vfi-componente-justa { padding-top: 0; }
.vfi-section-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sv-accent-deep, var(--sv-accent)); margin-bottom: 14px; }
.vfi-section-tag-light { color: var(--sv-accent-ink); }
.vfi-paper h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.035em; line-height: 1.12; color: #1c220c; margin: 0 0 14px; max-width: 26ch; }
.vfi-componente-apoio { color: #6d7a4d; line-height: 1.7; max-width: 58ch; margin: 0 0 30px; }

.vfi-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.vfi-steps article { background: #fff; border: 1px solid #e7ecd9; border-radius: 18px; padding: 26px 24px; }
.vfi-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--sv-accent) 12%, #fff); color: var(--sv-accent); font-size: 1rem; margin-bottom: 16px; }
.vfi-steps h3 { font-size: 1.02rem; font-weight: 800; letter-spacing: -.015em; color: #1c220c; margin: 0 0 8px; }
.vfi-steps p { font-size: .89rem; line-height: 1.65; color: #6d7a4d; margin: 0; }

.vfi-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.vfi-chip { border: 1px solid #dde4c9; background: #fff; color: #46521f; border-radius: 999px; padding: 10px 16px; font-size: .85rem; font-weight: 700; }

/* Fecho escuro */
.vfi-final { background: linear-gradient(160deg, var(--vfi-tinta-2), var(--vfi-tinta)); padding: clamp(80px, 9vw, 120px) 0; text-align: center; }
.vfi-final h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.04em; color: #f6f8ee; margin: 0 auto 26px; max-width: 24ch; }

/* Responsivo */
@media (max-width: 1080px) {
    .vfi-hero-grid { grid-template-columns: 1fr; }
    .vfi-caixa { justify-self: start; }
    .vfi-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .vfi-strip-grid { grid-template-columns: 1fr; }
    .vfi-strip-grid > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .vfi-strip-grid > div:last-child { border-bottom: 0; }
}
