/* ========== MODAL DOS SERVIÇOS ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    margin: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #333;
}

.modal-body {
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.modal-icon-container {
    flex-shrink: 0;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    background: #339BE2;
}

.modal-description {
    flex: 1;
}

.modal-description p {
    margin: 0 0 20px 0;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    padding: 8px 0;
    color: #666;
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.modal-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 16px;
}

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

.modal-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-btn:hover {
    background-color: #0056b3;
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 20px;
        padding-right: 40px;
    }
    
    .modal-body {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .modal-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin: 0 auto;
    }
    
    .modal-footer {
        padding: 15px 20px 20px;
    }
    
    .modal-btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-description p {
        font-size: 15px;
    }
    
    .modal-features li {
        font-size: 14px;
    }
}