/* ═══════════════════════════════════════════════════════════════
   Páginas de campanha — /precos e /como-funciona
   Complementa teste-gratis.css (design system) e
   teste-gratis-oficina-sp.css (lp-nav, lp-footer, feature-card).
   ═══════════════════════════════════════════════════════════════ */

/* ── NAV: links entre as páginas ───────────────────────────────── */
.lp-nav__links { display: flex; align-items: center; gap: 28px; }
.lp-nav__links a { font-size: 14px; font-weight: 600; color: var(--text-secondary); transition: color 0.2s; }
.lp-nav__links a:hover,
.lp-nav__links a[aria-current="page"] { color: var(--accent); }

/* ── HERO centralizado (sem frame lateral) ─────────────────────── */
.lp-page-hero__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.lp-page-hero__inner .hero__sub { margin-left: auto; margin-right: auto; }
.lp-page-hero__inner .hero__trust,
.lp-page-hero__inner .hero__cta-group { justify-content: center; }
.lp-page-hero__inner .hero__trust { display: flex; }

/* ── PREÇOS: grade de planos ───────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.price-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-border); transform: translateY(-2px); }
.price-card--popular { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.price-card__tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--white);
    padding: 5px 16px; border-radius: 100px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
}
.price-card__name { font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.price-card__price { font-family: var(--font-mono); font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 4px; }
.price-card__price small { font-size: 20px; color: var(--text-secondary); font-weight: 400; margin-right: 2px; }
.price-card__price span { font-size: 14px; color: var(--text-secondary); font-weight: 400; }
.price-card__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-top: 4px; }
.price-card__list {
    list-style: none; display: grid; gap: 10px; flex: 1;
    margin: 24px 0; padding: 24px 0 0;
    border-top: 1px dashed var(--border);
}
.price-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.price-card__list i { color: var(--accent); font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ── PREÇOS: faixa de garantias ────────────────────────────────── */
.lp-guarantee {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 32px;
    margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
    font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary);
}
.lp-guarantee span { display: inline-flex; align-items: center; gap: 8px; }
.lp-guarantee i { color: var(--green); font-size: 17px; }

/* ── COMO FUNCIONA: passos em 4 colunas ────────────────────────── */
.how-steps--four { grid-template-columns: repeat(4, 1fr); }

/* ── RESPONSIVO ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .how-steps--four { grid-template-columns: repeat(2, 1fr); }
    .how-steps--four .how-step:nth-child(2n) { border-right: 0; }
    .how-steps--four .how-step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .price-grid { grid-template-columns: 1fr; max-width: 480px; }
    .price-card--popular { order: -1; }
}

@media (max-width: 768px) {
    .lp-nav__links { display: none; }
    .how-steps--four { grid-template-columns: 1fr; }
    .how-steps--four .how-step { border-right: 0; border-bottom: 1px solid var(--border); }
    .how-steps--four .how-step:last-child { border-bottom: 0; }
}

/* ── Alternância mensal/anual dos planos ─────────────────────────────── */
.price-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 0 auto 32px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); }
.price-grid + .price-toggle, .price-toggle { display: flex; width: fit-content; }
.price-toggle__btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--text-secondary); font: inherit; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 100px; cursor: pointer; }
.price-toggle__btn.is-active { background: var(--accent); color: #fff; }
.price-toggle__badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; background: var(--accent-light); color: var(--accent); }
.price-toggle__btn.is-active .price-toggle__badge { background: rgba(255,255,255,.22); color: #fff; }
.price-card__equiv { font-size: 13px; color: var(--text-secondary); font-weight: 600; margin: -2px 0 6px; }
.price-card[hidden] { display: none; }
.price-enterprise { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 24px 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.price-enterprise__main { flex: 1 1 420px; }
.price-enterprise__name { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-enterprise__tag { font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: var(--accent-light); color: var(--accent); }
.price-enterprise__desc { margin: 8px 0 0; color: var(--text-secondary); font-size: 15px; line-height: 1.55; max-width: 72ch; }
.price-enterprise__cta { flex: 0 0 auto; }
