/* ================================================================
   CLOUDSEG EMPRESARIAL - SYSTEM DESIGN V12 (COMPLETO)
   ----------------------------------------------------------------
   - Estrutura Robusta: Restauração de todas as regras de layout.
   - Tema: Roxo Empresarial (Identidade Visual).
   - Componentes: Header, Footer, Timeline, Cards, Grids.
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- PALETA INSTITUCIONAL --- */
    --primary-dark: #0D2050;    
    --primary-light: #2a1b5e;   
    
    /* --- PALETA EMPRESARIAL (ROXO) --- */
    --accent-main: #6610f2;     /* Roxo Vibrante */
    --accent-light: #9d5ce5;    /* Roxo Claro */
    --bg-icon-purple: #f3f0fe;  /* Fundo Suave */
    
    /* --- TEXTOS --- */
    --text-main: #0D2050;
    --text-muted: #556987;
    --text-light: #F4F7FA;

    /* --- BACKGROUNDS --- */
    --bg-body: #F4F7FA;
    --bg-white: #FFFFFF;
    
    /* --- EFEITOS & GRADIENTES --- */
    --gradient-accent: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-main) 100%);
    --gradient-main: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    
    --shadow-soft: 0 15px 35px rgba(13, 32, 80, 0.06);
    --shadow-hover: 0 25px 50px rgba(102, 16, 242, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);

    --radius: 24px;
    --header-height: 90px;
}

/* --- RESET GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    padding-top: var(--header-height);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; position: relative; }
section { padding: 100px 0; position: relative; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }

/* --- TIPOGRAFIA --- */
h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 25px; color: var(--primary-dark); letter-spacing: -1px; }
h2 { font-size: 42px; font-weight: 700; margin-bottom: 20px; color: var(--primary-dark); letter-spacing: -0.5px; }
h3 { font-size: 28px; font-weight: 700; margin-bottom: 15px; color: var(--primary-dark); }
h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
p { font-size: 18px; color: var(--text-muted); margin-bottom: 25px; font-weight: 400; line-height: 1.6; }

.text-light { color: var(--text-light) !important; }
.text-accent { color: var(--accent-main) !important; }
.subtitulo { max-width: 700px; margin: 0 auto 40px auto; text-align: center; font-size: 18px; }


/* ================================================================
   1. BOTÕES (Estilos Específicos e Gerais)
=================================================================== */
.btn-cta, .btn-cta-hero, .btn-glow, .btn-cta-hero-emp {
    background: var(--gradient-accent); 
    color: white !important; 
    font-weight: 700; border: none; 
    border-radius: 50px; cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block; text-align: center;
    box-shadow: 0 5px 15px rgba(102, 16, 242, 0.3);
}

/* Tamanhos */
.btn-cta { padding: 14px 32px; font-size: 16px; }
.btn-cta-hero, .btn-cta-hero-emp { padding: 18px 45px; font-size: 18px; }
.btn-glow { padding: 12px 30px; font-size: 15px; } 

/* Hover Effects */
.btn-cta:hover, .btn-cta-hero:hover, .btn-glow:hover, .btn-cta-hero-emp:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 30px rgba(102, 16, 242, 0.4); 
    background: linear-gradient(135deg, var(--accent-main) 0%, var(--accent-light) 100%);
}


/* ================================================================
   2. HEADER & NAVEGAÇÃO (Estrutura Fixa)
=================================================================== */
#main-header { 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; 
    padding: 15px 0; transition: 0.3s; 
}

.glass-nav { 
    background: rgba(255, 255, 255, 0.95); 
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px); 
    border: 1px solid rgba(255, 255, 255, 0.8); 
    border-radius: 100px; 
    padding: 0 40px; 
    display: flex; justify-content: space-between; align-items: center; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); 
    height: 75px; 
}

.logo img { height: 100px; width: auto; }

.nav-links { 
    display: flex; gap: 35px; list-style: none; margin: 0; padding: 0; 
    align-items: center; height: 100%; 
}

.nav-link-main { 
    font-weight: 600; color: var(--primary-dark); font-size: 15px; 
    display: flex; align-items: center; gap: 8px; height: 100%; cursor: pointer;
}
.nav-link-main:hover { color: var(--accent-main); }
.arrow-icon { font-size: 11px; transition: 0.3s; margin-top: 2px; }

/* Dropdown Menus */
.dropdown-item { position: relative; height: 100%; display: flex; align-items: center; }
.dropdown-item:hover .arrow-icon { transform: rotate(180deg); }

.glass-dropdown, .dropdown-menu { 
    position: absolute; top: 100%; left: 50%; 
    transform: translateX(-50%) translateY(20px); 
    background: #ffffff; 
    border: 1px solid #f0f0f0; 
    padding: 20px; border-radius: 20px; 
    min-width: 320px; 
    box-shadow: 0 20px 40px rgba(13, 32, 80, 0.1); 
    opacity: 0; visibility: hidden; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; gap: 8px; 
    z-index: 10000;
}

.dropdown-item:hover .glass-dropdown { 
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(15px); 
}

.dropdown-link { 
    display: flex; align-items: center; gap: 15px; 
    padding: 12px; border-radius: 12px; transition: 0.2s; 
    text-decoration: none;
}
.dropdown-link:hover { background: var(--bg-icon-purple); }

.dd-icon { 
    width: 42px; height: 42px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    background: var(--bg-icon-purple); color: var(--accent-main); 
    font-size: 18px; flex-shrink: 0; 
}
.gradient-icon { background: linear-gradient(135deg, #f3f0fe, #ffffff); }
.dd-text strong { display: block; font-size: 15px; color: var(--primary-dark); }
.dd-text span { font-size: 13px; color: #888; }

.mobile-menu-icon { display: none; font-size: 24px; color: var(--primary-dark); cursor: pointer; }


/* ================================================================
   3. HERO SECTION (LP e Index)
=================================================================== */
#hero, .lp-hero { 
    background: radial-gradient(circle at 80% 20%, #f8f5ff, #ffffff); 
    padding: 100px 0 120px; min-height: auto;
}
.hero-container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; text-align: left; }
.hero-image { flex: 1; perspective: 1000px; text-align: right; }

.hero-image img, .hero-img-custom { 
    border-radius: var(--radius); 
    box-shadow: 0 20px 40px rgba(13, 32, 80, 0.1); 
    transform: rotateY(-5deg); transition: 0.6s ease-out; 
    max-width: 100%; display: block;
}
.hero-image:hover img { transform: rotateY(0deg); }

/* Tags e Badges */
.hero-tag-emp, .hero-tag { 
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-icon-purple); color: var(--accent-main); 
    padding: 8px 20px; border-radius: 50px; font-size: 14px; 
    font-weight: 700; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px;
}
.hero-tag-emp i { font-size: 16px; }

/* Social Proof */
.social-proof { 
    margin-top: 40px; background: white; padding: 15px 30px; 
    border-radius: 50px; display: inline-flex; align-items: center; gap: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.estrelas { color: #ffc107; font-size: 14px; }
.social-proof p { margin: 0; font-size: 15px; font-weight: 700; color: var(--primary-dark); }


/* ================================================================
   4. SEÇÃO DE PROBLEMAS (Fundo Escuro)
=================================================================== */
.lp-problem-section { 
    background: var(--primary-dark); 
    color: white; 
    padding: 120px 0; 
}
.lp-problem-text { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.lp-problem-text h2 { color: white; margin-bottom: 15px; }
.lp-problem-text p { color: rgba(255,255,255,0.8); font-size: 19px; }

.lp-problem-grid { 
    display: grid; grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

/* Card de Problema (Empresarial) */
.card-empresarial, .lp-problem-card {
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px; 
    border-radius: 20px; 
    transition: 0.3s;
    text-align: left;
}
.card-empresarial:hover { 
    background: rgba(255, 255, 255, 0.1); 
    transform: translateY(-10px); 
    border-color: var(--accent-light);
}

.card-empresarial i, .reason-icon { 
    font-size: 36px; color: var(--accent-light); margin-bottom: 25px; display: block; 
}
.card-empresarial h4 { color: white; font-size: 22px; margin-bottom: 15px; }
.card-empresarial p { color: rgba(255,255,255,0.7); font-size: 16px; margin: 0; line-height: 1.6; }


/* ================================================================
   5. SEÇÃO DE SOLUÇÕES E VANTAGENS
=================================================================== */
.lp-solution-section, #vantagens { background: white; padding: 100px 0; }

/* Vantagens (Home) */
.vantagens-container { display: flex; align-items: center; gap: 80px; }
.vantagens-texto ul { list-style: none; margin-top: 30px; }
.vantagens-texto li { 
    background: white; padding: 20px; border-radius: 16px; margin-bottom: 15px; 
    display: flex; align-items: center; font-weight: 600; color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid #f5f5f5;
}
.vantagens-texto li:hover { transform: translateX(10px); border-color: var(--accent-light); }
.vantagens-texto li i { color: var(--accent-main); margin-right: 15px; font-size: 22px; }
.vantagens-imagem img { border-radius: var(--radius); box-shadow: var(--shadow-hover); }

/* Soluções (Cards Grid) */
.solucoes-grupos-wrapper { display: flex; gap: 40px; margin-top: 50px; }
.solucoes-grupo { 
    flex: 1; background: white; padding: 40px; border-radius: var(--radius); 
    border: 1px solid #eee; box-shadow: var(--shadow-soft); 
}
.solucoes-grid { display: grid; gap: 20px; margin-top: 30px; }

.card-solucao { 
    display: flex; align-items: flex-start; gap: 20px; 
    background: #fbfaff; padding: 25px; border-radius: 16px; 
    transition: all 0.3s; border: 1px solid transparent;
}
.card-solucao:hover { 
    background: white; box-shadow: var(--shadow-hover); 
    border-color: var(--accent-light); transform: translateY(-5px); 
}
.card-solucao i { 
    color: var(--accent-main); font-size: 24px; 
    background: var(--bg-icon-purple); width: 50px; height: 50px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-solucao h4 { font-size: 18px; margin-bottom: 5px; color: var(--primary-dark); }
.card-solucao p { font-size: 15px; margin: 0; color: var(--text-muted); }

/* Split Content (Benefícios nas Internas) */
.split-content { text-align: center; margin: 0 auto; }
.benefits-list { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; text-align: left; }
.benefit-item { display: flex; gap: 15px; align-items: flex-start; }
.benefit-item .icon-emp, .benefit-item i { 
    color: var(--accent-main); font-size: 24px; margin-top: 3px; flex-shrink: 0; 
}
.benefit-item h4 { margin-bottom: 5px; font-size: 18px; color: var(--primary-dark); }
.benefit-item p { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.5; }


/* ================================================================
   6. STATS E PARCEIROS
=================================================================== */
.lp-data-section { background: #f9fbfd; text-align: center; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.stat-card { 
    background: white; padding: 40px 30px; border-radius: 20px; 
    box-shadow: var(--shadow-soft); border-bottom: 5px solid var(--accent-main); 
    transition: 0.3s;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card h3 { font-size: 48px; color: var(--primary-dark); margin-bottom: 15px; font-weight: 800; }
.stat-card p { font-size: 16px; margin: 0; line-height: 1.6; }

.light-section { background: white; border-bottom: 1px solid #f5f5f5; }
.parceiros-logos-container { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; margin-top: 50px; }
.parceiro-logo {
    background: white; padding: 20px 40px; border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid #f0f0f0;
    transition: 0.3s; display: flex; align-items: center; justify-content: center; height: 100px; width: 200px; 
}
.parceiro-logo img { max-height: 180px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; object-fit: contain; }
.parceiro-logo:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--accent-main); }
.parceiro-logo:hover img { filter: grayscale(0); opacity: 1; }


/* ================================================================
   7. TIMELINE / VISUAL STEPS
=================================================================== */
.visual-steps-section, #como-funciona { background: white; padding: 100px 0; }
.visual-steps-container, .passos-container { 
    display: flex; justify-content: space-between; gap: 40px; 
    margin-top: 70px; position: relative; padding: 0 40px; 
}
/* Linha */
.visual-steps-container::before, .passos-container::before {
    content: ''; position: absolute; top: 35px; left: 80px; right: 80px; 
    height: 3px; background: #eef2f6; z-index: 0; 
}

.visual-step, .passo { flex: 1; text-align: center; position: relative; z-index: 1; }

.visual-step-icon, .passo-numero { 
    width: 70px; height: 70px; background: white; border: 2px solid #eef2f6; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; 
    font-size: 24px; color: var(--accent-main); box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    position: relative; z-index: 2; transition: 0.3s; font-weight: 800;
}

.visual-step:hover .visual-step-icon, .passo:hover .passo-numero {
    border-color: var(--accent-main); transform: scale(1.1); color: var(--accent-main);
    box-shadow: 0 15px 35px rgba(102, 16, 242, 0.2);
}

.visual-step h4, .passo h3 { font-size: 20px; margin-bottom: 10px; color: var(--primary-dark); }
.visual-step p, .passo p { font-size: 15px; color: var(--text-muted); max-width: 250px; margin: 0 auto; }


/* ================================================================
   8. FAQ & FOOTER
=================================================================== */
.faq-container { margin-bottom: 50px; }
.faq-item { margin-bottom: 15px; }
.faq-pergunta { 
    background: white; padding: 22px 30px; border-radius: 16px; 
    font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; 
    align-items: center; transition: 0.3s; border: 1px solid #eee; color: var(--primary-dark);
}
.faq-pergunta:hover { border-color: var(--accent-main); color: var(--accent-main); background: #fbfaff; }
.faq-resposta { max-height: 0; overflow: hidden; transition: 0.4s ease; }
.faq-resposta p { padding: 25px 30px; margin: 0; color: var(--text-muted); font-size: 16px; background: white; border-radius: 0 0 16px 16px; border-top: 1px solid #f9f9f9; }

#cta-final { background: var(--gradient-main); color: white; border-radius: 40px 40px 0 0; padding: 120px 0; text-align: center; margin-top: 80px; }
.cta-container h2 { color: white; margin-bottom: 30px; }

#footer { background-color: var(--primary-dark); color: #ccc; padding: 80px 0 0 0; }
.footer-container-original { display: grid; grid-template-columns: 3fr 1.5fr 1.5fr 1.5fr; gap: 40px; padding-bottom: 60px; }
.footer-sobre .logo a { color: white; font-size: 26px; font-weight: 800; display: block; margin-bottom: 20px; }
.footer-coluna h4 { color: white; font-size: 16px; margin-bottom: 25px; position: relative; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.footer-coluna h4::after { content: ''; display: block; width: 30px; height: 3px; background-color: var(--accent-main); margin-top: 10px; }
.footer-coluna ul { list-style: none; }
.footer-coluna li { margin-bottom: 10px; }
.footer-coluna a { color: #b0b8c4; font-size: 14px; transition: 0.3s; }
.footer-coluna a:hover { color: var(--accent-main); padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { color: white; font-size: 20px; transition: 0.3s; }
.social-links a:hover { color: var(--accent-main); }
.footer-legal { background-color: #081535; text-align: center; padding: 25px; font-size: 12px; border-top: 1px solid rgba(255,255,255,0.05); }


/* ================================================================
   9. ANIMAÇÕES & RESPONSIVIDADE
=================================================================== */
.animar { opacity: 0; transform: translateY(30px); transition: 0.7s ease-out; }
.animar.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

@media (max-width: 992px) {
    .nav-links { 
        position: fixed; top: 90px; left: 0; width: 100%; background: white; 
        flex-direction: column; padding: 30px; display: none; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid #eee;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-icon { display: block; }
    .header-cta { display: none; }
    
    .hero-container, .vantagens-container, .solucoes-grupos-wrapper, .split-container { flex-direction: column; text-align: center; gap: 50px; }
    .hero-image, .split-image { order: -1; margin-bottom: 20px; }
    
    .lp-problem-grid, .stat-grid, .visual-steps-container, .footer-container-original { grid-template-columns: 1fr; flex-direction: column; text-align: center; gap: 40px; }
    .benefits-list { grid-template-columns: 1fr; }
    
    .visual-steps-container::before { width: 3px; height: 80%; left: 50%; top: 0; transform: translateX(-50%); }
    .footer-coluna h4::after { margin: 10px auto 0 auto; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .container { padding: 0 20px; }
    #cta-final { padding: 80px 0; border-radius: 30px 30px 0 0; }
}