﻿/* ==========================================================================
   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: DANIEXPRESS FEATURES 
   ========================================================================== */
   
/* 2-1. Título Principal da Seção */
.dani-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.blue-highlight {
    color: var(--win-blue);
}

.dani-info-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease; 
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.dani-info-card:hover {
    box-shadow: 0 15px 40px rgba(0, 127, 255, 0.12);
    border-color: var(--win-blue);
}

.dani-icon {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* 2-1. TEXTOS DAS FUNÇÕES PRINCIPAIS */

.dani-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #6a7583;
    margin-bottom: 15px;
}

.dani-card-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 2-2. Mobile  */
@media (max-width: 991px) {
    .dani-main-title {
        font-size: 26px;
    }
    .dani-info-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   3. SECTION: ECOSSISTEMA METRO STYLE (WINDOWS 8)
   ========================================================================== */

/* 3-1. TILES (QUADRADOS) */
.metro-tile {
    border: none !important;
    border-radius: 0 !important; /* Totalmente quadrado */
    padding: 30px 10px !important;
    margin: 0 !important;
    color: #ffffff !important;
    transition: transform 0.1s, opacity 0.2s !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.metro-tile i {
    font-size: 2.5rem !important;
    margin-bottom: 10px;
    color: #fff !important;
}

.metro-tile h4 {
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    letter-spacing: 1px;
}

.metro-tile:hover {
    opacity: 1;
    transform: scale(0.98); /* Efeito de clique do Windows */
}

.metro-tile.active {
    opacity: 1 !important;
    outline: 3px solid rgba(255,255,255,0.5);
    outline-offset: -6px;
}

/* 3-2. CORES METRO */
.tile-blue   { background-color: #0078d7 !important; } /* Windows Blue */
.tile-green  { background-color: #107c10 !important; } /* Xbox Green */
.tile-orange { background-color: #d83b01 !important; } /* Office Orange */
.tile-red    { background-color: #e81123 !important; } /* Error Red */
.tile-purple { background-color: #5c2d91 !important; } /* Windows Purple */
.tile-dark   { background-color: #323130 !important; } /* Gray 160 */

/* 3-3. CONTEÚDO METRO */
.metro-content {
    background: #ffffff;
    border: 2px solid #eee;
    padding: 40px;
    border-radius: 0;
}

.dani-card-title {
    font-weight: 800;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* Bordas laterais para combinar com a cor do tile selecionado */
.border-start-blue   { border-left: 5px solid #0078d7; }
.border-start-green  { border-left: 5px solid #107c10; }
.border-start-orange { border-left: 5px solid #d83b01; }
.border-start-red    { border-left: 5px solid #e81123; }
.border-start-purple { border-left: 5px solid #5c2d91; }
.border-start-dark   { border-left: 5px solid #323130; }

/* 3-4. LISTA DE FEATURES */
.jn-feature-list { list-style: none; padding: 0; }
.jn-feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
    font-weight: 500;
}

/* ==========================================================================
   4. SECTION: RECURSOS ADICIONAIS
   ========================================================================== */

/* 4-1. CABEÇALHO DA SEÇÃO (TÍTULOS GRANDES) */
.jn-subtitle {
    color: var(--win-blue);
    letter-spacing: 4px; 
    font-size: 18px;     /* Subtítulo com presença */
    font-weight: 800;    
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.jn-main-title-dark {
    color: #2c3e50;
    font-size: 3rem;    /* Título de impacto */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* 4-2. BOX E LISTA (TEXTO ESQUERDA | BADGE DIREITA) */
.jn-feature-box {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #eee;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.jn-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jn-check-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 14px;
    color: #444;
    display: flex;           /* Flexbox para alinhar */
    justify-content: space-between; /* Empurra o texto pra esquerda e badge pra direita */
    align-items: center;
}

.jn-check-list li:last-child { border-bottom: none; }

/* 4-3. BADGES (PRO / PLUS / SOON) */
.badge-pro, .badge-plus, .badge-soon {
    font-size: 9px;
    padding: 3px 6px;
    font-weight: 800;
    border-radius: 2px;
    margin-left: 10px;
    white-space: nowrap; 
}

.badge-pro { background: #000000; color: #fff; } /* PRO é PRETO */
.badge-plus { background: var(--win-blue); color: #fff; } /* PLUS é AZUL */
.badge-soon { background: #ffc107; color: #000; } /* EM BREVE é AMARELO */

.item-disabled {
    opacity: 0.6;
    font-style: italic;
}

/* 4-4. RESPONSIVIDADE (PARA CELULAR) */
@media (max-width: 768px) {
    .jn-main-title-dark { 
        font-size: 2rem !important; /* Diminui o título no celular */
    }
    
    .jn-subtitle { 
        font-size: 14px !important; /* Diminui o subtítulo no celular */
    }

    .jn-check-list li {
        font-size: 13px; /* Texto um pouco menor para caber tudo na linha */
        padding: 10px 0;
    }
    
    .jn-feature-box {
        padding: 15px; /* Reduz o respiro interno no mobile */
    }
}

/* ==========================================================================
   5. SECTION: FRENTE DE CAIXA / PDV (DANIEPRESS-PDV) - ATUALIZADO
   ========================================================================== */

#daniexpress-pdv {
    position: relative;
    /* Cor de fundo base solicitada */
    background-color: #001A66; 
    /* Imagem de fundo principal */
    background-image: url('../img/software/daniexpress/bg_pdv.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Camada de Textura + Overlay Azul Profundo */
.background-overlay {
    width: 100%;
    height: 100%;
    padding: 60px 0;
    /* Aplicação da textura.png sobre o gradiente do seu azul #001A66 */
    background-image: url('../img/software/daniexpress/textura2.png'), 
                      linear-gradient(90deg, rgba(0, 26, 102, 0.92) 0%, rgba(0, 50, 150, 0.7) 100%);
    background-repeat: repeat, no-repeat;
    background-blend-mode: soft-light; 
}

/* 5-2. TÍTULOS */
.pdv-title {
    color: #fff;
    font-size: clamp(35px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.6);
}

.pdv-subtitle {
    color: #fff;
    font-weight: 400;
    font-size: clamp(18px, 2.5vw, 24px);
    margin: 20px 0 30px 0;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.7);
}

/* 5-3. LISTAGEM  */
.produtos-listagem {
    list-style: none;
    padding: 0; 
    margin: 0;
    background: none; 
    backdrop-filter: none; 
    border-left: none; 
}

.produtos-listagem li {
    color: #fff;
    font-size: 17px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.9); 
    font-weight: 500;
}

.produtos-listagem li i {
    color: var(--jn-gold); 
    font-size: 1.3rem;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
}

/* 5-4. MOCKUP AJUSTE */
.mockup-pdv {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.7));
    transition: transform 0.4s ease;
}

.mockup-pdv:hover {
    transform: scale(1.02);
}

/* BADGE EM BREVE */
.badge-soon {
    background: var(--jn-gold);
    color: #000;
    font-size: 10px;
    padding: 2px 8px;
    font-weight: 900;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* RESPONSIVIDADE */
@media (max-width: 991px) {
    .pdv-title { text-align: center; white-space: normal; }
    .pdv-subtitle { text-align: center; }
    .produtos-listagem { 
        display: inline-block;
        text-align: left;
        width: 100%;
        padding-left: 15px;
    }
    .background-overlay {
        /* No mobile o gradiente fica mais forte para facilitar leitura */
        background: rgba(0, 26, 102, 0.95);
    }
}

/* ==========================================================================
   6. SECTION: GESTÃO MOBILE - DANIMOBILE
   ========================================================================== */

#danimobile-gestao {
    background-color: #EEEEEE !important; /* Cor de fundo solicitada */
    position: relative;
    padding: 0;
    overflow: hidden;
}

.background-overlay-mobile-clean {
    padding: 80px 0;
    /* Chamando o PNG direto. Como ele já tem opacidade, ele vai "fundir" com o #EEEEEE */
    background-image: url('../img/software/daniexpress/textura.png'); 
    background-repeat: repeat;
    background-position: center;
    background-size: auto;
}

/* 6-1. TÍTULOS (ESTILO JNSOFT) */
.jn-subtitle-clean {
    color: #777;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mobile-title-clean {
    color: #1a1a1a;
    font-size: clamp(24px, 4vw, 42px); /* Travado para não quebrar no Desktop */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.blue-highlight-jn {
    color: #0056b3; /* Azul Royal JNSOFT */
}

.mobile-subtitle-clean {
    color: #444;
    font-weight: 400;
    font-size: 19px;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 480px;
}

/* 6-2. LISTAGEM CLEAN */
.produtos-listagem-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

.produtos-listagem-clean li {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.produtos-listagem-clean li i {
    color: #0056b3; /* Ícones em Azul Royal */
    font-size: 1.2rem;
}

.badge-versao-clean {
    color: #999;
    font-size: 12px;
    margin-top: 20px;
    font-style: italic;
}

/* 6-3. MOCKUP */
.mockup-clean {
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.1));
}

/* 6-4. RESPONSIVIDADE */
@media (max-width: 991px) {
    .mobile-title-clean { font-size: 30px; text-align: center; }
    .mobile-subtitle-clean { text-align: center; margin: 0 auto 30px auto; }
    .produtos-listagem-clean { display: inline-block; text-align: left; width: 100%; padding-left: 15px; }
    .mockup-clean { max-width: 380px; margin-top: 30px; }
}