/* Header */
#header {
    position: relative;
    height: calc(100vh - var(--nav-height)); /* ocupa a altura restante da tela */
    background-image: url('../source/logo-semfundo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;    
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    text-align: center;
    overflow: hidden; /* Impede vazamento de conteúdo */
}

#videoHeader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 247, 250, 0.7); /* camada de escurecimento */
    backdrop-filter: blur(6px); /* efeito de desfoque */
    z-index: 1;
}

#headerContent {
    position: relative;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 1rem;
}


#headerContent h1 {
    font-family: 'Caveat', 'Playfair Display', serif;
    color: var(--primary);
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

/* #headerContent h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; 
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
    color: var(--accent);
    max-width: 600px;
    font-style: italic;
} */

#headerContent button {
    background-color: var(--primary);
    font-family: 'Inter', sans-serif;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

#headerContent button:hover {
    background-color: #24344d; 
}


@media(max-width: 768px){
  
    #headerContent h1{
        font-size: 2.5rem;
        margin-bottom: 1rem;
        max-width: 600px;
    }

    #headerContent h2{
        font-size: 1.2rem;
        max-width: 600px;
    }
}