/* =========================================
   1. RESET & VARIÁVEIS GLOBAIS
   ========================================= */
:root {
    --bg-color: #050505;
    --card-bg: #0f0f0f;
    --card-border: #222;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;

    /* Cores da Marca */
    --accent: #00ff88;
    --accent-dark: #008f4c;
    --accent-glow: rgba(0, 255, 136, 0.15);

    --danger: #ff4d4d;
    --danger-glow: rgba(255, 77, 77, 0.2);

    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Particles */
#particles-js {
    position: fixed;
    /* Fixa na tela, não rola junto */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #050505;
    /* A cor de fundo real do site */
    z-index: -10;
    /* Garante que fique atrás de TUDO */
}

/* Luz ambiente (Glow sutil no topo) */
.ambient-light {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -5;
    pointer-events: none;
}

/* Layout Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

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

/* Mobile Icon */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

/* =========================================
   3. HERO SECTION (Estratégico)
   ========================================= */
/* --- NOVA CLASSE PARA A LOGO NO HERO --- */
.hero-logo {
    display: block;
    margin: 0 auto 40px;
    /* Centraliza e empurra o título para baixo */
    height: 70px;
    /* Altura ajustada para destaque (aumente se precisar) */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.4));
    /* Glow verde na logo */
    animation: floatLogo 6s ease-in-out infinite;
}

/* Animação suave para a logo flutuar levemente */
@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Ajuste de espaçamento do Hero (já que tiramos o menu) */
.strategic-hero {
    padding-top: 300px;
    padding-bottom: 150px;
    /* Mais espaço no topo para respirar */
    min-height: 100px;
}

/* Se quiser esconder o menu antigo via CSS para garantir (opcional) */
header {
    display: none !important;
}

.strategic-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 150px;
}

.hero-content {
    max-width: 900px;
}

.strategic-badge {
    display: inline-block;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
    background: rgba(0, 255, 136, 0.05);
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Botões do Hero */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: #008f4c;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   4. SEÇÃO "O PROBLEMA"
   ========================================= */
.problem-section {
    padding: 100px 0;
    background: #080808;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.problem-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problem-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-danger {
    color: #fff;
    border-bottom: 2px solid var(--danger);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.problem-card {
    background: rgba(255, 50, 50, 0.03);
    /* Leve tom vermelho */
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #2a1a1a;
    transition: 0.3s;
}

.problem-card:hover {
    border-color: var(--danger);
    transform: translateY(-5px);
}

.icon-danger {
    font-size: 2rem;
    margin-bottom: 20px;
}

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

.problem-card p {
    color: #888;
    font-size: 0.95rem;
}

/* =========================================
   5. SEÇÃO SOLUÇÃO (METODOLOGIA)
   ========================================= */
.solution-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* Colados visualmente */
    border: 1px solid #222;
    border-radius: 20px;
    overflow: hidden;
}

.solution-block {
    padding: 60px 40px;
    border-right: 1px solid #222;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
}

.solution-block:last-child {
    border-right: none;
}

.block-number {
    font-size: 4rem;
    color: #1a1a1a;
    font-weight: 800;
    position: absolute;
    top: 20px;
    right: 30px;
}

.solution-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.solution-block p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* =========================================
   6. SEÇÃO PRODUTOS (P1, P2, P3)
   ========================================= */
.products-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.product-card {
    background: #0e0e0e;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: 0.3s;
}

.product-card.featured {
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.03);
    transform: scale(1.05);
    z-index: 2;
}

.product-badge {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-card.featured .product-badge {
    color: var(--accent);
}

.product-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.product-desc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
    height: 40px;
}

.product-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.product-features li {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-product {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-product:hover {
    background: #fff;
    color: #000;
}

.btn-glow {
    background: var(--accent);
    color: #000;
    border: none;
}

.btn-glow:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* =========================================
   7. SEÇÃO LABORATÓRIO (Cases)
   ========================================= */
.lab-grid-section {
    padding: 100px 0;
}

.category-title {
    color: #fff;
    margin: 40px 0 20px;
    font-size: 1.4rem;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
}

.mt-large {
    margin-top: 80px;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.lab-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.lab-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.lab-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.tag-biz {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #333;
}

.lab-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.lab-card p {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 25px;
    flex-grow: 1;
}

.lab-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.lab-link:hover {
    text-decoration: underline;
}

/* =========================================
   8. AUTHORITY CTA (Final)
   ========================================= */
.authority-cta {
    padding: 100px 0;
    border-top: 1px solid #222;
    text-align: center;
}

.authority-text {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.authority-text strong {
    color: #fff;
}

.cta-dual {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.cta-box {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 12px;
    width: 350px;
    text-align: left;
}

.cta-box.highlight {
    border-color: var(--accent-dark);
    background: rgba(0, 255, 136, 0.02);
}

.cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.cta-box p {
    color: #888;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: #fff;
}

.btn-solid {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-solid:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
    color: #444;
    font-size: 0.9rem;
}

/* =========================================
   10. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #000;
        padding-top: 80px;
        transition: 0.3s;
        border-right: 1px solid #333;
        flex-direction: column;
    }

    .nav-menu.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding-left: 30px;
    }

    .mobile-menu-icon {
        display: block;
        z-index: 1001;
    }

    .mobile-menu-icon.open .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-icon.open .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-icon.open .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero */
    .strategic-hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Grids */
    .solution-grid {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .solution-block {
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .product-card.featured {
        transform: none;
    }

    .cta-dual {
        flex-direction: column;
        align-items: center;
    }

    .cta-box {
        width: 100%;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}