/* ============ ComerciosBr — Landing page ============ */

:root {
    --brand: #7c5cff;
    --brand-2: #00d1ff;
    --brand-grad: linear-gradient(135deg, #7c5cff 0%, #5b8cff 50%, #00d1ff 100%);
    --accent: #22d3a5;
    --whatsapp: #25d366;
    --ink: #0a0f1e;
    --ink-2: #0e162e;
    --surface: #111b3a;
    --light: #f6f8ff;
    --text-dark: #23304f;
    --muted-dark: #5b6message;
    --muted: #68729a;
    --line: rgba(111, 122, 160, .24);
    --line-dark: rgba(255, 255, 255, .1);
    --radius: 20px;
    --shadow: 0 30px 80px -30px rgba(30, 40, 90, .45);
    --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
    border: 0; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    line-height: 1.2; text-align: center;
}
.btn-primary {
    color: #fff; background: var(--brand-grad);
    box-shadow: 0 12px 30px -10px rgba(124, 92, 255, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(124, 92, 255, .8); }
.btn-ghost {
    color: #fff; background: rgba(255, 255, 255, .08);
    border: 1px solid var(--line-dark);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(10, 15, 30, .7); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

/* ---------- Header ---------- */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    background: rgba(10, 15, 30, .72); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: #fff; font-size: 1.15rem; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: var(--brand-grad); color: #fff; font-weight: 900; font-size: 1.05rem;
}
.nav-list { display: flex; gap: 1.8rem; color: #cdd6ef; font-size: .95rem; font-weight: 500; }
.nav-list a { transition: color .15s ease; }
.nav-list a:hover { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; }
.nav-mobile {
    display: none; flex-direction: column; gap: 1rem; padding: 1rem 0 1.2rem;
    color: #cdd6ef; font-weight: 600;
}
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        radial-gradient(800px 420px at 85% -10%, rgba(124, 92, 255, .45), transparent 60%),
        radial-gradient(700px 380px at 8% 8%, rgba(0, 209, 255, .22), transparent 55%),
        linear-gradient(180deg, #0a0f1e 0%, #0d1430 100%);
}
.hero-inner { padding: 160px 0 0; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(124, 92, 255, .18); border: 1px solid rgba(124, 92, 255, .45);
    color: #d9ccff; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
    margin-bottom: 1.4rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 900; line-height: 1.12;
    letter-spacing: -.02em; max-width: 15ch;
}
.hero h1 .grad {
    background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
    margin: 1.4rem 0 2rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: #b9c2de; max-width: 52ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note { color: #8b95ba; font-size: .9rem; margin-top: 1.1rem; display: flex; align-items: center; gap: .45rem; }

/* Hero mockups (desktop + phone) */
.hero-visual { position: relative; margin-top: 70px; padding-bottom: 24px; }
.browser-frame {
    width: min(880px, 96%); margin-inline: auto; border-radius: 16px;
    border: 1px solid var(--line-dark); overflow: hidden;
    background: #0d1430; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8);
}
.browser-bar {
    display: flex; align-items: center; gap: .6rem; padding: .65rem 1rem;
    background: #131c3a; border-bottom: 1px solid var(--line-dark);
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.browser-url {
    flex: 1; margin-left: .6rem; background: rgba(255, 255, 255, .05); color: #93a0c6;
    border-radius: 8px; padding: .35rem .9rem; font-size: .8rem; display: flex; align-items: center; gap: .5rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-frame iframe { width: 100%; height: 480px; border: 0; display: block; background: #fff; }
.phone-frame {
    position: absolute; right: max(1rem, 5%); bottom: -12px; width: 208px; height: 426px;
    border-radius: 36px; padding: 9px; overflow: hidden;
    background: linear-gradient(160deg, #2a3357, #0d1430);
    border: 1px solid rgba(255, 255, 255, .24);
    box-shadow: 0 46px 90px -28px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-notch {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 84px; height: 16px; border-radius: 999px; z-index: 2;
    background: #0c1126; border: 1px solid rgba(255, 255, 255, .12);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.phone-notch::before, .phone-notch::after { content: ""; border-radius: 50%; }
.phone-notch::before { width: 6px; height: 6px; background: rgba(255, 255, 255, .55); }
.phone-notch::after { width: 7px; height: 7px; background: rgba(124, 92, 255, .9); }
.phone-frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 30px; background: #fff; }

/* Na seção "Veja com seus olhos" o mockup fica maior para mostrar mais da loja */
#vitrine .browser-frame { width: min(880px, 96%); }
#vitrine .browser-frame iframe { height: 700px; }
#vitrine .phone-frame {
    right: max(1.2rem, 6%); bottom: -16px; width: 330px; height: 610px;
    border-radius: 42px; padding: 12px;
}
#vitrine .phone-notch { top: 16px; width: 110px; height: 18px; }
#vitrine .phone-frame iframe { border-radius: 30px; }
#vitrine .hero-visual { padding-bottom: 56px; }

/* ---------- Stats strip ---------- */
.stats {
    background: var(--ink); color: #fff; border-bottom: 1px solid var(--line-dark);
    padding: 2.6rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat b { display: block; font-size: 1.9rem; font-weight: 900; letter-spacing: -.02em; }
.stat b .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: #9aa5c8; font-size: .92rem; }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase;
    letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--brand);
    margin-bottom: .9rem;
}
.section-dark .eyebrow { color: var(--brand-2); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.section-head p { margin-top: .9rem; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #aeb9d9; }

/* ---------- Recursos ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124, 92, 255, .5); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(124, 92, 255, .12); color: var(--brand); margin-bottom: 1.1rem; font-size: 1.3rem;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .95rem; }

/* ---------- WhatsApp / pedido pronto ---------- */
.whats-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.whats-bullets { list-style: none; margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.whats-bullets li { display: flex; gap: .9rem; align-items: flex-start; }
.whats-bullets .tick {
    flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
    background: rgba(34, 211, 165, .14); color: var(--accent);
    display: grid; place-items: center; font-size: .8rem; font-weight: 800;
    margin-top: 2px;
}
.chat-card {
    width: min(430px, 100%); background: #0f1730; border-radius: 24px; padding: 1.6rem;
    box-shadow: var(--shadow); border: 1px solid var(--line-dark); color: #dfe7fa;
    margin-inline: auto;
}
.chat-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); margin-bottom: 1.2rem; }
.chat-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--whatsapp);
    display: grid; place-items: center; color: #fff; font-weight: 800;
}
.chat-head b { display: block; font-size: .95rem; }
.chat-head small { color: #8fa0c9; font-size: .78rem; }
.chat-status { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--whatsapp); font-weight: 700; }
.chat-bubble {
    background: #1d2a4f; border-radius: 4px 16px 16px 16px; padding: .85rem 1rem;
    margin-bottom: .8rem; font-size: .9rem;
}
.chat-bubble .item { display: flex; justify-content: space-between; gap: 1rem; color: #c6d2ef; }
.chat-bubble .sep { height: 1px; background: var(--line-dark); margin: .6rem 0; }
.chat-bubble .total { display: flex; justify-content: space-between; font-weight: 800; color: #fff; }
.chat-bubble .meta { color: #93a4ce; font-size: .78rem; margin-top: .45rem; list-style: none; display: grid; gap: .15rem; }
.chat-reply {
    margin-left: auto; width: max-content; max-width: 82%;
    background: rgba(37, 211, 102, .18); border: 1px solid rgba(37, 211, 102, .35);
    color: #bdf2d2; border-radius: 16px 4px 16px 16px; padding: .85rem 1rem; font-size: .9rem;
}

/* ---------- Passos ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.8rem; position: relative;
}
.step-num {
    font-size: 3.2rem; font-weight: 900; line-height: 1;
    background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: .9; margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Vitrine demo ---------- */
.demo-note { text-align: center; color: #94a0c5; margin-top: 1.2rem; font-size: .92rem; }

/* ---------- Planos ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 900px; margin-inline: auto; }
.plans-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.plan-card {
    background: #fff; border: 1px solid var(--line); border-radius: 24px;
    padding: 2.2rem 2rem; position: relative; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card.popular { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--brand-grad) border-box; box-shadow: 0 30px 70px -30px rgba(124, 92, 255, .55); }
.plan-card:hover { transform: translateY(-4px); }
.plan-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--brand-grad); color: #fff; font-weight: 800; font-size: .78rem;
    padding: .35rem 1rem; border-radius: 999px; letter-spacing: .03em; white-space: nowrap;
}
.plan-name { font-size: 1.05rem; font-weight: 800; color: var(--muted); }
.plan-price { margin: .5rem 0 .2rem; font-size: 3rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.plan-price small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan-period { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.plan-save {
    display: inline-flex; align-items: center; gap: .4rem; background: rgba(34, 211, 165, .13);
    color: #0d9c77; font-weight: 800; font-size: .82rem; padding: .4rem .8rem; border-radius: 999px;
    margin-bottom: 1.2rem;
}
.plan-feats { list-style: none; display: grid; gap: .75rem; margin-bottom: 1.8rem; }
.plan-feats li { display: flex; gap: .7rem; font-size: .95rem; color: var(--text-dark); }
.plan-feats .check { color: var(--accent); font-weight: 800; }
.plan-foot { margin-top: auto; }

/* ---------- Videos ---------------- */
.videos-title {
    text-align: center; margin: 3rem 0 1rem;
    font-size: 1.3rem; font-weight: 800; color: var(--text-dark);
}
.videos-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; max-width: 940px; margin-inline: auto; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 44px -26px rgba(30, 40, 90, .35); }
.video-card video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #0d1430; border-bottom: 1px solid var(--line); }
.video-meta { padding: 1.3rem 1.5rem; }
.video-meta h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: .3rem; }
.video-meta p { color: var(--muted); font-size: .92rem; }
.video-coming {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
    text-align: center; padding: 1.5rem; aspect-ratio: 16 / 9;
    background: linear-gradient(160deg, #f0f3ff, #e6ecff); color: var(--muted);
}
.video-coming .big { font-size: 2rem; line-height: 1; }
.video-coming strong { color: var(--text-dark); }
.video-coming span { font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.2rem 1.4rem; background: none; border: 0; font-size: 1rem; font-weight: 700;
    color: var(--text-dark); text-align: left;
}
.faq-q .chev { transition: transform .2s ease; color: var(--brand); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .95rem; }

/* ---------- CTA final ---------- */
.cta-band {
    background: var(--brand-grad); color: #fff; border-radius: 28px; overflow: hidden;
    position: relative; padding: 4rem 3rem; text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -.02em; max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: 1rem auto 2rem; max-width: 46ch; color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.cta-band .btn-light {
    background: #fff; color: var(--brand); font-weight: 800; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .35);
}
.cta-band .btn-light:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9aa5c8; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer h5 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .6rem; font-size: .92rem; }
.footer ul a:hover { color: #fff; }
.footer .brand { margin-bottom: .9rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* ---------- Botao voltar ao topo ---------- */
.back-to-top {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 200;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; font-size: 1.1rem; color: #fff;
    background: var(--brand-grad); box-shadow: 0 12px 26px -10px rgba(80, 60, 220, .7);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .features-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
    .whats-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    #vitrine .phone-frame { right: 1.2rem; width: 280px; height: 540px; }
    #vitrine .browser-frame iframe { height: 600px; }
    #vitrine .hero-visual { padding-bottom: 48px; }
}
@media (max-width: 720px) {
    .nav-list, .header-cta .btn-ghost { display: none; }
    .nav-toggle { display: block; }
    .features-grid, .steps-grid, .plans-grid, .plans-grid-3, .videos-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .hero-inner { padding-top: 130px; }
    .phone-frame { display: none; }
    .browser-frame iframe { height: 360px; }
    .cta-band { padding: 3rem 1.5rem; }
    .lgpd-cookie-inner { flex-direction: column; align-items: stretch; gap: .8rem; }
}

/* ---------- Aviso de cookies (LGPD) ---------- */
.lgpd-cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: #101a33; color: #e7ebf7; padding: .9rem 1.2rem;
    box-shadow: 0 -18px 40px -18px rgba(0, 0, 0, .7);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.lgpd-cookie-inner, .lgpd-cookie-banner .lgpd-cookie-inner { max-width: 1080px; margin-inline: auto; display: flex; align-items: center; gap: 1.4rem; }
.lgpd-cookie-text strong { display: block; margin-bottom: .2rem; color: #fff; }
.lgpd-cookie-text p { margin: 0; font-size: .9rem; line-height: 1.45; color: #c3cbe4; }
.lgpd-cookie-banner .btn { flex: 0 0 auto; white-space: nowrap; }