/* ============================================================
   Venda Fácil — telas de entrada (login, cadastro, senha)
   ============================================================ */
body.vf-guest { background: #f4f6fb; }
.vfa { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }

/* ---------- lado da marca ---------- */
.vfa-hero {
  position: sticky; top: 0; height: 100vh; overflow: hidden; color: #fff; padding: 2.5rem 3rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(900px 500px at 110% 110%, rgba(9, 93, 252, .55), transparent 60%),
    radial-gradient(600px 400px at -10% -10%, rgba(37, 211, 102, .14), transparent 60%),
    linear-gradient(160deg, #050f45 0%, #021b91 70%, #0a3fd1 100%);
}
.vfa-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.vfa-hero > * { position: relative; z-index: 1; }
.vfa-hero-in { width: 100%; max-width: 600px; display: flex; flex-direction: column; gap: 1.8rem; }
.vfa-logo { height: 38px; width: auto; max-width: 240px; align-self: flex-start; object-fit: contain; }
.vfa-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .35rem .8rem; border-radius: 999px; }
.vfa-eyebrow .ponto { width: 7px; height: 7px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37,211,102,.25); }
.vfa-titulo { font-size: clamp(1.9rem, 2.6vw, 2.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 1rem 0 .9rem; }
.vfa-titulo em { font-style: normal; background: linear-gradient(90deg, #7fb2ff, #9dfcc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vfa-sub { font-size: 1.02rem; color: rgba(255,255,255,.78); max-width: 34rem; margin: 0; }

/* cena: proposta + conversa no WhatsApp */
.vfa-cena { position: relative; height: 340px; width: 100%; }
.vfa-prop {
  position: absolute; right: 0; top: 0; width: 58%; background: #fff; color: #1e293b; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform: rotate(2.5deg);
}
.vfa-prop-capa { background: linear-gradient(135deg, #0b1e66, #095dfc); color: #fff; padding: 1rem 1rem 1.6rem; position: relative; }
.vfa-prop-capa small { opacity: .7; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.vfa-prop-capa b { display: block; font-size: .98rem; margin-top: .15rem; }
.vfa-prop-capa .marca { position: absolute; right: 1rem; top: 1rem; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: .8rem; }
.vfa-prop-corpo { padding: .85rem 1rem 1rem; font-size: .72rem; }
.vfa-prop-linha { display: flex; justify-content: space-between; padding: .32rem 0; border-bottom: 1px dashed #e2e8f0; }
.vfa-prop-linha span:first-child { color: #475569; }
.vfa-prop-total { display: flex; justify-content: space-between; align-items: baseline; margin: .55rem 0 .7rem; }
.vfa-prop-total b { font-size: 1.05rem; color: #021b91; }
.vfa-prop-btn { background: #16a34a; color: #fff; text-align: center; border-radius: 9px; padding: .45rem; font-weight: 700; font-size: .72rem; }
.vfa-prop-ass { margin-top: .55rem; display: flex; align-items: center; gap: .4rem; color: #64748b; font-size: .66rem; }
.vfa-prop-ass i { color: #16a34a; }

.vfa-zap {
  position: absolute; left: 0; top: 60px; width: 50%; background: #efeae2; z-index: 2; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.6); transform: rotate(-2.5deg); font-size: .74rem;
}
.vfa-zap-topo { background: #075e54; color: #fff; padding: .6rem .8rem; display: flex; align-items: center; gap: .55rem; }
.vfa-zap-topo .av { width: 28px; height: 28px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-size: .85rem; }
.vfa-zap-topo b { display: block; font-size: .78rem; line-height: 1.1; }
.vfa-zap-topo small { opacity: .8; font-size: .64rem; }
.vfa-zap-msgs { padding: .7rem .6rem .8rem; display: flex; flex-direction: column; gap: .4rem; }
.vfa-msg { max-width: 86%; padding: .4rem .55rem; border-radius: 9px; line-height: 1.3; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.08); opacity: 0; transform: translateY(6px); animation: vfaMsg .45s ease forwards; }
.vfa-msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.vfa-msg.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.vfa-msg .ia { display: inline-block; font-size: .58rem; font-weight: 700; color: #075e54; background: #c7f0d5; border-radius: 5px; padding: 0 .3rem; margin-bottom: .15rem; }
.vfa-msg .link { color: #027eb5; text-decoration: underline; }
.vfa-msg:nth-child(1) { animation-delay: .3s; } .vfa-msg:nth-child(2) { animation-delay: 1.1s; }
.vfa-msg:nth-child(3) { animation-delay: 1.9s; } .vfa-msg:nth-child(4) { animation-delay: 2.7s; }
@keyframes vfaMsg { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vfa-msg { animation: none; opacity: 1; transform: none; } }

.vfa-selos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.vfa-selo { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: .8rem .9rem; }
.vfa-selo i { font-size: 1.15rem; color: #9dfcc4; }
.vfa-selo b { display: block; font-size: .86rem; margin-top: .3rem; }
.vfa-selo span { display: block; font-size: .74rem; color: rgba(255,255,255,.7); line-height: 1.3; }
.vfa-rodape { position: absolute !important; left: 0; right: 0; bottom: 1.4rem; text-align: center; font-size: .74rem; color: rgba(255,255,255,.5); }

/* ---------- lado do formulário ---------- */
.vfa-form { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2.5rem 1.5rem; background: #fff; }
.vfa-box { width: 100%; max-width: 430px; }
.vfa-box-largo { max-width: 500px; }
.vfa-box h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.015em; margin: 0 0 .3rem; }
.vfa-box .lead-mini { color: #64748b; margin-bottom: 1.6rem; }
.vfa-box .form-label { font-weight: 600; font-size: .84rem; color: #334155; margin-bottom: .35rem; }
.vfa-campo { position: relative; }
.vfa-campo > i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; z-index: 3; }
.vfa-campo .form-control { padding-left: 2.55rem; }
.vfa-box .form-control, .vfa-box .form-select { height: 48px; border-radius: 12px; border-color: #d5dbe6; background: #fbfcfe; }
.vfa-box .form-control:focus { background: #fff; border-color: var(--vf-primary); box-shadow: 0 0 0 4px rgba(var(--vf-primary-rgb), .12); }
.vfa-olho { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #64748b; width: 38px; height: 38px; border-radius: 9px; z-index: 3; }
.vfa-olho:hover { background: #f1f5f9; }
.vfa-campo .form-control.com-olho { padding-right: 2.9rem; }
.vfa-campo .invalid-feedback { padding-left: .2rem; }
.vfa-btn { height: 50px; border-radius: 12px; font-weight: 700; font-size: 1rem; box-shadow: 0 10px 24px -10px rgba(var(--vf-primary-rgb), .7); }
.vfa-sep { display: flex; align-items: center; gap: .75rem; color: #94a3b8; font-size: .78rem; margin: 1.6rem 0 1.1rem; }
.vfa-sep::before, .vfa-sep::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.vfa-cta { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; border: 1px dashed #c7d2fe; background: #f5f8ff; border-radius: 14px; color: #1e293b; }
.vfa-cta:hover { border-color: var(--vf-primary); color: #1e293b; }
.vfa-cta .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--vf-primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; }
.vfa-cta small { display: block; color: #64748b; }
.vfa-topo-mobile { display: none; }

/* ---------- cadastro em etapas ---------- */
.vfa-passos { display: flex; gap: .45rem; margin-bottom: 1.4rem; }
.vfa-passo { flex: 1; }
.vfa-passo .barra { height: 5px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.vfa-passo .barra::after { content: ''; display: block; height: 100%; width: 0; background: var(--vf-primary); transition: width .35s ease; }
.vfa-passo.feito .barra::after, .vfa-passo.atual .barra::after { width: 100%; }
.vfa-passo span { display: block; font-size: .72rem; font-weight: 600; color: #94a3b8; margin-top: .35rem; }
.vfa-passo.atual span, .vfa-passo.feito span { color: var(--vf-navy); }
.vfa-etapa { display: none; animation: vfaEntra .3s ease; }
.vfa-etapa.ativa { display: block; }
@keyframes vfaEntra { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.vfa-nav { display: flex; gap: .6rem; margin-top: 1.4rem; }
.vfa-nav .btn-light { height: 50px; border-radius: 12px; font-weight: 600; padding: 0 1.1rem; }

.vfa-planos { display: grid; gap: .6rem; }
.vfa-plano { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .85rem; align-items: start; border: 2px solid #e2e8f0; border-radius: 16px; padding: .9rem 1rem; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; position: relative; margin: 0; }
.vfa-plano:hover { border-color: #b8c7f5; }
.btn-check:checked + .vfa-plano { border-color: var(--vf-primary); background: #f5f8ff; box-shadow: 0 8px 24px -12px rgba(var(--vf-primary-rgb), .55); }
.vfa-plano .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cbd5e1; margin-top: .15rem; display: grid; place-items: center; }
.btn-check:checked + .vfa-plano .radio { border-color: var(--vf-primary); }
.btn-check:checked + .vfa-plano .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--vf-primary); }
.btn-check:focus-visible + .vfa-plano { outline: 3px solid rgba(var(--vf-primary-rgb), .35); outline-offset: 2px; }
.vfa-plano .nome { font-weight: 800; font-size: 1rem; }
.vfa-plano .frase { font-size: .8rem; color: #64748b; line-height: 1.3; margin-top: .1rem; }
.vfa-plano .preco { text-align: right; white-space: nowrap; }
.vfa-plano .preco b { font-size: 1.1rem; color: var(--vf-navy); }
.vfa-plano .preco small { display: block; font-size: .7rem; color: #64748b; }
.vfa-plano .tags { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.vfa-plano .tag { font-size: .7rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: #eef2ff; color: #3730a3; }
.vfa-plano .tag.zap { background: #dcfce7; color: #166534; }
.vfa-plano .tag.off { background: transparent; color: #94a3b8; text-decoration: line-through; border: 1px solid #e2e8f0; }
.vfa-plano .fita { position: absolute; top: -10px; right: 14px; background: linear-gradient(90deg, #f59e0b, #f97316); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .18rem .55rem; border-radius: 999px; }
.vfa-garantias { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; font-size: .76rem; color: #64748b; }
.vfa-garantias i { color: #16a34a; }
.vfa-forca { height: 4px; border-radius: 99px; background: #e2e8f0; margin-top: .45rem; overflow: hidden; }
.vfa-forca div { height: 100%; width: 0; transition: width .25s, background .25s; }

/* ---------- celular / tablet ---------- */
@media (max-width: 991.98px) {
  .vfa { grid-template-columns: 1fr; }
  .vfa-hero { display: none; }
  .vfa-form { justify-content: flex-start; padding: 0 0 2rem; background: #fff; }
  .vfa-topo-mobile {
    display: block; width: 100%; color: #fff; padding: calc(1.4rem + env(safe-area-inset-top)) 1.4rem 2.6rem; margin-bottom: -1.4rem;
    background: radial-gradient(500px 260px at 100% 120%, rgba(9,93,252,.6), transparent 60%), linear-gradient(160deg, #050f45, #021b91);
  }
  .vfa-topo-mobile img { height: 30px; }
  .vfa-topo-mobile p { margin: .8rem 0 0; font-size: .9rem; color: rgba(255,255,255,.8); }
  .vfa-topo-mobile .chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
  .vfa-topo-mobile .chips span { font-size: .7rem; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .2rem .55rem; }
  .vfa-box { background: #fff; border-radius: 22px 22px 0 0; padding: 1.6rem 1.25rem 0; position: relative; }
  .vfa-box h1 { font-size: 1.4rem; }
}
@media (min-width: 992px) and (max-height: 820px) { .vfa-cena { height: 290px; } .vfa-titulo { font-size: 2rem; margin: .7rem 0 .6rem; } .vfa-hero-in { gap: 1.3rem; } .vfa-sub { font-size: .95rem; } }
@media (min-width: 992px) and (max-height: 760px) { .vfa-selos, .vfa-rodape { display: none; } }
@media (min-width: 1800px) { .vfa-hero-in { max-width: 660px; } .vfa-box { max-width: 460px; } .vfa-box-largo { max-width: 540px; } }

/* Propaganda de patrocinador ao lado do login */
.vfa-anuncio { width: 100%; max-width: 440px; }
.vfa-anuncio .vf-anuncio-card { box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 0; color: #0f172a; }
.vfa-anuncio .vf-anuncio-card img { max-height: 260px; }
.vfa-anuncio-mobile { width: 100%; max-width: 440px; margin: 1rem auto 0; }
