/* 
   ========================================================
   ARQUIVO CSS PRINCIPAL (style.css)
   ========================================================
   Contém as cores (variáveis), tipografia e todo o design.
   Para trocar a cor principal do site, basta alterar as variáveis
   no bloco ':root' abaixo.
*/

:root {
    /* Paleta de Cores Premium (Escura) */
    --bg-dark: #050914;           /* Fundo principal super escuro azulado */
    --bg-card: rgba(14, 21, 38, 0.6); /* Fundo dos cards translúcido */
    
    --cyan: #00d2ff;              /* Cor de destaque principal (Ciano/Azul luminoso) */
    --cyan-glow: rgba(0, 210, 255, 0.3); /* Brilho do Ciano */
    
    --petrol: #17365c;            /* Azul petróleo médio */
    --dark-petrol: #0a192f;       /* Azul escuro secundário */
    
    --text-white: #ffffff;
    --text-gray: #a8b2d1;         /* Cinza claro para subtítulos e descrições */
    
    /* Fontes */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem suave ao clicar em links */
}

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

/* ========================================================
   BACKGROUND DE PARTÍCULAS (PLEXUS)
   ======================================================== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: -2;
    pointer-events: none;
}

/* Overlay em degradê para garantir leitura */
#particles-js::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
    z-index: -1;
}

/* Container que limita a largura do conteúdo (no PC) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ========================================================
   CLASSES UTILITÁRIAS DE ESTILO
   ======================================================== */
.highlight-cyan {
    color: var(--cyan);
    text-shadow: 0 0 15px var(--cyan-glow); /* Brilho suave */
}

.text-cyan {
    color: var(--cyan);
}

.section-padding {
    padding: 100px 0;
}

.divider {
    height: 2px;
    width: 60px;
    background: var(--cyan);
    margin-top: 15px;
    box-shadow: 0 0 10px var(--cyan-glow);
}

.center-div {
    margin-left: auto;
    margin-right: auto;
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 10px;
}

/* Botões base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Botão Principal (WhatsApp/Ciano) */
.btn-primary {
    background-color: var(--cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 210, 255, 0.5);
    background-color: #33dcff;
}

/* Botão Secundário (Escuro translúcido) */
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

/* Links discretos (Email) */
.link-discrete {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.link-discrete:hover {
    color: var(--text-white);
}

/* Badges (Pequenas etiquetas) */
.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.badge-cyan {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.2);
    color: var(--cyan);
}


/* ========================================================
   SEÇÃO 1: HERO
   ======================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    padding-top: 40px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--text-white);
}

.brand-icon {
    color: var(--cyan);
    font-size: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Área visual do notebook (Direita) */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Efeito 3D: A imagem fica subindo e descendo devagar */
.floating-laptop {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.8));
}

/* Luz azul difusa por trás do notebook */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--cyan);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 1;
    animation: pulse 8s ease-in-out infinite;
}


/* ========================================================
   SEÇÃO 2: SERVIÇOS TÉCNICOS
   ======================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards com Glassmorphism (Efeito Vidro) */
.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Brilho hover superior no card */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(20, 30, 50, 0.8);
    border-color: rgba(0, 210, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px var(--cyan-glow));
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

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


/* ========================================================
   SEÇÃO 3: SERVIÇOS DIGITAIS
   ======================================================== */
.digital-container {
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.8), rgba(5, 9, 20, 0.9));
    border: 1px solid rgba(0, 210, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
}

.digital-text {
    flex: 1;
}

.digital-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    margin-top: 20px;
}

.digital-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.digital-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

/* Área Direita (O "mockup" da página) */
.digital-visual {
    flex: 1;
    position: relative;
}

.glass-mockup {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Topo do navegador fake */
.mockup-header {
    background: rgba(0,0,0,0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-header .dots {
    display: flex;
    gap: 6px;
}

.mockup-header .dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #555;
}
.mockup-header .dots span:nth-child(1) { background: #ff5f56; }
.mockup-header .dots span:nth-child(2) { background: #ffbd2e; }
.mockup-header .dots span:nth-child(3) { background: #27c93f; }

.url-bar {
    background: rgba(255,255,255,0.05);
    padding: 4px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #888;
    flex: 1;
    text-align: center;
}

.mockup-body {
    padding: 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,210,255,0.05), transparent);
}

.mockup-body h4 {
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Desenhando caixas falsas pra parecer estrutura de site (Esqueleto) */
.mockup-skeleton {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.skel-img {
    width: 80px; height: 80px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
}

.skel-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 150px;
}

.s-line {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.s-line.long { width: 100%; }
.s-line.short { width: 60%; }


/* ========================================================
   SEÇÃO 4: DIFERENCIAIS
   ======================================================== */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diff-card {
    text-align: center;
    padding: 30px;
}

.diff-icon {
    width: 70px; height: 70px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--cyan);
    transition: transform 0.3s;
}

.diff-card:hover .diff-icon {
    transform: scale(1.1);
    background: rgba(0, 210, 255, 0.1);
}

.diff-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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


/* ========================================================
   SEÇÃO 5: PROCESSO DE ATENDIMENTO
   ======================================================== */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

/* Linha horizontal conectando as etapas */
.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 50px; height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--cyan);
    color: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.step h4 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-gray);
    font-size: 0.9rem;
}


/* ========================================================
   SEÇÃO 6: CTA FINAL E RODAPÉ
   ======================================================== */
.cta-glass {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(10, 25, 47, 0.5));
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    margin: 50px 0 100px;
}

.cta-glass h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-glass p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.btn.large {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 20px;
    background: #03060c;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand i { color: var(--cyan); }

.footer-contact {
    display: flex;
    gap: 30px;
}

.footer-contact p, .footer-contact a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.footer-contact a:hover { color: var(--cyan); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    color: #555;
    font-size: 0.85rem;
}


/* ========================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ======================================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde Oficial do Whatsapp */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}


/* ========================================================
   ANIMAÇÕES CSS (Keyframes)
   ======================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

/* Classe aplicada via JS quando o scroll da página atinge o elemento */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================================
   MEDIA QUERIES (Responsividade - Celular e Tablet)
   ======================================================== */
@media (max-width: 992px) {
    /* Telas Médias / Tablets */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
    }
    .hero-content { margin: 0 auto; }
    .hero-actions { justify-content: center; }
    
    .digital-container {
        flex-direction: column;
        padding: 40px;
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .timeline::before { display: none; } /* Remove a linha do timeline no tablet */
}

@media (max-width: 768px) {
    /* Celulares */
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    
    .section-title { font-size: 1.8rem; }
    
    .timeline { grid-template-columns: 1fr; }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-contact {
        flex-direction: column;
        gap: 15px;
    }
    
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 55px; height: 55px;
        font-size: 28px;
    }
    
    .cta-glass {
        padding: 50px 20px;
    }
}
