/* ==========================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Mantido idêntico para desktops e agora forçado como base estável */
    background-image: linear-gradient(rgba(10, 20, 15, 0.15), rgba(10, 20, 15, 0.25)), url('Fundo_Logo.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Garante o fundo fixo */
    color: #e0e0e0;
    scroll-behavior: smooth;
    min-height: 100vh;
    overflow-x: hidden; /* Evita barra de rolagem horizontal indesejada */
}

/* Regra de ouro para imagens automáticas e responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.accent {
    color: #00FF66; /* Verde Neon */
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

/* ==========================================
   HEADER / MENU DE NAVEGAÇÃO
   ========================================== */
.main-header {
    background-color: rgba(5, 8, 7, 0.98);
    border-bottom: 1px solid rgba(0, 255, 102, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    padding: 15px 20px;
}

.logo-area {
    float: left;
}

.logo-text {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 40px;
}

.navbar {
    float: right;
}

.navbar ul {
    list-style: none;
}

.navbar ul li {
    display: inline-block;
}

.navbar ul li a {
    display: block;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    border-radius: 4px;
    line-height: 20px;
}

.navbar ul li a:hover {
    color: #00FF66;
    background-color: rgba(0, 255, 102, 0.05);
}

/* Fix clear floats */
.header-container::after {
    content: "";
    display: table;
    clear: both;
}

#menu-bar, .menu-icon {
    display: none;
}

/* ==========================================
   SEÇÕES PRINCIPAIS E HERO
   ========================================== */
.hero {
    padding: 180px 20px 120px 20px;
    text-align: center;
    background: radial-gradient(circle, rgba(0,255,102,0.05) 0%, rgba(10,20,15,0) 70%);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.hero p {
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto 40px auto;
    color: #b0b0b0;
    line-height: 1.6;
}

.btn-diag {
    display: inline-block;
    padding: 16px 40px;
    background: #00CC44;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,204,68,0.3);
    transition: 0.3s;
}

.btn-diag:hover {
    background: #00E64D;
    box-shadow: 0 6px 20px rgba(0,255,102,0.4);
    transform: translateY(-2px);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 10px 20px;
}

h2.section-title {
    font-size: 2.2rem;
    border-left: 5px solid #00FF66;
    padding-left: 15px;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.info-box {
    background: rgba(17, 24, 21, 0.85);
    padding: 35px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 102, 0.1);
    backdrop-filter: blur(4px);
}

.info-box p {
    line-height: 1.8;
    color: #d0d0d0;
    font-size: 1.15rem;
}

/* ==========================================
   GRID DE ATIVOS (SERVIÇOS)
   ========================================== */
.grid-ativos {
    width: 100%;
    display: block;
}

.grid-ativos::after {
    content: "";
    display: table;
    clear: both;
}

.card-ativo {
    width: calc(33.33% - 14px);
    float: left;
    margin-right: 21px;
    margin-bottom: 20px;
    background: rgba(17, 24, 21, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 102, 0.15);
    padding: 30px;
    border-radius: 4px;
    transition: 0.3s;
    min-height: 220px;
}

.card-ativo:nth-child(3n) {
    margin-right: 0;
}

.card-ativo:hover {
    border-color: #00FF66;
    box-shadow: 0 5px 20px rgba(0, 255, 102, 0.15);
    transform: translateY(-3px);
}

.card-ativo h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card-ativo h3 i {
    margin-right: 10px;
}

.large-card {
    width: 100% !important;
    float: none !important;
    clear: both;
    margin-right: 0 !important;
}

/* ==========================================
   FORNECEDORES / PARCEIROS
   ========================================== */
.tecnology-partners {
    text-align: center;
    border-top: 1px solid rgba(0,255,102,0.1);
    padding-top: 60px;
}

.parceiros-subtitle {
    margin-bottom: 40px;
    color: #a0a0a0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.code-window {
   background: rgba(17, 24, 21, 0.9);
    /* border: 1px solid rgba(20, 30, 25, 0.6); */
    border: 1px solid rgba(0, 255, 102, 0.15);
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: inline-block;
    max-width: 100%;
}

.partners-banner {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* ==========================================
   SEÇÃO FINAL: DEVOCIONAL (NOSSA ESSÊNCIA)
   ========================================== */
.essencia-section {
    padding-top: 40px;
    margin-bottom: 80px;
}

.essencia-content {
    width: 100%;
    background: rgba(20, 30, 25, 0.6);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.essencia-content::after {
    content: "";
    display: table;
    clear: both;
}

.essencia-text {
    width: 55%;
    float: left;
    padding-right: 30px;
}

.essencia-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #c0c0c0;
}

.splendor-text {
    font-style: italic;
    color: #FFDD88;
    font-size: 1.2rem !important;
    text-align: center;
    margin-top: 30px;
    text-shadow: 0 0 15px rgba(255, 221, 136, 0.3);
}

.essencia-image {
    width: 30%;
    float: right;
    display: block;
}

.jesus-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255, 220, 150, 0.2);
    border: 2px solid rgba(255, 220, 150, 0.15);
}

/* ==========================================
   RODAPÉ (FOOTER)
   ========================================== */
.main-footer {
    background-color: rgba(5, 8, 7, 0.98);
    border-top: 2px solid #00CC44;
    padding: 60px 20px 30px 20px;
    margin-top: 80px;
    clear: both;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container::after {
    content: "";
    display: table;
    clear: both;
}

.footer-col {
    width: 33.33%;
    float: left;
    padding: 0 15px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col h3 i {
    margin-right: 10px;
}

.footer-col p, .footer-col a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
}

.footer-col a:hover {
    color: #00FF66;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 255, 102, 0.1);
    font-size: 0.9rem;
    color: #666;
    clear: both;
}

/* ==========================================
   MÍDIA QUERIES - RESPONSIVIDADE (CELULARES E TABLETS)
   ========================================== */
@media (max-width: 992px) {
    body {
        /* AJUSTE AQUI: Mantém a imagem cobrindo toda a tela e totalmente fixa ao rolar no celular */
        background-size: cover !important;
        background-attachment: fixed !important;
        background-position: center center;
    }

    .hero { 
        padding-top: 130px; 
        padding-bottom: 80px; 
    }
    .hero h1 { 
        font-size: 2.0rem; 
        text-shadow: 0 2px 15px rgba(0,0,0,0.95); 
    }
    .hero p {
        font-size: 1.05rem;
        text-shadow: 0 1px 10px rgba(0,0,0,0.95);
    }
    
    /* Configuração do Menu Hamburguer para telas menores */
    .logo-area {
        float: none;
        display: inline-block;
    }
    .menu-icon { 
        display: block; 
        color: #fff; 
        font-size: 1.6rem; 
        cursor: pointer; 
        float: right;
        line-height: 40px;
    }
    .navbar { 
        display: none; 
        width: 100%; 
        float: none;
        margin-top: 15px;
    }
    #menu-bar:checked ~ .navbar { 
        display: block; 
    }
    .navbar ul li { 
        display: block; 
        width: 100%;
    }
    .navbar ul li a { 
        text-align: center; 
        padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.05); 
    }

    /* Transformando Grids e Colunas Laterais em blocos de linha única para Celular */
    .card-ativo {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 15px;
        min-height: auto;
    }
    
    .essencia-text {
        width: 100% !important;
        float: none !important;
        padding-right: 0;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .essencia-image {
        width: 100% !important;
        float: none !important;
    }
    
    .footer-col {
        width: 100% !important;
        float: none !important;
        text-align: center;
        margin-bottom: 35px;
    }
    
    h2.section-title {
        font-size: 1.8rem;
    }
}