/* Container flutuante no canto inferior direito */
#local-scrolltop-btn {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;

    @media (width < 768px) {
        bottom: 15px;
    }
}

/* Quando adicionamos a classe .show via JS, o botão surge na tela */
#local-scrolltop-btn.show {
    opacity: 1;
    visibility: visible;
}

#local-scrolltop-btn:hover {
    transform: scale(1.1); /*Leve efeito de zoom ao passar o mouse*/
}

/* Ícone da seta no centro do botão */
#local-scrolltop-btn .arrow-icon {
    position: absolute;
    font-size: 24px;
    color: #333333;
    user-select: none;
    margin: 0;
}

/* Gira o SVG em -90 graus para a barra começar a encher do topo (12 horas) */
#local-scrolltop-btn .progress-circle {
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
}

#local-scrolltop-btn .bg-circle {
    fill: none;
    stroke: transparent;
    stroke-width: 2;
}

#local-scrolltop-btn .progress-circle-bar {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}