/* Correção para o menu principal */
header {
    padding: 20px 0;
    background-color: #fff;
    position: relative;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
/*
.logo {
    margin-right: 20px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* Menu principal */
.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    color: #333;
    
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #D71921;
}

/* Botão Informe-se */
.btn-informe-se {
    background: #D71921;
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 7px;
    margin-right: 18px;
    text-transform: uppercase;
    font-size: 15px ;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-informe-se:hover {
    background: white;
    color: #D71921;
}

/* Seletor de idioma */
.language-selector {
    position: relative;
    z-index: 1000;
}

.lang-select {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    min-width: 120px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
}

.lang-option {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}

.lang-option:hover {
    background-color: #f5f5f5;
    color: #D71921;
}

.lang-option.active {
    color: #D71921;
}

/* Ajustes para telas menores */
@media (max-width: 991px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        order: 1;
        display: block;
    }
    
    .language-selector {
        order: 3;
    }
    
    nav {
        order: 4;
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    .main-menu {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .main-menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}
