* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0b0f14;
    color: #fff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}


.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.from-right {
    transform: translateX(60px);
}

.from-left {
    transform: translateX(-60px);
}

.visible.from-right,
.visible.from-left {
    transform: translateX(0);
}

.float-whatsapp {
    position: fixed;
    bottom: 4px;
    left: -12px;
    /* 👈 agora fica no start */
    width: 55px;
    height: 55px;
    color: #25D366;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: 0.3s ease;
    text-decoration: none;
}

.float-whatsapp:hover {
    color: #25D366;
    transform: scale(1.1);
}


/* Botão subir */
.btn-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: #d4af37;
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: 0.3s ease;
}

.btn-top:hover {
    text-decoration: none;
    color: white;
    transform: translateY(-3px);
}

a:hover {
    text-decoration: none;
    color: white;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 25%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-family: sans-serif;
}

/* Aparece ao rolar */
.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* Seta */
.scroll-top .arrow {
    font-size: 18px;
    line-height: 1;
}

/* Texto pequeno */
.scroll-top .label {
    font-size: 7px;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animação ao clicar */
.scroll-top.animate {
    animation: moveUp 2.5s forwards ease-in-out;
}

@keyframes moveUp {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    60% {
        transform: translateY(-80vh) rotate(0deg);
    }
    75% {
        transform: translateY(-80vh) rotate(90deg);
    }
    100% {
        transform: translateY(-80vh) translateX(200px) rotate(90deg);
        opacity: 0;
    }
}

/* ================= RESPONSIVO ================= */

/* Para telas pequenas (mobile) */
@media (max-width: 480px) {
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 3px;
    }

    .scroll-top .arrow {
        font-size: 14px;
    }

    .scroll-top .label {
        font-size: 6px;
    }
}

/* Para telas muito pequenas (320px) */
@media (max-width: 360px) {
    .scroll-top {
        width: 35px;
        height: 35px;
        bottom: 12px;
        right: 12px;
    }

    .scroll-top .arrow {
        font-size: 12px;
    }

    .scroll-top .label {
        font-size: 5px;
    }
}


