/* =========================================================
   SPACE ANÚNCIO — HOME
   DOBRA 14 — FOOTER
   CORREÇÃO VISUAL — REFERÊNCIA DO PROTÓTIPO
   ========================================================= */

.space-home-footer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f5faff;
    color: #17365d;
    box-sizing: border-box;
}

.space-home-footer > .e-con-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.space-home-footer .space-footer-main {
    width: 100%;
    min-height: 58px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
    box-sizing: border-box;
}

/* IDENTIDADE */
.space-footer-brand {
    width: 160px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}
.space-footer-brand .elementor-widget-container { margin: 0; padding: 0; }
.space-footer-brand .paa-elementor-header-logo { width: 100%; }
.space-footer-brand .paa-elementor-header-logo .paa-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    text-decoration: none;
}
.space-footer-brand .paa-elementor-header-logo__image {
    display: block;
    width: auto;
    max-width: 120px;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}
.space-footer-brand .paa-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.space-footer-brand .paa-brand-text strong {
    color: #1261c9;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}
.space-footer-brand .paa-brand-text b { display: none; }
.space-footer-brand .paa-brand-text small {
    margin-top: 2px;
    color: #41627f;
    font-size: 7px;
    font-weight: 400;
    line-height: 1.2;
}

/* NAVEGAÇÃO */
.space-footer-navigation {
    width: 350px;
    min-width: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 18px;
    box-sizing: border-box;
}
.space-footer-nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.space-footer-nav-list a {
    display: inline-flex;
    align-items: center;
    color: #29496c;
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}
.space-footer-nav-list a:hover { color: #1261c9; opacity: .85; }
.space-footer-navigation::after {
    content: "";
    width: 1px;
    height: 30px;
    margin-left: 25px;
    background: #dce7f1;
}

/* REDES */
.space-footer-social {
    width: 190px;
    min-width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.space-footer-social-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 0;
}
.space-footer-social-list .elementor-social-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    font-size: 11px;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}
.space-footer-social-list .elementor-social-icon-facebook { background: #1877f2; color: #fff; }
.space-footer-social-list .elementor-social-icon-instagram { background: #e4405f; color: #fff; }
.space-footer-social-list .elementor-social-icon-youtube { background: #ff0000; color: #fff; }
.space-footer-social-list .elementor-social-icon-whatsapp { background: #25d366; color: #fff; }
.space-footer-social-list .elementor-social-icon:hover { transform: translateY(-2px); opacity: .82; }

/* LOCALIZAÇÃO */
.space-footer-location {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
    box-sizing: border-box;
}
.space-footer-location .elementor-heading-title {
    margin: 0;
    color: #49657e;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
}
.space-footer-location .elementor-widget-text-editor { margin-top: 1px; }
.space-footer-location .elementor-widget-text-editor p {
    margin: 0;
    color: #71859a;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.3;
}

/* BARRA INFERIOR */
.space-footer-bottom {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-top: 1px solid #dce7f1;
    box-sizing: border-box;
}
.space-footer-bottom .space-footer-copyright {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #536b82;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.3;
}
.space-footer-bottom .space-footer-copyright p { margin: 0; }
.space-footer-bottom .space-footer-legal { display: flex; align-items: center; }
.space-footer-legal-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.space-footer-legal-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #536b82;
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}
.space-footer-legal-list a:hover { color: #1261c9; }
.space-footer-legal-list a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    transform: translateY(-50%);
    background: #ccd9e5;
}

/* LIMPEZA */
.space-home-footer .elementor-widget { margin-bottom: 0 !important; }
.space-home-footer .elementor-widget-container { margin: 0; }
.space-home-footer .e-con,
.space-home-footer .e-con-inner { box-sizing: border-box; }

/* Hide the obsolete Elementor anchor on pages that already contain it. */
.space-home-footer .space-footer-back-top { display: none !important; }

@media (max-width:1024px) {
    .space-home-footer > .e-con-inner { padding-left: 20px; padding-right: 20px; }
    .space-footer-brand { width: 150px; min-width: 150px; }
    .space-footer-navigation { width: auto; min-width: 0; flex: 1; padding-left: 12px; }
    .space-footer-nav-list { gap: 16px; }
    .space-footer-navigation::after { margin-left: 16px; }
    .space-footer-social { width: 140px; min-width: 140px; }
    .space-footer-location { padding-left: 12px; }
}

@media (max-width:767px) {
    .space-home-footer > .e-con-inner { padding-left: 16px; padding-right: 16px; }
    .space-home-footer .space-footer-main {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0 18px;
        gap: 16px;
    }
    .space-footer-brand { width: 100%; min-width: 0; align-items: center; text-align: center; }
    .space-footer-navigation { width: 100%; min-width: 0; padding: 0; justify-content: center; }
    .space-footer-nav-list { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
    .space-footer-navigation::after { display: none; }
    .space-footer-social { width: 100%; min-width: 0; }
    .space-footer-location { width: 100%; padding: 0; align-items: center; text-align: center; }
    .space-footer-bottom { min-height: auto; flex-direction: column; justify-content: center; padding: 14px 0; gap: 10px; text-align: center; }
    .space-footer-bottom .space-footer-copyright { justify-content: center; text-align: center; }
    .space-footer-legal-list { justify-content: center; flex-wrap: wrap; }
}

@media (max-width:480px) {
    .space-home-footer > .e-con-inner { padding-left: 12px; padding-right: 12px; }
    .space-footer-nav-list { gap: 10px 14px; }
    .space-footer-social-list { gap: 11px; }
    .space-footer-legal-list a { padding-left: 8px; padding-right: 8px; }
    .space-footer-bottom .space-footer-copyright { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .space-footer-nav-list a,
    .space-footer-social-list .elementor-social-icon,
    .space-footer-legal-list a { transition: none; }
    .space-footer-social-list .elementor-social-icon:hover { transform: none; }
}
