/**
 * Estilos das Landing Pages
 * Diagnóstico Comercial e similares
 *
 * Cores via variáveis CSS — altere no :root para sua marca
 *
 * @package DavidPires
 * @since 1.0.0
 */

/* ==========================================================================
   Variáveis (altere aqui para suas cores)
   ========================================================================== */

.landing-diagnostico,
.lp {
    --lp-bg: #0a0a0a;
    --lp-text: #ffffff;
    --lp-text-muted: rgba(255, 255, 255, 0.85);
    --lp-cta-bg: #009933;
    --lp-cta-text: #ffffff;
    --lp-cta-border: #ffffff;
    --lp-cta-glow: rgba(0, 153, 51, 0.35);
    --lp-cta-secondary-bg: #1a1a1a;
    --lp-accent: #c98f57;
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-input-bg: rgba(255, 255, 255, 0.06);
    --lp-input-border: rgba(255, 255, 255, 0.12);
    --lp-font: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

.lp {
    min-height: 100vh;
    width: 100%;
    background-color: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.6;
}

.lp__main {
    width: 100%;
}

/* ==========================================================================
   Container
   ========================================================================== */

.lp-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-container--narrow {
    max-width: 600px;
}

.lp-container--wide {
    max-width: 960px;
}

@media (min-width: 1100px) {
    .lp-container--wide {
        max-width: 1040px;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.lp-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 250px 24px 100px;
    overflow: hidden;
    background-color: var(--lp-bg);
}

/* Camada de fundo (imagem) */
.lp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lp-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Desktop: mostra hero.jpg; mobile: mostra hero-mobile.jpg */
.lp-hero__bg-img--mobile {
    display: none;
}

@media (max-width: 768px) {
    .lp-hero__bg-img--desktop {
        display: none;
    }

    .lp-hero__bg-img--mobile {
        display: block;
    }
}

.lp-hero__bg-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.75) 0%,
        rgba(10, 10, 10, 0.85) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

/* Conteúdo centralizado sobre o fundo */
.lp-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.lp-hero__content {
    text-align: center;
}

/* Logo no hero (acima do label) */
.lp-hero__logo {
    margin-bottom: 1.25rem;
}

.lp-hero__logo-img {
    display: inline-block;
    max-width: 200px;
    height: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .lp-hero__logo-img {
        max-width: 160px;
    }
}

/* Label de atenção (estilo ATENÇÃO: NÚMERO LIMITADO… — caixa acima do título) */
.lp-hero__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-text);
    margin: 0 0 1.25rem;
    padding: 10px 18px;
    line-height: 1.3;
    background: rgba(201, 143, 87, 0.15);
    border: 1px solid rgba(201, 143, 87, 0.4);
    border-radius: 6px;
}

/* Título principal */
.lp-hero__title {
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1.25rem;
    color: var(--lp-text);
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}

/* Destaque no título (padrão referência: fundo dourado, texto preto, padding) */
.lp-hero__title-highlight {
    display: inline;
    background: var(--lp-accent);
    color: #000000;
    padding: 4px 10px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.lp-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.5;
    color: var(--lp-text-muted);
    margin: 0 0 1rem;
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
}

.lp-hero__lead {
    font-size: 1rem;
    color: var(--lp-text-muted);
    margin: 0 0 1.75rem;
    opacity: 0.9;
}

.lp-hero__actions {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lp-hero__actions .lp-cta {
    min-width: 280px;
    max-width: 100%;
}

/* ==========================================================================
   Seções
   ========================================================================== */

.lp-section {
    padding: 64px 0;
    border-top: 1px solid var(--lp-border);
}

.lp-section__title {
    font-size: clamp(1.5rem, 3.5vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--lp-text);
    text-align: center;
}

.lp-section__title--sub {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.lp-section__text {
    margin-bottom: 1rem;
    color: var(--lp-text-muted);
}

.lp-section__highlight {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 1rem;
}

.lp-section__strong {
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 1rem;
}

.lp-section__actions {
    margin: 1.5rem 0 0;
    text-align: center;
}

/* Tagline / label acima do título (seção benefits) */
.lp-section__label {
    display: inline-block;
    margin: 0 auto 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 143, 87, 0.5);
    border-radius: 999px;
    text-align: center;
}

.lp-section__text--lead {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--lp-text-muted);
}

/* Seção "O que você vai receber" — layout benefits (tagline + grid de cards) */
.lp-section--benefits .lp-container {
    text-align: center;
}

.lp-section--benefits .lp-section__title {
    margin-bottom: 0.75rem;
}

.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 2rem;
}

.lp-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(0, 0, 0, 0.12) 100%
    );
    border: 1px solid rgba(201, 143, 87, 0.4);
    border-radius: 16px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 20px rgba(201, 143, 87, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lp-benefit-card:hover {
    border-color: rgba(201, 143, 87, 0.55);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 28px rgba(201, 143, 87, 0.1);
}

.lp-benefit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    background: rgba(0, 153, 51, 0.2);
    border: 1px solid rgba(0, 153, 51, 0.45);
    border-radius: 14px;
    color: var(--lp-cta-bg);
    flex-shrink: 0;
}

.lp-benefit-card__icon svg {
    flex-shrink: 0;
}

.lp-benefit-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--lp-text);
}

.lp-benefit-card__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--lp-text-muted);
    max-width: 28em;
}

@media (max-width: 640px) {
    .lp-benefits-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .lp-benefit-card {
        padding: 1.5rem 1.25rem;
    }
}

/* Centralizar texto apenas na seção #vazamentos */
#vazamentos .lp-section__highlight,
#vazamentos .lp-section__text,
#vazamentos .lp-section__strong {
    text-align: center;
}

/* Centralizar texto na seção A verdade é simples */
#verdade .lp-section__text,
#verdade .lp-section__strong {
    text-align: center;
}

/* Centralizar texto na seção Você não precisa de mais leads */
#leads .lp-section__text,
#leads .lp-section__highlight {
    text-align: center;
}

/* Light mode — seção #leads (cores do tema: dourado + verde) */
#leads.lp-section--light {
    background-color: #faf8f5; /* off-white quente, combina com --lp-accent */
    color: #2c2825;
}

#leads.lp-section--light .lp-section__title,
#leads.lp-section--light .lp-section__strong {
    color: #2c2825;
}

#leads.lp-section--light .lp-section__text {
    color: #4a4540;
}

#leads.lp-section--light .lp-section__highlight {
    font-weight: 600;
    color: var(--lp-accent);
}

#leads.lp-section--light .lp-list--cards li {
    background: #ffffff;
    border: 1px solid rgba(201, 143, 87, 0.4);
    color: #4a4540;
    box-shadow: 0 1px 4px rgba(201, 143, 87, 0.08);
}

#leads.lp-section--light .lp-list--cards__num {
    color: #2c2825;
    background: rgba(201, 143, 87, 0.2);
    border-right-color: rgba(201, 143, 87, 0.35);
}

#leads.lp-section--light .lp-list--cards__text {
    color: #4a4540;
}

#leads.lp-section--light .lp-section__block--mesmo-que {
    background: #ffffff;
    border: 1px solid rgba(201, 143, 87, 0.45);
    box-shadow: 0 4px 20px rgba(201, 143, 87, 0.1);
}

#leads.lp-section--light .lp-section__block--mesmo-que .lp-section__title,
#leads.lp-section--light .lp-section__block--mesmo-que .lp-section__strong {
    color: #2c2825;
}

#leads.lp-section--light .lp-section__block--mesmo-que .lp-list--checklist li,
#leads.lp-section--light .lp-section__block--mesmo-que .lp-checklist__text {
    color: #4a4540;
}

#leads.lp-section--light .lp-section__block--mesmo-que .lp-checklist__icon {
    border-color: var(--lp-cta-bg);
    background-color: rgba(0, 153, 51, 0.12);
}

#leads.lp-section--light .lp-section__block--mesmo-que .lp-section__strong {
    border-top-color: rgba(201, 143, 87, 0.35);
}

/* Bloco "Mesmo que…" (dentro de #leads) — card + checklist */
.lp-section__block--mesmo-que {
    margin-top: 2.5rem;
    padding: 1.75rem 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 143, 87, 0.35);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.lp-section__block--mesmo-que .lp-section__title {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.375rem;
    text-align: center;
    color: var(--lp-text);
}

/* Checklist "Mesmo que…" — estrutura dev-friendly (ícone + texto explícitos) */
.lp-section__block--mesmo-que .lp-list--checklist {
    --lp-checklist-gap: 1rem;        /* espaço entre ícone e texto */
    --lp-checklist-row-gap: 0.75rem; /* espaço entre linhas */
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-section__block--mesmo-que .lp-list--checklist li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--lp-checklist-gap);
    margin-bottom: var(--lp-checklist-row-gap);
    margin-left: auto;
    margin-right: auto;
    color: var(--lp-text-muted);
    width: fit-content;
    max-width: 100%;
}

.lp-section__block--mesmo-que .lp-list--checklist li:last-child {
    margin-bottom: 0;
}

/* Ícone checkbox (elemento real para controle de espaçamento) */
.lp-section__block--mesmo-que .lp-checklist__icon {
    flex-shrink: 0;
    display: block;
    width: 1.35em;
    height: 1.35em;
    border: 2px solid var(--lp-cta-bg, #2d5a3d);
    border-radius: 0.3em;
    background-color: rgba(45, 90, 61, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5a3d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 78%;
    background-position: center;
    background-repeat: no-repeat;
}

.lp-section__block--mesmo-que .lp-checklist__text {
    display: block;
}

/* Conclusão do bloco */
.lp-section__block--mesmo-que .lp-section__strong {
    margin-top: 1.25rem;
    margin-bottom: 0;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 1.0625rem;
    border-top: 1px solid var(--lp-border);
    color: var(--lp-text);
}

@media (max-width: 600px) {
    .lp-section__block--mesmo-que {
        margin-top: 2rem;
        padding: 1.35rem 1.15rem;
    }
}

.lp-section--cta {
    padding-bottom: 80px;
}

/* Seção Para quem é / Para quem não é — grid 2 colunas em cards (container mais largo) */
#para-quem .lp-container {
    max-width: 1000px;
}

@media (min-width: 1100px) {
    #para-quem .lp-container {
        max-width: 1100px;
    }
}

@media (min-width: 1280px) {
    #para-quem .lp-container {
        max-width: 1200px;
    }
}

.lp-section--grid-2__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
    align-items: start;
}

/* Cada coluna vira um card estilizado (proporção mais horizontal) */
.lp-section--grid-2__col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 14px 36px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 143, 87, 0.45);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* H2 alinhados no topo (mesmo tamanho e margens nas duas colunas) */
#para-quem .lp-section--grid-2__col .lp-section__title,
#para-quem .lp-section--grid-2__col .lp-section__title--sub {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

/* Destaque vermelho na palavra "não" do título "Para quem não é" */
.lp-section__title--negative {
    color: #c0392b;
}

#para-quem .lp-section--grid-2__col .lp-list {
    margin-bottom: 0;
    flex: 1;
}

#para-quem .lp-section--grid-2__col .lp-list li {
    margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
    .lp-section--grid-2__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lp-section--grid-2__col {
        padding: 12px 24px 16px;
    }
}

/* Seção Quem sou eu (com imagem de fundo + grid 2 colunas) */
.lp-section--bio-bg {
    position: relative;
    min-height: 420px;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Altura mínima 800px e conteúdo centralizado na vertical */
#quem-sou-eu.lp-section--bio-bg {
    min-height: 800px;
    display: flex;
    flex-direction: column;
}

#quem-sou-eu .lp-section--bio-bg__grid {
    min-height: 800px;
    flex: 1;
    align-items: stretch;
}

#quem-sou-eu .lp-section--bio-bg__col--content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-section--bio-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.7) 45%,
        rgba(10, 10, 10, 0.92) 100%
    );
    pointer-events: none;
}

/* Grid invisível: col 1 = vazio (mostra o fundo), col 2 = texto */
.lp-section--bio-bg__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.lp-section--bio-bg__col {
    min-height: 280px;
}

.lp-section--bio-bg__col--empty {
    /* Coluna vazia: só deixa o background da section aparecer */
}

.lp-section--bio-bg__col--content {
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.lp-section--bio-bg__content {
    position: relative;
    width: 100%;
}

/* Título "Quem sou eu" / "Sobre David Pires" — cor dourada + fonte serif + uppercase */
#quem-sou-eu .lp-section__title {
    color: #c98f57;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .lp-section--bio-bg {
        min-height: auto;
        background-image: url('../images/davidpires-quesoueu-mobile.jpg') !important;
    }

    #quem-sou-eu.lp-section--bio-bg {
        min-height: auto;
        display: block;
    }

    #quem-sou-eu .lp-section--bio-bg__grid {
        min-height: auto;
    }

    /* Mobile: col 1 em cima (vazia), col 2 embaixo (texto); background continua na section */
    .lp-section--bio-bg__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        min-height: auto;
    }

    .lp-section--bio-bg__col--empty {
        min-height: 240px;
    }

    .lp-section--bio-bg__col--content {
        padding: 48px 0 60px;
    }
}

.lp-section--bio .lp-bio {
    margin-top: 0;
}

.lp-section--bio .lp-section__text,
.lp-section--bio .lp-section__strong {
    margin-bottom: 1rem;
}

.lp-section--bio .lp-section__strong {
    margin-bottom: 0;
}

/* ==========================================================================
   Listas
   ========================================================================== */

.lp-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.lp-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--lp-text-muted);
}

.lp-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--lp-cta-bg);
    font-weight: 700;
}

/* Lista "Para quem não é" — apenas o bullet em vermelho */
.lp-list--negative li::before {
    color: #c0392b;
}

.lp-list--minimal li::before {
    content: none;
    padding-left: 0;
}

/* Lista em cards em linha */
.lp-list--cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 1.25rem;
}

/* Seção #vazamentos — cards em grid 2 colunas */
#vazamentos .lp-list--cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#vazamentos .lp-list--cards li {
    flex: none;
    padding: 20px 18px;
}

#vazamentos .lp-list--cards li:not(:has(.lp-list--cards__text)) {
    display: block;
}

@media (max-width: 640px) {
    #vazamentos .lp-list--cards {
        grid-template-columns: 1fr;
    }
}

.lp-list--cards li {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 143, 87, 0.4);
    border-radius: 10px;
    color: var(--lp-text-muted);
}

.lp-list--cards li::before {
    display: none;
}

.lp-list--cards__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--lp-text);
    background: rgba(201, 143, 87, 0.25);
    border-right: 1px solid rgba(201, 143, 87, 0.4);
    border-radius: 10px 0 0 10px;
}

.lp-list--cards__text {
    flex: 1;
    padding: 20px 18px;
    min-width: 0;
}

.lp-list--ordered {
    list-style: decimal;
    padding-left: 1.5rem;
}

.lp-list--ordered li {
    padding-left: 0.25rem;
}

.lp-list--ordered li::before {
    content: none;
}

/* Passo a passo: linha vertical + círculos numerados (caminho) */
.lp-list--path {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    counter-reset: step;
    border-left: 3px solid rgba(201, 143, 87, 0.5);
    padding-left: 2.75rem;
    margin-left: 14px;
}

.lp-list--path li {
    position: relative;
    padding-left: 0;
    padding-bottom: 1.5rem;
    color: var(--lp-text-muted);
}

.lp-list--path li:last-child {
    padding-bottom: 0;
}

.lp-list--path li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: -2.75rem;
    top: -2px;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    color: #0a0a0a;
    background: var(--lp-accent);
    border: 2px solid rgba(201, 143, 87, 0.6);
    border-radius: 50%;
    box-sizing: border-box;
}

/* ==========================================================================
   Botão CTA (estilo referência: gradiente animado + ::after + valor)
   ========================================================================== */

@keyframes lp-cta-textura {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.lp-cta {
    position: relative;
    display: inline-block;
    overflow: hidden;
    background-image: linear-gradient(258deg, #003319, #018b45, #003319, #018b45);
    background-size: 400% 200%;
    background-color: #018b45;
    color: var(--lp-cta-text);
    padding: 20px 44px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 20px var(--lp-cta-glow);
    animation: lp-cta-textura 3.4s cubic-bezier(0.2, 0.5, 0.9, 0.6) 2s infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    text-align: center;
    line-height: 1.25;
}

.lp-cta::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 4.739px;
    background-image: linear-gradient(258deg, #003319, #018b45, #003319, #018b45);
    background-size: 400% 200%;
    animation: lp-cta-textura 2s ease infinite;
    transition: all 0.8s;
    pointer-events: none;
    z-index: 0;
}

.lp-cta span {
    position: relative;
    z-index: 1;
}

/* Segunda linha / badge abaixo do botão (estilo .valor da referência) */
.lp-cta__valor {
    position: absolute;
    width: fit-content;
    white-space: nowrap;
    top: 95%;
    left: 50%;
    font-size: 0.64em;
    transform: translateX(-50%);
    padding: 5px 16px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
    z-index: 999999;
}

.lp-cta__wrapper {
    display: block;
}

.lp-cta__text {
    display: block;
}

.lp-cta__text b {
    display: block;
    margin-top: 2px;
    font-weight: 700;
}

.lp-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 28px var(--lp-cta-glow);
    color: var(--lp-cta-text);
}

/* CTA em largura total (ex.: formulário) */
.lp-cta--full {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* CTA secundário (fundo escuro, estilo "AGENDE UM HORÁRIO") */
.lp-cta--secondary {
    background-color: var(--lp-cta-secondary-bg);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

.lp-cta--secondary:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.lp-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--lp-border);
    background: rgba(0, 0, 0, 0.2);
}

.lp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lp-footer__logo-img {
    display: block;
    height: auto;
    max-width: 140px;
}

.lp-footer__credit {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lp-text-muted);
}

@media (max-width: 480px) {
    .lp-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .lp-footer__logo-img {
        max-width: 120px;
    }
}

/* ==========================================================================
   Popup de inscrição
   ========================================================================== */

/* Popup: sempre cabe na viewport; scroll só na área do formulário */
.lp-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.lp-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.lp-popup__overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

/* Modal: altura fixa para caber na tela; coluna flex; body rola */
.lp-popup__modal {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    min-width: 0; /* permite shrink correto em flex */
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    min-height: 200px;
    overflow: hidden;
    background: var(--lp-bg);
    border: 1px solid rgba(201, 143, 87, 0.4);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Mobile: modal ocupa quase toda a largura da tela (viewports pequenas) */
@media (max-width: 768px) {
    .lp-popup {
        padding: 8px;
        padding-left: max(8px, env(safe-area-inset-left));
        padding-right: max(8px, env(safe-area-inset-right));
        padding-top: max(8px, env(safe-area-inset-top));
        padding-bottom: max(8px, env(safe-area-inset-bottom));
        align-items: stretch;
        justify-content: center;
    }

    .lp-popup__modal {
        width: 100%;
        max-width: none;
        min-width: 280px;
        height: calc(100dvh - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 12px;
    }
}

/* Desktop: modal mais alto, altura dinâmica (conteúdo até 90vh) */
@media (min-width: 769px) {
    .lp-popup__modal {
        max-width: 440px;
        height: auto;
        min-height: 400px;
        max-height: 90vh;
    }

    .lp-popup__header {
        padding: 1.5rem 3rem 0 1.75rem;
    }

    .lp-popup__header .lp-form__title {
        font-size: 1.5rem;
    }

    .lp-popup__body {
        padding: 1.25rem 1.75rem 1.75rem;
    }

    .lp-form--popup .lp-form__field {
        margin-bottom: 1rem;
    }
}

/* Cabeçalho fixo (título + subtítulo + botão fechar) */
.lp-popup__header {
    flex-shrink: 0;
    position: relative;
    padding: 1.25rem 3rem 0 1.5rem;
}

.lp-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--lp-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.lp-popup__close:hover {
    color: var(--lp-text);
    background: rgba(255, 255, 255, 0.08);
}

.lp-popup__header .lp-form__title {
    margin: 0 0 0.35rem;
    padding-right: 0;
    font-size: 1.375rem;
}

.lp-popup__header .lp-form__subtitle {
    margin: 0;
    font-size: 0.9375rem;
}

/* Área rolável: apenas o formulário (recebe o espaço restante) */
.lp-popup__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 1.5rem 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.lp-form--popup {
    padding: 20px 0 0;
    border: none;
    background: transparent;
}

/* Labels do formulário popup — comentados por enquanto (ocultos visualmente, mantidos para acessibilidade) */
.lp-form--popup .lp-form__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lp-form__message {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.lp-form__message--success {
    color: var(--lp-cta-bg);
}

.lp-form__message--error {
    color: #c0392b;
}

/* ==========================================================================
   Formulário de inscrição (estilos base)
   ========================================================================== */

.lp-form {
    padding: 72px 0 80px;
    border-top: 1px solid var(--lp-border);
    background: rgba(0, 0, 0, 0.2);
}

.lp-form__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--lp-text);
    text-align: center;
}

.lp-form__subtitle {
    text-align: center;
    color: var(--lp-text-muted);
    margin-bottom: 2rem;
}

.lp-form__form {
    max-width: 400px;
    margin: 0 auto;
}

.lp-form__field {
    margin-bottom: 1.25rem;
}

.lp-form__field--submit {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.lp-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--lp-text);
}

.lp-form__input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--lp-font);
    color: var(--lp-text);
    background: var(--lp-input-bg);
    border: 1px solid var(--lp-input-border);
    border-radius: 8px;
    box-sizing: border-box;
}

.lp-form__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lp-form__input:focus {
    outline: none;
    border-color: var(--lp-cta-bg);
    box-shadow: 0 0 0 2px var(--lp-cta-glow);
}

.lp-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.lp-form__select option {
    background: var(--lp-bg);
    color: var(--lp-text);
}

/* ==========================================================================
   Responsividade
   ========================================================================== */

@media (max-width: 768px) {
    .lp-hero {
        min-height: 75vh;
        padding: 250px 20px 100px;
    }

    .lp-hero__title {
        max-width: none;
    }

    .lp-hero__subtitle {
        max-width: none;
    }

    .lp-hero__actions .lp-cta {
        min-width: 0;
        width: 100%;
        max-width: 280px;
    }

    .lp-section {
        padding: 48px 0;
    }

    .lp-container,
    .lp-container--narrow {
        padding: 0 20px;
    }

    .lp-cta {
        padding: 16px 32px;
        font-size: 14px;
    }

    .lp-form {
        padding: 56px 0 64px;
    }
}

@media (max-width: 480px) {
    .lp-hero {
        min-height: 70vh;
        padding: 250px 16px 100px;
    }

    .lp-hero__title {
        font-size: 1.5rem;
    }

    .lp-section__title {
        font-size: 1.375rem;
    }
}
