/* Variáveis de Cores e Estilo */
:root {
    --bg-dark: #07090f;
    --bg-card: rgba(15, 23, 42, 0.6);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --cyan-neon: #00e5ff;
    --thermal-orange: #ff6b35;
    --glass-border: rgba(0, 229, 255, 0.15);
}

/* Resets Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.highlight {
    color: var(--cyan-neon);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header & Navegação */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 9, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--cyan-neon);
}

.btn-nav {
    padding: 10px 20px;
    border: 1px solid var(--cyan-neon);
    border-radius: 4px;
    background: rgba(0, 229, 255, 0.1);
}

.btn-nav:hover {
    background: var(--cyan-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--cyan-neon);
}

/* Hero Section com Vídeo */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7,9,15,0.9) 0%, rgba(7,9,15,0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Botões CTA */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg-dark);
    background: var(--cyan-neon);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.cta-button:hover {
    background: var(--thermal-orange);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.7);
    color: #fff;
    transform: translateY(-3px);
}

/* Missão */
.mission {
    background: var(--bg-dark);
    text-align: center;
}

.mission .lead {
    font-size: 1.4rem;
    color: var(--cyan-neon);
    margin-bottom: 20px;
    font-weight: 600;
}

.mission p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Grid System para Cards (Automático e Responsivo) */
.grid-cards {
    display: grid;
    /* Isso cria a responsividade automática: mínimo de 300px, máximo 1 fração do espaço */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Estilo Glassmorphism (Tecnológico) para os Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-neon);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Aplicações (Hover diferenciado - Thermal Orange) */
.app-card:hover {
    border-color: var(--thermal-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

/* Footer & Formulário */
footer {
    background: #04060a;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-text {
    flex: 1;
    min-width: 300px;
}

.footer-text h2 {
    text-align: left;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan-neon);
    background: rgba(0, 229, 255, 0.05);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background: #020305;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ----- MEDIA QUERIES (RESPONSIVIDADE MÁXIMA) ----- */

/* Tablets */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-text h2 {
        text-align: center;
    }
}

/* Smartphones (Mobile) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .grid-cards {
        grid-template-columns: 1fr; /* 1 coluna forçada em celulares bem pequenos */
    }
}
.whatsapp-3d {
    font-size: 50px;
    color: #25D366; /* Official WhatsApp green */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Simple 3D effect with shadow */
    transform: rotateX(10deg) rotateY(10deg); /* Optional: slight tilt for perspective */
    transition: transform 0.3s ease;
  }
  .whatsapp-3d:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.1);
  }


/* =========================================
   Setas de Navegação (Apresentação)
   ========================================= */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(7, 9, 15, 0.6); /* Fundo escuro transparente */
    color: var(--cyan-neon, #00e5ff);
    border: 1px solid var(--cyan-neon, #00e5ff);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background-color: var(--cyan-neon, #00e5ff);
    color: #07090f;
    box-shadow: 0 0 15px var(--cyan-neon, #00e5ff);
    transform: translateY(-50%) scale(1.1); /* Cresce um pouco ao passar o mouse */
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Responsividade: Reduzir tamanho em celulares para não cobrir o texto */
@media (max-width: 768px) {
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
        border-width: 1px;
    }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
}
