/* ════════════ VARIABLES & NORMALIZATION ════════════ */
:root {
    --gold: #ffd700;
    --gold-soft: #f59e0b;
    --dark: #0a0a0f;
    --darker: #050508;
    --panel: #111118;
    --text-primary: #eae8e3;
    --text-secondary: rgba(234, 232, 227, 0.65);
    --border-color: rgba(255, 215, 0, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--dark);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* ════════════ NAVBAR ════════════ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 100;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 3rem;
}

.nav-brand {
    text-decoration: none;
}

.nav-brand-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    color: #fff;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.btn-nav:hover {
    color: #fff;
    border-color: var(--gold-soft);
    background: rgba(245, 158, 11, 0.05);
}

/* ════════════ HEADER/HERO ════════════ */
.policy-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse at top center, rgba(30,30,40,1) 0%, var(--dark) 70%);
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 1rem;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ════════════ MAIN CONTAINER ════════════ */
.policy-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

/* ════════════ SIDEBAR ════════════ */
.policy-sidebar {
    position: sticky;
    top: 100px;
    height: max-content;
    padding-right: 2rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.03);
}

.nav-link.active {
    color: var(--gold);
    background: rgba(245, 158, 11, 0.1);
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%; transform: translateY(-50%);
    width: 3px; height: 18px;
    background: var(--gold);
    border-radius: 2px;
}

/* ════════════ POLICY SECTIONS ════════════ */
.policy-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-bottom: 5rem;
}

.policy-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.policy-vision {
    font-size: 1.1rem;
    color: var(--gold-soft);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.policy-topics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.topic h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic h3::before {
    content: '■';
    color: var(--gold);
    font-size: 0.8rem;
}

.topic p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ════════════ FOOTER ════════════ */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--darker);
}

footer p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ════════════ RESPONSIVIDADE ════════════ */
@media (max-width: 900px) {
    .policy-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .policy-sidebar {
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 2rem;
        padding-right: 0;
    }
    
    .nav-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .nav-link {
        white-space: nowrap;
    }
    
    .nav-link.active::before {
        display: none;
    }
    
    #navbar { padding: 1rem; }
    #navbar.scrolled { padding: 0.8rem 1rem; }
}
