/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- VARIÁVEIS DE COR --- */
:root {
    --azul-profundo: #0170D8; 
    --azul-ceu: #87DBFA;
    
    /* Novo Laranja solicitado */
    --laranja-averah: #F9B21E;
    --branco: #ffffff;
}

/* --- O HEADER --- */
.main-header {
    width: 100%;
    background: linear-gradient(to bottom, var(--azul-profundo), var(--azul-ceu));
    height: 90px; /* Altura TRAVADA conforme solicitado */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Container fluído para jogar os itens para as pontas */
.header-content {
    width: 98%; /* Ocupa quase a tela toda */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Ocupa os 80px do pai */
    position: relative; /* Para referência de posicionamento */
}

/* 1. LOGO (Ajustada) */
.logo-area {
    /* Garante que a logo fique bem a esquerda */
    display: flex;
    align-items: center;
}

.logo-img {
    width: 220px; /* Largura solicitada */
    height: auto; 
    /* max-height: 120px; Permite que ela seja maior que o header (vaze um pouco) */
    object-fit: contain;
    position: relative;
    top: 10px; /* Empurra um pouco pra baixo para centralizar ou vazar bonito */
}

/* 2. NAVEGAÇÃO */
.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--branco); 
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
    opacity: 0.9;
}

.nav-links a.active {
    color: var(--branco);
    font-weight: 800;
    opacity: 1;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--laranja-averah);
    bottom: -5px;
    left: 0;
    border-radius: 2px;
}

.nav-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* 3. ÁREA DE LOGIN (Circular) */
.user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-right: 52px;
}

/* Círculo de fora (Borda Laranja) */
.user-avatar-border {
    width: 48px;
    height: 48px;
    background-color: var(--laranja-averah);
    border-radius: 50%; /* Transforma em Círculo */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removido o transition e o clip-path */
}

/* Efeito ao passar o mouse APENAS na cor, sem girar */
.user-area:hover .user-avatar-border {
    filter: brightness(1.1);
}

/* Círculo de dentro (Branco) */
.user-avatar-content {
    width: 42px;
    height: 42px;
    background-color: var(--branco);
    border-radius: 50%; /* Transforma em Círculo */
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-icon {
    width: 24px;
    height: 24px;
    color: var(--laranja-averah);
}

.login-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--branco);
    line-height: 1.2;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.1);
}

/* Ajuste para o container geral do corpo da página não colar nas bordas */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ADICIONE ISSO AQUI: */
html {
    scroll-behavior: smooth;
}