
/* ========================================
   MODERN SERVICES SECTION - CSS
   ======================================== */

/* Container principal dos cards */
.modern-service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 0;
    height: 420px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 140, 0, 0.1);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.modern-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 140, 0, 0.15);
    border-color: rgba(0, 140, 0, 0.3);
}

/* Wrapper do ícone */
.service-icon-wrapper {
    position: relative;
    text-align: center;
    padding: 30px 0 20px;
    overflow: hidden;
}

/* Ícone principal */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #008C00 0%, #00b300 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 140, 0, 0.3);
}

.service-icon i {
    font-size: 32px;
    color: white;
    transition: all 0.4s ease;
}

/* Animação de fundo do ícone */
.icon-bg-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(0, 140, 0, 0.1) 0%, rgba(0, 179, 0, 0.1) 100%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.modern-service-card:hover .icon-bg-animation {
    width: 120px;
    height: 120px;
}

.modern-service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(0, 140, 0, 0.4);
}

.modern-service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Conteúdo do card */
.service-content {
    padding: 0 25px 25px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.modern-service-card:hover .service-content h3 {
    color: #008C00;
}

.service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    height: 84px;
    overflow: hidden;
}

/* Tags de features */
.service-features {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(0, 140, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-service-card:hover .feature-tag {
    background: linear-gradient(135deg, #008C00 0%, #00b300 100%);
    color: white;
    transform: translateY(-2px);
}

/* Botão moderno */
.service-btn-modern {
    width: 100%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #008C00 0%, #00b300 100%);
    transition: all 0.4s ease;
    z-index: 0;
}

.service-btn-modern:hover::before {
    left: 0;
}

.service-btn-modern span,
.service-btn-modern i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 140, 0, 0.3);
}

.service-btn-modern i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.service-btn-modern:hover i {
    transform: translateX(5px);
}

/* Overlay de hover */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 140, 0, 0.05) 0%, rgba(0, 179, 0, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.modern-service-card:hover .hover-overlay {
    opacity: 1;
}

/* Modal customizado */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #008C00 0%, #00b300 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 20px 30px;
}

.modal-title {
    font-weight: 700;
    font-size: 20px;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #008C00 0%, #00b300 100%);
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
}

/* Animações adicionais */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.modern-service-card:hover .service-icon {
    animation: pulse 2s infinite;
}

/* Cards com cores específicas por tipo de serviço */
.modern-service-card[data-service="sites"] .service-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
}

.modern-service-card[data-service="ads"] .service-icon {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
}

.modern-service-card[data-service="seo"] .service-icon {
    background: linear-gradient(135deg, #fd7e14 0%, #e55a00 100%);
    box-shadow: 0 5px 20px rgba(253, 126, 20, 0.3);
}

.modern-service-card[data-service="landing"] .service-icon {
    background: linear-gradient(135deg, #6f42c1 0%, #4e2a84 100%);
    box-shadow: 0 5px 20px rgba(111, 66, 193, 0.3);
}

.modern-service-card[data-service="manutencao"] .service-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 5px 20px rgba(108, 117, 125, 0.3);
}

.modern-service-card[data-service="blog"] .service-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #0d7c8a 100%);
    box-shadow: 0 5px 20px rgba(23, 162, 184, 0.3);
}

.modern-service-card[data-service="limpeza"] .service-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

.modern-service-card[data-service="banners"] .service-icon {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.3);
}

.modern-service-card[data-service="identidade"] .service-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #7d3c98 100%);
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .modern-service-card {
        height: auto;
        margin-bottom: 30px;
    }
    
    .service-content {
        padding: 0 20px 20px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
    
    .service-content p {
        height: auto;
        margin-bottom: 15px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 28px;
    }
    
    .modern-service-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .service-icon-wrapper {
        padding: 25px 0 15px;
    }
    
    .service-content {
        padding: 0 15px 15px;
    }
    
    .service-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 10px;
        padding: 3px 10px;
    }
}

/* Animação de entrada escalonada */
.modern-service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.modern-service-card:nth-child(1) { animation-delay: 0.1s; }
.modern-service-card:nth-child(2) { animation-delay: 0.2s; }
.modern-service-card:nth-child(3) { animation-delay: 0.3s; }
.modern-service-card:nth-child(4) { animation-delay: 0.4s; }
.modern-service-card:nth-child(5) { animation-delay: 0.5s; }
.modern-service-card:nth-child(6) { animation-delay: 0.6s; }
.modern-service-card:nth-child(7) { animation-delay: 0.7s; }
.modern-service-card:nth-child(8) { animation-delay: 0.8s; }
.modern-service-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




















