/* Header fixo no topo */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    height: 70px;
}

/* Base para todas as hero do tipo .herodiff */
.herodiff {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    padding: 100px 10px 40px;
}

/* Escurecimento da imagem (agora mais leve) */
.herodiff::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Conteúdo do texto */
.herodiff-text {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 80%;
}

.herodiff-text h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.herodiff-text p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 🔹 Responsividade */
@media (max-width: 1024px) {
    .herodiff {
        min-height: 60vh;
        padding-top: 90px;
    }

    .herodiff-text {
        max-width: 85%;
    }

    .herodiff-text h1 {
        font-size: 2.5rem;
    }

    .herodiff-text p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .herodiff {
        min-height: 50vh;
        padding: 90px 10px 40px;
    }

    .herodiff-text {
        max-width: 90%;
    }

    .herodiff-text h1 {
        font-size: 2rem;
    }

    .herodiff-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .herodiff {
        min-height: 45vh;
        padding: 80px 10px 40px;
    }

    .herodiff-text {
        max-width: 100%;
    }

    .herodiff-text h1 {
        font-size: 1.8rem;
    }

    .herodiff-text p {
        font-size: 1rem;
    }
}

/* === Hero específicos com imagem de fundo fixa === */

.hero-gastronomia {
    background-image: url('../img/gastronomia/_IMG_HERO.jpg');
}

.hero-bemestar {
    background-image: url('../img/bemestar/_IMG_HERO.jpg');
}

.hero-moda {
    background-image: url('../img/moda/_IMG_HERO.jpg');
}

.hero-noticia {
    background-image: url('../img/news.jpg');
}

.hero-noticias {
    background-image: url('../img/news.jpg');
}
