/* --- Estilos Gerais --- */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #111827; /* Cinza escuro/Azul marinho */
    color: #d1d5db; /* Cinza claro para textos */
    line-height: 1.6;
}

/* --- Título de Seção Padrão (Otimização) --- */
.section-title {
    text-align: center;
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #9ca3af;
    margin-top: -2.5rem;
    margin-bottom: 2.5rem;
}

/* --- Cabeçalho --- */
.site-header {
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #374151;
}

.header-logo-link {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.header-cta-button {
    background-color: #0ea5e9; /* Azul ciano */
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.header-cta-button:hover {
    background-color: #0284c7;
}

/* --- Seção Principal do Produto (Hero) --- */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero-text-container h1 {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 0.5rem 0;
}

.hero-text-container h2 {
    font-size: 1.5rem;
    color: #0ea5e9; /* Azul ciano */
    margin: 0 0 1.5rem 0;
    font-weight: 400;
}

.price-info {
    margin: 1.5rem 0;
}

.price-installments {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 1rem;
}

.price-total {
    font-size: 1.1rem;
    color: #9ca3af;
}

.hero-text-container p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.main-cta-button {
    display: inline-block;
    background-color: #10b981; /* Verde esmeralda */
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
}

.main-cta-button:hover {
    background-color: #059669;
    transform: scale(1.05);
}

/* --- Seção de Vantagens --- */
.features-section {
    background-color: #1f2937; /* Tom de cinza um pouco mais claro */
    padding: 4rem 2rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #374151;
    padding: 2rem;
    border-radius: 12px;
}

.feature-card i {
    font-size: 2.5rem;
    color: #0ea5e9;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0.5rem 0;
}

/* --- Seção de Taxas --- */
.fees-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fees-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.fees-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fees-list li {
    background-color: #1f2937;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    border-left: 4px solid #0ea5e9;
}

.fees-list li strong {
    color: #ffffff;
}

.fees-image-container img {
    max-width: 100%;
    border-radius: 12px;
}

/* Estilo para o fundo do modal (overlay escuro) */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed; /* Fica fixo na tela */
    z-index: 1000; /* Garante que fique sobre todos os outros elementos */
    padding-top: 60px; /* Espaçamento do topo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Habilita scroll se a imagem for muito grande */
    background-color: rgba(0, 0, 0, 0.9); /* Fundo preto com 90% de opacidade */
}

/* Estilo para a imagem dentro do modal */
.modal-content {
    margin: auto;
    display: block;
    width: auto; /* A largura se ajusta para manter a proporção */
    height: auto; /* A altura se ajusta para manter a proporção */
    max-width: 90%;
    max-height: 90vh; /* Altura máxima de 90% da altura da tela */
}

/* Estilo para o botão de fechar (o "X") */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Animação de zoom para a imagem (opcional, mas recomendado) */
.modal-content {
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

/* --- Seção Meios de Pagamento --- */

.payment-methods-section {
    background-color: #1f2937;
    padding: 4rem 2rem;
}

.brands-grid {
    display: grid;
    /* Define 4 colunas para as grades principais */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 600px; /* Largura máxima para forçar 2 linhas de 4 */
    margin-left: auto;
    margin-right: auto;
    /* Adiciona a margem inferior para substituir o <br> */
    margin-bottom: 2rem;
}

/* Regra específica para a grade de Pix e Boleto */
.brands-grid.other-payments {
    grid-template-columns: repeat(2, 1fr); /* Define 2 colunas */
    max-width: 300px; /* Largura menor para agrupar melhor 2 itens */
}

/* Remove a margem extra do último grid antes do título do voucher */
.brands-grid:has(+ .voucher-title) {
    margin-bottom: 0;
}

/* Em air-style.css */

.brand-logo {
    background-color: #ffffff;
    /* 1. Reduzimos o padding para dar mais espaço à imagem */
    padding: 0.5rem; /* Antes estava 1rem */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 60px;
}

.brand-logo img {
    max-width: 100%;
    /* 2. A imagem agora pode ocupar toda a altura do container (respeitando o padding) */
    max-height: 100%; /* Antes estava 40px */
    object-fit: contain; /* Essencial: garante que a imagem não seja deformada */
}

.brand-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.voucher-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af; /* Cinza claro, sutil */
    margin-top: 2rem;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Seção de FAQ (Perguntas Frequentes) --- */
.faq-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1f2937;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden; /* Garante que o conteúdo não vaze durante a animação */
}

.faq-question {
    background: none;
    border: none;
    color: #ffffff;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    transition: transform 0.3s ease-in-out;
}

.faq-question .rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #d1d5db;
    border-top: 1px solid #374151;
}

/* --- Rodapé --- */
.site-footer {
    background-color: #1f2937;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 50%;
    border: 2px solid #0ea5e9;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .product-hero,
    .fees-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-container p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-container {
        order: -1; /* Coloca a imagem no topo em telas pequenas */
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fees-image-container {
        order: -1;
        margin-bottom: 2rem;
    }
    /* --- Responsividade --- */
    @media (max-width: 768px) {
        /* ... (suas outras regras responsivas) ... */

        /* Regras para a grade de logos em telas menores */
        .brands-grid {
            /* Mantém 4 colunas em tablets */
            grid-template-columns: repeat(4, 1fr);
            max-width: 100%; /* Ocupa toda a largura disponível */
        }

        .brands-grid.other-payments {
            /* Mantém 2 colunas */
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/* --- Estilos para a Seção de Meios de Pagamento Atualizada --- */

/* Ajuste para o grid de outros pagamentos (Pix, Boleto) ficar mais centralizado */
.brands-grid.other-payments {
    max-width: 400px; /* Largura menor para agrupar melhor 2 itens */
}

/* Estilo para o novo subtítulo dos Vouchers */
.voucher-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Estilo para a mensagem de aviso no rodapé da seção */
.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af; /* Cinza claro, sutil */
    margin-top: 2rem;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-text-container h1 {
        font-size: 3rem;
    }
    .price-installments {
        font-size: 1.8rem;
    }
    /* --- Responsividade para celulares menores --- */
    @media (max-width: 480px) {
        /* ... (suas outras regras responsivas) ... */

        /* Faz com que TODOS os grids tenham 2 colunas em telas bem pequenas */
        .brands-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}