/* --- CONFIGURAÇÕES GERAIS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --orange: #FF6600; --blue: #00A3FF; --dark: #01050a; }
body { background: var(--dark); color: white; font-family: 'Rajdhani', sans-serif; overflow-x: hidden; scroll-behavior: smooth; }

/* --- NAVEGAÇÃO --- */
nav {
    width: 100%; height: 80px; background: rgba(1, 5, 10, 0.95);
    position: fixed; top: 0; z-index: 1000; display: flex; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px);
}
.nav-container { max-width: 1400px; margin: 0 auto; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.logo-img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: white; text-decoration: none; font-family: 'Orbitron'; font-size: 0.8rem; letter-spacing: 1px; }
.btn-nav-loja { background: var(--orange); padding: 10px 22px; border-radius: 4px; font-weight: bold; }

/* --- HERO COM VÍDEO --- */
.hero { 
    width: 100%; height: 100vh; position: relative; 
    display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
}
.hero-video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%); object-fit: cover; z-index: -2;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(1, 5, 10, 0.6); z-index: -1; }
.hero-content { z-index: 1; }
.main-title { font-family: 'Orbitron'; font-size: clamp(2.5rem, 8vw, 5.5rem); }
.blue { color: #fff; text-shadow: 0 0 20px var(--blue); }
.orange { color: #fff; text-shadow: 0 0 20px var(--orange); }
.subtitle { letter-spacing: 4px; color: #888; margin-bottom: 30px; }

/* --- BOTÃO ANIMADO (EXCLUSIVO) --- */
.btn-action-orange {
    display: inline-block; padding: 15px 40px; background: var(--orange); 
    color: white; text-decoration: none; font-family: 'Orbitron'; 
    font-weight: bold; border-radius: 4px; position: relative; overflow: hidden;
    transition: 0.3s; cursor: pointer; border: none;
}
.cart-icon { display: inline-block; margin-right: 10px; transition: 0.3s; }

/* A Barra de Carregamento */
.btn-action-orange::after {
    content: ''; position: absolute; bottom: 0; left: -100%;
    width: 100%; height: 4px; background: #fff; transition: none;
}

/* Estado de Animação */
.btn-action-orange.animar-saida::after {
    left: 0; transition: 1s linear;
}
.btn-action-orange.animar-saida .cart-icon {
    animation: cartDisparar 1s forwards;
}

@keyframes cartDisparar {
    0% { transform: translateX(0); }
    10% { transform: translateX(-10px); }
    100% { transform: translateX(500px); opacity: 0; }
}

/* --- PRODUTOS E CARDS --- */
.container { max-width: 1400px; margin: 0 auto; padding: 100px 5%; }
.section-title { font-family: 'Orbitron'; text-align: center; margin-bottom: 60px; color: var(--blue); font-size: 2.5rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; overflow: hidden; transition: 0.3s; }
.product-card:hover { border-color: var(--blue); transform: translateY(-5px); }
.card-img-box { width: 100%; height: 250px; }
.card-img-box img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 25px; }
.btn-card-blue { display: block; padding: 12px; border: 1px solid var(--blue); color: var(--blue); text-decoration: none; text-align: center; font-family: 'Orbitron'; font-size: 0.8rem; transition: 0.3s; }
.btn-card-blue:hover { background: var(--blue); color: black; }

/* --- FORM E WHATS --- */
.contact-section { padding: 100px 5%; background: #000; }
.form-wrapper { max-width: 800px; margin: 0 auto; padding: 40px; background: rgba(255,255,255,0.01); border: 1px solid rgba(0, 163, 255, 0.1); }
.input-group { position: relative; margin-bottom: 30px; }
.input-group input, .input-group textarea { width: 100%; padding: 15px 5px; background: transparent; border: none; border-bottom: 1px solid #333; color: white; outline: none; }
.input-group textarea { 
    /* Bloqueia o movimento horizontal, permite apenas aumentar a altura */
    resize: vertical; 
    /* Define uma altura mínima para o campo não sumir */
    min-height: 50px; 
}
.bar-glow { position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--blue); transition: 0.5s; }
.input-group input:focus ~ .bar-glow { width: 100%; }

.whatsapp-btn { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2000; }
.whatsapp-btn img { width: 35px; }
footer { padding: 50px; text-align: center; color: #444; font-size: 0.8rem; }

/* MENU MOBILE */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.bar { width: 25px; height: 3px; background: white; }

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-links { position: fixed; top: 80px; right: -100%; width: 100%; height: 100vh; background: var(--dark); flex-direction: column; padding-top: 50px; transition: 0.3s; }
    .nav-links.active { right: 0; }
}