/* ESTILOS GERAIS */
:root {
    --cor-fundo: #121212; /* Preto Quase Absoluto */
    --cor-primaria: #9933FF; /* Roxo Vibrante (Cor de destaque) */
    --cor-texto: #F0F0F0; /* Branco Suave */
    --cor-detalhe: #5A1F9B; /* Roxo Escuro */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212; /* Um fundo preto sólido de fallback */
    color: var(--cor-texto);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* CONTAINER DAS PARTÍCULAS */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    /* Mantenha transparente - o body terá o background principal */
    background-color: transparent; 
    background-image: url('');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: -1; /* CRUCIAL: Manda a camada para o fundo */
}

/* Efeito de hover/focus para as seções (opcional) */
.section-content:hover, .section-results:hover, .footer:hover {
    background-color: rgba(90, 31, 155, 0.3); /* Levemente mais opaco ao passar o mouse */
    box-shadow: 0 0 30px rgba(153, 51, 255, 0.6), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* EFEITO DE ESCLARECER (Efeito Hover/Focus) */
a {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: color 0.3s ease; 
}

a:hover, a:focus {
    color: #CC99FF; /* Roxo mais claro */
}

/* HEADER/LOGO */
.header {
    /* REMOVA ou comente: background-color: rgba(0, 0, 0, 0.9); */
    background: transparent; /* Certifica-se de que é transparente */
    padding: 15px 0;
    border-bottom: 2px solid var(--cor-detalhe);
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 2.5em;
    font-weight: 700;
}

.logo-m {
    color: var(--cor-primaria);
    text-transform: uppercase;
}

.logo-d {
    color: var(--cor-texto);
    font-weight: 300;
}

/* SEÇÃO PRINCIPAL (HERO) */
.hero {
    /* REMOVA ou comente: background: linear-gradient(135deg, rgba(18, 18, 18, 0.8), rgba(51, 0, 102, 0.8)); */
    background: transparent; /* Certifica-se de que é transparente */
    padding: 100px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Mantém a sombra para dar profundidade */
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--cor-texto);
    font-weight: bold;
    display: inline-block; /* Necessário para o efeito de onda */
    white-space: nowrap; /* Impede que o título quebre linha */
    text-shadow: 0 0 10px rgba(153, 51, 255, 0.5); /* Brilho no título */
}

/* NOVO: CSS PARA O EFEITO ONDA */
.wave-char {
    display: inline-block;
    animation: wave-effect 1.5s infinite ease-in-out;
    /* animation-delay será definido via JS */
}

@keyframes wave-effect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); } /* Aumentei um pouco a altura da onda */
}

.btn-principal {
    display: inline-block;
    background-color: var(--cor-primaria);
    color: var(--cor-texto);
    padding: 15px 30px;
    border-radius: 5px;
    margin-top: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-principal:hover, .btn-principal:focus {
    background-color: #CC99FF;
    transform: translateY(-3px); /* Levanta mais no hover */
    box-shadow: 0 6px 15px rgba(153, 51, 255, 0.6);
}

/* SEÇÕES DE CONTEÚDO E ANIMAÇÕES DE ENTRADA */
.section-content, .section-results, .footer {
    padding: 60px 0;
    text-align: center;
    /* NOVO: Fundo roxo semi-transparente para as seções */
    background-color: rgba(90, 31, 155, 0.2); /* Roxo Escuro com 20% de opacidade */
    margin-bottom: 20px;
    border-radius: 10px;
    /* NOVO: Sombra com brilho roxo para dar o efeito de luz */
    box-shadow: 0 0 20px rgba(153, 51, 255, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3); /* Duas sombras */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background-color 0.5s ease, box-shadow 0.5s ease;
}

.section-content.is-visible, .section-results.is-visible, .cta-vendas.is-visible, .footer.is-visible {
    opacity: 1; /* Torna visível */
    transform: translateY(0); /* Volta à posição original */
}

.section-content h2, .section-results h2, .cta-vendas h2 {
    font-size: 2em;
    color: var(--cor-primaria);
    margin-bottom: 40px;
    border-bottom: 3px solid var(--cor-detalhe);
    display: inline-block;
    padding-bottom: 5px;
    text-shadow: 0 0 8px rgba(153, 51, 255, 0.4);
}

.passos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
    margin-top: 40px;
    position: relative; /* Adicione */
    z-index: 50; /* Adicione: Força a camada do contêiner de passos */
}

.passo {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--cor-primaria);
    flex: 1;
    min-width: 280px; /* Garante um tamanho mínimo para o passo */
    max-width: 23%; /* Ajustado para caber 4 por linha em telas grandes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.passo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(153, 51, 255, 0.5);
}

.passo h3 {
    color: var(--cor-primaria);
    margin-bottom: 15px;
}

/* GALERIA DE RESULTADOS (Ajuste para imagens menores) */
.gallery {
    display: flex;
    justify-content: center;
    gap: 15px; 
    flex-wrap: wrap; 
    margin-top: 30px;
    /* Adicione esta linha: */
    position: relative; 
    z-index: 10; /* Garante que a galeria esteja acima das outras caixas */
}

.result-item {
    width: 28%; 
    max-width: 250px;
    height: 180px;
    background-color: #333333; 
    border: 2px solid var(--cor-detalhe);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    transition: transform 0.3s ease;
    overflow: hidden; 
    position: relative; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.result-item:hover {
    transform: scale(1.05);
    border-color: var(--cor-primaria);
    box-shadow: 0 6px 15px rgba(153, 51, 255, 0.6);
}

.result-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.cta-text {
    margin-top: 40px;
    font-size: 1.2em;
    color: var(--cor-primaria);
}

/* BOTÃO DE VENDAS (CTA) */
.cta-vendas {
    /* REMOVA ou comente: background-color: rgba(90, 31, 155, 0.8); */
    background: transparent; /* Certifica-se de que é transparente */
    padding: 50px 0;
    text-align: center;
}

.btn-vendas {
    display: inline-block;
    background-color: #FF00FF; /* Magenta */
    color: var(--cor-texto);
    padding: 20px 40px;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-vendas:hover, .btn-vendas:focus {
    background-color: #CC99FF;
    box-shadow: 0 6px 20px rgba(153, 51, 255, 0.7);
}

/* RODAPÉ (FOOTER) */
.footer {
    background-color: rgba(0, 0, 0, 0.8); /* Fundo semi-transparente */
    padding: 25px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 2px solid var(--cor-detalhe);
}

.footer p {
    margin: 5px 0;
}

/* ESTILOS DO MODAL DE ZOOM (FUNDO DESFOCADO) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 30px var(--cor-primaria);
    animation-name: zoom;
    animation-duration: 0.6s;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-button:hover,
.close-button:focus {
    color: var(--cor-primaria);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {transform: scale(0.1)}
    to {transform: scale(1)}
}

/* RESPONSIVIDADE (AJUSTES PARA CELULAR) */
@media only screen and (max-width: 768px) {
    .hero h1 {
        font-size: 1.8em; /* Diminui o título para celular */
        white-space: normal; /* Permite que o título quebre linha */
    }

    .passos {
        flex-direction: column; /* Pilha os passos em celular */
        align-items: center;
    }

    .passo {
        width: 90%; /* Ocupa quase a largura total */
        max-width: 400px; /* Limite para não ficar muito largo */
    }

    .gallery {
        flex-direction: column; /* Pilha as imagens em celular */
        align-items: center;
    }

    .result-item {
        width: 90%; /* Imagem de resultado ocupa mais espaço em celular */
        max-width: 300px;
        height: 220px; /* Aumenta um pouco a altura para melhor visualização */
    }

    .close-button {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}
/* ESTILO DA NOTIFICAÇÃO DE VENDAS (PROVA SOCIAL) */
#notification-container {
    position: fixed;
    bottom: 0; /* Alinha o contêiner na parte inferior da tela */
    left: 20px;
    z-index: 2000;
    pointer-events: none;
    background-color: transparent; /* Transparente para não interferir */
}

#sales-notification {
    background-color: rgba(90, 31, 155, 0.9); /* Roxo, 90% opaco */
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    /* Efeito de brilho/borrão em volta */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 25px rgba(153, 51, 255, 0.7); 
    border: 1px solid rgba(153, 51, 255, 0.5); 

    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    
    /* MODIFICADO: Inicia a notificação ESCONDIDA ABAIXO DA TELA */
    transform: translateY(150%); 
    transition: transform 0.6s ease-in-out; /* Transição mais suave (entra e sai devagar) */
}

#sales-notification.show {
    /* Estado que faz a notificação SLIDAR PARA CIMA e parar 20px da borda */
    transform: translateY(-20px);
}

.product-icon {
    font-size: 24px;
}

#sales-notification p {
    margin: 0;
    font-size: 14px;
}

#buyer-name {
    font-weight: bold;
    color: #CC99FF;
}