/* =============================================== */
/* == FOLHA DE ESTILOS COMPLETA - VF SOLUÇÕES   == */
/* =============================================== */

/* Definições Globais e Variáveis de Cor */
:root {
    --dark-navy: #0A192F;
    --vibrant-orange: #FF8C00;
    --light-slate: #CCD6F6;
    --slate: #8892B0;
    --white: #FFFFFF;
    --font-sans: 'Inter', 'Satoshi', sans-serif;
}

/* Reset Básico e Scroll Suave */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-sans);
    background-color: var(--dark-navy);
    color: var(--light-slate);
    line-height: 1.6;
}

/* Fundo de Partículas */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; 
}

/* Barra de Navegação */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* =============================================== */
/* == AJUSTES PARA LOGO COM NOME DA EMPRESA   == */
/* =============================================== */

.logo-container {
    display: flex;
    align-items: center; /* Alinha verticalmente a logo e o nome */
    text-decoration: none; /* Remove o sublinhado do link */
}

.company-name {
    color: var(--white);
    font-size: 1.2rem; /* Tamanho da fonte para o nome */
    font-weight: bold;
    margin-left: 12px; /* Espaço entre a logo e o nome */
    letter-spacing: 0.5px; /* Leve espaçamento entre as letras */
}
.logo {
    height: 40px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: var(--light-slate);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--vibrant-orange);
}

/* Seção Hero (Principal) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2; /* Acima das partículas */
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate);
    margin-bottom: 2rem;
}
.cta-button {
    background-color: var(--vibrant-orange);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}
.cta-button:hover {
    background-color: var(--white);
    color: var(--vibrant-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animação Glitch */
.glitch-effect {
    position: relative;
    cursor: pointer;
}
.glitch-effect:hover::before,
.glitch-effect:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-navy);
    overflow: hidden;
    z-index: 3;
}
.glitch-effect:hover::before {
    left: 2px;
    text-shadow: -2px 0 var(--vibrant-orange);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.glitch-effect:hover::after {
    left: -2px;
    text-shadow: -2px 0 #00FFFF, 2px 2px var(--vibrant-orange);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}
@keyframes glitch-anim-1 { 0% { clip-path: inset(45% 0 56% 0); } 100% { clip-path: inset(5% 0 90% 0); } }
@keyframes glitch-anim-2 { 0% { clip-path: inset(10% 0 85% 0); } 100% { clip-path: inset(70% 0 5% 0); } }

/* Seções Gerais */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Acima das partículas */
}
.section-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--vibrant-orange);
    margin: 1rem auto 0;
}
.trust-section {
    background-color: #061221;
    padding: 2rem;
    text-align: center;
}
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}
.logos img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.logos img:hover {
    opacity: 1;
}

/* Seção Especialidades (Glassmorphism) */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.card {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.icon-container {
    margin: 0 auto 1.5rem;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vibrant-orange);
}
.card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.card p {
    color: var(--slate);
    line-height: 1.6;
}

/* Seção Ecossistema */
.ecosystem-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.stats-column { text-align: left; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 3rem; font-weight: bold; color: var(--vibrant-orange); }
.stat-label { font-size: 1rem; color: var(--slate); }
.tech-stack-column { background-color: #061221; padding: 2rem; border-radius: 10px; }
.tech-stack-title { color: var(--white); text-align: center; margin-bottom: 2rem; font-size: 1.5rem; }
.tech-stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; justify-items: center; }
.tech-stack-grid img { height: 50px; width: 50px; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.tech-stack-grid img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* Seção Projetos Concluídos */
.darker-section { background-color: #061221; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; }
.project-card { display: flex; align-items: flex-end; height: 400px; border-radius: 10px; padding: 1.5rem; text-decoration: none; color: var(--white); position: relative; overflow: hidden; background-size: cover; background-position: center; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.project-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(10, 25, 47, 1) 0%, rgba(10, 25, 47, 0.7) 40%, rgba(10, 25, 47, 0) 100%); z-index: 1; transition: opacity 0.4s ease; }
.project-card:hover::before { opacity: 0.8; }
.project-card .project-info { position: relative; z-index: 2; transition: transform 0.4s ease; }
.project-card:hover .project-info { transform: translateY(-10px); }
.project-card .project-info h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.project-card .project-info p { color: var(--slate); font-size: 1rem; line-height: 1.4; }

/* Seção Em Desenvolvimento */
#em-desenvolvimento { text-align: center; }
.project-card-wip { background-color: #112240; padding: 2rem; border-radius: 5px; max-width: 800px; margin: 2rem auto 0; border-left: 4px solid var(--vibrant-orange); text-align: left; display: inline-block; }
.status-badge { display: inline-block; margin-top: 1rem; padding: 0.3rem 0.8rem; background-color: var(--vibrant-orange); color: var(--white); border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

/* Seção Planos e Pagamento */
.pricing-table { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; }
.pricing-plan { background-color: #112240; padding: 2rem; border-radius: 10px; flex-basis: 400px; display: flex; flex-direction: column; text-align: center; position: relative; border: 2px solid transparent; }
.pricing-plan.recommended { border-color: var(--vibrant-orange); }
.recommended-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: var(--vibrant-orange); color: var(--white); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: bold; }
.pricing-plan h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1rem; }
.price { font-size: 2rem; font-weight: bold; color: var(--vibrant-orange); margin-bottom: 1.5rem; }
.pricing-plan ul { list-style: none; margin-bottom: 2rem; flex-grow: 1; text-align: left; }
.pricing-plan ul li { color: var(--slate); margin-bottom: 0.75rem; }
.payment-logos { text-align: center; margin-top: 3rem; }
.payment-logos p { color: var(--slate); font-size: 0.9rem; margin-bottom: 1rem; }
.payment-logos span { font-weight: bold; color: var(--slate); opacity: 0.7; margin: 0 0.5rem; }

/* Seção de Contato */
.contact-section { background-color: #061221; text-align: center; }
.contact-form { max-width: 600px; margin: 3rem auto 0; text-align: center; }
.contact-form input,
.contact-form textarea { display: block; width: 100%; background-color: #112240; border: 1px solid var(--slate); border-radius: 5px; padding: 1rem; font-size: 1rem; color: var(--light-slate); font-family: var(--font-sans); margin-bottom: 1.5rem; }
.contact-form button { width: auto; }

/* Rodapé */
.footer { text-align: center; padding: 2rem; color: var(--slate); font-size: 0.9rem; }

/* Modal de Estudo de Caso */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 25, 47, 0.85); backdrop-filter: blur(5px); z-index: 200; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: rgba(17, 34, 64, 0.8); border: 1px solid rgba(255, 140, 0, 0.3); border-radius: 10px; padding: 2rem; width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.95); transition: transform 0.3s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }
.close-button { position: absolute; top: 1rem; right: 1.5rem; font-size: 2.5rem; color: var(--slate); cursor: pointer; transition: color 0.3s ease; }
.close-button:hover { color: var(--vibrant-orange); }
#modal-project-content h2 { font-size: 2rem; color: var(--vibrant-orange); margin-bottom: 1rem; }
#modal-project-content p { color: var(--light-slate); margin-bottom: 1.5rem; line-height: 1.7; }
.modal-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.modal-gallery img { width: 100%; border-radius: 5px; object-fit: cover; max-height: 200px; }
.cta-modal { padding: 0.8rem 1.5rem; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.4; }
.cta-price { font-size: 0.9rem; font-weight: 400; opacity: 0.8; margin-top: 4px; }

/* Media Queries para Responsividade */
@media (max-width: 900px) {
    .ecosystem-container { grid-template-columns: 1fr; }
    .stats-column { text-align: center; }
    .stats-grid { gap: 1rem; }
    .stat-number { font-size: 2.5rem; }
}
/* =============================================== */
/* == ESTILOS PARA O BOTÃO FLUTUANTE WHATSAPP   == */
/* =============================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* MUDANÇA AQUI: Cor verde oficial do WhatsApp */
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite; /* Animação ajustada para o verde */
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
}

/* Efeito ao passar o mouse */
.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #128C7E; /* MUDANÇA AQUI: Um tom de verde mais escuro para o hover */
    color: var(--white); /* Ícone continua branco */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation-play-state: paused;
}

/* Animação de pulso ajustada para o verde */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividade para telas menores (sem alterações) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* Esconde a seção de logos temporariamente */
.logos {
    display: none;
}

/* =============================================== */
/* == AJUSTES DE RESPONSIVIDADE                 == */
/* =============================================== */

/* Para Tablets e Telas Menores (até 900px) */
/* Você já tem um para 900px, estes são ajustes adicionais */
@media (max-width: 900px) {
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem); /* Títulos um pouco menores */
    }
    .section-title {
        font-size: 2.2rem;
    }
}

/* Para Celulares em modo paisagem e Tablets menores (até 768px) */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column; /* Empilha o logo e os links */
        gap: 1rem;
    }
    .ecosystem-container {
        gap: 2rem; /* Reduz o espaço entre as seções de stats e tech */
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr; /* Stats em 2 colunas */
        gap: 2rem;
    }
}

/* Para Celulares em modo retrato (até 480px) */
@media (max-width: 480px) {
    section {
        padding: 3rem 1rem; /* Menos preenchimento nas seções */
    }
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr; /* Stats em 1 coluna para caber melhor */
    }
    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 ícones de tecnologia por linha */
        gap: 1.5rem;
    }
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem; /* Links do menu um pouco menores */
        flex-wrap: wrap; /* Permite que os links quebrem a linha */
        justify-content: center;
    }
    .project-grid {
        grid-template-columns: 1fr; /* Garante que os projetos fiquem em 1 coluna */
    }
}