/* =========================================
   CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ========================================= */
:root {
    --primary: #007bff;        /* Azul Nexus */
    --primary-dark: #0056b3;
    --text-main: #1e293b;     /* Slate escuro */
    --text-light: #64748b;    /* Cinza textos secundários */
    --bg-light: #f8fafc;      /* Fundo leve */
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   NAVEGAÇÃO (CLEAN & STICKY)
   ========================================= */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-weight: 800; font-size: 1.2rem; color: #111; }
.logo span { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links li a:hover { color: var(--primary); }

.btn-sm {
    background: var(--primary);
    color: white !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* =========================================
   HERO SECTION (ALTA DENSIDADE)
   ========================================= */
.hero {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge {
    background: #e0f2fe;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero h1 strong { color: var(--primary); }

.hero p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-btns { display: flex; gap: 10px; }

.btn-main {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-ghost {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.mini-card {
    background: white;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.mini-card i { color: #10b981; }

/* =========================================
   PORTFÓLIO (PRÉVIAS DOS SITES)
   ========================================= */
.portfolio { padding: 60px 0; }

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.p-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.p-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.p-img-wrapper {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: #f1f5f9;
}

.p-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.p-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 123, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.p-item:hover .p-overlay { opacity: 1; }

.btn-view {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.p-desc { padding: 15px; }
.p-desc h4 { font-size: 0.95rem; margin-bottom: 4px; }
.p-desc p { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 5px; }

/* =========================================
   PREÇOS (LADO A LADO)
   ========================================= */
.pricing { padding: 60px 0; background: var(--bg-light); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 850px;
    margin: 0 auto;
}

.price-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
}

.p-header h3 { font-size: 1.2rem; margin-bottom: 8px; }
.p-header p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 20px; }

.amount { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.amount span { font-size: 0.9rem; color: var(--text-light); }

.p-features { list-style: none; margin-bottom: 25px; flex-grow: 1; }
.p-features li { font-size: 0.85rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.p-features i { color: #10b981; font-size: 0.9rem; }

.full { width: 100%; text-align: center; display: block; }

/* =========================================
   FOOTER
   ========================================= */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.8rem;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 850px) {
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .header-flex { flex-direction: column; align-items: center; text-align: center; }
    .price-card.featured { transform: scale(1); margin-top: 15px; }
}

/* Seção de Infraestrutura Profissional */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.services-grid-infra {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas lado a lado */
    gap: 30px;
}

.infra-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    gap: 25px;
    transition: var(--transition);
}

.infra-card:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.infra-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.infra-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.infra-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.infra-list {
    list-style: none;
}

.infra-list li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.infra-list i {
    color: #10b981; /* Verde Sucesso */
}

/* Responsivo para Celulares */
@media (max-width: 992px) {
    .services-grid-infra {
        grid-template-columns: 1fr;
    }
    .infra-card {
        padding: 30px;
        flex-direction: column;
        text-align: center;
    }
    .infra-icon {
        margin-bottom: 10px;
    }
    .infra-list li {
        justify-content: center;
    }
}

/* =========================================
   MENU MOBILE (HAMBÚRGUER)
   ========================================= */

/* Esconde o botão no computador */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Ajustes para telas menores (Celulares e Tablets) */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block; /* Mostra o botão hambúrguer */
    }

    .nav-links {
        display: none; /* Esconde a lista de links padrão */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Altura da navbar */
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 2px solid var(--primary);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 999;
    }

    /* Classe que o JS vai ativar ao clicar */
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 15px;
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .nav-links .btn-sm {
        margin: 20px auto;
        width: 80%;
    }
}