.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 95;
    display: grid;
    justify-items: end;
    gap: 16px;
    pointer-events: none;
}

.back-to-top,
.whatsapp-float {
    pointer-events: auto;
}

.back-to-top {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(7,21,47,0.42);
    background: rgba(255,255,255,0.76);
    box-shadow: 0 18px 42px rgba(8,36,88,0.12);
    backdrop-filter: blur(14px);
    font-size: 1.35rem;
    font-weight: 900;
    transition: color 180ms ease, transform 180ms ease;
}

.back-to-top:hover {
    color: var(--color-blue);
    transform: translateY(-2px);
}

.whatsapp-float {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-float span {
    position: relative;
    max-width: 220px;
    padding: 14px 18px;
    border-radius: 16px;
    color: var(--color-text);
    background: #fff;
    box-shadow: 0 18px 50px rgba(8,36,88,0.18);
    font-size: 0.95rem;
    font-weight: 740;
}

.whatsapp-float span::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: translateY(-50%) rotate(45deg);
}

.whatsapp-float svg {
    width: 58px;
    height: 58px;
    padding: 13px;
    border-radius: 50%;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: #20d56b;
    box-shadow: 0 0 0 10px rgba(32,213,107,0.12), 0 18px 50px rgba(32,213,107,0.42);
    animation: whatsapp-pulse 2.6s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@media (max-width: 620px) {
    .floating-actions {
        right: 14px;
        bottom: 92px;
    }

    .whatsapp-float span {
        display: none;
    }
}
