.gwt-whatsapp-float-wrap {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.gwt-whatsapp-float-wrap > * {
    pointer-events: auto;
}

.gwt-whatsapp-float {
    position: relative;
    right: auto;
    bottom: auto;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .35);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.gwt-whatsapp-float:hover,
.gwt-whatsapp-float:focus-visible {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
    background: #20bd5a;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.gwt-whatsapp-prompt {
    display: none;
    max-width: min(280px, calc(100vw - 32px));
    padding: 14px 16px;
    border-radius: 14px;
    background: #0f172a;
    color: #e2e8f0;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .35);
    border: 1px solid rgba(148, 163, 184, .25);
    font-size: 0.92rem;
    line-height: 1.45;
    animation: gwt-wa-prompt-in .35s ease;
}

.gwt-whatsapp-prompt.is-visible {
    display: block;
}

@keyframes gwt-wa-prompt-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gwt-whatsapp-prompt p {
    margin: 0 0 10px;
}

.gwt-whatsapp-prompt__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gwt-whatsapp-prompt__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.gwt-whatsapp-prompt__btn:hover,
.gwt-whatsapp-prompt__btn:focus-visible {
    background: #20bd5a;
    color: #fff;
}

.gwt-whatsapp-prompt__dismiss {
    background: transparent;
    border: 0;
    color: #94a3b8;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.25rem 0.35rem;
}

.gwt-whatsapp-prompt__dismiss:hover,
.gwt-whatsapp-prompt__dismiss:focus-visible {
    color: #e2e8f0;
}

.btn-gwt-wa,
.btn-wa-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #25D366;
    color: #fff;
    border: 1px solid #25D366;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-gwt-wa:hover,
.btn-gwt-wa:focus-visible,
.btn-wa-plan:hover,
.btn-wa-plan:focus-visible {
    background: #20bd5a;
    border-color: #20bd5a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}

.btn-wa-plan {
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
}

.btn-gwt-wa {
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-size: 1rem;
}

.gwt-demo-btn--wa {
    background: #25D366;
    color: #fff;
    border: 1px solid #25D366;
}

.gwt-demo-btn--wa:hover,
.gwt-demo-btn--wa:focus-visible {
    color: #fff;
    background: #20bd5a;
    border-color: #20bd5a;
}

.gwt-contact-wa-block {
    width: 100%;
    background: linear-gradient(145deg, rgba(37, 211, 102, 0.14), rgba(15, 23, 42, 0.55));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 211, 102, 0.28);
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gwt-contact-wa-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.45);
}

.gwt-contact-wa-block h2 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    color: #f8fafc;
}

.gwt-contact-wa-block p {
    margin-bottom: 1.25rem;
    opacity: 0.92;
    color: #cbd5e1;
    max-width: none;
}

.gwt-contact-wa-block .btn-gwt-wa {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.25);
}

.gwt-contact-wa-block .btn-gwt-wa:hover,
.gwt-contact-wa-block .btn-gwt-wa:focus-visible {
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.35);
}

@media (max-width: 767px) {
    .gwt-whatsapp-float-wrap {
        right: 16px;
        bottom: 16px;
    }

    .gwt-whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .gwt-whatsapp-prompt {
        max-width: min(260px, calc(100vw - 24px));
        font-size: 0.88rem;
    }
}

@media (max-width: 767px) {
    body:has(.form-glass button[type="submit"]:focus) .gwt-whatsapp-float-wrap,
    body:has(.lead-modal.show) .gwt-whatsapp-float-wrap {
        bottom: 88px;
    }
}
