.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.25rem 1.5rem;
background-color: transparent;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
}

.logo img {
height: 150px;
}

/* MENU PRINCIPAL */
.menu {
display: flex;
gap: 0;
align-items: center;
background-color: rgba(242, 242, 242, 0.75);
border-radius: 12px;
overflow: hidden;
transition: transform 0.3s ease-in-out;
}

.menu a {
text-decoration: none;
padding: 0.5rem 1.5rem;
color: #002A62;
font-weight: 600;
background-color: transparent;
transition: background-color 0.3s ease, color 0.3s ease;
cursor: pointer;
}

.menu a + a {
border-left: none;
}

.menu a.active,
.menu a:hover:not(.active) {
background-color: #034AA6;
color: #FFFFFF;
}

.menu a.active {
background-color: #034AA6;
color: #FFFFFF;
transition: all 0.3s ease;
}

.menu a.active:hover {
transform: scale(1.08);
box-shadow: 0 0 12px #056CF2, 0 0 24px #056CF2;
}  

/* BOTÃO HAMBURGER */
.hamburger {
display: none;
flex-direction: column;
justify-content: space-around;
width: 30px;
height: 24px;
background: transparent;
border: none;
cursor: pointer;
padding: 0;
z-index: 1100;
transition: all 0.3s linear;
}

.hamburger span {
width: 100%;
height: 3px;
background-color: #002A62;
border-radius: 2px;
transition: all 0.3s linear;
position: relative;
transform-origin: 1px;
}

.hamburger.active span:nth-child(1) {
transform: rotate(45deg);
top: 7px;
}

.hamburger.active span:nth-child(2) {
opacity: 0;
transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
transform: rotate(-45deg);
top: -7px;
}  

@media (max-width: 768px) {
    .hamburger {
    display: flex;
    z-index: 1000;
    }

    .menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(242, 242, 242, 0.95);
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    padding-left: 0;
    transform: translateX(100%);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px 0 0 12px;
    gap: 1rem;
    transition: transform 0.4s ease;
    z-index: 999;
    }

    .menu.active {
    transform: translateX(0);
    }

    .menu a {
    width: 100%;
    padding: 1rem 0;
    border-left: none;
    border-top: 1px solid rgba(0, 42, 98, 0.1);
    text-align: center;
    }

    .menu a:first-child {
    border-top: none;
    }

    .mvv {
    flex-direction: column;
    align-items: center;
    }

    .mvv-item {
    flex: 1 1 100%;
    margin: 1rem 0;
    }

    body {
    padding-top: 25px;
    margin: 0;
    overflow-x: hidden;
    }

    .logo.hidden-logo {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    }

    .intro h2 {
    font-size: 1.6rem;
    }

    .intro h3 {
    font-size: 1.1rem;
    }
}  