/* =========================================
   1. CORE STYLES & VARIABLES
   ========================================= */
:root {
    --primary: #FF6600;
    --primary-dark: #cc5200;
    --dark-bg: #0f131f;      /* Fundo Hero */
    --dark-card: #1f2937;    /* Cards Escuros / Fundo Seção Stats */
    --light-bg: #F9FAFB;
    --text-main: #111827;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --success: #10B981;      /* Verde para destaques */
    
    --container-max: 1280px;
    --header-h: 70px; 
    --radius: 4px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Barlow', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #1A1F2E; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

h1, h2, h3, h4 { font-weight: 800; text-transform: uppercase; line-height: 1.1; }
strong { color: var(--primary); font-weight: 700; }
a { text-decoration: none; transition: 0.3s ease; }
img { display: block; max-width: 100%; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* =========================================
   2. HEADER
   ========================================= */
header {
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
    display: flex; align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-wrapper {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}

.logo img { height: 40px; width: auto; transition: transform 0.3s; }
.logo:hover img { transform: scale(1.05); }

.nav-menu-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav { display: flex; gap: 32px; align-items: center; } 
.nav a { 
    font-weight: 600; 
    font-size: 0.85rem; 
    color: var(--text-main); 
    text-transform: uppercase;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--primary); }

/* Dropdown Styles (New for Multi-page) */
.nav-item { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1100;
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 0.85rem;
    border-bottom: 1px solid #f3f4f6;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
    background: #f9fafb;
    color: var(--primary);
}


.mobile-toggle { 
    display: none; 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: var(--text-main);
    padding: 5px;
    z-index: 1100;
}

@media (max-width: 992px) {
    .mobile-toggle { display: block; }
    .nav-menu-container {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        gap: 40px;
        transition: 0.3s ease-in-out;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .nav-menu-container.active { left: 0; }
    .nav { flex-direction: column; gap: 25px; }
    .nav a { color: var(--white); font-size: 1.2rem; }
    .nav-menu-container .btn { width: 80%; max-width: 300px; }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 20px;
        display: none;
    }
    .nav-item.active .dropdown { display: block; }
    .dropdown a { color: #ccc; border: none; padding: 5px 0; }
}

/* =========================================
   3. HERO SECTION (Generic)
   ========================================= */
.page-hero {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.page-hero h1 { font-size: 3rem; margin-bottom: 16px; }
.page-hero p { font-size: 1.2rem; color: #D1D5DB; max-width: 700px; margin: 0 auto; }

/* =========================================
   7. FOOTER
   ========================================= */
footer { background-color: #05080f; color: #9CA3AF; padding: 80px 0 30px; font-size: 0.95rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-col h4 { color: var(--white); margin-bottom: 24px; font-size: 1.1rem; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a { color: #D1D5DB; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-about img { opacity: 1; height: 45px; margin-bottom: 25px; }
.footer-about p { margin-bottom: 24px; max-width: 320px; line-height: 1.6; }
.copyright { text-align: center; opacity: 0.4; font-size: 0.85rem; }

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
