﻿/* ============================================
   Moovalto - FOOTER LANDING COMPONENT
   Styles de BASE uniquement (scroll-to-top)
   Les styles visuels du footer sont dans landing-main.css
   ============================================ */

/* Scroll to top - Modern soft design */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
    z-index: 1200;
}

.scroll-to-top:hover {
    background: #28ccc4;
    color: white;
    transform: translateY(-4px) scale(1);
    box-shadow:
        0 12px 32px rgba(40, 204, 196, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(0.98);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:focus-visible,
.scroll-to-top:focus,
.scroll-to-top:active {
    outline: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.1rem;
    }
}
