/* AstroZapp marketing landing — layout system (loaded after astro.css) */
:root {
    --lz-space-1: 4px;
    --lz-space-2: 8px;
    --lz-space-3: 12px;
    --lz-space-4: 16px;
    --lz-space-5: 24px;
    --lz-space-6: 32px;
    --lz-space-7: 48px;
    --lz-space-8: 72px;
    --lz-space-9: 104px;
    --lz-measure: 38rem;
    --lz-shell: 1120px;
    --lz-ink: #f3efe6;
    --lz-muted: #b7b0a3;
    --lz-line: rgba(243, 239, 230, 0.12);
    --lz-accent: #e8a317;
    --lz-accent-ink: #1a1205;
    --lz-surface: rgba(15, 23, 42, 0.72);
    --lz-bg: linear-gradient(135deg, hsl(222, 84%, 5%) 0%, hsl(213, 51%, 24%) 50%, hsl(222, 84%, 5%) 100%);
    /* Opção A: uma família macia — hierarquia por peso/tamanho */
    --font-sans: "Nunito", "Segoe UI", system-ui, sans-serif;
    --font-display: var(--font-sans);
    --font-body: var(--font-sans);
    --type-body: 1.125rem;
    --type-lead: 1.2rem;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.landing-page {
    font-family: var(--font-body);
    font-size: var(--type-body);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--lz-ink);
    /* Mesmo fundo do dashboard (member-body) */
    background: linear-gradient(135deg, hsl(222, 84%, 5%) 0%, hsl(213, 51%, 24%) 50%, hsl(222, 84%, 5%) 100%);
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Mesma animação de estrelas do dashboard (member.css .star-field) */
body.landing-page.star-field::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 8s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page .brand-mark,
body.landing-page .section-title,
body.landing-page .preco,
body.landing-page .price-hero,
body.landing-page .lz-brand,
body.landing-page .lz-step-num {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

body.landing-page h1,
body.landing-page h2,
body.landing-page .section-title {
    font-weight: 700;
}

body.landing-page h3 {
    font-weight: 600;
}

.lz-shell {
    width: min(100% - 2 * var(--lz-space-5), var(--lz-shell));
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

/* —— Nav —— */
body.landing-page .nav {
    top: 0;
    min-height: 72px;
    background-color: #0a1628 !important;
    background-image: url("public/images/branding/header_site.png") !important;
    background-size: cover !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none;
    padding: var(--lz-space-3) 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.landing-page .nav-content {
    max-width: var(--lz-shell);
    padding: 0 var(--lz-space-5);
    position: relative;
    z-index: 1;
}

body.landing-page .nav-links {
    gap: var(--lz-space-5);
}

body.landing-page .nav-links a {
    color: var(--lz-muted) !important;
    font-size: 0.95rem;
    font-weight: 500;
}

body.landing-page .nav-links a:hover {
    color: var(--lz-ink) !important;
}

body.landing-page .nav-button {
    background: var(--lz-accent) !important;
    color: var(--lz-accent-ink) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    font-weight: 700 !important;
    border: none !important;
}

body.landing-page .nav-button--secondary {
    background: transparent !important;
    color: var(--lz-ink) !important;
    border: 1px solid var(--lz-line) !important;
    box-shadow: none;
    font-weight: 600 !important;
}

/* —— Hero —— */
.lz-hero {
    padding: calc(72px + var(--lz-space-8)) 0 var(--lz-space-8);
    min-height: min(100vh, 920px);
    display: flex;
    align-items: center;
}

.lz-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--lz-space-8);
    align-items: center;
}

.lz-hero-copy {
    max-width: var(--lz-measure);
}

.lz-brand {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--lz-ink);
    margin: 0 0 var(--lz-space-4);
}

.lz-hero h1 {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--lz-ink);
    margin: 0 0 var(--lz-space-4);
    max-width: 28ch;
}

.lz-hero .subtitle {
    font-size: var(--type-lead);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--lz-muted) !important;
    margin: 0 0 var(--lz-space-5);
    max-width: 38ch;
}

.lz-offer {
    display: inline-flex;
    align-items: center;
    gap: var(--lz-space-3);
    font-size: 0.92rem;
    color: var(--lz-ink);
    margin-bottom: var(--lz-space-6);
    padding: var(--lz-space-2) 0;
}

.lz-offer::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lz-accent);
    flex-shrink: 0;
}

.lz-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--lz-space-4);
}

.lz-cta-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px !important;
    font-size: 1.05rem !important;
    text-decoration: none;
    min-height: 52px;
}

.lz-cta-note {
    font-size: 0.88rem;
    color: var(--lz-muted);
    max-width: 18rem;
}

.lz-hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.lz-hero-visual::before {
    content: "";
    position: absolute;
    inset: 12% 18% 8%;
    background: radial-gradient(circle, rgba(232, 163, 23, 0.22), transparent 70%);
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
}

body.landing-page .phone-mockup--hero {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    height: 640px;
    transform: rotate(-1.5deg);
    box-shadow: 20px 36px 64px rgba(0, 0, 0, 0.5);
    animation: lzPhoneIn 0.95s var(--ease-out) both;
}

@keyframes lzPhoneIn {
    from {
        opacity: 0;
        transform: translateY(28px) rotate(-1.5deg);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(-1.5deg);
        filter: blur(0);
    }
}

/* —— Sections —— */
.lz-section {
    padding: var(--lz-space-9) 0;
    border-top: 1px solid var(--lz-line);
}

.lz-section--tight {
    padding: var(--lz-space-8) 0;
}

.lz-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lz-accent);
    margin: 0 0 var(--lz-space-3);
}

.lz-section h2,
body.landing-page .lz-section .section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: left;
    margin: 0 0 var(--lz-space-4);
    color: var(--lz-ink);
    max-width: 20ch;
}

.lz-lead {
    font-size: var(--type-lead);
    font-weight: 400;
    line-height: 1.65;
    color: var(--lz-muted);
    margin: 0 0 var(--lz-space-7);
    max-width: 36rem;
    text-align: left;
}

.lz-section-head {
    margin-bottom: var(--lz-space-7);
}

/* —— Steps —— */
.lz-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--lz-space-6);
    margin: 0;
    padding: 0;
}

.lz-step {
    display: grid;
    gap: var(--lz-space-3);
    padding-top: var(--lz-space-5);
    border-top: 2px solid var(--lz-accent);
}

.lz-step-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lz-accent);
    line-height: 1;
}

.lz-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lz-ink);
    margin: 0;
}

.lz-step p {
    margin: 0;
    color: var(--lz-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* —— Pricing band —— */
.lz-price-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--lz-space-7);
    align-items: start;
    background: var(--lz-surface);
    border: 1px solid var(--lz-line);
    border-radius: 20px;
    padding: var(--lz-space-7);
}

.price-hero {
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--lz-accent);
    margin: 0 0 var(--lz-space-2);
}

.price-hero span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lz-muted);
    font-family: var(--font-body);
    letter-spacing: 0;
}

.lz-price-meta {
    color: var(--lz-muted);
    margin: 0 0 var(--lz-space-5);
    font-size: 1rem;
}

.lz-feature-list {
    list-style: none;
    margin: 0 0 var(--lz-space-6);
    padding: 0;
    display: grid;
    gap: var(--lz-space-3);
}

.lz-feature-list li {
    display: flex;
    gap: var(--lz-space-3);
    align-items: flex-start;
    color: var(--lz-ink);
    font-size: 1.02rem;
    border: 0;
    padding: 0;
}

.lz-feature-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: 0.55em;
    border-radius: 50%;
    background: var(--lz-accent);
    flex-shrink: 0;
}

/* —— Testimonials —— */
.lz-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--lz-space-6);
}

.lz-quote {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.lz-quote blockquote {
    margin: 0 0 var(--lz-space-4);
}

.lz-quote blockquote p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--lz-ink);
}

.lz-quote figcaption {
    font-size: 0.9rem;
    color: var(--lz-muted);
}

.lz-quote figcaption strong {
    display: block;
    color: var(--lz-ink);
    font-weight: 600;
    margin-bottom: 2px;
}

/* —— FAQ —— */
.lz-faq {
    max-width: 40rem;
}

body.landing-page .faq-item {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--lz-line) !important;
    border-radius: 0 !important;
}

body.landing-page .faq-item summary {
    padding: var(--lz-space-5) 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--lz-ink) !important;
}

body.landing-page .faq-item p {
    padding: 0 0 var(--lz-space-5);
    color: var(--lz-muted) !important;
}

/* —— Closing CTA —— */
.lz-close {
    padding: var(--lz-space-9) 0;
    background: linear-gradient(180deg, rgba(232, 163, 23, 0.14), transparent 70%);
    border-top: 1px solid var(--lz-line);
    text-align: center;
}

.lz-close h2 {
    margin-inline: auto;
    text-align: center;
    max-width: 16ch;
}

.lz-close .lz-lead {
    margin-inline: auto;
    text-align: center;
}

.lz-close .lz-cta-primary {
    margin-inline: auto;
    max-width: 420px;
    width: 100%;
}

body.landing-page .footer {
    border-top: 1px solid var(--lz-line);
    color: var(--lz-muted) !important;
    padding: var(--lz-space-7) 0;
}

body.landing-page .footer-legal a {
    color: var(--lz-accent);
}

/* Trial form on landing tokens */
body.landing-page .form-section {
    background: var(--lz-surface) !important;
    border: 1px solid var(--lz-line);
    border-radius: 20px;
    margin: var(--lz-space-8) auto;
    max-width: var(--lz-shell);
}

body.landing-page.landing-trial .nav {
    top: 0;
}

body.landing-page .trial-banner {
    background: rgba(232, 163, 23, 0.12);
    border-color: rgba(232, 163, 23, 0.35);
    color: var(--lz-ink);
}

@media (max-width: 960px) {
    .lz-hero {
        min-height: 0;
        padding-top: calc(72px + var(--lz-space-6));
        padding-bottom: var(--lz-space-7);
    }

    .lz-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--lz-space-7);
        text-align: center;
    }

    .lz-hero-copy {
        margin-inline: auto;
    }

    .lz-hero h1,
    .lz-hero .subtitle,
    .lz-brand {
        margin-inline: auto;
    }

    .lz-hero h1 {
        max-width: 20ch;
    }

    .lz-cta-row {
        justify-content: center;
    }

    .lz-cta-note {
        text-align: center;
    }

    body.landing-page .phone-mockup--hero {
        width: 280px;
        height: 560px;
        transform: none;
        animation-name: lzPhoneInMobile;
    }

    @keyframes lzPhoneInMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
            filter: blur(6px);
        }
        to {
            opacity: 1;
            transform: none;
            filter: blur(0);
        }
    }

    .lz-steps,
    .lz-quotes,
    .lz-price-band {
        grid-template-columns: 1fr;
    }

    .lz-section h2,
    body.landing-page .lz-section .section-title,
    .lz-lead {
        text-align: center;
        margin-inline: auto;
    }

    .lz-section-head {
        text-align: center;
    }

    .lz-kicker {
        text-align: center;
    }

    .lz-step {
        text-align: left;
    }

    body.landing-page .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .lz-shell {
        width: min(100% - 2 * var(--lz-space-4), var(--lz-shell));
    }

    .lz-price-band {
        padding: var(--lz-space-5);
    }
}
