/*
    ESTILOS DA LANDING PAGE - ÁLBUM DA COPA 2026
    Design Premium, Clean e de Alta Conversão
*/

/* 1. RESET BÁSICO E VARIÁVEIS GLOBAIS */
:root {
    --primary-color: #25D366; /* Verde chamativo (remete a botão do WhatsApp/Ação positiva) */
    --primary-hover: #1EAB52;
    --second-action: #FF6600; /* Laranja forte para destaques secundários e urgência */
    --second-action-hover: #E55B00;
    --text-main: #1A1A1A; /* Escuro moderno ao invés de preto puro */
    --text-muted: #666666;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-dark: #111827; /* Fundo para seções escuras como rodapé */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --border-color: #E5E7EB;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base 1rem */
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    
    /* BACKGROUND PREMIUM DA COPA */
    background-color: #F4F3F8;
    background-image: 
        linear-gradient(rgba(244, 243, 248, 0.90), rgba(244, 243, 248, 0.95)),
        url('imagens ab/FIFA-revela-posteres-das-16-cidades-sede-da-Copa-do-Mundo-2026.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Utilitários Visuais */
.hidden { opacity: 0; transform: translateY(20px); transition: all 0.8s ease-out; }
.show-scroll { opacity: 1; transform: translateY(0); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 5rem 0; /* Espaçamento grande para respiro visual (Design Premium) */
}

/* Tipografia Comum */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.2;
}

/* Componente: Botão de Conversão (CTA) */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: min(3.8vw, 1.125rem); /* Diminui ativamente em telas muito minúsculas pra não quebrar a linha */
    padding: 1rem 1rem; /* Reduz enchimento lateral no Mobile */
    white-space: nowrap; /* Trava obrigatoriamente em 1 linha */
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.cta-button.orange {
    background: linear-gradient(90deg, #FF3300 0%, #FF6600 100%); /* Laranja idêntico ao Topo */
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.cta-button.orange:hover {
    background: linear-gradient(90deg, #E52E00 0%, #E55B00 100%);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-pulse {
    animation: pulse 2s infinite;
}

/* Selo Oficial Panini */
.official-seal {
    margin-top: 1.8rem; /* Ajustado para um meio-termo confortável */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.85;
}

/* ==================================================
   BLOCO 1: PRIMEIRA DOBRA (HERO)
   ================================================== */
/* Barra de Urgência Fixa no Topo */
.urgency-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #FF3300 0%, #FF6600 100%);
    color: #FFF;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero {
    margin-top: 40px; /* Compensa a barra fixa */
    padding-top: 0.5rem !important; /* Espaço mínimo para não grudar totalmente */
    padding-bottom: 2.5rem !important; /* Metade do padrão da .section (5rem) */
    display: flex;
    align-items: flex-start; 
    background-color: transparent;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Aproxima carrossel do texto e botão */
    padding: 0 0 2rem;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: min(6.5vw, 2rem); /* Tamanho de fonte máximo possível baseado na tela */
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    letter-spacing: -0.04em;
    white-space: nowrap; /* Trava absolutamente em apenas 2 linhas (devido ao BR no HTML) */
}

.hero-subtitle {
    font-size: 0.95rem; /* Ajuste acompanhando o título */
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1rem; /* Encurta distância pro botão */
}

.hero-image-wrapper {
    width: 100%;
    max-width: 600px; /* Abundância! Mockup gigante */
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    background-color: #E2E8F0;
    min-height: 300px; 
    object-fit: cover;
}

/* ==================================================
   BLOCO 2: DOR VS SOLUÇÃO
   ================================================== */
.pain-solution {
    background-color: transparent;
    padding-top: 0 !important; /* Remove o espaço em branco no topo */
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Lado a lado no mobile */
    gap: 0.8rem;
    margin-top: 1.5rem; /* Aproxima do título acima */
    align-items: stretch; /* Força os dois cards a terem a mesma altura */
}

.ps-card {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Textos no topo */
    min-width: 0;
}

.ps-card.pain {
    border-top: 5px solid #EF4444; /* Vermelho claro para dor */
}

.ps-card.solution {
    border-top: 5px solid var(--primary-color);
    aspect-ratio: auto; /* Permite crescer para mostrar todo o texto */
    overflow: visible;
}
.ps-card h3 {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ps-card ul {
    list-style: none;
}

.ps-card ul li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Ícones customizados na lista */
.pain ul li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 0;
}

.solution ul li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    top: 0;
}

/* ==================================================
   BLOCO 3: OFERTA + BÔNUS (MIFFGE)
   ================================================== */
.offer-bonus {
    background-color: transparent;
    text-align: center;
    padding-top: 1rem !important;
    padding-bottom: 1.5rem !important; /* Espaço sutil no final do bloco 3 */
}

.offer-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 1.5rem auto 0; /* Reduz margens e remove a inferior */
    max-width: 800px;
}

.offer-image-main img {
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    /* placeholder prop */
    background: #E2E8F0;
    min-height: 250px;
}

.bonus-box {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.bonus-tag {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--second-action);
    color: white;
    font-weight: 800;
    padding: 0.25rem 3rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.bonus-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.bonus-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* ==================================================
   BLOCO 4: CARDS DE OFERTA
   ================================================== */
.pricing {
    background-color: transparent;
    padding-top: 1rem !important; /* Espaço sutil no começo do bloco 4 */
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.price-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem 1.2rem; /* Reduzido de 2.5rem 1.5rem */
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Destaque para o plano Mais Vendido */
.price-card.popular {
    border: 2px solid var(--second-action);
    transform: scale(1.02); /* Levemente maior */
    box-shadow: var(--shadow-hover);
}

.price-card.popular:hover {
    transform: scale(1.04) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--second-action);
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 0.5rem; /* Reduzido de 1rem */
}

.plan-items {
    list-style: none;
    margin-bottom: 1.2rem; /* Reduzido de 2rem */
    flex-grow: 1; /* Empurra o botão pro final  */
}

.plan-items li {
    padding: 0.3rem 0; /* Reduzido de 0.5rem 0 */
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-items li:last-child {
    border-bottom: none;
}

.plan-items li::before {
    content: "✔️";
    font-size: 0.9rem;
    color: #10B981;
}

.price-area {
    text-align: center;
    margin-bottom: 0.8rem; /* Reduzido de 1.5rem */
}

.price-area .old-price {
    text-decoration: line-through;
    color: #EF4444; /* Vermelho para preço antigo */
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.price-area .cash-price {
    color: #10B981; /* Verde para preço atual */
    font-size: 1.8rem; /* Fonte aumentada */
    font-weight: 800;
    display: block;
}

.price-area .installment {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.price-area .installment-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

/* ==================================================
   BLOCO 5: PROVA SOCIAL
   ================================================== */
.social-proof {
    background-color: transparent;
    padding-top: 0 !important; /* Remove espaço em branco no topo */
    padding-bottom: 5rem; 
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--second-action);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-image {
    width: 100%;
    height: 180px;
    background-color: #E2E8F0;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #CBD5E1; 
}

.author-info h4 {
    font-weight: 700;
    margin: 0;
}

.author-info span {
    color: #F59E0B; /* Coroação amarela (estrelas) */
    font-size: 0.9rem;
}

/* ==================================================
   BLOCO 6: GARANTIA + FAQ
   ================================================== */
.guarantee-faq {
    background-color: transparent;
}

.guarantee-faq {
    padding-top: 0 !important;
}

.guarantee-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    margin: 0 auto 4rem;
    max-width: 800px;
    border: 1px solid var(--border-color);
}

.guarantee-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.guarantee-box h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.guarantee-box p {
    color: var(--text-muted);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-main);
}

.faq-question:hover {
    background-color: #F9FAFB;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
}

/* Quando ativo, limitamos max-height grandão para o css transition fluir */
.faq-item.active .faq-answer {
    max-height: 500px; 
    padding: 0 1.5rem 1.25rem;
}

/* ==================================================
   BLOCO 7: RODAPÉ
   ================================================== */
footer {
    background-color: var(--bg-dark);
    color: #9CA3AF; /* Cinza claro */
    padding: 3rem 0;
    text-align: center;
}

footer .footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

footer .footer-links a:hover {
    color: white;
}

footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ==================================================
   CARROSSEL HERO
   ================================================== */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    background-color: #E2E8F0;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    object-fit: cover;
    scroll-snap-align: center;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
}

.dot.active {
    background-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* ==================================================
   MEDIA QUERIES (DESKTOP FIRST -> ATUALIZAR MOBILE FIRST)
   ================================================== */

/* TABLET (>= 768px) */
@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }

    .hero-title {
        font-size: 3.2rem;
        white-space: normal; /* Desativa a trava brutal do nowrap necessária no celular */
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        column-gap: 3rem; /* Espaço para respirar entre lado esquerdo e direito */
        row-gap: 0;
        align-items: center;
        text-align: left;
    }

    .hero-image-wrapper {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }

    .official-seal {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start; /* Força o alinhamento para o "canto esquerdo" */
        margin-top: 1.5rem;
    }

    .hero-text {
        grid-column: 2;
        grid-row: 1 / span 2;
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Alinha todo o bloco de textos e botão pela esquerda no desktop */
    }
    
    .cta-button {
        width: auto;
        font-size: 1.125rem; /* Restaura tamanho no desktop onde há espaço infinito */
        padding: 1rem 2rem; /* Restaura padding no desktop */
    }

    .ps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .ps-card {
        padding: 2.5rem; /* Restaura padding original no desktop */
        border-radius: 16px;
        aspect-ratio: auto; /* Remove o formato quadrado no desktop */
    }

    .ps-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .ps-card ul li {
        padding-left: 2rem;
        margin-bottom: 1rem;
        font-size: 1.05rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center; /* Alinha no centro, para o de destaque sobressair */
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* LARGE DESKTOP (>= 1024px) */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .price-card {
        padding: 3rem 2rem;
    }
}
