/* ******************************************
*****************Header ********************
*********************************************/
/* Configurações Gerais do Header */
.header {
    position: sticky;
    top: 0;
    z-index: 998;
    background: #fff;
    width: 100%;
    height: 80px; /* Altura fixa desejada */
    padding: 0 5%; /* Respiro lateral */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* Lado Esquerdo: Logo e Textos */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.header-text {
    display: flex;
    flex-direction: column;
    color: #000;
}

.header-text h1 {
    margin: 0;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: bold;
    line-height: 1;
}

.header-text p {
    margin: 4px 0 0;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    line-height: 1.2;
    opacity: 0.8;
}

/* Lado Direito: Ícones Sociais */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.header-right a {
    color: #444; /* Cor padrão se a variável falhar */
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.header-right a:hover {
    transform: scale(1.1);
    color: #000;
}

/* --- RESPONSIVIDADE --- */

@media (max-width: 768px) {
    .header {
        height: auto; /* Permite crescer se o texto quebrar em telas muito pequenas */
        min-height: 80px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .header-text p {
        display: none; /* Esconde o slogan em celulares muito pequenos para manter os 80px */
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }

    .header-right {
        gap: 0.8rem;
    }
}
