
.hero {
    background-image: url('/static/img/background-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Adiciona uma sobreposição para melhorar a legibilidade do texto */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

/* Adiciona a banana lua no canto superior esquerdo com efeito de clarear */
.hero::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 20px;
    width: 200px;
    height: 200px;
        background-image: url('/static/img/banana-lua.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    z-index: -1;
    opacity: 0.95;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 10px rgba(255, 255, 200, 0.8))
            drop-shadow(0 0 20px rgba(255, 240, 150, 0.6))
            drop-shadow(0 0 30px rgba(255, 230, 100, 0.4))
            brightness(1.2) saturate(1.2);
    animation: cintilacao 3s ease-in-out infinite;
}

/* Animação de pulsação suave */
@keyframes pulse {
    0% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 200, 0.7)) 
                drop-shadow(0 0 30px rgba(255, 240, 150, 0.5))
                brightness(1.3) contrast(1.2);
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 220, 0.8)) 
                drop-shadow(0 0 40px rgba(255, 245, 170, 0.6))
                brightness(1.2) contrast(1.2);
    }
}

.hero-text {
    padding-right: 1rem;
    padding-left: 6rem;
    animation: fadeInUp 0.8s ease-out;
    max-width: 90%;
}

.hero-text h1 {
    font-size: 3.2rem;
    color: var(--cor-texto-preto);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    font-weight: 700;
    font-family: 'Fredoka';
}

.hero-text p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--cor-texto-cinza);
    max-width: 90%;
    font-family: 'Fredoka';
}

.btn-collection {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--cor-secundaria-amarelo);
    color: var(--cor-texto-preto);
    font-weight: 700;
    font-size: 1.6rem;
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-collection:hover {
    background-color: #ffeb3b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-icon {
    width: 32px;
    height: 32px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-height: 80vh;
}

.hero-image img {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    animation: fadeIn 1s ease-out;
}

@media (max-width: 1024px) {
    /* Ajustes para tablets */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 20px 20px;
        gap: 1.5rem;
        background-attachment: scroll;
    }
    .hero::after {
        width: 160px;
        height: 160px;
        top: 70px; /* Ajuste para telas menores */
        left: 15px;
        filter: drop-shadow(0 0 12px rgba(255, 255, 200, 0.7)) 
                drop-shadow(0 0 25px rgba(255, 240, 150, 0.5))
                brightness(1.1) contrast(1.1);
    }

    .hero-text {
        padding: 0 1rem; /* Mantém o padding lateral em telas menores */
        margin-top: 1.5rem;
        max-width: 100%;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    
    .hero-image {
        max-height: 50vh;
        margin: 0 auto;
    }
    
    .hero-image img {
        max-height: 50vh;
    }

}

@media (max-width: 768px) {
    /* Ajustes para tablets pequenos */
    .hero {
        padding: 80px 15px 30px; /* Reduzi o padding inferior de 15px para 5px */
        min-height: auto; /* Mudei de 100vh para auto para melhor ajuste */
        gap: 0.3rem; /* Reduzi o espaçamento entre os itens */
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-collection {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        margin-bottom: 0.1rem;
    }
    
    .btn-icon {
        width: 24px;
        height: 24px;
    }
    
    .hero-image {
        max-height: 40vh; /* Aumentei um pouco a altura máxima da imagem */
        margin-top: 0.1rem; /* Reduzi a margem superior */
    }
    
    .hero-image img {
        max-height: 40vh;
        border-radius: 20px; /* Restaurando o arredondamento */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra suave */
    }
}
@media (max-width: 480px) {
    /* Ajustes para mobile */
    .hero {
        padding: 70px 10px 10px;
        min-height: 100vh;
        gap: 0rem;
    }
    
    .hero::after {
        width: 130px;
        height: 130px;
        top: 60px; /* Ajuste para celulares */
        left: 10px;
        opacity: 0.9;
        filter: drop-shadow(0 0 10px rgba(255, 255, 200, 0.7)) 
                drop-shadow(0 0 20px rgba(255, 240, 150, 0.5))
                brightness(1.1) contrast(1.1);
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1rem; /* Reduzi a margem inferior do parágrafo */
    }
    
    .btn-collection {
        font-size: 1.1rem;
        padding: 1.1rem 2.2rem;
    }
    
}