/* ============================================================
   LUST — style-whatsapp-modal.css
   Modal de contato WhatsApp + botão flutuante
   ============================================================ */

/* ── BOTÃO FLUTUANTE ── */
.lust-wpp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9998;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: lust-wpp-pulse 2.5s ease-in-out infinite;
}

.lust-wpp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
    animation: none;
}

.lust-wpp-float svg { flex-shrink: 0; }

@keyframes lust-wpp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
    50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* Tooltip */
.lust-wpp-float::before {
    content: 'Fale conosco';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1C1C1C;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.lust-wpp-float:hover::before { opacity: 1; }

/* ── OVERLAY ── */
.lust-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lust-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── MODAL ── */
.lust-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}

.lust-modal-overlay.open .lust-modal {
    transform: translateY(0) scale(1);
}

/* Header do modal */
.lust-modal__header {
    background: #25D366;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lust-modal__header-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lust-modal__header-text h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}

.lust-modal__header-text p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* Corpo */
.lust-modal__body {
    padding: 24px;
}

.lust-modal__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.55;
}

.lust-modal__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lust-modal__group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lust-modal__group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-dark);
}

.lust-modal__group input,
.lust-modal__group textarea {
    padding: 10px 13px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.2s ease;
    outline: none;
}

.lust-modal__group input:focus,
.lust-modal__group textarea:focus {
    border-color: #25D366;
}

.lust-modal__group textarea {
    min-height: 80px;
    resize: vertical;
}

.lust-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.lust-modal__btn-wpp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lust-modal__btn-wpp:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

.lust-modal__btn-cancel {
    padding: 12px 16px;
    background: var(--color-bg-light);
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lust-modal__btn-cancel:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Fechar (X) */
.lust-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    line-height: 1;
}

.lust-modal__close:hover { background: rgba(255,255,255,0.35); }

.lust-modal__header { position: relative; }

/* ── RESPONSIVO ── */
@media (max-width: 480px) {
    .lust-wpp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .lust-modal { max-width: 100%; border-radius: 16px 16px 0 0; }
    .lust-modal-overlay { align-items: flex-end; padding: 0; }
}
