/* ═══════════════════════════════════════════════════════════════
   THE BRAZIL NEWS - Design System
   Identidade: Branco, Preto, Roxo
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #eeeeee;
    --bg-dark: #1a1a1a;
    --bg-darker: #111111;
    
    --accent: #7c3aed;
    --accent-light: #8b5cf6;
    --accent-dark: #6d28d9;
    
    --up: #16a34a;
    --down: #dc2626;
    
    --text-primary: #111111;
    --text-secondary: #444444;
    --text-muted: #888888;
    --text-light: #ffffff;
    
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    
    --font: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1280px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text-primary); background: var(--bg-primary); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.header {
    position: relative;
    z-index: 1000;
    background: var(--bg-dark);
}

/* Logo "The Brazil News" - FIXO no topo */
.header-logo-row {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--bg-dark);
}

/* Menu de navegação - FIXO abaixo do logo */
.header-nav-row {
    position: fixed;
    top: 48px; /* Abaixo do logo */
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-dark);
}

/* Espaço para conteúdo após header fixo (páginas sem ticker-bar) */
header + main {
    margin-top: 105px;
}

/* Header Centralizado - Opção 2 */
.header-centered .header-logo-row {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-centered .header-logo-row .logo-text {
    font-size: 1.45rem;
}

.header-centered .header-logo-row .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-centered .header-nav-row .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem 0;
    height: auto;
}

.header-centered .nav-menu {
    justify-content: center;
}

.header-centered .header-actions {
    display: block;
}

.header-centered .menu-toggle {
    display: none;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 56px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.logo-accent { color: var(--accent); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.header-centered .nav-link {
    height: 44px;
    padding: 0 1.5rem;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--accent);
    background: rgba(255,255,255,0.05);
}

.nav-link.active {
    color: var(--text-light);
    border-bottom-color: var(--accent);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-arrow {
    width: 10px;
    height: 6px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-light);
}

/* Mobile-only items - oculto no desktop */
.dropdown-menu .mobile-only {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span { width: 22px; height: 2px; background: var(--text-light); }

/* ═══════════════════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════════════════ */
.ticker-bar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    margin-top: 102px; /* Espaço para header fixo (logo + menu) */
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 120s linear infinite;
    width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

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

.ticker-content {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 1.25rem;
    border-right: 1px solid var(--border-light);
    white-space: nowrap;
    font-size: 0.85rem;
}

.ticker-symbol { color: var(--text-muted); font-weight: 500; }
.ticker-price { color: var(--text-primary); font-weight: 600; }
.ticker-change { font-size: 0.8rem; font-weight: 600; }
.ticker-change.up { color: var(--up); }
.ticker-change.down { color: var(--down); }

/* Ticker links */
a.ticker-item {
    text-decoration: none;
    transition: opacity 0.2s;
}
a.ticker-item:hover {
    opacity: 0.7;
}

/* Quote list links */
.quote-list-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.quote-list-link:hover {
    opacity: 0.7;
}
.quote-list-item:has(.quote-list-link) {
    padding: 0;
}
.quote-list-item .quote-list-link {
    padding: 0.4rem 0;
}
a.quote-list-item.quote-list-link {
    padding: 0.4rem 0;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    background: var(--bg-primary);
    padding: 1.5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px 260px;
    gap: 1.5rem;
    align-items: start;
}

.hero-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-featured img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    color: var(--text-light);
}

.hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    transition: opacity 0.2s;
}
.hero-tag:hover { opacity: 0.8; }

.hero-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.hero-excerpt {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.hero-list {
    display: flex;
    flex-direction: column;
}

.hero-list-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
}

.hero-list-item:last-child { border-bottom: none; }

.hero-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.hero-list-content { flex: 1; }

.hero-list-category {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2px;
    transition: opacity 0.2s;
}
.hero-list-category:hover { opacity: 0.7; }

.hero-list-link {
    display: block;
}

.hero-list-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.hero-list-item:hover .hero-list-title,
.hero-list-link:hover .hero-list-title { color: var(--accent); }

.hero-realtime {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
}

.realtime-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.realtime-dot {
    width: 8px;
    height: 8px;
    background: var(--down);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.realtime-title { font-size: 0.85rem; font-weight: 700; }

.realtime-list { display: flex; flex-direction: column; }

.realtime-item {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-light);
}

.realtime-item:last-child { border-bottom: none; }

.realtime-item p {
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.realtime-item:hover p { color: var(--accent); }

.realtime-time { font-size: 0.7rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   COTAÇÕES
   ═══════════════════════════════════════════════════════════════ */
.quotes-section { padding: 1.5rem 0; }

.quotes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.quotes-title { font-size: 1.1rem; font-weight: 700; }
.quotes-update { font-size: 0.8rem; color: var(--text-muted); }

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.quote-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
}

.section-alt .quote-card { background: var(--bg-primary); }

.quote-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.quote-card-title { font-size: 0.9rem; font-weight: 700; }
.quote-card-update { font-size: 0.75rem; color: var(--text-muted); }

.quote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.quote-row:last-child { border-bottom: none; }

.quote-symbol { color: var(--accent); font-weight: 600; }
.quote-change.up { color: var(--up); font-weight: 600; }
.quote-change.down { color: var(--down); font-weight: 600; }
.quote-price { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════════
   CATEGORY SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.category-section {
    background: var(--bg-primary);
    padding: 1.5rem 0;
}

.category-section.section-alt { background: var(--bg-secondary); }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    padding-left: 0.75rem;
    border-left: 4px solid var(--accent);
}

.see-more { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.see-more:hover { text-decoration: underline; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.news-card-image {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: var(--bg-tertiary);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-link:hover .news-card-image img { transform: scale(1.05); }

.news-card-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.03em;
    margin-bottom: 0.3rem;
    transition: opacity 0.2s;
    display: block;
    text-decoration: none;
}
.news-card-category:hover { opacity: 0.7; }

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-title { color: var(--accent); }
.news-card-link:hover .news-card-title { color: var(--accent); }

.news-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.3rem;
    color: #fff;
}

.footer-logo .logo-accent {
    color: var(--accent);
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

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

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Responsivo */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .footer-about {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 1rem;
    }
    .footer-col {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-about {
        grid-column: span 1;
    }
    .footer-col {
        text-align: center;
    }
    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .footer-description {
        font-size: 0.85rem;
    }
    .footer-bottom {
        padding-top: 1rem;
    }
    .footer-copyright,
    .footer-disclaimer {
        font-size: 0.75rem;
    }
}

/* Cookie Banner Responsivo */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 1rem;
    z-index: 10000;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

.cookie-content a {
    color: var(--accent);
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-accept {
    background: var(--accent);
    color: #fff;
}

.cookie-accept:hover {
    background: var(--accent-dark);
}

.cookie-reject {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content p {
        font-size: 0.8rem;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   BANNER DE COOKIES
   ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    width: 100%;
}

.cookie-content p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    flex: 1;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-accept {
    background: var(--accent);
    color: #fff;
}

.cookie-accept:hover {
    background: var(--accent-dark);
}

.cookie-reject {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   LOAD MORE
   ═══════════════════════════════════════════════════════════════ */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.load-more-btn {
    padding: 14px 48px;
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s;
    cursor: pointer;
}

.load-more-btn:hover { background: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 280px; }
    .hero-realtime { display: none; }
    .quotes-grid { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-list { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 1rem;
    }
    .hero-list-item { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
    .quotes-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .hero-list { grid-template-columns: 1fr; }
    /* ═══════════════════════════════════════════════════════════════
       MOBILE MENU
       ═══════════════════════════════════════════════════════════════ */
    
    /* Header centralizado mobile */
    .header-centered .header-logo-row {
        padding: 0.75rem 0 !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100 !important;
    }
    
    /* Nav row no mobile - apenas para posicionar o botão */
    .header-centered .header-nav-row {
        position: static;
        height: 0;
        overflow: visible;
        border: none;
        background: transparent;
    }
    
    .header-centered .header-nav-row .container {
        height: auto;
        padding: 0;
        overflow: visible;
    }
    
    .header-centered .header-actions {
        display: block !important;
    }
    
    /* Botão hamburger - fixo no canto superior direito */
    .menu-toggle,
    .header-centered .menu-toggle { 
        display: flex !important;
        position: fixed !important;
        right: 1rem !important;
        top: 10px !important;
        z-index: 99999 !important;
        width: 40px !important;
        height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border-radius: 8px !important;
        flex-direction: column !important;
        gap: 5px;
        border: none;
        cursor: pointer;
    }
    
    .menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        background: #fff !important;
        transition: all 0.3s ease;
    }
    
    /* Ticker bar - espaçamento mobile */
    .ticker-bar {
        margin-top: 62px !important;
    }
    
    /* Animação do X quando menu aberto */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Header actions container - deixar visível */
    .header-centered .header-actions {
        display: block;
    }
    
    /* Nav menu mobile - fullscreen overlay */
    .nav-menu {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(26, 26, 26, 0.98) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 99998 !important;
        padding: 2rem;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu .nav-link {
        display: block;
        height: auto;
        padding: 1.25rem 2rem;
        font-size: 1.4rem;
        font-weight: 600;
        color: rgba(255,255,255,0.8) !important;
        border-bottom: none;
        text-align: center;
    }
    
    .nav-menu.active .nav-link {
        color: rgba(255,255,255,0.9) !important;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus {
        color: #fff !important;
        background: rgba(255,255,255,0.1);
    }
    
    .nav-menu .nav-link.active {
        color: var(--accent-light) !important;
    }
    
    /* Dropdown mobile */
    .has-dropdown {
        flex-direction: column;
    }
    
    .has-dropdown > .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .has-dropdown > .nav-link .dropdown-arrow {
        display: inline-block;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .has-dropdown.open > .nav-link .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        min-width: auto;
        padding: 0;
        margin: 0;
        display: none;
        width: 100%;
        border-radius: 8px;
        margin-top: 0.5rem;
        overflow: hidden;
    }
    
    .has-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu a {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        color: rgba(255,255,255,0.7);
        text-align: center;
    }
    
    .dropdown-menu a:hover {
        background: rgba(124, 58, 237, 0.2);
        color: var(--accent-light);
    }
    
    /* Mobile-only items - visível no mobile */
    .dropdown-menu .mobile-only {
        display: block;
    }
    
    .dropdown-menu .mobile-only a {
        font-weight: 600;
        color: var(--accent-light);
    }
    
    /* Ticker bar - ajustar margin no mobile */
    .ticker-bar {
        margin-top: 55px; /* Header menor no mobile */
    }
    
    /* Páginas sem ticker-bar */
    header + main {
        margin-top: 55px;
    }
}

