/* ===== RESET E VARIÁVEIS ===== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent-primary: #e0ca00;
    --accent-secondary: #ff6b00;
    --accent-hover: #000e88;
    --gradient-1: linear-gradient(135deg, #0077ff 0%, #050d38 100%);
    --gradient-2: linear-gradient(45deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --logo-filter: invert(1);
    --logo-filter-hover: invert(1) brightness(1.1);
    --border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #666666;
    --gradient-1: linear-gradient(135deg, #0055cc 0%, #003399 100%);
    --logo-filter: invert(0);
    --logo-filter-hover: invert(0) brightness(0.9);
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    height: 80px;
    position: relative;
}

/* ===== BOTÃO HAMBURGUER ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger:hover span:nth-child(1) {
    transform: translateY(-2px);
}

.hamburger:hover span:nth-child(3) {
    transform: translateY(2px);
}

.hamburger:hover span {
    background: var(--accent-primary);
}

/* ===== LOGO ===== */
.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
    filter: var(--logo-filter);
}

.logo a:hover {
    transform: scale(1.02);
    filter: var(--logo-filter-hover);
}

.logo-img {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

/* ===== BOTÕES DA DIREITA ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1002;
}

#botoesheader {
    display: flex;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: var(--transition);
    z-index: 1002;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--accent-primary);
    transform: rotate(15deg) scale(1.1);
}

/* ===== MENU NAVEGAÇÃO ===== */
.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100vh;
    background: var(--bg-primary);
    transition: left 0.4s ease-in-out;
    z-index: 19901;
    padding: 80px 30px 30px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    border-right: 2px solid #000e88;
    overflow-y: auto;
}

[data-theme="light"] .nav-menu {
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    left: 0;
}

.nav-header {
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    color: var(--accent-primary);
    background: rgba(224, 202, 0, 0.15);
    transform: scale(1.1) rotate(90deg);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.nav-list li {
    width: 100%;
    text-align: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--accent-primary);
    transform: scale(1.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

#canalyt {
    background-color: red;
    border-radius: 30px;
    padding: 10px 24px;
    text-align: center;
    display: inline-block;
    width: auto;
    margin-top: 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

#canalyt i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

#canalyt:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

#canalyt:hover i {
    transform: scale(1.1);
}

/* ===== BOTÃO VOLTAR ===== */
.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 202, 0, 0.15);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-decoration: none;
}

.btn-voltar:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateX(-5px);
}

.btn-voltar i {
    transition: transform 0.3s ease;
}

.btn-voltar:hover i {
    transform: translateX(-3px);
}

/* ===== MAIN ===== */
.main {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
}

/* ===== CONTATO ===== */
.contato-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contato-header {
    text-align: center;
    margin-bottom: 50px;
}

.contato-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Space Grotesk', monospace;
}

.contato-header h1 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contato-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GRID DE CONTATO ===== */
.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contato-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contato-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.contato-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(224, 202, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.contato-card:hover .contato-card-icon {
    background: var(--accent-primary);
    color: #000;
    transform: scale(1.1);
}

.contato-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contato-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contato-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    background: var(--gradient-1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contato-card-btn:hover {
    transform: translateY(-2px);
    gap: 14px;
    box-shadow: 0 5px 20px rgba(0, 119, 255, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: #050505;
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

/* ===== FOOTER LOGO ===== */
.footer-logo img {
      display: flex;
    height: 20vh;
    width: auto;
    filter: var(--logo-filter);
    transition: filter 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.02);
}



[data-theme="light"] .footer {
    background: #e0e0e0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        left: -100%;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .header-container {
        padding: 0.5rem 4%;
        height: 70px;
    }
    
    .theme-toggle {
        font-size: 1.1rem;
        padding: 8px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .main {
        padding: 100px 0 40px;
    }
    
    .contato-header h1 {
        font-size: 2.2rem;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .close-menu {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem 3%;
        height: 65px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .theme-toggle {
        font-size: 1rem;
        padding: 6px;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .contato-header h1 {
        font-size: 1.8rem;
    }
    
    .contato-card {
        padding: 30px 20px;
    }
    
    .contato-card-btn {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
}