/* ===== HEADER & NAVIGATION ===== */

/* Header */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    z-index: 100;
}

.hero-content {
    position: relative;
    z-index: 1000;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.sub-tagline {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--accent);
    margin-left: 0;
}

.btn-full {
    width: 100%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-mode nav {
    background: rgba(18, 18, 18, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    padding: 1rem 20px;
    align-items: baseline;
    justify-content: space-between;
}

.logo {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.theme-toggle:hover {
    background: var(--card-bg);
    transform: scale(1.05);
}

/* CORREÇÃO PARA BOOTSTRAP ICONS */
.theme-toggle .bi {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
    transition: all 0.3s ease;
}

.theme-toggle:hover .bi {
    transform: scale(1.1);
}

/* Cores específicas para cada tema */
.dark-mode .theme-toggle .bi-sun-fill {
    color: #ffd700;
    /* Sol dourado no tema escuro */
}

.theme-toggle .bi-moon-fill {
    color: var(--text);
    /* Cor do texto no tema claro */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text);
    z-index: 1001;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: var(--card-bg);
}

/* Ajuste para ícone do menu mobile */
.mobile-menu-btn .bi {
    font-size: 1.3rem;
    line-height: 1;
    display: block;
}