/* Landing page — padrão do design de referência */

.landing-main {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.landing .eyebrow {
    margin: 0 0 14px;
    color: var(--accent-gold);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.l-display {
    margin: 0 0 22px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 9vw, 4.6rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.l-display em {
    display: block;
    color: var(--accent-gold);
    font-style: italic;
}

.l-h2 {
    margin: 0 0 28px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.l-lead,
.l-text {
    max-width: 34rem;
    margin: 0 0 28px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.l-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.l-assurance {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 0;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.l-assurance svg {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

/* ── Hero ────────────────────────────────── */

.l-hero {
    display: grid;
    gap: 40px;
    align-items: center;
    padding: 120px 0 64px;
}

.l-hero-art {
    position: relative;
    width: min(440px, 100%);
    margin: 0 auto;
    aspect-ratio: 1 / 1.08;
}

.l-wheel {
    width: 100%;
    height: auto;
}

.l-hero-art .l-wheel {
    position: absolute;
    inset: 0 0 auto;
}

.l-fan {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 76%;
    height: 52%;
    transform: translateX(-50%);
}

.l-fan img {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 33%;
    height: auto;
    border: 1px solid rgba(214, 180, 110, 0.6);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transform-origin: 50% 100%;
    /* O leque abre na entrada — momento único, de marketing: tempo de "delight". */
    animation: l-fan-open 700ms var(--ease-out) both;
}

.l-fan img:nth-child(1) { --fan: translateX(-140%) translateY(6%) rotate(-12deg); animation-delay: 120ms; }
.l-fan img:nth-child(2) { --fan: translateX(-50%) translateY(-6%); z-index: 1; animation-delay: 60ms; }
.l-fan img:nth-child(3) { --fan: translateX(40%) translateY(6%) rotate(12deg); animation-delay: 180ms; }

.l-fan img { transform: var(--fan); }

@keyframes l-fan-open {
    from { opacity: 0; transform: translateX(-50%) translateY(10%) rotate(0deg); }
    to { opacity: 1; transform: var(--fan); }
}

/* ── Seções ──────────────────────────────── */

.l-section {
    padding: 72px 0;
    border-top: 1px solid var(--border-subtle);
}

.l-steps {
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.l-steps li {
    padding-top: 20px;
    border-top: 1px solid var(--border-strong);
}

.l-step-n {
    display: block;
    margin-bottom: 14px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.l-steps h3,
.l-feature h3 {
    margin: 0 0 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
}

.l-steps p,
.l-feature p,
.l-privacy p,
.l-price p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.l-features {
    display: grid;
    gap: 14px;
}

.l-feature {
    padding: 26px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
}

.l-feature svg,
.l-privacy svg {
    display: block;
    width: 26px;
    height: 26px;
    margin-bottom: 18px;
    color: var(--accent-gold);
}

.landing svg.is-ai {
    color: var(--accent-ai);
}

/* Três lentes / mapa */
.l-split {
    display: grid;
    gap: 40px;
    align-items: center;
}

.l-spread {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.l-spread figure {
    margin: 0;
    width: min(120px, 28vw);
    text-align: center;
}

.l-spread img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(214, 180, 110, 0.55);
    border-radius: 8px;
}

.l-spread figcaption {
    margin-top: 12px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.l-lenses {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.l-lenses li {
    display: grid;
    grid-template-columns: 36px 1fr;
    padding: 14px 0;
    border-top: 1px solid var(--border-subtle);
}

.l-lenses li:last-child {
    border-bottom: 1px solid var(--border-subtle);
}

.l-lenses span {
    color: var(--accent-gold);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.l-lenses strong {
    color: var(--text-primary);
    font-weight: 500;
}

.l-lenses p {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.l-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.l-pillars div {
    padding: 12px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.l-pillars span {
    display: block;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.l-pillars strong {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
}

.l-map-art {
    width: min(380px, 100%);
    margin: 0 auto;
}

/* Privacidade (faixa) */
/* Faixa de largura total sem 100vw (que soma a barra de rolagem e cria scroll lateral) */
.l-band {
    background: var(--bg-secondary);
    box-shadow: 0 0 0 100vmax var(--bg-secondary);
    clip-path: inset(0 -100vmax);
}

.l-privacy {
    display: grid;
    gap: 28px;
}

.l-privacy h3 {
    margin: 0 0 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

/* Preços */
.l-prices {
    display: grid;
    gap: 14px;
}

.l-price {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.l-price.is-featured {
    border-color: rgba(214, 180, 110, 0.6);
    background: var(--bg-secondary);
}

.l-price h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

.l-price h3 svg {
    width: 18px;
    height: 18px;
}

.l-price .l-amount {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1;
}

.l-price a {
    margin-top: auto;
}

.l-currency {
    margin: 18px 0 0;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.l-currency a {
    color: var(--accent-gold);
}

/* FAQ */
.l-faq details {
    border-bottom: 1px solid var(--border-subtle);
}

.l-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    color: var(--text-primary);
    font-size: 1.02rem;
    list-style: none;
    cursor: pointer;
}

.l-faq summary::-webkit-details-marker {
    display: none;
}

.l-faq summary::after {
    content: '+';
    color: var(--accent-gold);
    font-size: 1.3rem;
    transition: transform var(--duration-fast) var(--ease-out);
}

.l-faq details[open] summary::after {
    transform: rotate(45deg);
}

.l-faq details p {
    margin: 0 0 18px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* CTA final */
.l-final {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 88px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.l-final .l-h2 {
    max-width: 16ch;
    margin-top: 20px;
}

/* Rodapé */
.l-footer {
    display: grid;
    gap: 24px;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 36px 20px 120px;
    border-top: 1px solid var(--border-subtle);
    box-sizing: border-box;
}

.l-footer p {
    max-width: 30rem;
    margin: 10px 0 0;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.l-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.l-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .l-footer nav a:hover {
        color: var(--text-primary);
    }
}

/* ── Revelação ao rolar (só marketing, uma vez) ── */

.js.reveal-ready .l-section > *,
.js.reveal-ready .l-final > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.js.reveal-ready .l-section.is-visible > *,
.js.reveal-ready .l-final.is-visible > * {
    opacity: 1;
    transform: none;
}

.js.reveal-ready .l-section.is-visible > :nth-child(2) { transition-delay: 60ms; }
.js.reveal-ready .l-section.is-visible > :nth-child(3) { transition-delay: 120ms; }
.js.reveal-ready .l-section.is-visible > :nth-child(n + 4) { transition-delay: 180ms; }

/* ── Desktop ─────────────────────────────── */

@media (min-width: 900px) {
    .landing-main {
        padding: 0 40px;
    }

    .l-hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        min-height: min(760px, 100svh);
        padding-top: 110px;
    }

    .l-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .l-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .l-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px;
    }

    .l-split-reverse .l-map-art {
        order: 2;
    }

    .l-privacy {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .l-prices {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .l-footer {
        grid-template-columns: 1fr auto;
        align-items: start;
        padding: 40px 40px 48px;
    }
}

@media (min-width: 1180px) {
    .l-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .l-fan img {
        animation: none;
    }

    .js.reveal-ready .l-section > *,
    .js.reveal-ready .l-final > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
