﻿/* ==========================================================================
   1. PADRÕES GLOBAIS E BOTÕES JNSOFT
   ========================================================================== */

.btn-jn-premium {
    background: #007FFF !important;
    color: #ffffff !important;
    padding: 15px 45px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 127, 255, 0.2);
    border: none !important;
    cursor: pointer;
}

.btn-jn-premium:hover, 
.btn-arch-premium:hover {
    background: #005bbd !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 127, 255, 0.4);
    color: #ffffff !important;
}

.jn-card {
    padding: 10px;
    transition: 0.3s;
}

.jn-card:hover {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* Overlay de carregamento */
.update-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   2. SECTION PRINCIPAIS SERVIÇOS (PRIME)
   ========================================================================== */

#eletrica-prime {
    padding: 80px 0;
    background-color: #fdfdfd;
}

#eletrica-prime .section-title h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 60px;
    text-align: center;
}

.services-card-premium {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.services-card-premium i {
    font-size: 50px;
    color: #007FFF;
    margin-bottom: 20px;
}

.services-card-premium h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.services-card-premium p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Botão Estilo 3D */
.btn-service-3d {
    background: #007FFF;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
    border: none;
    box-shadow: 0 4px 0 #005bbd;
    position: relative;
    top: 0;
    margin-top: auto;
    cursor: pointer;
}

.btn-service-3d:hover {
    background: #ff7b00 !important; /* Laranja de destaque */
    box-shadow: 0 4px 0 #c76000 !important;
    top: -2px;
}

.btn-service-3d:active {
    top: 3px;
    box-shadow: 0 1px 0 #c76000 !important;
}

/* ==========================================================================
   3. SECTION DIAGNÓSTICO E ECONOMIA
   ========================================================================== */

.diagnostico-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    border-left: 8px solid #007FFF;
}

.diagnostico-upload-box {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.diagnostico-upload-box:hover {
    transform: translateY(-5px);
    border-color: #007FFF;
    background-color: #ffffff !important;
}

.vantagem-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.vantagem-item i {
    background: #007FFF;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 20px;
}

/* Fatura/Cupom de Simulação */
.fatura-simulada {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border: 2px solid #007FFF;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fatura-simulada::after {
    content: 'JNSOFT';
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 127, 255, 0.05);
    transform: rotate(-15deg);
    pointer-events: none;
}

.valor-antigo {
    text-decoration: line-through;
    color: #dc3545;
    font-weight: 600;
}

.valor-novo {
    color: #28a745;
    font-size: 2.5rem;
    font-weight: 800;
}

/* Badges e Animações */
.taxa-baixa-badge {
    background: #25D366;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.msg-engenheiro {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
    font-style: italic;
    font-size: 0.9rem;
}

/* ==========================================================================
   4. SECTION SIMULADOR E SERVIÇOS GERAIS
   ========================================================================== */

#eletrica-simulador, #eletrica-servicos {
    padding: 80px 0;
}

#eletrica-servicos { background-color: #f8f9fa; }

#eletrica-simulador .section-title {
    text-align: center;
    width: 100%;
}

#eletrica-simulador .section-title h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 60px;
    display: inline-block; 
}

#eletrica-simulador .section-title h1 span {
    color: #007FFF !important;
}

/* Itens de Serviço Premium */
.service-item-premium {
    background: #fff;
    border-bottom: 3px solid #007FFF;
    border-radius: 8px;
    transition: 0.3s;
    padding: 25px;
}

.service-item-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,127,255,0.15) !important;
}

.service-item-premium .icon {
    font-size: 40px;
    color: #007FFF;
    margin-bottom: 15px;
}

.cta-prices {
    background: #eef7ff;
    border-radius: 15px;
    border: 2px dashed #007FFF;
}

/* ==========================================================================
   5. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 991px) {
    .content-box { padding-left: 0; text-align: center; }
    .jn-card { justify-content: center; text-align: left; }
    .btn-jn-premium { width: 100%; justify-content: center; }
    #eletrica-prime .section-title h1, 
    #eletrica-simulador .section-title h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    #eletrica-simulador .section-title h1 { font-size: 2rem; }
    .valor-novo { font-size: 2rem; }
}


/* ==========================================================================
   6. SECTION GALERIA DE PROJETOS
   ========================================================================== */

#eletrica-galeria {
    padding: 80px 0;
    background-color: #ffffff;
}

#eletrica-galeria .section-title h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

#eletrica-galeria .section-title h1 span {
    color: #007FFF !important;
}

.projeto-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 250px; /* Altura padronizada para as fotos */
}

.projeto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta a foto sem distorcer */
    transition: transform 0.5s ease;
}

.projeto-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 127, 255, 0.8); /* Azul JNSOFT com transparência */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projeto-overlay span {
    color: #fff;
    font-weight: bold;
    border: 2px solid #fff;
    padding: 8px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.projeto-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 127, 255, 0.3);
}

.projeto-item:hover img {
    transform: scale(1.1);
}

.projeto-item:hover .projeto-overlay {
    opacity: 1;
}

/* Ajuste Responsivo para a Galeria */
@media (max-width: 768px) {
    #eletrica-galeria .section-title h1 {
        font-size: 2rem;
    }
    .projeto-item {
        height: 200px;
    }
}

