/* --- Variáveis Específicas para Relatórios BI (Tema LIME/DARK - Dados/Performance) --- */
:root {
    --module-primary: #65a30d; /* Lime 600 */
    --module-dark: #1a2e05;    /* Lime 950 */
    --module-light: #ecfccb;   /* Lime 100 */
    --bg-hero: #111827;        /* Gray 900 (Fundo Dark) */
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

/* Wrapper Geral */
.relatorios-wrapper {
    background-color: var(--bg-body);
    font-family: 'Instrument Sans', sans-serif;
}

/* --- Hero Section (Estilo Dashboard Dark) --- */
.relatorios-hero {
    background: linear-gradient(135deg, var(--bg-hero), #0f172a);
    color: var(--white);
    padding: 80px 0 60px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--module-primary); /* Faixa Neon */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Elemento decorativo (Gráfico) */
.relatorios-hero::before {
    content: '\f201'; /* Icone Chart Line */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10%;
    bottom: -20px;
    font-size: 15rem;
    color: var(--module-primary);
    opacity: 0.1;
    transform: rotate(-10deg);
}

.relatorios-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    color: var(--white);
}

/* Destaque Neon no Título */
.relatorios-hero h1 span {
    color: var(--module-primary);
    text-shadow: 0 0 20px rgba(101, 163, 13, 0.4);
}

.relatorios-hero p {
    font-size: 1.1rem;
    color: #9ca3af; /* Gray 400 */
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

/* --- Container Principal --- */
.relatorios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: flex;
    gap: 50px;
}

/* --- Sidebar Lateral --- */
.module-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    height: fit-content;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.module-sidebar h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-sidebar ul { list-style: none; padding: 0; }
.module-sidebar ul li { margin-bottom: 8px; }

.module-sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.module-sidebar ul li a i {
    color: var(--text-muted);
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.module-sidebar ul li a:hover {
    background-color: var(--module-light);
    color: #365314; /* Lime Dark Text */
}
.module-sidebar ul li a:hover i { color: var(--module-primary); }

/* --- Conteúdo --- */
.content-section { flex-grow: 1; }

.feature-block {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
}

.feature-block h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid var(--module-primary); /* Borda lateral Lime */
    padding-left: 15px;
}

/* Grid de Sub-funcionalidades */
.sub-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.sub-feature-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.sub-feature-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--module-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.sub-feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--module-primary);
}

.sub-feature-item:hover::after { opacity: 1; }

.sub-feature-item h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sub-feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ Section */
.faq-section { margin-top: 60px; }
.faq-item {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}
.faq-item h5 { font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #111827, #1f2937); /* Dark Theme */
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    border: 1px solid #374151;
}

.cta-box h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.cta-box p { color: #9ca3af; margin-bottom: 30px; font-size: 1.1rem; }

.btn-demo {
    display: inline-block;
    background-color: var(--module-primary); /* Botão Lime */
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-demo:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(101, 163, 13, 0.6); /* Glow Effect */
}

/* Responsivo */
@media (max-width: 991px) {
    .relatorios-container { flex-direction: column; }
    .module-sidebar { width: 100%; position: relative; top: 0; }
}