/* Almont WhatsApp Button - Estilos */

/* Botão Flutuante */
.almont-wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999999;
    animation: almont-wa-pulse 2s infinite;
}

.almont-wa-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.almont-wa-fab svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

@keyframes almont-wa-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* Modal */
.almont-wa-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.almont-wa-modal[hidden] {
    display: none !important;
}

.almont-wa-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: almont-wa-fade-in 0.3s ease;
}

@keyframes almont-wa-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.almont-wa-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    padding: 32px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: almont-wa-slide-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes almont-wa-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.almont-wa-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.almont-wa-modal-close:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Header do Modal */
.almont-wa-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.almont-wa-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.almont-wa-modal-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.almont-wa-modal-header h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.almont-wa-modal-header p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* Formulário */
.almont-wa-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.almont-wa-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.almont-wa-field label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.almont-wa-field input {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s;
    outline: none;
    background: #f8fafc;
}

.almont-wa-field input:focus {
    border-color: #25D366;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.almont-wa-field input::placeholder {
    color: #94a3b8;
}

/* Botão Submit */
.almont-wa-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.almont-wa-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.almont-wa-submit:active {
    transform: translateY(0);
}

.almont-wa-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.almont-wa-submit svg {
    flex-shrink: 0;
}

/* Status */
.almont-wa-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
}

.almont-wa-status.success {
    background: #dcfce7;
    color: #166534;
}

.almont-wa-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.almont-wa-status.loading {
    background: #f1f5f9;
    color: #475569;
}

/* Responsivo */
@media (max-width: 480px) {
    .almont-wa-fab {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .almont-wa-fab svg {
        width: 28px;
        height: 28px;
    }

    .almont-wa-modal-content {
        padding: 24px;
        border-radius: 16px;
    }

    .almont-wa-modal-header h3 {
        font-size: 20px;
    }

    .almont-wa-field input {
        padding: 12px 14px;
        font-size: 16px; /* Evita zoom no iOS */
    }
}
