/* 
    =============================================
    WBS AUDIO VISUAL - PREMIUM DESIGN SYSTEM
    Autor: Web Designer & Dev Top
    Cores: #00d4ff (Cyan) | #050505 (Preto Absoluto)
    =============================================
*/

/* --- 1. CONFIGURAÇÕES GERAIS --- */
body {
    background-color: #050505;
    color: #efefef;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

.text-cyan { color: #00d4ff !important; }
.bg-cyan { background-color: #00d4ff !important; }
.text-description { color: #ffffff !important; line-height: 1.8; font-weight: 300; }
.text-muted { color: #888 !important; }

/* --- 2. PADRONIZAÇÃO DE TÍTULOS PREMIUM --- */
.section-label {
    color: #00d4ff;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    color: #ffffff;
    font-weight: 700;
    font-size: calc(1.8rem + 1.5vw);
    margin-bottom: 15px;
    line-height: 1.2;
}

.title-underline {
    width: 50px;
    height: 2px;
    background: #00d4ff;
    margin-bottom: 30px;
}
.title-underline.center { margin-left: auto; margin-right: auto; }

/* --- 3. NAVBAR & NAVEGAÇÃO (SITE) --- */
.navbar { 
    transition: 0.5s; 
    padding: 20px 0; 
    z-index: 1050; 
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    padding: 12px 0;
}

.nav-link { 
    font-size: 0.95rem; 
    color: #fff !important; 
    padding: 10px 20px !important; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-link.active { color: #00d4ff !important; font-weight: 700; }

/* Ícone de Login */
.btn-login-icon {
    background: none; border: none; color: #fff;
    font-size: 1.4rem; padding: 5px 12px; transition: 0.3s;
    display: flex; align-items: center;
}
.btn-login-icon:hover { color: #00d4ff; }

/* --- CORREÇÃO DO MENU MOBILE (AQUI ESTÁ A MÁGICA) --- */
.navbar-toggler { 
    border: none !important; 
    padding: 0; 
}
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
    /* Removemos o efeito de "caixa" e deixamos o menu fluir na largura total */
    .navbar-collapse {
        background: #000; /* Preto sólido para cobrir o conteúdo atrás */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
        margin: 0;
        text-align: center;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.03); /* Linha divisória sutil entre itens */
    }
    
    .nav-item:last-child { border: none; }

    .nav-link {
        padding: 15px !important;
        display: block;
    }

    .btn-login-icon {
        width: 100%;
        justify-content: center;
        padding: 20px;
    }
}
/* --- 4. DIVISORES EFEITO "LIGHT STREAK" & BACKGROUNDS --- */
section { position: relative; width: 100%; padding: 100px 0; display: block; clear: both; }

/* O Divisor de Feixe de Luz que dá o charme entre as seções */
.divider-light {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.4) 50%, transparent 100%);
    margin: 0;
    border: none;
}

.bg-grid {
    background-color: #0b0b0b;
    background-image: radial-gradient(rgba(255,255,255,0.05) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
}

/* --- HERO FIX CENTRALIZATION --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    /* Força o conteúdo a ficar no meio absoluto */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* --- HERO VIDEO - AJUSTE FINO DE CLARIDADE --- */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    /* Subimos de 0.25 para 0.45: o vídeo aparece mais no centro */
    filter: brightness(0.45) contrast(1.05); 
}

/* MÁSCARA ESFUMAÇADA (FOCO CENTRAL) */
.hero-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* 
       CENTRO TRANSPARENTE: O 0% aqui permite ver o vídeo original no meio.
       BORDAS ESCURAS: O 0.85 nas pontas cria a moldura de foco.
    */
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%),
                linear-gradient(to bottom, transparent 80%, #050505 100%);
}

/* Ajuste do Texto Principal no Mobile */
@media (max-width: 768px) {
    .hero h1.display-1 {
        font-size: 2.8rem; /* Evita que o título quebre em muitas linhas no celular */
    }
    .hero .lead {
        font-size: 1rem !important;
        padding: 0 20px;
    }
}

/* --- 6. BOTÕES --- */
.btn-cyan {
    background-color: #00d4ff;
    border: 1px solid #00d4ff;
    color: #000 !important;
    font-weight: 700;
    border-radius: 10px;
    transition: 0.4s;
}
.btn-cyan:hover { background: transparent; color: #00d4ff !important; box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2) !important; 
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    color: #cccccc !important;
    border-radius: 10px;
}

/* --- 7. GALERIA & COMPONENTES --- */
.gallery-item { position: relative; overflow: hidden; border-radius: 15px; cursor: pointer; }
.gallery-item img { transition: 0.6s; filter: grayscale(20%); }
.gallery-item:hover img { transform: scale(1.05); filter: grayscale(0%); }

.gallery-overlay {
    position: absolute; bottom: -100%; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transition: 0.4s;
}
.gallery-item:hover .gallery-overlay { bottom: 0; }

.stat-number { font-size: 2.5rem; font-weight: 800; color: #00d4ff; line-height: 1; }
.stat-text { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: #ffffff; }

/* --- 8. MODAL 100% DARK --- */
.modal-content {
    background-color: #0d0d0d !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 20px;
    color: #fff;
}
.modal-header { border-bottom: 1px solid rgba(255,255,255,0.05) !important; }

.modal-body input {
    background-color: #050505 !important;
    border: 1px solid #222 !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 12px !important;
}
.modal-body input:focus { border-color: #00d4ff !important; box-shadow: none; }

/* --- 9. ADMIN SYSTEM (REGRAS BLINDADAS) --- */
@media (min-width: 992px) {
    .admin-body { display: flex !important; flex-direction: row !important; }
    .admin-body .desktop-sidebar { 
        width: 260px !important; height: 100vh !important; background: #0a0a0a !important; 
        border-right: 1px solid #222 !important; position: fixed !important; 
        left: 0; top: 0; display: flex !important; flex-direction: column !important; 
        padding: 30px 20px !important; z-index: 1000 !important;
    }
    .admin-body .main-content { margin-left: 260px !important; width: calc(100% - 260px) !important; padding: 50px !important; }
}

@media (max-width: 991px) {
    .admin-body .main-content { width: 100% !important; padding: 20px !important; padding-bottom: 120px !important; }
    .admin-body .app-header { background: #000; padding: 15px; border-bottom: 1px solid #222; display: flex !important; position: sticky; top: 0; z-index: 1000; }
}

.sidebar-link { color: #888; text-decoration: none; padding: 15px; border-radius: 12px; display: flex; align-items: center; margin-bottom: 5px; transition: 0.3s; }
.sidebar-link.active { background: rgba(0, 212, 255, 0.1); color: #00d4ff; }

/* Grid Galeria Admin */
.app-gallery-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 20px !important; width: 100% !important; }
.app-gallery-item { background: #111; border-radius: 15px; overflow: hidden; border: 1px solid #222; position: relative; }
.app-gallery-img { width: 100% !important; height: 200px !important; object-fit: cover !important; }
.btn-delete-app { position: absolute; top: 10px; right: 10px; background: rgba(255,0,0,0.8); color: #fff; border: none; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

/* Menu Mobile Admin */
.app-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #0a0a0a; border-top: 1px solid #222; display: flex; justify-content: space-around; padding: 10px 0; z-index: 1100; }

/* Paginação Admin */
.pagination .page-link { background: #111 !important; border: 1px solid #333 !important; color: #888 !important; padding: 10px 20px; border-radius: 8px !important; margin: 0 5px; }
.pagination .page-item.active .page-link { background: #00d4ff !important; color: #000 !important; border-color: #00d4ff !important; }

/* --- 10. RODAPÉ --- */
.footer-bar { padding: 40px 0 20px; background: #050505; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bar p { color: #666; font-size: 0.8rem; letter-spacing: 1px; }

/* Garante que o container de vídeo não seja absoluto e sim parte do grid */
.video-wrapper {
    position: relative !important;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: #000;
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
}

/* Estilo para os Cards de Depoimento ficarem elegantes ao lado do vídeo */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 30px;
    position: relative;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.02);
}

/* Bloco de Missão/Visão com Fonte Poppins e Bordas Diagonais */
.blockquote-tech {
    position: relative;
    padding: 40px 50px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border-left: 4px solid #00d4ff; /* Borda Cyan Principal */
    margin-bottom: 30px;
    overflow: hidden;
}



.blockquote-tech h3 {
    font-family: 'Poppins', sans-serif; /* Garante o padrão */
    color: #00d4ff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.blockquote-tech p {
    font-family: 'Poppins', sans-serif; /* Garante o padrão */
    font-size: 1.4rem; /* Tamanho imponente para leitura rápida */
    font-style: italic;
    color: #ffffff;
    font-weight: 300; /* Peso leve para sofisticação */
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Ajuste dos Valores integrados */
.mission-values {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}


/* --- ESTILO LIVE CARDS DESTAQUE --- */
.equipment-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 400px; /* Altura fixa para manter o grid alinhado */
    transition: 0.5s ease;
}

.equipment-card:hover {
    border-color: #00d4ff;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

/* Garante que a imagem ou vídeo ocupe o card todo */
.equipment-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
    transition: 0.5s;
}

.equipment-card:hover .equipment-media {
    filter: brightness(0.8) scale(1.05);
}

.equipment-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 30%, transparent 100%);
    z-index: 2;
}

/* Badge de "Exclusivo" ou "4K" */
.tech-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #00d4ff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(0, 212, 255, 0.3);
    z-index: 3;
}

/* --- MARQUEE INFINITO PREMIUM --- */
.wbs-marquee {
    position: relative;
    width: 100%;
    overflow: hidden; /* Esconde o que sai da tela */
    background: #050505;
    padding: 20px 0;
    display: flex;
}

.wbs-marquee-content {
    display: flex;
    width: max-content; /* Força a linha a ser do tamanho dos itens somados */
    animation: scroll-marquee 30s linear infinite; /* 30 segundos de velocidade */
}

/* Pausa o movimento quando passa o mouse */
.wbs-marquee:hover .wbs-marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: 250px; /* Largura de cada "espaço" de logo */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.marquee-item img {
    height: 120px; /* Altura fixa para todos */
    width: auto;
    max-width: 180px; /* Impede que logos muito largos empurrem os vizinhos */
    object-fit: contain; /* Garante que o logo caiba na área sem esticar */
    /* filter: grayscale(1) brightness(0.8);*/
    transition: all 0.3s ease;
}

/* Quando passa o mouse no logo, ele ganha cor e brilho */
.marquee-item img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* ANIMAÇÃO: Move 50% da largura total (que é o tamanho exato de uma lista completa) */
@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .marquee-item { width: 180px; padding: 0 20px; }
    .marquee-item img { height: 35px; }
}




/* Unificação dos Cards: Estilo Tech Frame */
.tech-frame-card {
    position: relative;
    padding: 50px 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    transition: 0.4s;
}

/* Quina Superior Esquerda */
.tech-frame-card::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px;
    width: 40px; height: 40px;
    border-top: 3px solid #00d4ff;
    border-left: 3px solid #00d4ff;
    border-radius: 15px 0 0 0;
}

/* Quina Inferior Direita */
.tech-frame-card::after {
    content: "";
    position: absolute;
    bottom: -1px; right: -1px;
    width: 40px; height: 40px;
    border-bottom: 3px solid #00d4ff;
    border-right: 3px solid #00d4ff;
    border-radius: 0 0 15px 0;
}

.tech-card-title {
    color: #00d4ff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: block;
}

.tech-card-text {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    line-height: 1.5;
    font-style: italic;
}

/* Linha de valores integrada */
.tech-card-values {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.tech-value-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-value-item i {
    color: #00d4ff;
    margin-right: 10px;
    font-size: 1.1rem;
}
