/* Modal de Agendamento - Odonto Peres */
.modal-agendamento {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content-agendamento {
    background-color: #ffffff;
    padding: 40px;
    padding-top: 80px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    overflow: hidden;
}

.modal-content-agendamento::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 60px;
    background-image: url('../images/Odonto.Peres.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.modal-content-agendamento > * {
    position: relative;
    z-index: 1;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-close-contato {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close-contato:hover {
    color: #333;
}

.modal-title {
    color: #333;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3;
}

.modal-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.modal-buttons {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.btn-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-modal i {
    font-size: 28px;
}

.btn-contato {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.btn-contato:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* Responsivo */
@media (max-width: 768px) {
    .modal-content-agendamento {
        padding: 30px 20px;
        padding-top: 70px;
        width: 95%;
    }
    
    .modal-content-agendamento::before {
        top: 15px;
        width: 140px;
        height: 50px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .btn-modal {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .btn-modal i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .modal-content-agendamento {
        padding-top: 60px;
    }
    
    .modal-content-agendamento::before {
        top: 10px;
        width: 120px;
        height: 40px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .btn-modal {
        font-size: 15px;
        gap: 10px;
    }
}
