/* Scroll to Top */
.scrollToTop {
    position: fixed;
    bottom: 92px;
    left: 16px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scrollToTop:hover {
    background: #218838;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.scrollToTop i {
    font-size: 20px;
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .menu.superior .nivel-um {
        flex-direction: column;
        padding: 10px;
    }
    
    .menu.superior .nivel-um > li {
        margin: 5px 0;
        width: 100%;
        max-width: 100%;
    }

    .menu.superior .nivel-um > li > a {
        padding: 12px 15px;
    }

    .scrollToTop {
        bottom: 70px;
        left: 12px;
        width: 40px;
        height: 40px;
    }
}