/* =========================================================================
   VATSE ERP: pagina de venda
   Composição própria desta página (o núcleo compartilhado vive em core.css):
   nasce escura no aço-tinta, o miolo é papel claro, fecha escura. A
   assinatura visual é uma venda atravessando os módulos no herói.
   ========================================================================= */

.ver-sales { --ver-tinta: #10141c; --ver-tinta-2: #171d29; }

/* Herói */
.ver-hero { background: linear-gradient(165deg, var(--ver-tinta), var(--ver-tinta-2) 70%, #1e2634); padding: calc(var(--nav-h, 72px) + 64px) 0 84px; position: relative; overflow: hidden; }
.ver-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 340px at 78% 22%, rgba(148, 163, 184, .16), transparent 70%); pointer-events: none; }
.ver-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.ver-kicker { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .2em; color: #cbd5e1; margin-bottom: 18px; }
.ver-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.045em; color: #f4f6f9; margin: 0 0 18px; }
.ver-hero h1 em { font-style: normal; color: #94a3b8; }
.ver-hero-copy p { color: rgba(231, 236, 243, .72); line-height: 1.75; max-width: 52ch; margin: 0 0 26px; }
.ver-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ver-actions-center { justify-content: center; }
.ver-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; }
.ver-btn:hover { transform: translateY(-1px); }
.ver-btn-primary { background: #e2e8f0; color: #10141c; }
.ver-btn-primary:hover { filter: brightness(1.05); }
.ver-btn-ghost { border: 1px solid rgba(255, 255, 255, .25); color: #edf1f6; }
.ver-btn-outline-light { border: 1px solid rgba(255, 255, 255, .35); color: #edf1f6; }
.ver-proof { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: .8rem; color: rgba(226, 232, 240, .62); }
.ver-proof i { color: #cbd5e1; margin-right: 6px; }

/* O fluxo: papel claro flutuando sobre a tinta */
.ver-fluxo { background: #fbfcfd; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); padding: 20px 20px 18px; max-width: 380px; justify-self: end; width: 100%; position: relative; }
.ver-fluxo-head { padding-bottom: 12px; border-bottom: 1px solid #e5e9ef; margin-bottom: 12px; }
.ver-fluxo-head strong { font-size: .95rem; color: #131a24; letter-spacing: -.02em; }
.ver-fluxo-list { display: grid; gap: 8px; min-height: 200px; }
.ver-etapa { display: flex; align-items: center; gap: 12px; border: 1px solid #e5e9ef; border-radius: 12px; padding: 10px 13px; background: #fff; opacity: 0; transform: translateY(5px); transition: opacity .3s ease, transform .3s ease; }
.ver-etapa.show { opacity: 1; transform: translateY(0); }
.ver-ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #eef2f6; color: #334155; }
.ver-txt { display: grid; min-width: 0; }
.ver-txt b { font-size: .82rem; color: #131a24; }
.ver-txt em { font-style: normal; font-size: .72rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver-ok { margin-left: auto; color: #0f7a3d; }
.ver-fluxo-toast { position: absolute; left: 18px; right: 18px; bottom: -18px; background: #131a24; color: #eef2f6; border-radius: 11px; padding: 10px 14px; font-size: .76rem; font-weight: 700; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.ver-fluxo-toast i { color: #4ade80; }
.ver-fluxo-toast.show { opacity: 1; transform: translateY(0); }

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

/* Miolo papel */
.ver-paper { background: #f7f8fa; }
.ver-componente { padding: clamp(70px, 8vw, 110px) 0; }
.ver-componente-justa { padding-top: 0; }
.ver-section-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #334155; margin-bottom: 14px; }
.ver-section-tag-light { color: #cbd5e1; }
.ver-paper h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.035em; line-height: 1.12; color: #131a24; margin: 0 0 14px; max-width: 26ch; }
.ver-componente-apoio { color: #5b6a7d; line-height: 1.7; max-width: 58ch; margin: 0 0 30px; }

.ver-modulos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.ver-modulos article { background: #fff; border: 1px solid #e5e9ef; border-radius: 18px; padding: 26px 24px; }
.ver-modulos article > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eef2f6; color: #334155; font-size: 1.05rem; margin-bottom: 16px; }
.ver-modulos h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.015em; color: #131a24; margin: 0 0 8px; }
.ver-modulos p { font-size: .89rem; line-height: 1.65; color: #5b6a7d; margin: 0; }
.ver-modulo-mais { background: #131a24 !important; border-color: #131a24 !important; }
.ver-modulo-mais > i { background: rgba(255, 255, 255, .08) !important; color: #cbd5e1 !important; }
.ver-modulo-mais h3 { color: #f4f6f9; }
.ver-modulo-mais p { color: rgba(226, 232, 240, .7); }

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

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

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