:root {
    --color-primary: #00E0FF;
    --color-primary-dark: #0088ff;
    --color-secondary: #0B0F1A;
    --color-bg: #05070A;
    --color-surface: rgba(11, 15, 26, 0.6);
    --color-text: #F3F4F6;
    --color-text-muted: #9CA3AF;
    --gradient-accent: linear-gradient(135deg, #0055FF 0%, #00E0FF 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-padding {
    padding: 6rem 0;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: none !important; /* Cancela text-shadow herdado que buga com texto transparente */
}

.hero-title .text-gradient {
    /* Usa filter para aplicar sombra corretamente em texto com background-clip */
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9));
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
}

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

.relative {
    position: relative;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 224, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 224, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 224, 255, 0.4), 0 8px 25px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Sutil sombra no texto do botão */
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 224, 255, 0.6), 0 12px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid var(--color-primary);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(0, 224, 255, 0.15);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 8px 25px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 12px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: var(--gradient-accent);
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.glow-effect:hover::before {
    opacity: 0.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0; /* Cabeçalho mais imponente no PC */
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(5, 7, 10, 0.7) 0%, rgba(5, 7, 10, 0) 100%); /* Sombra suave no topo para leitura */
}

.header.scrolled {
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Para permitir posicionamento absoluto do menu mobile se precisar */
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 250px; /* Reduzido para dar mais espaço para o menu */
}

.header-logo {
    height: 60px; /* Aumenta o container base */
    width: auto;
    transform: scale(6); /* Aumenta a imagem ainda mais ignorando o espaço transparente */
    transform-origin: left center;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    gap: 2rem; /* Espaçamento ajustado para caber em uma linha */
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    font-size: 1.1rem; /* Fonte um pouco maior */
    transition: var(--transition);
    position: relative;
    font-family: var(--font-heading);
    white-space: nowrap; /* Impede que o texto quebre em duas linhas */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); /* Sombreamento para destacar no fundo claro */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem; /* Espaçamento balanceado */
}

.header-btn {
    padding: 1rem 2.2rem; /* Botão um pouco maior no PC */
    font-size: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: var(--color-bg);
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5,7,10,0.4) 0%, rgba(5,7,10,0.95) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.9); /* Sombra forte para destacar do fundo */
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 1); /* Sombra reforçada */
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Trust Bar */
.trust-bar {
    border-top: 1px solid rgba(0, 224, 255, 0.2);
    border-bottom: 1px solid rgba(0, 224, 255, 0.2);
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 0; /* Aumentado para mais respiro */
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.05); /* Glow sutil no fundo */
}

.trust-items {
    display: flex;
    justify-content: center; /* Centraliza os itens em vez de jogar pros cantos */
    flex-wrap: wrap;
    gap: 1.5rem 3rem; /* Espaçamento vertical e horizontal */
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text); /* Mais branco, sem estar 'muted' */
    font-size: 1.15rem; /* Fonte maior */
    font-weight: 600; /* Mais gordinha */
}

.trust-item i {
    color: var(--color-primary);
    font-size: 1.8rem; /* Ícone bem maior */
    filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.6)); /* Brilho neon no ícone */
}

/* Section - Problema */
.problema-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 60, 60, 0.1);
    color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--color-text-muted);
}

/* Section - Solução */
.solucao-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solucao-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.solucao-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.solucao-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.solucao-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.image-wrapper img {
    width: 100%;
    border-radius: 1rem;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.floating-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--color-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.floating-badge i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tech-lines {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--color-primary) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    z-index: -1;
}

/* Section - Áreas de Atuação */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .card-icon {
    background: rgba(0, 224, 255, 0.1);
    color: var(--color-primary);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-list li {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-list li::before {
    content: "\f058"; /* FontAwesome check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* Section - Benefícios */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--color-surface);
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.02);
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.feature-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 224, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-card:hover .feature-bg {
    opacity: 0.05;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Section - Como Funciona */
.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
    position: relative;
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 2;
}

.timeline-line {
    height: 2px;
    flex: 0.5;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(0,224,255,0) 100%);
    margin: 0 1rem;
    opacity: 0.3;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 224, 255, 0.2);
    margin-bottom: -1.5rem;
    margin-left: 1rem;
}

.step-content {
    padding: 2rem;
}

.step-content h3 {
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

/* Section - CTA Grande */
.cta-grande {
    position: relative;
    overflow: hidden;
}

.cta-bg-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 85, 255, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

/* Footer */
footer {
    background: #020305;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    transform: scale(6.5); /* Aumentado o tamanho no PC */
    transform-origin: left center;
    margin-bottom: 4rem; /* Mais espaço para o zoom */
    display: block;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.email-link {
    color: var(--color-text-muted);
    transition: var(--transition);
}

.email-link:hover {
    color: var(--color-primary);
}

.location {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations & Responsive */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in { opacity: 0; transition: 0.8s ease-out; }
.fade-left { opacity: 0; transform: translateX(-30px); transition: 0.8s ease-out; }
.fade-right { opacity: 0; transform: translateX(30px); transition: 0.8s ease-out; }

.fade-up.visible, .fade-in.visible, .fade-left.visible, .fade-right.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 992px) {
    .header {
        background: rgba(5, 7, 10, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }

    .header-container {
        justify-content: center; /* Centraliza a logo no mobile */
    }

    .logo-link {
        width: auto; /* Remove a largura fixa no mobile para poder centralizar bem */
        justify-content: center;
    }

    .header-logo {
        transform: translateX(-15px) scale(5.5); /* Desloca um pouco para a esquerda */
        transform-origin: center center;
    }

    .hero-content {
        margin-top: 80px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 7, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .mobile-toggle {
        display: block;
        position: absolute;
        right: 2rem;
        z-index: 1001;
    }
    
    .header-btn {
        display: none;
    }

    .hero-title { font-size: 3.5rem; }
    .problema-grid { grid-template-columns: 1fr; }
    .solucao-layout { grid-template-columns: 1fr; }
    .solucao-image { order: -1; }
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
    .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { flex-direction: column; gap: 2rem; }
    .timeline-line { width: 2px; height: 30px; margin: 0; background: linear-gradient(180deg, var(--color-primary) 0%, rgba(0,224,255,0) 100%); }
    .step-content { text-align: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .trust-items { 
        flex-direction: column; 
        align-items: flex-start; /* Alinha os ícones na mesma linha vertical */
        width: fit-content; /* Container abraça o conteúdo */
        margin: 0 auto; /* Centraliza o bloco inteiro na tela */
        gap: 1.5rem; 
    }
    .servicos-grid { grid-template-columns: 1fr; }
    .beneficios-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; align-items: center; text-align: center; }
    .footer-contact { align-items: center; }

    .footer-logo {
        transform: scale(6); /* Reduzido para ficar alinhado com o texto inferior */
        transform-origin: center center; /* Garante que cresça a partir do centro */
        margin: 0 auto 4rem auto; /* Centraliza fisicamente na tela */
    }
}

/* Otimização de Espaço para PC (Telas Grandes) */
@media (min-width: 993px) {
    html {
        font-size: 20px; /* Aumenta o tamanho base de tudo que usa 'rem' (textos, paddings, margens) */
    }

    .container {
        max-width: 1500px; /* Aproveita melhor a largura de monitores maiores */
    }

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

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

    .cta-content {
        max-width: 1100px;
    }

    .header-logo, .footer-logo {
        height: 75px; /* Aumenta a base da logo para ela escalar mais no PC */
    }

    .logo-link {
        width: 300px;
    }
}
