/* css/header.css (VERSÃO COM IMAGEM DE FUNDO RESPONSIVA) */

.hero-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    padding-top: 120px;
    
    /* Imagem de fundo padrão para DESKTOP */
    background-image: url('../assets/Fundo.png'); 
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.2);
    z-index: 1;
}

.hero-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to top, 
        var(--bg-dark) 10%, 
        rgba(10, 10, 12, 0.7) 70%, 
        transparent 100%
    );
    z-index: 1;
}

.hero-header .container {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-header h1 {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.hero-header p {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .hero-header {
        /* Desativa o 'fixed' para garantir que a imagem apareça em mobile */
        background-attachment: scroll;

        /* NOVA REGRA: Troca a imagem de fundo em telas menores */
        background-image: url('../assets/Fundo_Cel.png'); /* <--- SUBSTITUA AQUI */
    }

    .hero-header h1 {
        font-size: 2.25rem;
    }

    .hero-header p {
        font-size: 1rem;
    }
}