.site-footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    width: 100%;
    padding: 50px 0 25px 0;
}

.footer-container {
    max-width: 1152px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col { flex: 1; }
.footer-col-brand { max-width: 380px; }

.footer-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}
.footer-logo-text span { color: var(--text-color); }
.footer-logo img { max-height: 40px; width: auto; margin-bottom: 12px; }

.footer-legal-info, .footer-slogan {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.footer-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul, .footer-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li, .footer-social-list li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-nav a, .footer-social-list a { color: var(--text-color); text-decoration: none; }
.footer-nav a:hover, .footer-social-list a:hover { color: var(--accent-color); }

.footer-social-list li { display: flex; align-items: center; gap: 10px; }

.footer-divider-wrapper {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 35px 0 20px 0;
}

.footer-bottom { text-align: center; }
.footer-disclaimer {
    font-size: 11px;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .site-footer { padding: 35px 0 20px 0; }
    .footer-grid { flex-direction: column; gap: 30px; }
    .footer-col-brand { max-width: 100%; }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border-radius: 50%;
    border: none; /* Remove a borda padrão do botão */
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.back-to-top svg {
    stroke: currentColor;
    width: 20px;
    height: 20px;
    display: block;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}