/* Modal de Orçamento */
.modal-orcamento-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-orcamento-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-orcamento-container {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-orcamento-overlay.active .modal-orcamento-container {
    transform: scale(1) translateY(0);
}

.modal-orcamento-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-orcamento-close:hover {
    background: #e5e7eb;
    color: #333;
}

.modal-orcamento-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.modal-orcamento-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.modal-orcamento-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.modal-orcamento-form {
    padding: 25px 30px 30px;
}

.modal-orcamento-form-group {
    margin-bottom: 18px;
}

.modal-orcamento-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.modal-orcamento-input,
.modal-orcamento-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.modal-orcamento-input:focus,
.modal-orcamento-textarea:focus {
    outline: none;
    border-color: #d0a23c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(208, 162, 60, 0.1);
}

.modal-orcamento-textarea {
    min-height: 80px;
    resize: vertical;
}

.modal-orcamento-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #d0a23c 0%, #b8922f 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.modal-orcamento-submit-btn:hover {
    background: linear-gradient(135deg, #b8922f 0%, #a07f25 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(208, 162, 60, 0.3);
}

.modal-orcamento-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.modal-orcamento-submit-btn.loading .btn-text {
    display: none;
}

.modal-orcamento-submit-btn.loading .btn-loading {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

/* Botão de Solicitar Orçamento */
.btn-solicitar-orcamento {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #d0a23c 0%, #b8922f 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(208, 162, 60, 0.3);
}

.btn-solicitar-orcamento:hover {
    background: linear-gradient(135deg, #b8922f 0%, #a07f25 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(208, 162, 60, 0.4);
    color: #fff;
}

.btn-solicitar-orcamento i {
    font-size: 18px;
}

/* Container do botão */
.orcamento-cta-section {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    margin-bottom: 0;
}

/* Form message */
.modal-orcamento-form .form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.modal-orcamento-form .form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.modal-orcamento-form .form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Animação de spin */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsivo */
@media (max-width: 768px) {
    .modal-orcamento-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-orcamento-header {
        padding: 25px 20px 15px;
    }
    
    .modal-orcamento-title {
        font-size: 20px;
    }
    
    .modal-orcamento-form {
        padding: 20px;
    }
    
    .btn-solicitar-orcamento {
        padding: 14px 28px;
        font-size: 15px;
    }
}
