/* LP Método Dealist™ (/growth) — complementa dealmatch/index.css e advisory/index.css */

/* Hero: título menor e margens mais generosas em viewports largos e baixos (ex.: 1264x633) — mesmo recorte de altura usado em advisory/index.css para evitar aperto vertical */
@media (min-width: 1024px) and (max-height: 719px) {
    .growth-hero-section .growth-hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .growth-hero-section .growth-hero-inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Hero: faixa intermediária de laptops comuns (ex.: 1366x768, 1280x800 com barra de favoritos) — reduz o ritmo vertical do bloco para o grid de estatísticas caber acima da dobra */
@media (min-width: 1024px) and (min-height: 720px) and (max-height: 860px) {
    .growth-hero-section .growth-hero-body {
        row-gap: 1.5rem;
    }

    .growth-hero-section .growth-hero-stats {
        padding-top: 1.5rem;
        row-gap: 1rem;
        column-gap: 1.5rem;
    }
}

/* Card de estatística — usado na section clara "O problema" */
.growth-stat-card {
    padding: 1.75rem 1.5rem;
    border-radius: 1.125rem;
    background: #f4f4f4;
    border: none;
}

/* Card de prova social — variante clara do advisory-outcome-card (section "Validado na prática") */
.growth-outcome-card {
    position: relative;
    overflow: hidden;
    padding: 1.75rem 1.5rem;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.growth-outcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff0062;
}

.growth-outcome-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    margin-bottom: 1.25rem;
}

.growth-outcome-card__logo img {
    max-height: 100%;
    max-width: 8rem;
    object-fit: contain;
}

.growth-outcome-card__logo-fallback {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.growth-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.375rem 2rem 2rem;
    border-radius: 1.375rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.growth-plan-card--light {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    color: #373737;
}

.growth-plan-card--light:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

.growth-plan-card--pink {
    background: #ffffff;
    border: 2px solid #ff0062;
    color: #373737;
    box-shadow: 0 24px 50px -18px rgba(255, 0, 98, 0.35);
    transform: scale(1.04);
    z-index: 1;
}

.growth-plan-card--pink:hover {
    transform: scale(1.04) translateY(-6px);
}

.growth-plan-card--dark {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #ffffff;
}

.growth-plan-card--dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
}

.growth-plan-badge {
    display: inline-block;
    width: fit-content;
    margin-bottom: 1.25rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.growth-plan-badge--light {
    background: #f4f4f4;
    color: #6e6e6e;
}

.growth-plan-badge--pink {
    background: #ff0062;
    color: #ffffff;
}

.growth-plan-badge--dark {
    background: rgba(255, 0, 98, 0.12);
    color: #ff0062;
}

.growth-plan-card__name {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.375rem;
}

.growth-plan-card__range {
    font-size: 0.875rem;
    opacity: 0.75;
    margin-bottom: 1.375rem;
    line-height: 1.45;
}

.growth-plan-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.growth-plan-card__amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.growth-plan-card__period {
    font-size: 0.875rem;
    opacity: 0.7;
}

.growth-plan-card__desc {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 1.625rem;
}

.growth-plan-features {
    list-style: none;
    margin: 0 0 1.875rem;
    padding: 0;
    flex-grow: 1;
}

.growth-plan-features li {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    padding: 0.5625rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 0.90625rem;
    line-height: 1.4;
}

.growth-plan-features li:first-child {
    border-top: none;
    padding-top: 0;
}

.growth-plan-features li::before {
    content: '✓';
    flex-shrink: 0;
    font-weight: 700;
    line-height: 1.35;
}

.growth-plan-card--light .growth-plan-features li,
.growth-plan-card--pink .growth-plan-features li {
    border-top-color: #e9e9e9;
}

.growth-plan-card--light .growth-plan-features li::before,
.growth-plan-card--pink .growth-plan-features li::before {
    color: #ff0062;
}

.growth-plan-card--dark .growth-plan-features li {
    border-top-color: #2a2a2a;
}

.growth-plan-card--dark .growth-plan-features li::before {
    color: #ff0062;
}

.growth-plan-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.growth-plan-cta-outline {
    background: transparent;
    border: 1.5px solid #373737;
    color: #373737;
}

.growth-plan-cta-outline:hover {
    background: #373737;
    color: #ffffff;
}

.growth-plan-cta-pink {
    background: #ff0062;
    border: 1.5px solid #ff0062;
    color: #ffffff;
}

.growth-plan-cta-pink:hover {
    background: #e6005a;
    border-color: #e6005a;
}

@media (max-width: 768px) {
    .growth-plan-card--pink {
        transform: none;
    }

    .growth-plan-card--pink:hover {
        transform: translateY(-6px);
    }
}

/* Cards de valor — section "Mais do que uma plataforma" (modelo: value-card) */
.growth-value-card {
    padding: 1.75rem 1.625rem;
    border-radius: 1rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.growth-value-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ff0062;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.growth-value-card__text {
    font-size: 0.90625rem;
    color: #d6d6d6;
    line-height: 1.55;
}

/* Card de pilar — legado (não usado na LP atual) */
.growth-pilar-card {
    padding: 1.75rem 1.5rem;
    border-radius: 1rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.growth-pilar-card:hover {
    border-color: rgba(255, 0, 98, 0.35);
    background: linear-gradient(155deg, #2a0016, #1a1a1a);
}

/* Stepper DEALIST — section "O método que dá nome à empresa" */
.growth-method-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.growth-letter-card {
    flex: 1 1 7.375rem;
    min-width: 7.375rem;
    padding: 1.375rem 1.125rem 1.25rem;
    border-radius: 1rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    cursor: default;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.growth-letter-card__glyph {
    font-size: 2.875rem;
    font-weight: 700;
    line-height: 1;
    color: #9a9a9a;
    transition: color 0.25s ease;
}

.growth-letter-card__name {
    margin-top: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a9a9a;
    transition: color 0.25s ease;
}

.growth-letter-card__desc {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #e8e8e8;
}

.growth-letter-card__evidence-tag {
    margin-top: 0.625rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6e6e6e;
    transition: color 0.25s ease;
}

.growth-letter-card__evidence-text {
    margin-top: 0.125rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #bdbdbd;
}

@media (hover: hover) {
    .growth-letter-card:hover {
        background: linear-gradient(155deg, #2a0016, #1a1a1a);
        border-color: #ff0062;
        transform: translateY(-6px);
        box-shadow: 0 16px 32px -12px rgba(255, 0, 98, 0.35);
    }

    .growth-letter-card:hover .growth-letter-card__glyph,
    .growth-letter-card:hover .growth-letter-card__name,
    .growth-letter-card:hover .growth-letter-card__evidence-tag {
        color: #ff0062;
    }
}

.growth-stepper-hint {
    margin-top: 1.125rem;
    font-size: 0.8125rem;
    color: #c9c9c9;
}

@media (max-width: 640px) {
    .growth-method-stepper {
        flex-direction: column;
    }

    .growth-letter-card {
        flex: 1 1 auto;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .growth-letter-card,
    .growth-letter-card__glyph,
    .growth-letter-card__name,
    .growth-letter-card__evidence-tag {
        transition: none;
    }
}

/* ============================================================================
   REDESENHO MOBILE (<=767px) — exclusivo mobile; desktop permanece inalterado.
   Layout mobile feito com classes próprias (sem utilitárias Tailwind novas).
   ============================================================================ */

/* Dots dos carrosséis: ocultos por padrão (desktop); só aparecem no mobile. */
.growth-carousel-dots {
    display: none;
}

.growth-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: rgba(140, 140, 140, 0.45);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.growth-carousel-dot.is-active {
    width: 1.375rem;
    background: #ff0062;
}

@media (max-width: 767px) {
    /* --- Ritmo vertical: seções mais compactas --- */
    section.growth-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Entrada dos blocos com deslocamento menor (sensação mais nativa) */
    .growth-section .fade-up:not(.visible) {
        transform: translateY(18px);
    }

    /* --- Hero --- */
    section.growth-hero-section {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .growth-hero-section .animate-float {
        width: 15rem;
        height: 15rem;
        filter: blur(44px);
        opacity: 0.7;
    }

    /* Ritmo vertical do hero mais justo: o space-y-8 (2rem) fica esticado no mobile.
       Seletor espelha o do Tailwind (.space-y-8 > :not([hidden]) ~ :not([hidden]))
       com o ancestral para vencer a especificidade sem !important. */
    .growth-hero-section .space-y-8 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 1.25rem;
    }

    /* Grupo de botões: remove o respiro extra do pt-2 (o space-y já dá o gap) */
    .growth-hero-section .space-y-8 > .flex.pt-2 {
        padding-top: 0;
    }

    /* Faixa de stats do hero: 3 colunas iguais e compactas em vez de blocos altos.
       minmax(0,1fr) evita que o conteúdo (ex.: "R$100 mil/mês") alargue a coluna. */
    div.growth-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        padding-top: 1rem;
    }

    div.growth-hero-stats > div > p:first-child {
        font-size: 1.0625rem;
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    /* número e texto colados */
    div.growth-hero-stats > div > p:last-child {
        font-size: 0.6875rem;
        line-height: 1.3;
        margin-top: 0.125rem;
    }

    /* --- Método DEALIST: carrossel swipe --- */
    .growth-section .growth-method-stepper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.75rem;
        margin: 0 -1rem;
        padding: 0.5rem 1rem 0.25rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .growth-section .growth-method-stepper::-webkit-scrollbar {
        display: none;
    }

    .growth-section .growth-method-stepper .growth-letter-card {
        flex: 0 0 78%;
        min-width: 78%;
        scroll-snap-align: center;
        padding: 1.5rem 1.375rem;
    }

    .growth-section .growth-method-stepper .growth-letter-card__glyph {
        font-size: 3.5rem;
    }

    /* --- Planos: carrossel swipe --- */
    .growth-section .growth-plans-carousel {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 1rem;
        margin: 0 -1rem;
        padding: 0.5rem 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .growth-section .growth-plans-carousel::-webkit-scrollbar {
        display: none;
    }

    .growth-section .growth-plans-carousel .growth-plan-card {
        flex: 0 0 92%;
        min-width: 92%;
        height: auto;
        scroll-snap-align: center;
        padding: 2rem 1.5rem 1.75rem;
    }

    /* --- Sistema: grade 2 colunas (feature ocupa a linha inteira) --- */
    div.growth-value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    div.growth-value-grid .growth-value-card--feature {
        grid-column: 1 / -1;
    }

    .growth-value-card {
        padding: 1.25rem 1.125rem;
    }

    /* --- Dots visíveis no mobile --- */
    .growth-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    /* --- Reveal escalonado por card (classe aplicada pelo JS só no mobile) --- */
    .growth-reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

    .growth-reveal--in {
        opacity: 1;
        transform: none;
    }
}

/* --- Feedback de toque (dispositivos sem hover) --- */
@media (hover: none) {
    .growth-stat-card:active,
    .growth-outcome-card:active,
    .growth-value-card:active,
    .growth-letter-card:active {
        transform: scale(0.98);
        transition: transform 0.12s ease;
    }

    .growth-plan-card__cta:active {
        transform: scale(0.97);
    }
}

/* Sem animações de entrada quando o usuário pede menos movimento */
@media (prefers-reduced-motion: reduce) {
    .growth-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .growth-hero-section .animate-float {
        animation: none;
    }
}
