/* ============================================================
   footer.css — D-FILM · Design final
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* ── FOOTER ── */
.footer {
    width: 100%;
    background-color: #0F0F0F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 36px;
    border-top: 2px solid #FFD400;
    box-shadow: 0 -6px 24px rgba(0,0,0,.65);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;

    /* estado inicial: invisível e levemente abaixo */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* aparece quando JS adiciona .visible */
.footer.visible {
    opacity: 1;
    transform: translateY(0);
}

/* shimmer no topo — espelho do menu */
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD400, #E5B800, #FFD400);
    background-size: 200% 100%;
    animation: shimmerF 3s linear infinite;
    pointer-events: none;
}

@keyframes shimmerF {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ── ESQUERDA: MARCA ── */
.footer-esquerda {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-esquerda p {
    font-family: 'Syne', sans-serif;
    font-size: 1.1em;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
}

.footer-esquerda .marca-destaque {
    color: #FFD400;
}

.footer-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: .75em !important;
    font-weight: 400 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6B6B6B !important;
    margin-top: 2px;
}

/* ── CENTRO: COPYRIGHT ── */
.footer-centro {
    text-align: center;
}

.footer-centro p {
    font-family: 'DM Sans', sans-serif;
    font-size: .83em;
    color: #6B6B6B;
    line-height: 1.6;
    margin: 0;
}

.footer-centro a {
    color: #E5B800;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-centro a:hover {
    color: #FFD400;
}

/* ── DIREITA: REDES SOCIAIS ── */
.footer-direita .redes-sociais {
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.botao-social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    background: linear-gradient(145deg, #2B2B2B, #0F0F0F);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #2B2B2B;
    transition:
        background .35s ease,
        color .35s ease,
        border-color .35s ease,
        transform .4s cubic-bezier(.68,-.55,.27,1.55),
        box-shadow .35s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.botao-social:hover {
    background: linear-gradient(145deg, #FFD400, #E5B800);
    color: #0F0F0F;
    border-color: #FFD400;
    transform: translateY(-5px) scale(1.12) rotate(5deg);
    box-shadow: 0 8px 18px rgba(255,212,0,.55);
}

.botao-social i {
    font-size: 1.1em;
    line-height: 1;
}

/* ── RESPONSIVIDADE ── */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 22px 16px;
        text-align: center;
    }

    .footer-esquerda,
    .footer-centro {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    /* divisória visual entre seções */
    .footer-centro {
        padding-top: 14px;
        border-top: 1px solid #1E1E1E;
    }

    .footer-direita .redes-sociais {
        justify-content: center;
    }

    .botao-social {
        width: 40px;
        height: 40px;
    }
}
