/* styles.css */

Html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Para garantir que o scroll suave funcione corretamente com o cabeçalho fixo */
}

/* 1. BOTÃO VOLTAR AO TOPO
-------------------------------------------------- */
#back-to-top-btn {
    position: fixed;
    bottom: 50px; 
    right: 50px;  
    width: 50px;
    height: 50px;
    background-color: #0284C7; 
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0, 0.25);
    z-index: 999;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

#back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top-btn:hover {
    background-color: #0271a8; 
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0, 0.3);
    color: #fff;
}

#back-to-top-btn i {
    color: inherit;
    margin: 0;
    line-height: 1;
}