/* Página inicial da landing (templates/landing/index.html). As cores da marca vêm do white-label
   em variáveis definidas no próprio template (--lp-brand, --lp-brand-ink, --lp-accent). */
.lp {
    --lp-bg: #f6f5ef;
    --lp-surface: #ffffff;
    --lp-ink: #13201c;
    --lp-muted: #5a6964;
    --lp-line: #e3e1d6;
    --lp-whats: #1fa855;
    --lp-radius: 22px;
    color: var(--lp-ink);
    background: var(--lp-bg);
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    overflow-x: hidden;
}
.lp h1, .lp h2, .lp h3 { font-family: 'Plus Jakarta Sans', Arial, sans-serif; letter-spacing: -0.02em; }
.lp h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.04; }
.lp h2 { font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.7rem); line-height: 1.1; margin-bottom: .75rem; text-align: inherit; }
.lp h3 { font-weight: 700; font-size: 1.15rem; color: inherit; }
.lp p { line-height: 1.6; }
.lp-lead { font-size: 1.12rem; color: var(--lp-muted); }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .78rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--lp-brand); margin-bottom: .8rem;
}
.lp-section { padding: 88px 0; scroll-margin-top: 50px; }
.lp-section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }

/* Botões */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.45rem;
    border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-accent { background: var(--lp-accent); color: #1b1b1b; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.lp-btn-accent:hover { color: #1b1b1b; box-shadow: 0 14px 30px rgba(0, 0, 0, .24); }
.lp-btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.lp-btn-outline-light:hover { background: #fff; color: var(--lp-ink); }
.lp-btn-dark { background: var(--lp-ink); color: #fff; }
.lp-btn-dark:hover { color: #fff; box-shadow: 0 12px 26px rgba(19, 32, 28, .25); }
.lp-btn-ghost { border-color: var(--lp-line); color: var(--lp-ink); background: var(--lp-surface); }
.lp-btn-ghost:hover { border-color: var(--lp-ink); color: var(--lp-ink); }

/* Hero */
.lp-hero {
    position: relative; background: var(--lp-brand); color: var(--lp-brand-ink); padding: 72px 0 96px; overflow: hidden;
}
.lp-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--lp-accent) 35%, transparent), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, .10), transparent 40%);
}
.lp-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .14;
    background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.lp-hero .container { position: relative; z-index: 1; }
.lp-hero h1 { color: var(--lp-brand-ink); }
.lp-hero h1 .lp-price { color: var(--lp-accent); white-space: nowrap; }
.lp-hero .lp-lead { color: color-mix(in srgb, var(--lp-brand-ink) 82%, transparent); }
.lp-rotator { display: inline-block; position: relative; color: var(--lp-accent); font-weight: 800; min-width: 9ch; }
.lp-rotator span { display: inline-block; animation: lpWordIn .5s ease both; }
.lp-hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.6rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.lp-hero-trust li { display: inline-flex; align-items: center; gap: .4rem; color: color-mix(in srgb, var(--lp-brand-ink) 88%, transparent); }
.lp-hero-trust i { color: var(--lp-accent); }

.lp-stage { position: relative; max-width: 420px; margin: 0 auto; padding: 10px 0 0; }
.lp-phone {
    position: relative; width: 270px; margin: 0 auto; aspect-ratio: 432 / 934; border-radius: 38px; padding: 9px;
    background: #0f1714; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.lp-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; }
.lp-phone-screen img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
    opacity: 0; transition: opacity .8s ease;
}
.lp-phone-screen img.is-active { opacity: 1; }
.lp-notch { position: absolute; top: 9px; left: 50%; width: 92px; height: 22px; border-radius: 0 0 14px 14px; background: #0f1714; transform: translateX(-50%); z-index: 2; }

.lp-toast-stack { position: absolute; left: -54px; top: 18%; display: grid; gap: 12px; width: 250px; z-index: 3; }
.lp-toast {
    display: flex; align-items: center; gap: .7rem; background: #fff; color: var(--lp-ink); border-radius: 16px;
    padding: .7rem .85rem; box-shadow: 0 16px 34px rgba(0, 0, 0, .22); font-size: .88rem; line-height: 1.25;
    opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .45s ease, transform .45s ease;
}
.lp-toast.is-visible { opacity: 1; transform: none; }
.lp-toast strong { display: block; font-size: .92rem; }
.lp-toast small { color: var(--lp-muted); }
.lp-toast-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 36px; font-size: 1.05rem; color: #fff; }
.lp-badge-float {
    position: absolute; right: -18px; bottom: 12%; z-index: 3; background: var(--lp-accent); color: #1b1b1b;
    border-radius: 18px; padding: .75rem 1rem; font-weight: 800; box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
    transform: rotate(4deg); text-align: center; line-height: 1.1;
}
.lp-badge-float small { display: block; font-weight: 600; font-size: .75rem; }

/* Faixa rolando */
.lp-marquee { background: var(--lp-ink); color: #fff; overflow: hidden; padding: 16px 0; }
.lp-marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: lpMarquee 38s linear infinite; }
.lp-marquee-track span { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-weight: 600; }
.lp-marquee-track i { color: var(--lp-accent); }

/* Como funciona */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lp-step {
    display: flex; gap: 1rem; align-items: flex-start; padding: 18px 20px; border-radius: 18px; cursor: pointer;
    border: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative; overflow: hidden; text-align: left; width: 100%; background: transparent; color: inherit; font: inherit;
}
.lp-step:hover { background: rgba(255, 255, 255, .6); }
.lp-step.is-active { background: var(--lp-surface); border-color: var(--lp-line); box-shadow: 0 12px 30px rgba(19, 32, 28, .08); }
.lp-step-num {
    flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800;
    background: color-mix(in srgb, var(--lp-brand) 12%, #fff); color: var(--lp-brand);
}
.lp-step.is-active .lp-step-num { background: var(--lp-brand); color: var(--lp-brand-ink); }
.lp-step h3 { margin: 0 0 .2rem; }
.lp-step p { margin: 0; color: var(--lp-muted); }
.lp-step-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lp-accent); }
.lp-step.is-active .lp-step-progress { animation: lpProgress var(--lp-step-ms, 4200ms) linear forwards; }

.lp-flow {
    position: relative; min-height: 380px; border-radius: 28px; padding: 28px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--lp-brand) 92%, #000), var(--lp-brand));
    color: var(--lp-brand-ink); overflow: hidden;
}
.lp-flow-card {
    position: absolute; inset: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px;
    opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; pointer-events: none;
}
.lp-flow-card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.lp-flow-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; color: var(--lp-ink);
    border-radius: 14px; padding: .8rem 1rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); font-weight: 600;
}
.lp-flow-row small { color: var(--lp-muted); font-weight: 500; }
.lp-flow-row .lp-pill { font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: #eaf7ef; color: var(--lp-whats); white-space: nowrap; }
.lp-flow-title { font-weight: 800; font-size: 1.3rem; margin-bottom: .25rem; }
.lp-flow-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; padding: .3rem .25rem 0; }

/* Segmentos */
.lp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.lp-tab {
    display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--lp-line); background: var(--lp-surface);
    color: var(--lp-ink); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; cursor: pointer; transition: all .2s ease;
}
.lp-tab:hover { border-color: var(--lp-ink); }
.lp-tab[aria-selected="true"] { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; }
.lp .lp-segment:not(.is-active) { display: none !important; }
.lp-segment.is-active { animation: lpFadeUp .45s ease both; }
.lp-segment-phone { width: 250px; }
.lp-segment ul { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .55rem; }
.lp-segment li { display: flex; gap: .55rem; align-items: flex-start; }
.lp-segment li i { color: var(--lp-brand); margin-top: .15rem; }

/* Recursos */
.lp-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-feature {
    background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19, 32, 28, .10); border-color: transparent; }
.lp-feature p { color: var(--lp-muted); margin: 0; font-size: .95rem; }
.lp-feature-icon {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem;
    background: color-mix(in srgb, var(--lp-brand) 10%, #fff); color: var(--lp-brand);
}
.lp-feature-wide { grid-column: span 2; display: flex; gap: 1.25rem; align-items: center; background: var(--lp-brand); color: var(--lp-brand-ink); border: 0; }
.lp-feature-wide p { color: color-mix(in srgb, var(--lp-brand-ink) 80%, transparent); }
.lp-feature-wide .lp-feature-icon { background: rgba(255, 255, 255, .14); color: var(--lp-accent); }
.lp-feature-wide img { width: 46%; max-width: 280px; height: auto; border-radius: 14px; }

/* Planos */
.lp-plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.lp-plan {
    position: relative; width: 100%; max-width: 350px; background: var(--lp-surface); border: 1px solid var(--lp-line);
    border-radius: 28px; padding: 30px 28px; text-align: left; display: flex; flex-direction: column;
}
.lp-plan.is-best { border: 2px solid var(--lp-brand); box-shadow: 0 24px 50px rgba(19, 32, 28, .14); }
.lp-plan-badge {
    position: absolute; top: -14px; left: 28px; background: var(--lp-accent); color: #1b1b1b; font-weight: 800;
    font-size: .8rem; padding: .35rem .8rem; border-radius: 999px;
}
.lp-plan-price { font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.lp-plan-price small { font-size: 1rem; font-weight: 600; color: var(--lp-muted); letter-spacing: 0; }
.lp-plan ul { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .5rem; }
.lp-plan ul li { display: flex; gap: .5rem; align-items: flex-start; }
.lp-plan ul li i { color: var(--lp-brand); margin-top: .1rem; }
.lp-plan ul li.lp-plan-raw { display: block; }
.lp-plan ul li.lp-plan-raw i { margin-right: .35rem; }
.lp-plan ul li.lp-plan-raw i.text-danger { color: #c4473a !important; }
.lp-plan ul li.lp-plan-raw strike { color: #9aa5a1; }
.lp-plan-features.is-collapsed .lp-plan-extra { display: none !important; }
.lp-plan-toggle {
    background: none; border: 0; padding: 0; margin: -.4rem 0 .8rem; font-weight: 700; color: var(--lp-brand);
    cursor: pointer; text-align: left;
}
.lp-plan-free { background: color-mix(in srgb, var(--lp-accent) 22%, #fff); border-radius: 14px; padding: .7rem .9rem; font-weight: 600; margin-top: .9rem; }
.lp-plan-guarantees { color: var(--lp-muted); font-size: .9rem; display: grid; gap: .3rem; margin: auto 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--lp-line); }
.lp-plan-guarantees i { color: var(--lp-whats); margin-right: .35rem; }

/* Pacotes */
.lp-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.lp-package { position: relative; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px; display: flex; flex-direction: column; }
.lp-package img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; }
.lp-package p { color: var(--lp-muted); font-size: .95rem; }
.lp-package .lp-soon { position: absolute; top: 14px; right: 14px; background: var(--lp-ink); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.lp-package-price { font-weight: 800; font-size: 1.5rem; margin-top: auto; }

/* Cadastro */
.lp-signup-wrap { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px rgba(19, 32, 28, .10); }
.lp-signup-aside { background: var(--lp-brand); color: var(--lp-brand-ink); padding: 40px 36px; height: 100%; position: relative; overflow: hidden; }
.lp-signup-aside h2 { color: var(--lp-brand-ink); }
.lp-signup-aside ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.lp-signup-aside li { display: flex; gap: .7rem; align-items: flex-start; }
.lp-signup-aside li i { color: var(--lp-accent); font-size: 1.15rem; }
.lp #signup-form {
    background: transparent; box-shadow: none; margin: 0; max-width: none; padding: 36px; border-radius: 0;
}
.lp #signup-form h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; }
.lp #signup-form label { font-weight: 600; font-size: .9rem; margin: .5rem 0 .35rem; color: var(--lp-ink); }
.lp #signup-form input:not([type=checkbox]), .lp #signup-form select {
    border: 1px solid var(--lp-line); border-radius: 12px; padding: .75rem .9rem; margin-bottom: .4rem; background: #fbfaf6;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lp #signup-form input:focus, .lp #signup-form select:focus {
    outline: none; border-color: var(--lp-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-brand) 16%, transparent); background: #fff;
}
.lp #signup-form #register-button {
    width: 100%; margin-top: 1rem; padding: 1rem; border-radius: 999px; font-weight: 800; font-size: 1.05rem;
    background: var(--lp-ink); color: #fff;
}
.lp #signup-form #register-button:hover { background: var(--lp-brand); }
.lp .plan-card { border-radius: 16px; border-color: var(--lp-line); }
.lp .plan-card-selected { border-color: var(--lp-brand) !important; background: color-mix(in srgb, var(--lp-brand) 8%, #fff) !important; }

/* FAQ */
.lp-faq details { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 18px; padding: 0 22px; margin-bottom: 10px; transition: box-shadow .2s ease; }
.lp-faq details[open] { box-shadow: 0 12px 30px rgba(19, 32, 28, .07); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; background: color-mix(in srgb, var(--lp-brand) 10%, #fff); color: var(--lp-brand); font-weight: 800;
}
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq .faq-answer { white-space: pre-line; color: var(--lp-muted); padding-bottom: 18px; margin: 0; }

/* WhatsApp flutuante */
.lp-whats-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: var(--lp-whats); color: #fff; font-size: 1.6rem;
    box-shadow: 0 12px 28px rgba(31, 168, 85, .4); text-decoration: none; transition: transform .2s ease;
}
.lp-whats-float:hover { transform: scale(1.06); color: #fff; }
.lp-whats-float::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lp-whats); animation: lpPing 2.4s ease-out infinite;
}

/* Revelar ao rolar */
.lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.lp-reveal.is-visible { opacity: 1; transform: none; }

@keyframes lpMarquee { to { transform: translateX(-50%); } }
@keyframes lpProgress { to { width: 100%; } }
@keyframes lpFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lpWordIn { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
@keyframes lpPing { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 991px) {
    .lp-section { padding: 64px 0; }
    .lp-hero { padding: 48px 0 72px; }
    .lp-stage { margin-top: 3rem; }
    .lp-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .lp-phone { width: 220px; }
    .lp-toast-stack { left: -6px; width: 210px; top: 8%; }
    .lp-toast { font-size: .8rem; padding: .55rem .7rem; }
    .lp-badge-float { right: 0; }
    .lp-bento { grid-template-columns: 1fr; }
    .lp-feature-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
    .lp-feature-wide img { width: 100%; max-width: none; }
    .lp #signup-form { padding: 24px 20px; }
    .lp-signup-aside { padding: 32px 24px; }
    .lp-flow { min-height: 400px; padding: 20px; }
    .lp-flow-card { inset: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
    .lp-reveal { opacity: 1; transform: none; }
}

/* Regras antigas do style.css que valem por id */
.lp #how-it-works h3 { color: var(--lp-ink); }
.lp #features .lp-feature { width: auto; height: auto; }
.lp .section h2 { text-align: inherit; }
.lp .plan-card { min-width: 150px; flex: 1 1 150px; padding: 12px; }
.lp #demo img { width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; }
