/* Landing pública (/) — mobile-first. Reaproveita tokens/reset globais de style.css. */

.lp-wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.lp-em { font-style: italic; color: var(--accent); }

/* ---------- cabeçalho público ---------- */

.lp-top {
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lp-top .lp-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 64px;
}
.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--on-dark);
}
.lp-logo img { height: 28px; width: auto; display: block; }

.lp-nav { display: none; }
.lp-top > .lp-wrap > .lp-actions { display: none; }

.lp-burger {
    margin-left: auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    color: var(--on-dark);
}
.lp-burger svg { width: 18px; height: 18px; }

.lp-mobile-panel {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 8px clamp(20px, 4vw, 40px) 20px;
}
.lp-mobile-panel.is-open { display: flex; }
.lp-mobile-panel a.lp-nav-link {
    padding: 12px 4px;
    font-weight: 600;
    font-size: 15px;
    color: var(--on-dark-muted);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.lp-mobile-panel a.lp-nav-link:hover { color: var(--on-dark); }
.lp-mobile-panel .lp-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.lp-mobile-panel .lp-btn { justify-content: center; width: 100%; }

@media (min-width: 860px) {
    .lp-burger, .lp-mobile-panel { display: none !important; }
    .lp-top .lp-wrap { height: 72px; }
    .lp-nav { display: flex; gap: 4px; margin-left: 22px; }
    .lp-nav a {
        padding: 9px 14px;
        border-radius: 9px;
        font-weight: 600;
        font-size: 14.5px;
        color: var(--on-dark-muted);
        transition: background .2s ease, color .2s ease;
    }
    .lp-nav a:hover { background: var(--ink-2); color: var(--on-dark); }
    .lp-top > .lp-wrap > .lp-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
}

/* ---------- botões ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14.5px;
    padding: 11px 20px;
    border: 1px solid var(--line);
    color: var(--text);
    background: var(--surface);
    transition: border-color .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}
.lp-btn:hover { border-color: var(--line-strong); }
.lp-btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--on-dark-muted);
}
.lp-btn-ghost:hover { color: var(--on-dark); background: var(--ink-2); }
.lp-btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
}
.lp-btn-primary:hover { filter: brightness(1.07); }
.lp-btn-lg { font-size: 16px; padding: 14px 28px; }

/* fora do cabeçalho (painel mobile), os botões viram claros mesmo em fundo escuro do menu */
.lp-mobile-panel .lp-btn-ghost { border: 1px solid rgba(255, 255, 255, .16); }

/* ---------- aviso de login pendente ---------- */

.lp-notice {
    background: var(--accent-soft);
    border-bottom: 1px solid var(--accent-soft-2);
}
.lp-notice .lp-wrap {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text);
}
.lp-notice a { font-weight: 700; color: var(--accent); }

/* ---------- herói ---------- */

.lp-hero { padding: 36px 0 32px; }
.lp-hero .lp-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.lp-hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
    font-size: clamp(30px, 8vw, 42px);
    max-width: 16ch;
    margin: 0 0 16px;
    color: var(--text);
}
.lp-hero-sub { color: var(--text-muted); font-size: 16.5px; max-width: 46ch; margin: 0 0 24px; }
.lp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-hero-micro { margin-top: 14px; font-size: 13px; color: var(--text-muted); }

@media (min-width: 860px) {
    .lp-hero { padding: 64px 0 40px; }
    .lp-hero .lp-wrap { flex-direction: row; align-items: center; gap: 52px; }
    .lp-hero-copy, .lp-stage { flex: 1 1 0; min-width: 0; }
    .lp-hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
}

/* ---------- cena animada ---------- */

.lp-stage {
    position: relative;
    background: linear-gradient(160deg, var(--ink-2), var(--ink));
    border: 1px solid var(--ink-2);
    border-radius: var(--radius-lg);
    padding: 22px;
    min-height: 380px;
    box-shadow: var(--shadow);
    order: 2;
}
.lp-stage-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; gap: 12px; }
.lp-stage-head .t { font-family: var(--font-display); font-size: 17px; color: var(--on-dark); }
.lp-stage-head .d { font-size: 11.5px; color: var(--on-dark-muted); }

.lp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 9px;
    opacity: 0;
    transform: translateY(14px);
}
.lp-item-icon {
    width: 34px; height: 34px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center; flex: none;
    background: var(--accent-soft-2); color: #7FB6EE;
}
.lp-item-icon svg { width: 18px; height: 18px; }
.lp-item-text { flex: 1; min-width: 0; }
.lp-item-text .a { font-size: 13.5px; font-weight: 600; color: var(--on-dark); }
.lp-item-text .b { font-size: 11.5px; color: var(--on-dark-muted); }
.lp-item-val { font-size: 14px; font-weight: 700; font-family: var(--font-display); color: var(--on-dark); white-space: nowrap; }

.lp-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .16);
    opacity: 0;
}
.lp-total .lbl { font-size: 13px; color: var(--on-dark-muted); }
.lp-total .amt { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--success); }

.lp-report {
    position: absolute; right: 18px; bottom: 18px;
    display: flex; align-items: center; gap: 8px;
    background: var(--amber); color: #241a06; font-weight: 700; font-size: 12.5px;
    padding: 9px 14px; border-radius: 11px;
    opacity: 0; transform: scale(.9) translateY(8px);
    box-shadow: 0 14px 28px -10px rgba(181, 121, 30, .55);
}
.lp-report svg { width: 15px; height: 15px; }

@keyframes lp-enter { to { opacity: 1; transform: translateY(0); } }
@keyframes lp-fadein { to { opacity: 1; } }
@keyframes lp-pop { to { opacity: 1; transform: scale(1) translateY(0); } }

.lp-stage.is-running .lp-item { animation: lp-enter .55s cubic-bezier(.2,.7,.2,1) forwards; }
.lp-stage.is-running .lp-item:nth-child(2) { animation-delay: .3s; }
.lp-stage.is-running .lp-item:nth-child(3) { animation-delay: .9s; }
.lp-stage.is-running .lp-item:nth-child(4) { animation-delay: 1.5s; }
.lp-stage.is-running .lp-item:nth-child(5) { animation-delay: 2.1s; }
.lp-stage.is-running .lp-total { animation: lp-fadein .5s ease forwards; animation-delay: 2.8s; }
.lp-stage.is-running .lp-report { animation: lp-pop .6s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: 3.4s; }

@media (prefers-reduced-motion: reduce) {
    .lp-item, .lp-total, .lp-report { opacity: 1; transform: none; }
}

@media (min-width: 860px) {
    .lp-stage { order: 0; }
}

/* ---------- seções ---------- */

.lp-section { padding: 40px 0; }
.lp-section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 6vw, 34px);
    max-width: 20ch;
    margin: 0 0 12px;
    color: var(--text);
}
.lp-section-intro { color: var(--text-muted); font-size: 16px; max-width: 56ch; margin: 0 0 28px; }

#como { scroll-margin-top: 80px; }

.lp-steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.lp-step .n { font-family: var(--font-display); font-size: 14px; color: var(--accent); margin-bottom: 12px; }
.lp-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 8px; color: var(--text); }
.lp-step p { color: var(--text-muted); font-size: 14px; margin: 0; }

.lp-feats { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.lp-feat { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.lp-feat-icon { width: 36px; height: 36px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.lp-feat-icon svg { width: 18px; height: 18px; }
.lp-feat h3 { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 0 0 3px; color: var(--text); }
.lp-feat p { color: var(--text-muted); font-size: 12.5px; margin: 0; }
.lp-soon { font-size: 10px; font-weight: 700; color: var(--amber); background: var(--amber-soft); padding: 2px 7px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }

@media (min-width: 640px) {
    .lp-steps { grid-template-columns: repeat(3, 1fr); }
    .lp-feats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .lp-feats { grid-template-columns: repeat(3, 1fr); }
}

.lp-trust { background: var(--trust-gradient); border-radius: var(--radius-lg); padding: 30px 22px; color: var(--on-dark); }
.lp-trust h2 { font-family: var(--font-display); font-weight: 600; color: var(--on-dark); font-size: 23px; margin: 0 0 8px; }
.lp-trust p { color: var(--on-dark-muted); font-size: 14.5px; max-width: 60ch; margin: 0 0 22px; }
.lp-partner-logos { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.lp-partner-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    width: fit-content;
    flex: 0 0 auto;
    padding: 0 18px;
    background: var(--surface);
    border-radius: 12px;
}
.lp-partner-chip img { height: 62px; width: auto; display: block; }

@media (min-width: 860px) {
    .lp-trust { padding: 40px; }
}

.lp-final { text-align: center; padding: 48px 0 56px; }
.lp-final h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 6vw, 38px); max-width: 18ch; margin: 0 auto 16px; color: var(--text); }
.lp-final p { color: var(--text-muted); font-size: 16px; margin: 0 auto 26px; max-width: 44ch; }

/* ---------- rodapé público ---------- */

.lp-footer { background: var(--ink); color: var(--on-dark-muted); padding: 44px 0 24px; margin-top: 12px; }
.lp-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.lp-footer-brand .lp-logo { color: var(--on-dark); margin-bottom: 10px; }
.lp-footer-brand p { font-size: 13.5px; color: var(--on-dark-muted); max-width: 30ch; margin: 0; }
.lp-footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-faint); text-transform: uppercase; margin: 0 0 12px; }
.lp-footer-col a, .lp-footer-col span { display: block; font-size: 13.5px; color: var(--on-dark-muted); padding: 4px 0; }
.lp-footer-col a:hover { color: var(--on-dark); }
.lp-footer-note { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 28px; padding-top: 18px; font-size: 12.5px; color: var(--on-dark-muted); max-width: 70ch; }
.lp-footer-bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--on-dark-faint); }

@media (min-width: 640px) {
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
    .lp-footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 900px) {
    .lp-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
