
/* ==== RODAPÉ ===== */

.site-footer {
    width: 100%;
    background: var(--cor-preto);
    background-image: url(https://firebrick-dragonfly-610839.hostingersite.com/wp-content/uploads/2026/10/BG-Black-2-scaled.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--cor-branco);
    box-sizing: border-box;
}

.site-footer,
.site-footer::before,
.site-footer::after {
    box-sizing: border-box;
}

/* CONTAINER */

.site-footer .site-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    align-items: start;
    gap: 40px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 10px;
}

/* TABLET */
@media (max-width: 1285px) and (min-width: 768px) {
    .site-footer .site-container {
        grid-template-columns: 1fr 1fr 1.5fr;
        gap: 20px;
        max-width: 750px;
    }
}

/* CELULAR */
@media (max-width: 767px) {
    .site-footer .site-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 20px;
        row-gap: 0;
        padding: 30px 10px 20px;
    }
}

/* COLUNAS */

.site-footer .footer-esquerdo,
.site-footer .footer-centro,
.site-footer .footer-direito {
    min-width: 0;
    width: 100%;
}

.site-footer .footer-esquerdo {
    padding-right: 0;
}

@media (max-width: 1285px) and (min-width: 768px) {
    .site-footer .footer-esquerdo {
        padding-right: 0;
    }
}

/* TÍTULOS */

.site-footer h3 {
    margin: 0 0 20px;
    color: var(--cor-branco);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width: 1285px) {
    .site-footer h3 {
        font-size: 23px;
    }
}

/* LISTA DE CATEGORIAS */

.site-footer .footer-lista-categorias {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    width: 45%;
    height: 165px;
    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: var(--cor-destaque) transparent;
}

@media (max-width: 1285px) {
    .site-footer .footer-lista-categorias {
        height: 145px;
        width: 55%;
    }
}

@media (max-width: 767px) {
    .site-footer .footer-lista-categorias {
        width: 120px;
    }
}

/* SCROLL DAS CATEGORIAS */

.site-footer .footer-lista-categorias::-webkit-scrollbar {
    width: 6px;
}

.site-footer .footer-lista-categorias::-webkit-scrollbar-track {
    background: transparent;
}

.site-footer .footer-lista-categorias::-webkit-scrollbar-thumb {
    background: var(--cor-destaque);
    border-radius: 10px;
}

.site-footer .footer-lista-categorias::-webkit-scrollbar-thumb:hover {
    background: var(--cor-destaque);
}

/* LINKS */

.site-footer .footer-lista-categorias a,
.site-footer .footer-lista-institucional a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 0;

    color: var(--cor-branco);
    line-height: 1.5;
    text-decoration: none;
}

/* INSTITUCIONAL */

.site-footer .footer-lista-institucional {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* LOGO */

.site-footer .footer-direito {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    align-self: center;
}

.site-footer .footer-direito a {
    display: block;
    width: 100%;
    max-width: 420px;
}

.site-footer .footer-direito img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* TABLET */
@media (max-width: 1285px) and (min-width: 768px) {
    .site-footer .footer-direito {
        grid-column: auto;
        justify-content: center;
        padding-top: 0;
        margin-top: 0;
        border-top: none;
    }

    .site-footer .footer-direito a {
        max-width: 320px;
    }
}

/* CELULAR */
@media (max-width: 767px) {
    .site-footer .footer-direito {
        grid-column: 1 / -1;
        justify-content: center;
        padding-top: 30px;
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
    }

    .site-footer .footer-direito a {
        max-width: 420px;
    }
}

/* ========================================
   LINHA INFERIOR
======================================== */

.footer-inferior {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 100%;
    height: 24px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;

    background: var(--cor-destaque);
}

@media (max-width: 767px) {
    .footer-inferior {
        width: 100%;
        height: auto;
        min-height: 24px;
        padding: 5px 10px;
        text-align: center;
        box-sizing: border-box;
    }
}

.footer-inferior p {
    margin: 0;
    font-size: 14px;
    color: var(--cor-branco);
}

@media (max-width: 1285px) and (min-width: 768px) {
    .footer-inferior p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .footer-inferior p {
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
    }
}

/* ========================================
   SETAS DE NAVEGAÇÃO
======================================== */

.scroll-top,
.scroll-bottom {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;
    padding: 0;

    background: var(--cor-destaque);
    color: var(--cor-branco);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.45);
}

.scroll-top {
    right: 90px !important;
}

.scroll-top svg,
.scroll-bottom svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

@media (max-width: 767px) {
    .scroll-top,
    .scroll-bottom {
        display: none;
    }
}
