:root {
    --cyan: #00f2ff;
    --purple: #bc13fe;
    --dark: #050506;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    background: var(--dark);
    color: white;
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- FUNDO E HOLOGRAMAS (GLOBAL) --- */
.grid-3d {
    position: fixed; width: 200%; height: 200vh;
    background-image: linear-gradient(var(--purple) 1px, transparent 1px),
                      linear-gradient(90deg, var(--purple) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(-200px);
    opacity: 0.15; z-index: -1;
    animation: move-grid 12s linear infinite;
}
@keyframes move-grid { from { background-position: 0 0; } to { background-position: 0 60px; } }

.binary-rain {
    position: fixed; top: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.binary-rain span {
    position: absolute; color: var(--cyan); font-size: 10px;
    animation: fall linear infinite;
}
@keyframes fall { to { transform: translateY(100vh); } }

/* --- NAVEGAÇÃO --- */
.cyber-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background: rgba(0,0,0,0.9);
    border-bottom: 2px solid var(--cyan);
    position: sticky; top: 0; z-index: 100;
}
.cyber-nav a { color: white; text-decoration: none; margin-left: 20px; font-size: 12px; letter-spacing: 2px; }

/* --- DESIGN DA HOME HERO (PRESERVADO) --- */
.hero { 
    height: 100vh; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; 
}
.main-frame {
    border: 2px solid var(--cyan); padding: 60px;
    background: rgba(0,0,0,0.8); box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
    text-align: center; width: 100%; max-width: 900px;
}
h1.glitch {
    font-size: clamp(3rem, 10vw, 7rem);
    font-family: 'Archivo Black', sans-serif;
    text-shadow: 3px 3px var(--purple);
}

/* --- NOVA GALERIA DE PROJETOS (ACABAMENTO PREMIUM) --- */
.home-projects { padding: 100px 5%; text-align: center; }
.title-tech { color: var(--cyan); margin-bottom: 50px; font-size: 1.2rem; letter-spacing: 5px; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-tech {
    position: relative;
    background: #0a0a0c;
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 15px;
    transition: 0.4s;
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%); /* Corte futurista nas pontas */
}

.card-tech:hover {
    border-color: var(--cyan);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.img-box {
    width: 100%; height: 200px;
    overflow: hidden;
    border: 1px solid rgba(188, 19, 254, 0.3);
}

.img-box img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1) brightness(0.6);
    transition: 0.5s;
}

.card-tech:hover .img-box img {
    filter: grayscale(0) brightness(1);
}

.card-label {
    margin-top: 15px;
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--cyan);
}

/* AJUSTE DO MENU: LADO A LADO */
.cyber-nav ul { 
    display: flex; 
    list-style: none; 
    gap: 25px; /* Espaço entre os botões */
    align-items: center;
}

.cyber-nav ul li {
    display: inline-block;
}

/* EFEITO DE SOM SIMULADO (VISUAL) */
.btn-cyber:active, .cyber-nav a:active {
    transform: scale(0.95);
    filter: brightness(1.5);
}

/* REFINAMENTO DE TEXTO PARA AS PÁGINAS INTERNAS */
.main-frame p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- CONTAINER CENTRALIZADOR --- */
.contact-wrapper {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Centraliza verticalmente */
    min-height: 80vh;        /* Garante que ocupe a tela toda */
    padding: 40px 20px;
}

.contact-card {
    width: 100%;
    max-width: 700px;        /* Define a largura máxima para não esticar */
    background: rgba(0, 0, 0, 0.9); /* Fundo sólido para leitura */
    border: 2px solid var(--cyan);
    padding: 50px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
    text-align: left;        /* Texto interno alinhado à esquerda no centro */
    position: relative;
}

/* --- ESTILIZAÇÃO DOS DADOS --- */
.contact-info {
    margin-top: 30px;
}

.info-item {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(188, 19, 254, 0.3);
    padding-bottom: 15px;
}

.label {
    display: block;
    font-size: 10px;
    color: var(--purple);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.value {
    display: block;
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.value:hover {
    color: var(--cyan);
    padding-left: 10px; /* Efeito de deslize ao passar o mouse */
}

/* Botão de WhatsApp Centralizado no Card */
.btn-whatsapp {
    display: inline-block;
    width: 100%;
    background: var(--cyan);
    color: black;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: white;
    box-shadow: 0 0 20px white;
}

/* --- ESTILOS ESPECÍFICOS DA PÁGINA SOBRE --- */

.container-central {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    padding: 80px 5%;
}

/* Missão, Visão e Valores em Grade */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.mvv-item {
    border-left: 2px solid var(--purple);
    padding-left: 15px;
    text-align: left;
}

/* Time e Humanização */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 700px;
}

.img-placeholder {
    width: 100%;
    height: 250px;
    background: #111;
    border: 1px solid var(--cyan);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--purple);
    font-size: 10px;
    margin-bottom: 15px;
}

/* Barra de Estatísticas */
.stats-bar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 900px;
    background: rgba(188, 19, 254, 0.1);
    padding: 40px;
    border: 1px solid var(--purple);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--cyan);
}

/* Caixa de Chamada para Ação */
.cta-box {
    background: var(--dark);
    border: 2px dashed var(--cyan);
    padding: 50px;
    text-align: center;
    width: 100%;
    max-width: 800px;
}