.whatsapp-float {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 1000;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #168b62;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .22);
    color: #fff;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
    filter: brightness(0) invert(1);
}

.whatsapp-float i {
    font-size: 34px;
    line-height: 1;
}

.whatsapp-float:hover {
    background: #11794f;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    color: #fff;
    transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #168b62;
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
        width: 60px;
        height: 60px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }

    .whatsapp-float i {
        font-size: 30px;
    }
}
