/* =========================================================================
   VATSE MERCADO: pagina de venda
   Composição própria desta página (o núcleo compartilhado vive em core.css):
   nasce escura no verde-tinta, o miolo é papel claro, fecha escura. A
   assinatura visual é o scanner bipando itens com a oferta aplicada.
   ========================================================================= */

.vmk-sales { --vmk-tinta: #06210f; --vmk-tinta-2: #0a2e16; }

/* Herói */
.vmk-hero { background: linear-gradient(165deg, var(--vmk-tinta), var(--vmk-tinta-2) 70%, #0d3a1c); padding: calc(var(--nav-h, 72px) + 64px) 0 84px; position: relative; overflow: hidden; }
.vmk-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; }
.vmk-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.vmk-kicker { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .2em; color: var(--sv-accent-ink); margin-bottom: 18px; }
.vmk-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; color: #f1f8f3; margin: 0 0 18px; }
.vmk-hero h1 em { font-style: normal; color: var(--sv-accent-ink); }
.vmk-hero-copy p { color: rgba(230, 245, 235, .72); line-height: 1.75; max-width: 52ch; margin: 0 0 26px; }
.vmk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vmk-actions-center { justify-content: center; }
.vmk-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; }
.vmk-btn:hover { transform: translateY(-1px); }
.vmk-btn-primary { background: var(--sv-accent); color: var(--sv-accent-on, #fff); }
.vmk-btn-primary:hover { filter: brightness(1.08); }
.vmk-btn-ghost { border: 1px solid rgba(255, 255, 255, .25); color: #edf6f0; }
.vmk-btn-outline-light { border: 1px solid rgba(255, 255, 255, .35); color: #edf6f0; }
.vmk-proof { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: .8rem; color: rgba(224, 242, 231, .62); }
.vmk-proof i { color: var(--sv-accent-ink); margin-right: 6px; }

/* O caixa: papel claro flutuando sobre a tinta */
.vmk-caixa { background: #fbfdfb; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); padding: 20px 20px 18px; max-width: 380px; justify-self: end; width: 100%; position: relative; }
.vmk-caixa-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid #e2ece5; margin-bottom: 12px; }
.vmk-caixa-head strong { font-size: .92rem; color: #10241a; letter-spacing: -.02em; }
.vmk-scan { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; color: #5f7d6c; }
.vmk-scan em { font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #eef5f0; border-radius: 6px; padding: 2px 8px; }
.vmk-caixa-list { display: grid; gap: 8px; min-height: 118px; }
.vmk-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #e2ece5; border-radius: 11px; padding: 10px 13px; background: #fff; font-size: .82rem; color: #10241a; opacity: 0; transform: translateY(5px); transition: opacity .3s ease, transform .3s ease; }
.vmk-item.show { opacity: 1; transform: translateY(0); }
.vmk-item .vmk-of { font-style: normal; font-size: .62rem; font-weight: 900; text-transform: uppercase; color: #0f7a3d; background: #e8f8ee; border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.vmk-item .vmk-vals s { color: #93a89b; margin-right: 4px; font-size: .74rem; }
.vmk-item b { font-weight: 900; }
.vmk-caixa-total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid #e2ece5; margin-top: 12px; padding-top: 12px; font-size: .8rem; color: #5f7d6c; }
.vmk-caixa-total b { font-size: 1.2rem; color: #10241a; font-weight: 900; }
.vmk-caixa-toast { position: absolute; left: 18px; right: 18px; bottom: -18px; background: #10241a; color: #eaf6ef; 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; }
.vmk-caixa-toast i { color: #4ade80; }
.vmk-caixa-toast.show { opacity: 1; transform: translateY(0); }

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

/* Miolo papel */
.vmk-paper { background: #f6faf7; }
.vmk-componente { padding: clamp(70px, 8vw, 110px) 0; }
.vmk-componente-justa { padding-top: 0; }
.vmk-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; }
.vmk-section-tag-light { color: var(--sv-accent-ink); }
.vmk-paper h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.035em; line-height: 1.12; color: #10241a; margin: 0 0 14px; max-width: 24ch; }
.vmk-componente-apoio { color: #587a66; line-height: 1.7; max-width: 58ch; margin: 0 0 30px; }

.vmk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.vmk-steps article { background: #fff; border: 1px solid #e2ece5; border-radius: 18px; padding: 26px 24px; }
.vmk-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; }
.vmk-steps h3 { font-size: 1.02rem; font-weight: 800; letter-spacing: -.015em; color: #10241a; margin: 0 0 8px; }
.vmk-steps p { font-size: .89rem; line-height: 1.65; color: #587a66; margin: 0; }

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

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

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