        /* Estilos para o modal */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }

        .modal-overlay.show {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 15px;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease-out;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.7) translateY(-50px);
            }

            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-header {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
            color: white;
            padding: 20px 30px;
            border-radius: 15px 15px 0 0;
            position: relative;
            text-align: center;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 0;
        }

        .btn-close {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease;
        }

        .btn-close:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .modal-body {
            padding: 30px;
            text-align: center;
        }

        .modal-images {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .modal-images img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .modal-images img:hover {
            transform: scale(1.05);
        }

        .modal-section {
            margin-bottom: 25px;
        }

        .modal-section h5 {
            color: #1e3a8a;
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .modal-section ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .modal-section li {
            padding: 5px 0;
            color: #555;
        }

        .modal-divider {
            border: none;
            height: 1px;
            background: linear-gradient(90deg, transparent, #ddd, transparent);
            margin: 25px 0;
        }

        .modal-footer {
            padding: 20px 30px;
            border-top: 1px solid #eee;
            text-align: center;
            border-radius: 0 0 15px 15px;
        }

        .modal-footer .copyright {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 15px;
        }

        .btn-modal-close {
            background: #6b7280;
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            transition: background-color 0.3s ease;
        }

        .btn-modal-close:hover {
            background: #4b5563;
        }

        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 20px;
            }

            .modal-images {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .modal-body {
                padding: 20px;
            }

            .modal-header {
                padding: 15px 20px;
            }

            .modal-title {
                font-size: 1.3rem;
            }
        }

        .form-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 16px;
        }

        .btn-salvar,
        .btn-cancelar {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease, box-shadow 0.2s ease;
        }

        .btn-salvar {
            background-color: #372589;
            color: white;
        }

        .btn-salvar:hover {
            background-color: #2c1e6d;
            box-shadow: 0 2px 8px rgba(55, 37, 137, 0.4);
        }

        .btn-cancelar {
            background-color: #f5f5f5;
            color: #c0392b;
            border: 1px solid #c0392b;
        }

        .btn-cancelar:hover {
            background-color: #ffeaea;
            box-shadow: 0 2px 8px rgba(192, 57, 43, 0.3);
        }

        .modal-images {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
            /* espaçamento maior entre imagens */
            margin-bottom: 20px;
        }

        .modal-images img {
            width: 20%;
            /* mais espaço entre imagens */
            box-sizing: border-box;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }