/* Variáveis CSS para cores e transições comuns */
:root {
    --primary-blue: #2196f3;
    --dark-blue: #1769aa;
    --navy-blue: #1e3c72;
    --light-blue-bg: #eaf3fb;
    --lighter-blue-bg: #b3d8fd;
    --light-grey-bg: #f4f6fb;
    --dark-text: #222;
    --shadow-light: rgba(33, 150, 243, 0.08);
    --shadow-medium: rgba(33, 150, 243, 0.18);
    --shadow-subtle: rgba(33, 150, 243, 0.06);
    --transition-speed: 0.22s;
    --transition-cubic: cubic-bezier(.4,2,.6,1);
}

/* Header */
.header {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.header-img-container {
    width: 100vw;
    min-width: 100%;
    height: 600px;
    max-height: 80vw;
    position: relative;
}

.header-img-container img {
    width: 100vw;
    height: 450px;
    max-height: 80vw;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* Navigation (Menu Hamburguer) */
.nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
    padding: 12px 32px;
    z-index: 2;
    transition: all 0.3s;
    max-width: 900px;
    margin: auto;
}

.nav-hamburger {
    display: none; /* Escondido por padrão, visível em mobile */
    position: absolute;
    top: 24px;
    right: 32px;
    width: 38px;
    height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.nav-hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: var(--navy-blue);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-mobile {
    display: none; /* Pode ser removido se 'nav' for o único controle */
}

.nav a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.nav a:hover {
    background: #e3e8f0;
    color: #2a5298;
}

/* Media Queries for Mobile Nav */
@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 100vw;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        z-index: 100;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-hamburger {
        display: flex; /* Visível em mobile */
    }
}