.hero {
    position: relative;
    height: var(--banner-height);
    min-height: 1024px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gradiente de fundo por baixo do canvas (para parecer com a demo) */
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 60%, #333333 100%);
    background-image: url('../img/banner_2026_01.jpg');
    background-size: cover;          /* Faz a imagem cobrir toda a tela */
    background-repeat: no-repeat;    /* Não repete */
    background-position: center;     /* Centraliza a imagem */
    background-attachment: fixed;

}
canvas#particles {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    display: block;
}
.hero-content {
    position: relative; /* fica sobre o canvas */
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 100%;
    width: 100%;
}
.hero h1 {
    margin: 0 0 0.5rem 0;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    letter-spacing: -0.02em;
}
.hero p { margin:0; opacity: .9; font-size: 1.05rem; }
/* efeito sutil sobre o canvas para esconder artefatos */
.overlay {
    position: absolute;
    inset: 0;
    z-index:1;
    background: linear-gradient(180deg, rgba(10,12,20,0.08), rgba(10,12,20,0.18));
    pointer-events: none;
}