
:root {
    --bg-body: #0d0d0d;
    --card-bg: #161616;
    --accent: #c4262e;
    --accent-hover: #a31f25;
    --text-main: #ffffff;
    --text-light: #a0a0a0;
    --border-color: rgba(136, 136, 136, 0.2);
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   BARRA SUPERIOR (MARQUEE / LETREIRO)
   ========================================== */
.top-bar { 
    background: var(--accent) !important; 
    color: #ffffff !important; 
    overflow: hidden !important; 
    white-space: nowrap !important; 
    padding: 10px 0 !important; 
    font-size: 12px !important; 
    font-weight: 800 !important; 
    letter-spacing: 1px !important; 
    text-transform: uppercase !important; 
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.top-bar-track {
    display: inline-flex !important;
    white-space: nowrap !important;
    width: max-content !important;
    animation: marqueeMove 15s linear infinite !important;
}

.top-bar-content { 
    display: inline-flex !important; 
    white-space: nowrap !important;
}

.top-bar-content span { 
    margin: 0 30px !important; 
}

@keyframes marqueeMove { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* ==========================================
   CABEÇALHO GLOBAL & MENU HAMBÚRGUER
   ========================================== */
header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.logo img { 
    height: 75px !important; 
    max-height: 80px !important; 
    width: auto !important; 
    object-fit: contain !important; 
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icons a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
}

/* Botão do Menu Hambúrguer (Oculto em desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Animação do Hambúrguer para X quando ativo */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================
   RODAPÉ (FOOTER)
   ========================================== */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px 20px;
    margin-top: auto;
}

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

.footer-col h3 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 12px;
    color: var(--text-light);
}

/* ==========================================
   RESPONSIVIDADE GLOBAL (MOBILE & TABLET)
   ========================================== */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Menu mobile retrátil */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 0;
    }
}