﻿/* ==========================================================================
   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; }
.blue-highlight, .blue-text { color: var(--win-blue) !important; }

/* ==========================================================================
   2. SECTION: VISÃO GERAL (SOFTWARE-CORE)
   ========================================================================== */
.software-unified { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }

.jn-h1-style {
    color: #333; font-weight: 800; font-size: 2.2rem;
    margin-bottom: 25px; line-height: 1.2;
}
.jn-description-style {
    font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 30px;
}

.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; }

.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; }

@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
   ========================================================================== */
.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);
}
.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 { overflow: hidden; }
.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%); }

.stack-track {
    display: flex; width: calc(250px * 28); animation: scrollStack 50s linear infinite;
}
.stack-track:hover { animation-play-state: paused; }
.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: 0.3s; }
.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); }

@keyframes scrollStack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-3500px); } 
}
@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); } 100% { transform: translateX(-2520px); } }
}

/* ==========================================================================
   5. SECTION: TRANSFORMAÇÃO
   ========================================================================== */
#software-transformation { background-color: #0a0a0a; }
#software-transformation .jn-h1-style { color: #ffffff; }

.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%; }

@media (max-width: 991px) {
    .software-impact-box { padding: 30px 20px; text-align: center; }
    .impact-header { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   6. 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; }

/* ==========================================================================
   7. DANIEXPRESS
   ========================================================================== */
.text-accent-software { color: var(--win-blue); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.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; }
.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); }

@media (max-width: 991px) { .dani-mockup-container { margin-top: 40px; } }

/* ==========================================================================
   8. METODOLOGIA DE TRANSIÇÃO
   ========================================================================== */
.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); }
.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; }

@media (max-width: 768px) { .step-card-jn { padding: 30px 20px; text-align: center; } .step-number { font-size: 2.5rem; } }

/* ==========================================================================
   9. HERO SECTION (BANNER PRINCIPAL)
   ========================================================================== */
.hero { padding: 0 !important; margin: 0 !important; overflow-x: hidden; }
.hero .carousel { width: 100%; min-height: 100vh; padding: 80px 0; margin: 0; position: relative; }
.hero .carousel-item { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; z-index: 1; transition-duration: 0.4s; }
.hero .carousel-item::before { content: ""; background-color: rgba(0, 0, 0, 0.7); position: absolute; inset: 0; }
.hero .info { position: absolute; inset: 0; z-index: 2; }
@media (max-width: 768px) { .hero .info { padding: 0 50px; } }
.hero .info h2 { color: #fff; margin-bottom: 30px; padding-bottom: 30px; font-size: 56px; font-weight: 700; position: relative; }
.hero .info h2:after { content: ""; position: absolute; display: block; width: 80px; height: 4px; background: var(--win-blue); left: 0; right: 0; bottom: 0; margin: auto; }
@media (max-width: 768px) { .hero .info h2 { font-size: 36px; } }
.hero .info p { color: rgba(255, 255, 255, 0.8); font-size: 18px; }

.hero .carousel-control-prev, .hero .carousel-control-next { z-index: 3; transition: 0.3s; }
.hero .carousel-control-next-icon, .hero .carousel-control-prev-icon { background: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.6); border-radius: 50px; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   10. SHOWROOM JNSOFT E JN STORE (REDUZIDO PARA CABER AQUI)
   ========================================================================== */
#jn-showroom { padding: 80px 0; background-color: #ffffff; }
.content-box { padding: 40px; border: 1px solid #f2f2f2; border-top: 4px solid #eee; background: #fff; height: 100%; display: flex; flex-direction: column; position: relative; transition: 0.5s; overflow: hidden; }
.content-box:hover { border-top-color: #007FFF; border-right-color: rgba(0, 127, 255, 0.3); box-shadow: 0 0 25px rgba(0, 127, 255, 0.15), inset 0 0 10px rgba(0, 127, 255, 0.05); }
.badge-jn { display: inline-block; padding: 5px 15px; background: #111; color: #007FFF; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; border: 1px solid #333; }
.jn-list { list-style: none; padding: 0; margin: 25px 0; }
.jn-list li { margin-bottom: 18px; font-size: 0.95rem; color: #444; display: flex; align-items: flex-start; line-height: 1.5; }
.jn-list i { color: #007FFF; margin-right: 15px; min-width: 20px; font-size: 1.2rem; padding-top: 2px; }

.eng-item { text-align: center; padding: 40px 25px; background: #ffffff; border: 1px solid #eee; height: 100%; transition: 0.4s ease; display: flex; flex-direction: column; }
.eng-item:hover { border-color: #007FFF; box-shadow: 0 0 15px rgba(0, 127, 255, 0.1); }
.eng-item i { font-size: 2.2rem; color: #007FFF; margin-bottom: 20px; transition: 0.3s; }
.eng-item:hover i { text-shadow: 0 0 10px rgba(0, 127, 255, 0.5); }

#jn-store-intro { padding: 80px 0; background-color: #ffffff; }
.store-slide-content { height: 300px; background-size: cover; background-position: center; display: flex; align-items: flex-end; border-radius: 15px; }
.slide-overlay { width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); padding: 30px; border-radius: 0 0 15px 15px; }

#jn-app-grid { padding-bottom: 80px; }
.play-card { background: #fff; border-radius: 15px; padding: 20px; border: 1px solid #f0f0f0; transition: 0.2s; height: 100%; display: flex; flex-direction: column; }
.play-card:hover { background: #f8f9fa; border-color: #ddd; }
.play-body { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.play-icon { width: 68px; height: 68px; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); object-fit: cover; }
.play-content h5 { font-size: 1.1rem; font-weight: 700; margin: 0; color: #202124; }
.play-vendor { font-weight: 600; color: #007FFF; }
.play-desc { font-size: 0.88rem; color: #5f6368; line-height: 1.4; margin-top: 8px; }
.play-footer { margin-top: auto; display: flex; gap: 10px; }

/* ==========================================================================
   11. ENGINEERING HUB E ACADEMY
   ========================================================================== */
#engineering-hub { overflow: hidden; }
.eng-card { background: #ffffff; padding: 40px 30px; border-radius: 20px; border: 1px solid #e0efff; transition: 0.3s; text-align: center; height: 100%; }
.eng-card:hover { border-color: #007FFF; box-shadow: 0 15px 35px rgba(0, 127, 255, 0.1); }
.eng-icon-box { width: 75px; height: 75px; background: #f0f8ff; color: #007FFF; border-radius: 18px; margin: 0 auto 25px auto; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; transition: 0.6s; perspective: 1000px; }
.eng-card:hover .eng-icon-box { background: #007FFF; color: #ffffff; transform: rotateY(360deg); }
.eng-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; color: #1a1a1a; }

.cta-eng-banner { background: linear-gradient(45deg, #003366, #00509d); border: 1px solid rgba(255, 255, 255, 0.1); }
@media (max-width: 991px) { .cta-eng-banner { flex-direction: column; text-align: center; } .cta-eng-banner .text-white { margin-bottom: 1.5rem; } }

#jn-academy { padding: 90px 0; background-color: #ffffff; }
.ead-card-v4 { background: #fff; border: 1px solid #eef0f2; border-radius: 10px; height: 100%; display: flex; flex-direction: column; transition: 0.3s; position: relative; overflow: hidden; }
.ead-card-v4:hover { border-color: #007FFF; box-shadow: 0 10px 25px rgba(0, 127, 255, 0.08); }
.ead-img { height: 160px; overflow: hidden; position: relative; }
.ead-img img { width: 100%; height: 100%; object-fit: cover; }
.badge-float-free { position: absolute; top: 10px; left: 10px; background: #16a34a; color: #fff; font-size: 0.65rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; z-index: 2; }
.cert-check { position: absolute; bottom: 10px; right: 10px; background: rgba(255,255,255,0.9); color: #007FFF; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }
.ead-body-v4 { padding: 20px; flex-grow: 1; }
.ead-body-v4 h5 { font-size: 1.1rem; font-weight: 700; color: #111; margin-bottom: 10px; }
.ead-specs-bar { background: #f8f9fa; padding: 10px 20px; display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; color: #555; border-top: 1px solid #f0f0f0; }
.ead-footer-v4 { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f0f0; background: #fff; }
.price-val { color: #111; font-weight: 800; font-size: 1.1rem; }
.price-free-anim { color: #16a34a; font-weight: 800; animation: pulse-g 2s infinite; }
@keyframes pulse-g { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ==========================================================================
   12. ENGINEERING SOFTWARE E CARACTERÍSTICAS
   ========================================================================== */
.engineering-software { background-color: #ffffff; padding: 100px 0; }
.img-frame { position: relative; border: 1px solid #f0f0f0; border-radius: 15px; overflow: hidden; transition: 0.5s; }
.img-frame:hover { box-shadow: 0 20px 40px rgba(0, 127, 255, 0.1); border-color: rgba(0, 127, 255, 0.3); }
.service-item-tech { padding: 25px; border-radius: 12px; background: #fff; border: 1px solid #f2f2f2; transition: 0.3s; display: flex; align-items: center; margin-bottom: 20px; perspective: 1000px; }
.service-item-tech:hover { background: #fafafa; border-color: #007FFF; transform: translateX(10px); box-shadow: -5px 5px 20px rgba(0, 127, 255, 0.05); }
.tech-icon { min-width: 60px; height: 60px; background: rgba(0, 127, 255, 0.05); border: 1px solid rgba(0, 127, 255, 0.1); display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.8rem; color: #007FFF; transition: 0.6s; transform-style: preserve-3d; }
.service-item-tech:hover .tech-icon { background: #007FFF; color: #fff; transform: rotateY(180deg); }
.service-item-tech h4 { font-size: 1.2rem; font-weight: 700; color: #111; margin: 0; }

#engenharia-caracteristicas { background-color: #ffffff; padding: 80px 0; }
#engenharia-caracteristicas .jn-pre-title { display: inline-block; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; color: #007FFF; letter-spacing: 2px; margin-bottom: 15px; background: rgba(0, 127, 255, 0.08); padding: 6px 18px; border-radius: 50px; }
#engenharia-caracteristicas .jn-main-title { font-size: 2.5rem; font-weight: 800; color: #1a1a1a; margin-bottom: 20px; }
#engenharia-caracteristicas .jn-section-desc { font-size: 1.1rem; color: #555; line-height: 1.7; }
.vertical-tabs-wrapper { border-bottom: 1px solid #e5e5e5; margin-bottom: 50px; }
.nav-tabs.jn-tabs-gold { border: none; display: flex; justify-content: center; gap: 40px; }
.jn-tab-link { display: flex; flex-direction: column; align-items: center; padding: 15px 0; color: #86868b; text-decoration: none !important; border: none !important; background: transparent !important; transition: 0.3s; position: relative; }
.jn-tab-link i { font-size: 1.5rem; margin-bottom: 8px; }
.jn-tab-link.active { color: #1d1d1f !important; }
.jn-tab-link.active i { color: #D4AF37; }
.jn-tab-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #D4AF37; transform: scaleX(0); transition: 0.3s; }
.jn-tab-link.active::after { transform: scaleX(1); }
.jn-tab-content-row { padding-top: 40px; display: flex; animation: fadeIn 0.5s; }
.jn-tech-img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.jn-text-col { padding-left: 40px; }
.jn-tab-title { font-size: 1.8rem; font-weight: 800; color: #111; margin-bottom: 15px; }
.jn-feature-list { list-style: none; padding: 0; }
.jn-feature-list li { display: flex; margin-bottom: 18px; font-size: 0.95rem; color: #444; }
.jn-feature-list li i { color: #007FFF; font-size: 1.3rem; margin-right: 15px; }

@media (max-width: 768px) {
    #engenharia-caracteristicas .jn-main-title { font-size: 1.8rem; }
    .nav-tabs.jn-tabs-gold { justify-content: space-between; gap: 10px; padding: 0 10px; }
    .jn-tab-content-row { flex-direction: column; }
    .jn-text-col { padding-left: 0; margin-top: 20px; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }