/**
 * Precatorize Enterprise - Hub de Soluções Stylesheet (Tab-Based Experience) V1.5
 * Localização: /home1/luanfi75/public_html/precatorize/assets/css/solucoes.css
 * Responsabilidade: Folha de estilos modular para a página de Soluções:
 *                   - Hero atmosférico com profundidade óptica e brilho cyan elétrico.
 *                   - Trilho horizontal deslizável no mobile 100% transparente (sem caixas brancas cortadas).
 *                   - Seletores de abas (Pills) em Glassmorphism individual com hover tátil e glow.
 *                   - Transições suaves e renderização isolada de cada sub-hub no corpo da página.
 *                   - 100% responsivo e alinhado ao Design System Fintech R$ 250M.
 */

/* ==========================================================================
   1. HERO ATMOSFÉRICO COM SELETORES DE ABAS EMBUTIDOS
   ========================================================================== */
.solucoes-hero-tabbed {
    background-color: #060913;
    min-height: 48vh;
    padding: 130px 0 60px 0;
    overflow: hidden;
    position: relative;
}

.solucoes-hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 15%, #0d1b3e 0%, #060913 75%);
    opacity: 0.95;
    z-index: 1;
}

.solucoes-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 9, 19, 0.2) 0%, rgba(6, 9, 19, 0.9) 100%);
    z-index: 2;
}

.solucoes-hero-radial-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(0, 86, 179, 0.05) 50%, transparent 70%);
    filter: blur(65px);
    z-index: 2;
    pointer-events: none;
}

.solucoes-content-layer {
    position: relative;
    z-index: 10;
}

.max-w-hero-title {
    max-width: 860px;
}

.solucoes-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.solucoes-hero-lead {
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    color: #94a3b8;
    line-height: 1.7;
    max-width: 760px;
    font-weight: 400;
}

.text-highlight-cyan {
    color: #00f0ff;
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
}

.text-cyan {
    color: #00f0ff !important;
}

/* ==========================================================================
   2. TRILHO HORIZONTAL DESLIZÁVEL & SELETORES DE ABAS (RESET COMPLETO)
   ========================================================================== */
.solucoes-tab-nav-wrapper {
    position: relative;
    z-index: 20;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Reset de qualquer container branco de nav-pills do template global */
.solucoes-tab-nav-wrapper .nav,
.solucoes-tab-nav-wrapper .nav-pills,
#solucoesTabs {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.solucoes-tab-nav-wrapper .nav-pills::before,
.solucoes-tab-nav-wrapper .nav-pills::after,
#solucoesTabs::before,
#solucoesTabs::after {
    display: none !important;
    content: none !important;
}

/* Container de rolagem sem barras no mobile */
.solucoes-nav-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
    padding: 8px 4px 14px 4px;
    width: 100%;
    background: transparent !important;
}

.solucoes-nav-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari e Opera */
}

#solucoesTabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    min-width: max-content;
}

.solucoes-nav-scroll-container .nav-item {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Botões Individuais das Abas (Glassmorphism Escuro) */
.btn-tab-solucao {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    padding: 12px 22px !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-tab-solucao i {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.btn-tab-solucao:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border-color: rgba(0, 240, 255, 0.5) !important;
    transform: translateY(-2px);
}

.btn-tab-solucao:hover i {
    opacity: 1;
}

/* Estado Ativo */
.btn-tab-solucao.active {
    background: #0056b3 !important;
    color: #ffffff !important;
    border-color: #00f0ff !important;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4) !important;
    transform: translateY(-2px);
}

.btn-tab-solucao.active i {
    opacity: 1;
    color: #00f0ff;
}

/* ==========================================================================
   3. CORPO DA PÁGINA COM RENDERIZAÇÃO DAS ABAS (SUB-HUBS)
   ========================================================================== */
.solucoes-body-section {
    position: relative;
    z-index: 15;
    background-color: #ffffff;
}

.lead-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}

.max-w-lead {
    max-width: 680px;
}

.max-w-desc {
    max-width: 540px;
}

/* Animação suave ao alternar abas */
.tab-content > .tab-pane {
    display: none;
    transition: opacity 0.25s ease;
}

.tab-content > .active {
    display: block;
}

/* Card Spotlight de Simulação (Aba 1) */
.card-feature-spotlight {
    background: linear-gradient(135deg, #0f172a 0%, #002244 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-radial-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* Ícones em Squircles (Aba 3) */
.kpi-icon-solution {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Ícones de Tecnologia Forense (Aba 4) */
.box-icon-tech-light {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

/* ==========================================================================
   4. TIPOGRAFIA & UTILITÁRIOS
   ========================================================================== */
.font-size-8 { font-size: 8px !important; }
.font-size-9 { font-size: 9px !important; }
.font-size-10 { font-size: 10px !important; }
.font-size-11 { font-size: 11px !important; }
.font-size-12 { font-size: 12px !important; }

.tracking-1 { letter-spacing: 1px !important; }
.tracking-2 { letter-spacing: 2px !important; }

.line-height-1-4 { line-height: 1.4 !important; }
.line-height-1-5 { line-height: 1.5 !important; }
.line-height-1-6 { line-height: 1.6 !important; }
.line-height-1-8 { line-height: 1.8 !important; }

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================================================
   5. RESPONSIVIDADE (MOBILE ERGONOMICS)
   ========================================================================== */
@media (min-width: 992px) {
    #solucoesTabs {
        justify-content: center !important;
        min-width: auto;
    }
}

@media (max-width: 991.98px) {
    .solucoes-hero-tabbed {
        padding: 110px 0 40px 0;
        min-height: auto;
    }
    
    .solucoes-hero-title {
        font-size: 2.1rem;
    }

    .solucoes-hero-lead {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .btn-tab-solucao {
        font-size: 0.78rem !important;
        padding: 10px 18px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 575.98px) {
    .solucoes-hero-title {
        font-size: 1.75rem;
        letter-spacing: -1px;
    }

    /* Permite transbordo lateral com espaçamento para o polegar */
    .solucoes-tab-nav-wrapper {
        margin-left: -12px;
        margin-right: -12px;
        width: calc(100% + 24px);
    }

    .solucoes-nav-scroll-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .btn-tab-solucao {
        font-size: 0.75rem !important;
        padding: 10px 16px !important;
    }
}