/* 1. VARIÁVEIS E CONFIGURAÇÕES TÉCNICAS */
:root {
    --primary-red: #e63946;
    --dark-bg: #0a0a0a;
    --card-bg: #161616;
    --text-main: #e8eaf0;
    --text-dim: rgba(255, 255, 255, 0.5);
    --grid-color: rgba(230, 57, 70, 0.06);
    --transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { 
    scroll-behavior: smooth; 
    overflow-x: hidden;
}
body { 
    background: var(--dark-bg); 
    color: var(--text-main); 
    font-family: 'Space Grotesk', system-ui, sans-serif; 
    line-height: 1.6;
}
/* 2. BACKGROUNDS (Geral) */
.bg-grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
}
.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(40, 10, 10, 0.8) 0%, #000 100%);
}
/* 3. HEADER & LOGO */
.vs-header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.vs-logo-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none; 
    color: #fff; 
}
.vs-logo-svg {
    width: 42px;
    height: 42px;
}
.vs-logo-text { 
    font-size: 22px; 
    font-weight: 800; 
    letter-spacing: -0.5px; 
    text-transform: uppercase; 
}
.vs-logo-text span { 
    color: var(--primary-red); 
    font-weight: 300; 
}
/* 4. NAVEGAÇÃO */
.vs-nav { display: none; } 
.vs-nav a { 
    color: var(--text-dim); 
    text-decoration: none; 
    margin-right: 25px; 
    font-size: 14px; 
    font-weight: 500; 
    transition: 0.3s ease;
}
.vs-nav a:hover { color: var(--primary-red); }
/* 5. BOTÕES */
.btn-primary {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4); 
}
.btn-primary.pulsing { 
    animation: pulse 2s infinite; 
}
.btn-example {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-top: 12px;
    font-size: 13px;
    transition: 0.3s;
}
.btn-example:hover { 
    border-color: var(--primary-red); 
    color: #fff; 
    background: rgba(230, 57, 70, 0.08); 
}
/* 6. ANIMAÇÕES */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}
/* 7. SEÇÕES & HERO */
section { 
    padding: 80px 1.5rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.vs-hero { text-align: center; padding: 120px 1.5rem 80px; }
.vs-hero h1 { 
    font-size: clamp(32px, 8vw, 64px); 
    line-height: 1.1; 
    margin-bottom: 25px; 
    font-weight: 800; 
    letter-spacing: -2px; 
}
.vs-hero h1 span { color: var(--primary-red); }
.vs-hero p { 
    color: var(--text-dim); 
    margin-bottom: 40px; 
    font-size: clamp(16px, 4vw, 19px); 
    max-width: 650px; 
    margin-left: auto; 
    margin-right: auto; 
}
.vs-hero-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    align-items: center; 
}
/* 8. GRID DE PROJETOS */
.section-title { text-align: center; margin-bottom: 50px; }

.section-title h2 { 
    font-size: 28px; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
}
.section-title div { 
    width: 60px; height: 4px; 
    background: var(--primary-red); 
    margin: 0 auto; 
    border-radius: 10px; 
}
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.project-card { 
    background: var(--card-bg); 
    border-radius: 20px; 
    padding: 35px;
    border: 1px solid rgba(255,255,255,0.05); 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column;
    position: relative; /* Mantém o badge fixo ao card */
    /* overflow: hidden; REMOVIDO para o badge não ser cortado no topo */
}
.project-card:hover { 
    border-color: rgba(230, 57, 70, 0.4); 
    transform: translateY(-10px); 
    background: linear-gradient(145deg, #1a1a1a 0%, #161616 100%);
}
.project-card h3 { 
    color: #fff; 
    margin-bottom: 12px; 
    font-size: 26px; 
}

/* Ajuste do Badge "Mais Completo" */
.badge-featured {
    position: absolute;
    top: -12px; 
    right: 20px;
    background: var(--primary-red);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.tag { 
    font-size: 10px; 
    background: rgba(230, 57, 70, 0.12); 
    color: var(--primary-red); 
    padding: 6px 12px; 
    border-radius: 6px; 
    margin-right: 8px; 
    font-weight: 700; 
    text-transform: uppercase; 
}

.feature-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}
.feature-list li {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.feature-list li::before {
    content: "•";
    color: var(--primary-red);
    margin-right: 8px;
    font-weight: bold;
}
/* 9. TABELAS E EXTRAS */
.table-wrapper { 
    overflow-x: auto; 
    background: var(--card-bg); 
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
}
.vs-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.vs-table th, .vs-table td { 
    padding: 25px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    text-align: left;
}
.vs-table th { 
    background: rgba(255, 255, 255, 0.02); 
    color: var(--primary-red); 
    font-size: 12px; 
    letter-spacing: 2px;
}
.seo-box { 
    margin-top: 25px; 
    padding: 25px; 
    background: rgba(230, 57, 70, 0.03); 
    border-radius: 15px; 
    border-left: 4px solid var(--primary-red); 
}
/* 10. CTA CARD */
.vs-cta-card {
    background: linear-gradient(145deg, #111 0%, #050505 100%);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 30px;
    padding: 80px 20px;
    text-align: center;
}
/* 11. FOOTER */
.vs-footer { 
    padding: 50px 1rem; 
    text-align: center; 
    background: #050505; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}
/* 12. SISTEMA DE REVEAL (Scroll) */
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: 1s cubic-bezier(0.215, 0.61, 0.355, 1); 
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}
/* Efeito de brilho no núcleo da logo */
.vs-logo-svg circle[fill="var(--primary-red)"] {
    filter: drop-shadow(0 0 3px var(--primary-red));
}
.specs { 
    display: grid; 
    /* Cria 2 colunas de tamanho igual */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin: 40px auto; 
    max-width: 900px; /* Mantém o grid centralizado e com leitura confortável */
    padding: 0 10px;
}

.spec-item { 
    background: var(--card-bg); 
    padding: 25px; 
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid var(--primary-red); 
    text-align: left;
    transition: var(--transition);
}

.spec-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #1a1a1a 0%, #161616 100%);
    border-color: rgba(230, 57, 70, 0.3);
}

.spec-item h4 { 
    color: var(--primary-red); 
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.spec-item p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.5;
}


/* 13. MEDIA QUERIES (Desktop) */
@media (min-width: 768px) {
    .vs-nav { display: block; }
    .vs-hero-actions { flex-direction: row; justify-content: center; gap: 20px; }
    section { padding: 100px 1.5rem; }
    
    .vs-header { padding: 0 8%; }
}
.specs {
        grid-template-columns: 1fr;
        max-width: 100%;
}
