* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #12052f;
    color: white;
    scroll-behavior: smooth;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 75px; /* Reduzi de 95px para 75px para ficar mais delicado */
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 5, 47, 0.25); /* Bem mais transparente (era 0.85, agora é 0.25) */
    backdrop-filter: blur(15px); /* Aumentei o blur para dar o efeito de vidro fosco */
    -webkit-backdrop-filter: blur(15px); /* Suporte para navegadores da Apple */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Uma linhazinha super sutil embaixo */
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.2, 1), background 0.3s ease;
}

/* O logo precisa acompanhar a nova altura do menu */
.logo img {
    height: 75px; /* Reduzido de 90px */
    width: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

/* Classe que o JavaScript vai usar para jogar o menu para fora da tela */
.header-hidden {
    transform: translateY(-100%);
}

.menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.menu a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.menu a:hover {
    color: #00f2fe;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #7b2ff7, #00f2fe);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.25);
}

/* BTN */
.contato-btn {
    margin-top: 35px;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.35);
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px; /* Você pode aumentar ou diminuir para controlar o tamanho do esfumaçado */
    background: linear-gradient(to bottom, transparent, #12052f);
    z-index: 3; /* Garante que o degradê fique por cima da imagem do slide */
    pointer-events: none; /* Garante que essa camada invisível não bloqueie o clique em botões */
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;

    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Aqui você controla a escuridão. Aumente os valores de 0.85 ou 0.55 se quiser mais escuro */
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.40)
    );
    z-index: 1; /* Fica acima da imagem de fundo */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.82),
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.35)
    );
    z-index: 1;
}

.hero-center {
    justify-content: center !important;
    padding-left: 0 !important;
    text-align: center;
}

.hero-center .hero-content {
    max-width: 900px;
}

/* SECTIONS */
.section {
    padding: 120px 80px;
    text-align: center;
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.dark {
    background: rgba(255,255,255,0.03);
}

.section-subtitle {
    max-width: 850px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.8;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.card {
    cursor: pointer;
    background: rgba(255,255,255,0.06);
    padding: 35px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    height: 100%; /* Obriga o card a preencher toda a altura */
    display: flex; /* Transforma o card em flexbox */
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid #00f2fe;
    box-shadow: 0 15px 35px rgba(0,242,254,0.18);
}

.card h3 {
    color: #00f2fe;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card p {
    line-height: 1.8;
    opacity: 0.9;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-btn {
    display: inline-block;
    margin-top: auto; /* Esse é o truque: empurra o botão lá para o final do card! */
    padding: 10px 24px;
    color: #00f2fe;
    border: 1px solid #00f2fe;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start; /* Faz o botão ficar do tamanho do texto, não esticar a largura toda */
    align-self: center;
}

/* Efeito no botão quando o usuário passa o mouse em qualquer lugar do CARD */
.card:hover .card-btn {
    background: rgba(0, 242, 254, 0.15);
    transform: translateX(5px); /* Dá um leve empurrãozinho para o lado */
}

/* SOBRE */
.sobre-texto {
    max-width: 1000px;
    margin: 0 auto 60px;
    line-height: 1.9;
    font-size: 1.1rem;
    opacity: 0.9;
}

.mvv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mvv-card {
    background: rgba(255,255,255,0.05);
    padding: 35px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.mvv-card:hover {
    transform: translateY(-8px);
    border-color: #00f2fe;
    box-shadow: 0 12px 25px rgba(0,242,254,0.12);
}

.mvv-card h3 {
    color: #00f2fe;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.mvv-card p {
    line-height: 1.8;
    opacity: 0.85;
}

/* FOOTER */
.footer {
    background: #0d031f;
    padding: 60px 80px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3,
.footer h4 {
    margin-bottom: 15px;
    color: #00f2fe;
}

.footer p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 25px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #7b2ff7, #00f2fe);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.25);
}

/* PAGINA DOS PRODUTOS */
.produto-hero {
    position: relative;
    min-height: 80vh;
    /* Removemos o background com a URL daqui e deixamos só o comportamento */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.produto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 5, 47, 0.15) 0%,
        rgba(18, 5, 47, 0.45) 45%,
        rgba(18, 5, 47, 0.85) 75%,
        #12052f 100%
    );
}

/* Configuração da logo do aplicativo no banner */
.produto-logo {
    display: block;
    width: var(--logo-desktop, 28rem);   
    height: auto;        /* Mantém a proporção perfeita sem deformar */
    margin-top: 20px;    /* Dá um espaço em relação às tags de cima */
    margin-bottom: 10px; /* Dá um respiro para o título h1 logo abaixo */
}

.produto-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.produto-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.produto-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    opacity: 0.95;
}

.produto-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(0,242,254,0.15);
    border: 1px solid #00f2fe;
    margin-bottom: 20px;
    color: #00f2fe;
}

.feature h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 0.92rem;
    line-height: 1.5;
    opacity: 0.85;
}

.feature {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 22px;
    border-radius: 16px;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    text-align: left;
    min-height: 180px;
}

.feature:hover {
    transform: translateY(-8px);
    border-color: #00f2fe;
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

/* =========================================
   botao whatsapp
   ========================================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0;
    background: rgba(37, 211, 102, 0.85);
    color: white;
    text-decoration: none;

    border-radius: 50px;

    z-index: 9999;
    overflow: hidden;

    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);

    opacity: 0;
    visibility: hidden;
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    width: 180px;
}

.whatsapp-float i {
    font-size: 28px;
    min-width: 55px;
    text-align: center;
    flex-shrink: 0;
}

.whatsapp-float span {
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s ease;
    font-weight: 600;
    padding-right: 15px;
}

.whatsapp-float:hover span {
    opacity: 1;
}

/* =========================================
   Video youtube
   ========================================= */
.hero-video {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.hero-video video {
    width: 100%;
    display: block;

    border-radius: 24px;

    border: 1px solid rgba(255,255,255,.1);

    box-shadow:
        0 20px 50px rgba(0,0,0,.25),
        0 0 0 1px rgba(255,255,255,.05);

    background: #111;
}

.video-header {
    text-align: center;
    margin-bottom: 30px;
}



/* =========================================
   Video loop
   ========================================= */

.video-frame {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #1b1b1b;
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
}

.video-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Garante que o vídeo não fique achatado ou esticado */
    display: block;
    border: none; /* Remove a borda branca padrão do iframe */
}

.frame-top {
    height: 42px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
}

.frame-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
}

.video-frame video {
    width: 100%;
    display: block;
}

/* =========================================
   TECNOLOGIAS E CONFIANÇA
   ========================================= */
.tech-section {
    padding-top: 20px;
}

/* Cria aquela linha fina horizontal com o texto no meio */
.tech-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 50px;
}

.tech-divider::before,
.tech-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-divider span {
    padding: 0 25px;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 35px 20px;
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 242, 254, 0.3);
}

.tech-card i {
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.4); /* Ficam cinzas apagados por padrão */
    transition: 0.3s ease;
}

/* Quando passa o mouse, o ícone acende com as cores da sua marca */
.tech-card:hover i {
    color: #00f2fe; 
}

.tech-card span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* =========================================
   SEGURANÇA E LGPD
   ========================================= */
.lgpd-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    gap: 60px;
    text-align: left;
    backdrop-filter: blur(10px);
}

.lgpd-col {
    flex: 1;
}

.lgpd-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.lgpd-header i {
    font-size: 2rem;
    color: #7b2ff7; /* Cor roxa da sua identidade */
}

.lgpd-header h3 {
    font-size: 1.6rem;
    color: white;
    margin: 0;
}

.lgpd-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.lgpd-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lgpd-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.lgpd-list i {
    color: #00f2fe; /* Checkmarks em azul ciano */
    font-size: 1.2rem;
    margin-top: 2px;
}

/* =========================================
   O QUE NOS MOVE (Substituindo Missão/Visão)
   ========================================= */
.diferenciais-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.diferencial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o conteúdo */
    text-align: center;
}

.diferencial-card:hover {
    transform: translateY(-8px);
    border-color: #00f2fe;
    box-shadow: 0 12px 25px rgba(0, 242, 254, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.icon-destaque {
    font-size: 3rem;
    color: #7b2ff7; /* Cor roxa do seu degradê */
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.diferencial-card:hover .icon-destaque {
    color: #00f2fe; /* Muda para o azul ciano quando passa o mouse */
    transform: scale(1.1);
}

.diferencial-card h3 {
    color: white;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.diferencial-card p {
    line-height: 1.8;
    opacity: 0.85;
    font-size: 1rem;
}



/* Esconde o botão hambúrguer no computador */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

/* =========================================
   RESPONSIVIDADE (Telas menores que 768px)
   ========================================= */
@media (max-width: 768px) {
    /* --- 1. AJUSTES DO MENU HAMBÚRGUER --- */
    .header {
        padding: 0 20px; /* Reduz as margens laterais */
    }

    .hamburger {
        display: block; /* Mostra o ícone no celular */
    }

    .btn-header {
        display: none; /* Esconde o botão "Fale Conosco" do topo para não espremer o logo */
    }

    #nav-menu {
        position: absolute;
        top: 95px; /* Fica logo abaixo do header */
        left: -100%; /* Esconde o menu fora da tela por padrão */
        width: 100%;
        background: rgba(18, 5, 47, 0.98); /* Fundo sólido para ler bem os links */
        backdrop-filter: blur(15px);
        transition: 0.4s ease-in-out; /* Animação de deslizar */
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Classe que o JavaScript vai adicionar para mostrar o menu */
    #nav-menu.active {
        left: 0; 
    }

    .menu {
        flex-direction: column; /* Empilha os links */
        text-align: center;
        padding: 30px 0;
        gap: 0;
    }

    .menu li {
        margin: 15px 0;
    }

    .menu a {
        font-size: 1.2rem;
        display: block;
    }

    /* --- 2. AJUSTES DOS TEXTOS E ESPAÇAMENTOS (ENCOLHIMENTO) --- */
    .hero-slide {
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
        text-align: center;
    }

    /* Diminui o texto gigante do banner */
    .hero-content h1 {
        font-size: 2.5rem; 
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Reduz o espaçamento lateral das seções */
    .section {
        padding: 60px 20px; 
    }

    /* Diminui os títulos das seções */
    .section h2 {
        font-size: 2rem; 
    }

    /* Ajustes específicos da página de produtos */
    .produto-hero {
        padding: 0 20px;
        text-align: center;
    }

    .produto-content h1 {
        font-size: 3rem; /* Diminui de 5rem para 3rem */
    }

    .produto-logo {
        margin: 20px auto 10px auto; 
        width: var(--logo-mobile, 65%);
    }

    /* Ajusta o grid do rodapé */
    .footer {
        padding: 40px 20px 20px;
    }

    /* Responsividade dos blocos novos */
    .lgpd-container {
        flex-direction: column; /* Empilha as colunas de LGPD */
        padding: 40px 25px;
        gap: 40px;
    }
    
    .tech-card {
        width: calc(50% - 10px); /* Coloca 2 cartões de tecnologia por linha no celular */
        padding: 25px 10px;
    }

    .tech-divider span {
        font-size: 0.7rem;
        padding: 0 10px;
    }
}