/* Landing pages dos módulos: mesma linguagem da home (brilhos roxo/índigo, cards com luz e animações).
   Camada sobre lp-dark.css; --mod-accent destaca a marca de cada módulo. */
.lp.lp-module {
    --purple: #7c6cff;
    --purple-dk: #4930ff;
    --purple-lt: rgba(124, 108, 255, .12);
    --orange: var(--mod-accent, #a78bfa);
    --bg-base: #06090f;
    --bg-surface: #080c14;
    --bg-card: #0f1522;
    --border: rgba(168, 162, 255, .12);
    --border-md: rgba(168, 162, 255, .22);
    --text-sec: #a9b0c3;
    --lm-glow: 91, 69, 255;
    --lm-soft: #c9c4ff;
    position: relative;
    overflow: hidden;
    font-family: 'Nunito', 'Inter', sans-serif;
    background: var(--bg-base);
}

/* Navegação flutuante */
.lp.lp-module .navbar { top: 12px; margin: 12px auto 0; width: min(1140px, calc(100% - 32px)); border: 1px solid var(--border); border-radius: 999px; background: rgba(8, 11, 20, .72); box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.lp.lp-module .navbar .container { padding: 0 10px 0 20px; }
.lp.lp-module .navbar-inner { height: 60px; gap: 12px; }
.lp.lp-module .nav-cta { align-items: center; }
.lp.lp-module .logo { color: #fff; font-weight: 800; }
.lp.lp-module .logo span, .lp.lp-module .footer-brand .logo span { color: var(--mod-accent); }
.lp.lp-module .footer-brand .logo { color: #fff; }

/* Botões */
.lp.lp-module .btn { font-family: inherit; font-weight: 700; padding: 11px 22px; font-size: .92rem; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s ease; }
.lp.lp-module .btn-lg { padding: 14px 28px; font-size: 1rem; }
.lp.lp-module .btn-primary, .lp.lp-module .btn-orange {
    background: linear-gradient(180deg, #6d5cff 0%, #4930ff 100%);
    border: 1px solid rgba(201, 196, 255, .55);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(73, 48, 255, .35), 0 8px 26px rgba(var(--lm-glow), .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.lp.lp-module .btn-primary:hover, .lp.lp-module .btn-orange:hover { filter: brightness(1.1); box-shadow: 0 0 0 1px rgba(73, 48, 255, .5), 0 14px 36px rgba(var(--lm-glow), .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.lp.lp-module .btn-secondary { color: #fff; border: 1px solid rgba(168, 162, 255, .32); background: rgba(255, 255, 255, .03); }
.lp.lp-module .btn-secondary:hover { background: rgba(124, 108, 255, .12); }

/* Hero com horizonte luminoso */
.lp.lp-module .hero { position: relative; isolation: isolate; padding: 120px 0 170px; background: transparent; }
.lp.lp-module .hero::before {
    content: "";
    position: absolute;
    inset: -80px 0 0;
    z-index: -2;
    background-image: radial-gradient(rgba(201, 196, 255, .2) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 10%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 65% 55% at 50% 10%, #000 30%, transparent 75%);
}
.lp.lp-module .hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -560px;
    z-index: -1;
    width: 1600px;
    height: 680px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--bg-base);
    box-shadow: 0 -2px 0 rgba(233, 228, 255, .85), 0 -10px 34px rgba(167, 139, 250, .85), 0 -40px 110px rgba(var(--lm-glow), .65), 0 -90px 160px color-mix(in srgb, var(--mod-accent) 35%, transparent);
    animation: lm-breathe 6s ease-in-out infinite;
}
.lp.lp-module .hero-badge { background: rgba(124, 108, 255, .08); color: var(--lm-soft); border: 1px solid rgba(168, 162, 255, .32); }
.lp.lp-module .hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mod-accent); box-shadow: 0 0 10px var(--mod-accent); animation: lm-pulse 2s ease-in-out infinite; }
.lp.lp-module .hero-title { font-weight: 600; letter-spacing: -.045em; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.lp.lp-module .hero-title em {
    background: linear-gradient(100deg, #fff 0%, var(--lm-soft) 30%, var(--mod-accent) 60%, #fff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: lm-shine 7s ease-in-out infinite;
}
.lp.lp-module .hero-guarantee .check { color: var(--lm-soft); }
.lp.lp-module .hero-mockup, .lp.lp-module .dashboard-preview {
    border: 1px solid rgba(168, 162, 255, .3);
    background: linear-gradient(180deg, #111827, #0b101b);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(var(--lm-glow), .25);
    animation: lm-float 7s ease-in-out infinite;
}
.lp.lp-module .mockup-topbar, .lp.lp-module .db-topbar { background: rgba(6, 9, 15, .8); }
.lp.lp-module .stat-card .num { color: var(--lm-soft); }
.lp.lp-module .mockup-btn-sm { background: #4930ff; }
.lp.lp-module .db-bar { background: linear-gradient(180deg, #a78bfa, #4930ff); }
.lp.lp-module .db-bar:nth-child(3n+3) { background: linear-gradient(180deg, var(--mod-accent), color-mix(in srgb, var(--mod-accent) 30%, #0f1522)); }
.lp.lp-module .floating-card { background: rgba(15, 21, 34, .9); border-color: rgba(168, 162, 255, .3); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 24px rgba(var(--lm-glow), .25); backdrop-filter: blur(10px); animation: lm-float 6s ease-in-out infinite; }
.lp.lp-module .floating-card.bottom-right { animation-delay: 1.5s; }

/* Faixa de confiança */
.lp.lp-module .trust-bar { position: relative; z-index: 1; background: transparent; border: 0; padding: 0 0 20px; margin-top: -40px; }
.lp.lp-module .trust-bar-inner { gap: 14px; }
.lp.lp-module .trust-item { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(15, 21, 34, .75); backdrop-filter: blur(10px); }
.lp.lp-module .trust-sep { display: none; }

/* Seções */
.lp.lp-module .problem, .lp.lp-module .transformation, .lp.lp-module .solution, .lp.lp-module .features,
.lp.lp-module .social-proof, .lp.lp-module .pricing, .lp.lp-module .faq, .lp.lp-module .community-workflow { position: relative; background: transparent; padding: 100px 0 0; }
.lp.lp-module .pricing::before { content: ""; position: absolute; top: 40px; left: 50%; width: 760px; height: 380px; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(var(--lm-glow), .22), transparent); filter: blur(10px); pointer-events: none; }
.lp.lp-module .tag { background: rgba(124, 108, 255, .06); color: var(--lm-soft); border-color: rgba(168, 162, 255, .32); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .78rem; }
.lp.lp-module .section-title { font-weight: 600; letter-spacing: -.035em; font-size: clamp(1.8rem, 3.8vw, 2.7rem); }

/* Cartões com brilho que acompanha o cursor */
.lp.lp-module .feature-card, .lp.lp-module .problem-item, .lp.lp-module .compare-card, .lp.lp-module .testimonial-card,
.lp.lp-module .pain-quote, .lp.lp-module .cost-box, .lp.lp-module details, .lp.lp-module .community-steps li {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    background: radial-gradient(120% 90% at 50% 120%, rgba(73, 48, 255, .2), transparent 60%), linear-gradient(180deg, #111827, #0b101b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 20px 50px rgba(0, 0, 0, .35);
}
.lp.lp-module .ov-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--lm-glow), .2), transparent 45%);
    transition: opacity .3s ease;
}
.lp.lp-module .ov-glow:hover::before { opacity: 1; }
.lp.lp-module .ov-glow > * { position: relative; z-index: 1; }
.lp.lp-module .feature-card { transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease; }
.lp.lp-module .feature-card:hover { transform: translateY(-4px); border-color: rgba(201, 196, 255, .4); box-shadow: 0 26px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(var(--lm-glow), .18); }
.lp.lp-module .feature-card .feat-icon, .lp.lp-module .sol-icon {
    background: color-mix(in srgb, var(--mod-accent) 14%, #0f1522);
    border: 1px solid color-mix(in srgb, var(--mod-accent) 40%, transparent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--mod-accent) 30%, transparent);
    color: var(--mod-accent);
}
.lp.lp-module .problem-item { background: radial-gradient(120% 120% at 0% 0%, rgba(239, 68, 68, .1), transparent 55%), linear-gradient(180deg, #111827, #0b101b); }
.lp.lp-module .pain-quote { border-left: 3px solid #ef4444; }
.lp.lp-module .cost-box h4 { color: var(--lm-soft); }
.lp.lp-module .cost-box li::before { color: var(--lm-soft); }
.lp.lp-module .compare-card.after { border-color: rgba(201, 196, 255, .45); box-shadow: 0 0 0 1px rgba(124, 108, 255, .3), 0 30px 70px rgba(0, 0, 0, .5), 0 0 50px rgba(var(--lm-glow), .25); }
.lp.lp-module .compare-card.after .compare-card-header { background: linear-gradient(90deg, rgba(124, 108, 255, .3), rgba(124, 108, 255, .08)); color: #fff; }
.lp.lp-module .compare-card-body { background: transparent; }
.lp.lp-module .stat-item .big { color: #fff; text-shadow: 0 0 30px rgba(167, 139, 250, .7); }
.lp.lp-module .stars { color: var(--lm-soft); }

/* Planos (ModulePricingSection): estilos em site-commerce.css */

/* FAQ */
.lp.lp-module details { border-radius: 16px; }
.lp.lp-module details[open] { border-color: rgba(201, 196, 255, .55); box-shadow: 0 0 0 1px rgba(124, 108, 255, .35), 0 0 36px rgba(var(--lm-glow), .3); }
.lp.lp-module details summary::after, .lp.lp-module details[open] summary { color: var(--lm-soft); }
.lp.lp-module .faq-answer { animation: lm-open .35s ease; }

/* CTA final no estilo da home */
.lp.lp-module .final-cta { margin: 100px auto 0; width: min(1140px, calc(100% - 32px)); padding: 90px 24px 110px; border-radius: 30px; border: 1px solid var(--border); background: radial-gradient(60% 50% at 50% 110%, rgba(167, 139, 250, .85), rgba(var(--lm-glow), .45) 45%, transparent 75%), radial-gradient(rgba(201, 196, 255, .14) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(180deg, #0b0f1c, #0a0d18); }
.lp.lp-module .final-cta::before { inset: 0 auto auto 50%; width: 260px; height: 200px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(201, 196, 255, .5), transparent); filter: blur(10px); animation: lm-breathe 5s ease-in-out infinite; }
.lp.lp-module .final-cta h2 { font-weight: 600; letter-spacing: -.035em; }
.lp.lp-module .btn-white { color: #4930ff; }
.lp.lp-module .btn-outline-white { border-width: 1px; }
.lp.lp-module .cta-g-item .icon { color: var(--lm-soft); }

/* Rodapé */
.lp.lp-module .footer { margin: 100px auto 24px; width: min(1180px, calc(100% - 32px)); border: 0; border-radius: 30px; background: radial-gradient(90% 120% at 0% 0%, #6d5cff 0%, #4930ff 30%, #241a7a 60%, #0c0f1d 100%); box-shadow: 0 0 80px rgba(var(--lm-glow), .35); }
.lp.lp-module .footer-top { border-color: rgba(255, 255, 255, .14); }
.lp.lp-module .footer-brand p, .lp.lp-module .footer-col ul li a, .lp.lp-module .footer-bottom p { color: rgba(255, 255, 255, .78); }
.lp.lp-module .footer-col ul li a:hover { color: #fff; }

/* Ecossistema de módulos */
.mod-eco { padding: 100px 0 0; }
.mod-eco-inner { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.mod-eco-heading { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.mod-eco-tag { display: inline-block; padding: 5px 13px; border: 1px solid rgba(168, 162, 255, .32); border-radius: 999px; background: rgba(124, 108, 255, .06); font-size: 12px; color: #c9c4ff; margin-bottom: 14px; }
.mod-eco-heading h2 { color: #f4f5fb; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.mod-eco-heading p { color: #a9b0c3; margin: 12px 0 0; font-size: 15px; }
.mod-eco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mod-eco-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid rgba(168, 162, 255, .12); background: linear-gradient(180deg, #111827, #0b101b); color: #f4f5fb !important; text-decoration: none !important; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.mod-eco-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.mod-eco-card:focus-visible { outline: 3px solid #c9c4ff; outline-offset: 3px; }
.mod-eco-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, #0c111a); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); font-size: 17px; }
.mod-eco-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mod-eco-copy strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.mod-eco-copy em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: #fff; }
.mod-eco-copy small { font-size: 12.5px; line-height: 1.45; color: #a9b0c3; }

/* Revelação ao rolar (marcada automaticamente por site-motion.js) */
html.vg-motion .lp.lp-module [data-reveal], html.vg-motion .mod-eco [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), filter .8s ease var(--d, 0s); }
html.vg-motion .lp.lp-module [data-reveal].is-in, html.vg-motion .mod-eco [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
html.vg-motion .lp.lp-module [data-reveal].vg-done, html.vg-motion .mod-eco [data-reveal].vg-done { transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease; }
html.vg-motion .lp.lp-module [data-reveal].vg-done.feature-card:hover, html.vg-motion .mod-eco [data-reveal].vg-done:hover { transform: translateY(-4px); }
html.vg-motion .lp.lp-module [data-reveal].vg-instant, html.vg-motion .mod-eco [data-reveal].vg-instant { transition: none !important; }

@keyframes lm-breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes lm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes lm-shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes lm-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes lm-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 768px) {
    .lp.lp-module .navbar { border-radius: 20px; }
    .lp.lp-module .navbar .container { padding: 0 8px 0 14px; }
    .lp.lp-module .hero { padding: 90px 0 140px; }
    .lp.lp-module .hero::after { width: 900px; bottom: -600px; }
    .lp.lp-module .problem, .lp.lp-module .transformation, .lp.lp-module .solution, .lp.lp-module .features,
    .lp.lp-module .social-proof, .lp.lp-module .pricing, .lp.lp-module .faq, .lp.lp-module .community-workflow, .mod-eco { padding-top: 76px; }
    .lp.lp-module .final-cta { padding: 64px 18px 80px; margin-top: 76px; }
    .lp.lp-module .footer { margin-top: 76px; padding: 40px 22px 24px; }
}

@media (max-width: 520px) {
    .lp.lp-module .nav-cta .btn-primary { padding: 9px 14px; font-size: .82rem; }
    .lp.lp-module .logo { font-size: 1.15rem; margin-right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp.lp-module *, .lp.lp-module *::before, .lp.lp-module *::after, .mod-eco * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html.vg-motion .lp.lp-module [data-reveal], html.vg-motion .mod-eco [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* Seletores de idioma e moeda */
.site-locale-selectors { display: inline-flex; align-items: center; gap: 6px; }
.site-lang { position: relative; display: inline-flex; font-family: 'Nunito', sans-serif; }
.site-lang-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 42px; padding: 9px 14px 9px 12px;
    border-radius: 999px; border: 1px solid rgba(168, 162, 255, .32);
    background: rgba(255, 255, 255, .03); color: #f4f5fb;
    font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-lang-toggle:hover, .site-lang.is-open .site-lang-toggle { background: rgba(124, 108, 255, .12); border-color: rgba(201, 196, 255, .45); box-shadow: 0 8px 26px rgba(91, 69, 255, .25); }
.site-lang-toggle:focus-visible, .site-lang-option:focus-visible { outline: 3px solid #c9c4ff; outline-offset: 3px; }
.site-lang-flag { width: 20px; height: 14px; flex: 0 0 auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.site-lang-caret { font-size: 10px; color: #a9b0c3; transition: transform .2s ease; }
.site-lang.is-open .site-lang-caret { transform: rotate(180deg); }
.site-lang-backdrop { position: fixed; inset: 0; z-index: 60; }
.site-lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 61;
    min-width: 170px; margin: 0; padding: 6px; list-style: none;
    border-radius: 16px; border: 1px solid rgba(168, 162, 255, .14);
    background: rgba(8, 11, 20, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    animation: site-lang-open .18s ease;
}
.site-lang-option {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 9px 10px; border: 0; border-radius: 10px; background: transparent;
    color: #a9b0c3; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.site-lang-option:hover { background: rgba(124, 108, 255, .12); color: #fff; }
.site-lang-option.is-active { color: #fff; }
.site-lang-option .fa-check { margin-left: auto; font-size: 11px; color: #a78bfa; }
@keyframes site-lang-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .site-lang-toggle { min-height: 38px; padding: 8px 10px; font-size: 13px; }
    .site-lang-label { display: none; }
}
.lp-currency-notice { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px auto 0; max-width: 640px; text-align: center; font-size: .85rem; color: #c9c4ff; }
