/* ============================================================
   footer.css — Footer — Devsi
   ============================================================
   COMPATÍVEL com main.css:
   • font-size base: 62.5% (1rem = 10px)
   • Fonte: Satoshi
   • Paleta: identidade visual Devsi
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   FOOTER BASE
══════════════════════════════════════════════════════════ */
footer,
footer.white {
    background: #0a1820;
    padding: 5.6rem 2rem 3.6rem;
    border-top: 1px solid rgba(199, 217, 208, 0.08);
}

/* ── CONTAINER PRINCIPAL (logo + nav) ── */
footer .container:first-of-type {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6.4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(199, 217, 208, 0.1);
}

/* ── CONTAINER COPYRIGHT ── */
footer .container:last-of-type {
    display: block;
    padding-bottom: 0;
    border-bottom: none;
}

/* ── LOGO ── */
.logo-footer {
    flex-shrink: 0;
}

.logo-footer img {
    height: 5rem;
    width: auto;
    display: block;
    opacity: 0.9;
}

/* ── NAV FOOTER ── */
.nav-footer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8rem;
    flex: 1;
}

/* Listas */
.pages-footer ul,
.socials-footer ul {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Labels de coluna via pseudo-elemento */
.pages-footer::before {
    content: 'Páginas';
    display: block;
    font: 600 1.2rem/1 Satoshi, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(199, 217, 208, 0.3);
    margin-bottom: 2rem;
}

.socials-footer::before {
    content: 'Contato';
    display: block;
    font: 600 1.2rem/1 Satoshi, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(199, 217, 208, 0.3);
    margin-bottom: 2rem;
}

/* ── LINKS DE PÁGINAS ── */
footer .container .nav-footer ul li a,
footer.white .nav-footer ul li a {
    font: 400 1.5rem/1 Satoshi, sans-serif;
    color: rgba(199, 217, 208, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .container .nav-footer ul li a:hover,
footer.white .nav-footer ul li a:hover {
    color: #ffffff;
}

/* ── LINKS SOCIAIS ── */
footer .container .socials-footer ul li a,
footer.white .socials-footer ul li a {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font: 400 1.5rem/1 Satoshi, sans-serif;
    color: rgba(199, 217, 208, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .container .socials-footer ul li a:hover,
footer.white .socials-footer ul li a:hover {
    color: #ffffff;
}

/* Ícones — mantém coloridos originais */
footer .container .socials-footer ul li a img,
footer.white .socials-footer ul li a img,
footer.white .socials-footer ul li a svg {
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
    filter: none;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

footer .container .socials-footer ul li a:hover img,
footer.white .socials-footer ul li a:hover img {
    opacity: 1;
}

/* ── RODAPÉ INFERIOR — copyright ── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2.8rem;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
    font: 400 1.3rem/1 Satoshi, sans-serif;
    color: rgba(199, 217, 208, 0.28);
    margin: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: rgba(199, 217, 208, 0.55);
}

/* Ponto separador */
.footer-bottom__sep {
    color: rgba(199, 217, 208, 0.15);
    font-size: 1.2rem;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVO
══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    footer,
    footer.white {
        padding: 4.8rem 2rem 3.2rem;
    }

    footer .container:first-of-type {
        flex-direction: column;
        gap: 4rem;
    }

    .nav-footer {
        justify-content: flex-start;
        gap: 6.4rem;
        width: 100%;
    }
}

@media (max-width: 560px) {
    footer,
    footer.white {
        padding: 4rem 1.6rem 3.2rem;
    }

    footer .container:first-of-type {
        gap: 3.2rem;
    }

    .nav-footer {
        flex-direction: column;
        gap: 3.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .footer-bottom__sep {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .footer-bottom__sep {
        display: none;
    }

    .footer-bottom div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

@media (max-width: 375px) {
    .logo-footer img {
        height: 4rem;
    }
}
