:root {
    --bg-dark: #121c2d;
    --bg-darker: #0b111c;
    --bg-light: #f4f7fb;
    --primary: #00e676;
    /* Verde moderno */
    --secondary: #ffc107;
    /* Amarelo ouro */
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #8892b0;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.text-white {
    color: var(--text-light) !important;
}

.w-100 {
    width: 100%;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 230, 118, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background: #00c853;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--bg-darker);
}

.btn-secondary:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background: rgba(11, 17, 28, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-logo {
    height: 65px;
    border-radius: 4px;
    width:auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}
/* =========================================
   Hero Section (Com Vídeo de Fundo)
   ========================================= */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    position: relative; 
    padding-top: 80px; 
    overflow: hidden; /* Evita que o vídeo passe dos limites */
}

/* Configuração do Vídeo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2; /* Fica atrás de tudo */
    object-fit: cover;
}

/* Película Escura por cima do vídeo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 28, 0.7); /* Azul escuro transparente. Aumente o 0.7 para escurecer mais */
    z-index: -1; /* Fica entre o vídeo e o texto */
}

.hero-text { 
    max-width: 700px; 
    position: relative; /* Garante que o texto fique por cima do vídeo */
    z-index: 1;
}

.hero h1 { 
    font-size: 3.5rem; 
    line-height: 1.2; 
    margin-bottom: 20px; 
    color: var(--text-light); 
}

.hero p { 
    font-size: 1.2rem; 
    color: #e0e6ed; /* Deixei o texto um pouco mais claro para destacar no vídeo */
    margin-bottom: 30px; 
}

.hero-buttons { 
    display: flex; 
    gap: 15px; 
}

/* Sobre */
.sobre {
    padding: 100px 0;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--secondary);
    margin: 0 auto;
    animation: spin-slow 20s linear infinite;
}

.tech-circle i {
    animation: spin-slow 20s linear infinite reverse;
}

/* Mantém o ícone reto */
@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}

.sobre-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.check-list i {
    color: var(--primary);
}

/* Soluções (Tabs) */
.solucoes {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--bg-darker);
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 50px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: var(--bg-darker);
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--bg-darker);
    transform: translateY(-3px);
}

.tabs-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    min-height: 200px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Planos */
.planos {
    padding: 100px 0;
    background: var(--bg-darker);
    text-align: center;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 40px auto 0;
}

.plano-card {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.plano-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.plano-card.destaque {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.plano-card.destaque:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--bg-darker);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.preco {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 20px 0;
}

.plano-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.plano-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.plano-card ul li i {
    color: var(--primary);
    margin-right: 10px;
}

.plano-card ul li.disabled {
    color: #555;
    text-decoration: line-through;
}

.plano-card ul li.disabled i {
    color: #e74c3c;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bg-darker);
    transition: var(--transition);
}

.accordion-header:hover,
.accordion-header.active {
    color: var(--primary);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

/* Contato */
.contato {
    padding: 100px 0;
}

.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: rgba(255, 255, 255, 0.03);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contato-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contato-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    font-size: 1rem;
}

.contato-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Floating Socials */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 32px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.whatsapp-float {
    background-color: #25d366;
    animation: pulse-whatsapp 2s infinite;
}

.instagram-float {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    animation: pulse-instagram 2s infinite;
    animation-delay: 1s;
}

.float-btn:hover {
    transform: scale(1.15) translateY(-5px);
    animation: none;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-instagram {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 36, 159, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(214, 36, 159, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(214, 36, 159, 0);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animações de Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsivo Básico */
@media (max-width: 768px) {

    .sobre-grid,
    .planos-grid,
    .contato-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Em um projeto real, faríamos um menu hambúrguer aqui */
    }
}




/* =========================================
   Showroom de Vídeos
   ========================================= */
.showroom {
    padding: 100px 0;
    background: var(--bg-darker);
    text-align: center;
}

.video-gallery {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Container do Vídeo Responsivo (Proporção 16:9) */
.main-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    margin-bottom: 20px;
    border: 2px solid var(--primary);
}

.main-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Grid de Miniaturas */
.video-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
    background: #000;
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnail p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 28, 0.9);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 5px;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.thumb-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

/* =========================================
   Showroom de Vídeos (Formato Grade/Cards)
   ========================================= */
.showroom {
    padding: 100px 0;
    background: var(--bg-darker);
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Coloca 3 vídeos lado a lado */
    gap: 30px;
    margin-top: 40px;
}

/* =========================================
   Estilo Premium para os Cards de Vídeo
   ========================================= */

.video-card {
    /* Fundo com gradiente sutil */
    background: linear-gradient(145deg, #1a2a44, var(--bg-darker));
    border-radius: 16px; /* Bordas mais arredondadas e modernas */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borda clarinha estilo vidro */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação mais elástica/suave */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); /* Sombra mais profunda */
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-12px) scale(1.02); /* Levanta e dá um leve zoom */
    border-color: var(--primary); /* Acende a borda com a cor verde */
    box-shadow: 0 15px 40px rgba(0, 230, 118, 0.25); /* Brilho verde ao redor (Neon suave) */
}

.video-card video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-bottom: 3px solid var(--primary); /* Linha de destaque dividindo o vídeo do texto */
}

.video-info {
    padding: 20px;
    background: rgba(11, 17, 28, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Espaço entre o ícone e o texto */
}

.video-info h3 {
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px; /* Letras levemente mais espaçadas */
}

.video-info i {
    color: var(--primary); /* Ícone na cor verde */
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

/* Faz o ícone dar uma leve girada/mexida quando passa o mouse no card */
.video-card:hover .video-info i {
    transform: scale(1.2) rotate(-5deg);
}
/* =========================================
   Estilo dos Blocos "Duas Potências"
   ========================================= */
.potencias-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.potencia-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary); /* Linha verde lateral de destaque */
    transition: var(--transition);
}

.potencia-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(8px); /* Desliza levemente para a direita ao passar o mouse */
    border-left-color: var(--secondary); /* A linha muda para amarelo/dourado */
}

.potencia-item h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.potencia-item h3 i {
    color: var(--primary);
}

.potencia-item p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}