﻿/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ========================================================================== */
:root {
    --win-blue: #007FFF;
    --text-main: #2c3e50;
    --jn-gold: #feb900;
}

.section-padding { padding: 80px 0; }
.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #0a0a0a !important; }

/* ==========================================================================
   2. SECTION: VISÃO GERAL (SOFTWARE-CORE)
   ========================================================================== */
.software-unified {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* 2-1. TITULOS E TEXTOS */
.jn-h1-style {
    color: #333;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.blue-highlight, .blue-text { color: var(--win-blue); }

.jn-description-style {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 2-2. IMAGEM E BADGE */
.about-img-container { position: relative; padding: 20px; }

.img-decorator-box {
    position: absolute; top: 0; left: 0; width: 80%; height: 80%;
    border: 10px solid var(--win-blue); border-radius: 15px;
    z-index: 0; opacity: 0.1;
}

.main-software-img {
    border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative; z-index: 1;
}

.experience-badge-3d {
    position: absolute; bottom: 40px; right: 0;
    background: var(--win-blue); color: white;
    padding: 20px; border-radius: 10px; z-index: 2;
    box-shadow: 0 10px 20px rgba(0,127,255,0.3);
}

.badge-v1 { font-size: 24px; font-weight: bold; display: block; line-height: 1; }
.badge-v2 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }

/* 2-3. CARDS DE DESTAQUE CORE */
.jn-card {
    display: flex; gap: 15px; padding: 10px; transition: 0.3s;
}

.jn-card i { font-size: 24px; color: var(--win-blue); }
.jn-card h5 { font-weight: bold; margin: 0; color: #333; }
.jn-card p { font-size: 13px; color: #777; margin: 0; }

/* 2-4. COMPONENTES: BOTÃO 3D (PADRÃO JNSOFT) */
.btn-jn-3d {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 18px 40px; border-radius: 8px; position: relative;
    text-decoration: none; transition: all 0.1s ease;
    font-weight: 800; text-transform: uppercase; font-size: 13px;
    letter-spacing: 1px; color: #ffffff !important;
    background: var(--win-blue);
    box-shadow: 0 6px 0 #0059b3, 0 8px 15px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.3);
}

.btn-jn-3d i { font-size: 1.3rem; color: #fff); }
.btn-jn-3d:hover { background: #0066cc; box-shadow: 0 6px 0 #004d99, 0 5px 10px rgba(0,0,0,0.15); transform: translateY(-1px); }
.btn-jn-3d:active { transform: translateY(4px); box-shadow: 0 2px 0 #004d99, 0 2px 5px rgba(0,0,0,0.2); background: #1a1a1a; border-top: none; }

/* 2-5. RESPONSIVIDADE CORE */
@media (max-width: 991px) {
    .jn-h1-style { font-size: 1.8rem; }
    .content-box-jn { text-align: center; }
    .jn-card { text-align: left; }
}

/* ==========================================================================
   3. SECTION: ECOSSISTEMA MULTIPLATAFORMA (SOFTWARE-PLATFORMS)
   ========================================================================== */
.platform-card {
    background: #ffffff; padding: 40px 30px;
    border-radius: 12px; border: 1px solid #eaeaea;
    text-align: center; height: 100%; transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--win-blue);
    box-shadow: 0 15px 30px rgba(0,127,255,0.1);
}

/* 3-1. ÍCONES DA PLATAFORMA */
.platform-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: #f0f7ff; color: var(--win-blue);
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    font-size: 35px; transition: 0.3s;
}

.platform-card:hover .platform-icon {
    background: var(--win-blue); color: #fff;
}

.platform-card h4 { font-weight: 800; color: #333; margin-bottom: 15px; }
.platform-card p { font-size: 0.95rem; color: #666; line-height: 1.6; margin: 0; }

/* ==========================================================================
   4. SECTION: STACK DE TECNOLOGIA (SOFTWARE-STACK)
   ========================================================================== */
#software-stack {
    overflow: hidden;
}

/* 4-1. CONTAINER DO SLIDER */
.stack-slider-container {
    width: 100%;
    padding: 40px 0;
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stack-slider-container::before,
.stack-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.stack-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.stack-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0) 100%);
}

/* 4-2. PISTA DE ANIMAÇÃO */
.stack-track {
    display: flex;
    /* 14 itens únicos * 2 = 28 itens. Largura de cada item = 250px. (14 * 250 = 3500px) */
    width: calc(250px * 28); 
    animation: scrollStack 50s linear infinite;
}

.stack-track:hover {
    animation-play-state: paused;
}

/* 4-3. ITENS DO SLIDER */
.stack-item {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stack-item i {
    font-size: 3.5rem;
    color: #88929e;
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.stack-item p {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #444;
    margin: 0;
    letter-spacing: 1px;
}

.stack-item:hover i {
    color: var(--win-blue);
    transform: scale(1.15);
}

/* 4-4. KEYFRAMES GPU */
@keyframes scrollStack {
    0% { transform: translateX(0); }
    /* Desloca para a esquerda exatamente a largura dos 14 itens (3500px) */
    100% { transform: translateX(-3500px); } 
}

/* 4-5. RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .stack-slider-container::before,
    .stack-slider-container::after {
        width: 60px;
    }
    
    .stack-item { width: 180px; }
    .stack-track { width: calc(180px * 28); }
    
    @keyframes scrollStack {
        0% { transform: translateX(0); }
        /* 14 itens * 180px = 2520px */
        100% { transform: translateX(-2520px); }
    }
}

/* ==========================================================================
   5. SECTION: TRANSFORMAÇÃO (BLACK SECTION / INTOCÁVEL)
   ========================================================================== */
#software-transformation {
    background-color: #0a0a0a;
}

#software-transformation .jn-h1-style {
    color: #ffffff;
}

/* 5-1. GRID DE IMPACTO */
.software-impact-box {
    background: #151515; border: 1px solid #222;
    padding: 40px 30px; height: 100%;
    transition: all 0.3s ease-in-out;
    position: relative; overflow: hidden;
    border-radius: 8px;
}

.software-impact-box:hover {
    border-color: var(--win-blue); background: #1a1a1a;
    transform: translateY(-5px);
}

.impact-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 25px;
}

.impact-index {
    font-size: 1.2rem; font-weight: 900;
    color: #444; font-family: 'Consolas', monospace;
}

.impact-header i { font-size: 2.5rem; color: var(--win-blue); }

.software-impact-box h4 {
    color: #ffffff; font-weight: 800; font-size: 1.2rem;
    margin-bottom: 15px; text-transform: uppercase;
}

.software-impact-box p {
    color: #aaa; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0;
}

.software-impact-box::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px; background: var(--win-blue);
    transition: width 0.4s ease;
}

.software-impact-box:hover::after { width: 100%; }

/* 5-2. RESPONSIVIDADE TRANSFORMAÇÃO */
@media (max-width: 991px) {
    .software-impact-box { padding: 30px 20px; text-align: center; }
    .impact-header { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   6. SECTION: CENTRAL DE RECURSOS (DOWNLOADS)
   ========================================================================== */
.download-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 20px;
}

.download-item {
    display: flex; align-items: center; padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.download-item:last-child { border-bottom: none; }
.download-item:hover { background: rgba(0, 127, 255, 0.08); border-radius: 8px; }
.download-item i { font-size: 1.5rem; color: var(--win-blue); }
.download-item h6 { color: #fff; margin: 0 0 5px 0; font-weight: bold; }

.btn-download {
    color: #fff; font-size: 1.2rem; padding: 8px 15px;
    border-radius: 5px; background: #222; border: 1px solid #333;
    transition: 0.2s;
}

.btn-download:hover { background: var(--win-blue); border-color: var(--win-blue); color: #fff; }













/* ==========================================================================
   5. SECTION: DANIEXPRESS (SOFTWARE-DANIEXPRESS)
   ========================================================================== */

/* 5-1. HEADER CENTRADO */
.text-accent-software {
    color: var(--win-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* 5-2. CONTAINER DA IMAGEM (ESTILO ERP DESKTOP) */
.dani-mockup-container {
    position: relative;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.main-erp-img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* 5-3. GRID DE FUNCIONALIDADES (LISTA DE AUTORIDADE) */
.dani-features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dani-feature-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.dani-feature-item:last-child {
    border-bottom: none;
}

.dani-feature-item i {
    font-size: 2rem;
    color: var(--win-blue);
    line-height: 1;
}

.dani-feature-item h5 {
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.dani-feature-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.dani-feature-item:hover i {
    transform: scale(1.1);
    color: var(--text-main);
}

/* 5-4. RESPONSIVIDADE */
@media (max-width: 991px) {
    .dani-mockup-container { margin-top: 40px; }
    .jn-h1-style { font-size: 2.2rem !important; }
}




/* ==========================================================================
   6. SECTION: METODOLOGIA DE TRANSIÇÃO (SOFTWARE-TRANSITION)
   ========================================================================== */
.step-card-jn {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    height: 100%;
    position: relative;
    transition: 0.3s;
}

.step-card-jn:hover {
    border-color: var(--win-blue);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* 6-1. COMPONENTES: NÚMERO DO PASSO */
.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: #f0f0f0;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    z-index: 0;
    transition: 0.3s;
}

.step-card-jn:hover .step-number {
    color: rgba(0, 127, 255, 0.1);
}

.step-card-jn h5 {
    font-weight: 800;
    color: var(--text-main);
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.step-card-jn p {
    font-size: 0.95rem;
    color: #777;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* 6-2. RESPONSIVIDADE TRANSIÇÃO */
@media (max-width: 768px) {
    .step-card-jn { padding: 30px 20px; text-align: center; }
    .step-number { font-size: 2.5rem; }
}