/* ESTILOS GLOBAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --preto: #000000;
    --dourado: #d4af37;
    --laranja: #ff6b35;
    --azul: #3498db;
    --cinza-claro: #f4f7f6;
    --cinza-escuro: #4a4a4a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--cinza-escuro);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 200px;
}

/* HEADER E MENU FIXOS JUNTOS */
.header-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* HEADER */
.header {
    background: linear-gradient(135deg, var(--preto) 0%, #1a1a1a 100%);
    padding: 15px 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 0 30px;
}

.logo {
    max-height: 150px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-message {
    text-align: center;
    color: white;
}

.header-message h1 {
    font-size: 1.8em;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header-message h1 strong {
    color: var(--dourado);
    font-weight: 700;
}

.header-message p {
    font-size: 1.2em;
    font-style: italic;
    color: var(--laranja);
}

.header-flags {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-flag {
    width: 60px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.header-flag:hover {
    transform: scale(1.1);
}

/* NAVEGAÇÃO */
.navigation {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: inline-block;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--dourado);
}

.nav-link.active {
    background: rgba(52, 152, 219, 0.2);
    border-bottom-color: var(--azul);
}

/* FOOTER */
.footer {
    background: var(--preto);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--dourado);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--dourado);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    body {
        padding-top: 250px;
    }

    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .logo {
        max-height: 120px;
    }

    .header-message h1 {
        font-size: 1.5em;
    }

    .header-message p {
        font-size: 1em;
    }

    .header-flags {
        justify-content: center;
    }

    .nav-container {
        flex-direction: column;
    }

    .nav-link {
        text-align: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 220px;
    }

    .logo {
        max-height: 100px;
    }

    .header-message h1 {
        font-size: 1.2em;
    }

    .header-flag {
        width: 45px;
    }
}
