/* ── Footer — refinamento (não toca no .footer_background do mapa) ──────
 *
 * Melhora a tipografia, o respiro vertical e a distribuição dos textos
 * dentro do bloco direito (`.footer_nav`). Mapa à esquerda permanece
 * intocado.
 * ─────────────────────────────────────────────────────────────────────── */

/* Container do bloco de navegação à direita */
.footer_nav {
    height: auto !important;
    padding-bottom: 28px;
}

/* Distribuição dos 3 cards em linha — espaço uniforme */
.footer_menus {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 32px;
    align-items: flex-start;
    margin-top: 14px !important;
}
.footer_menu_card {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    height: auto !important;
}

/* Topo decorativo de cada card */
.footer_rectangle_box {
    width: 56px !important;
    height: 3px !important;
    background-color: #f9931b !important;
    border-radius: 2px;
    margin-bottom: 4px;
}
.footer_rectangle_line {
    width: 100% !important;
    height: 1px !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
    opacity: 1 !important;
}

/* Texto interno: respiro generoso */
.footer_rectangle_text {
    margin-top: 14px !important;
    display: flex;
    flex-direction: column;
    gap: 6px !important;
}

/* Título de cada card */
.footer_rectangle_text_font1 {
    font-family: 'Trivia_Gothic_C2_Bold', 'Trivia_Gothic_C2', 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.3px !important;
    color: #ffffff !important;
    margin-bottom: 4px;
}

/* Linhas de informação */
.footer_rectangle_text_font2 {
    font-family: 'Trivia_Gothic_C2', 'Roboto', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.2px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    opacity: 1 !important;
    text-align: left !important;
}

/* Email como link funcional */
.footer_email {
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
    display: inline-block;
}
.footer_email:hover {
    color: #ffd9a8 !important;
    text-decoration: underline;
}

/* Linha de copyright no rodapé do bloco direito */
.footer_copyright {
    margin-top: 36px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-family: 'Trivia_Gothic_C2', 'Roboto', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.70);
    text-align: right;
}

/* ── Mobile ────────────────────────────────────────────────────────
 * Em desktop o mapa (.footer_background) fica no lado esquerdo absoluto
 * e o .footer_nav tem largura fixa de 737px à direita. Em mobile não cabe
 * — o mapa é decorativo, então escondemos abaixo de 900px. */
@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        justify-content: stretch;
        padding: 0 24px;
        margin-top: 16px;
    }
    .footer_background {
        display: none !important;
    }
    .footer_nav {
        width: 100% !important;
        height: auto !important;
        margin-right: 0 !important;
        padding-right: 0;
    }
    .footer_icon_funcap_position {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
    .footer_menus {
        flex-wrap: wrap !important;
        gap: 24px;
    }
    .footer_menu_card {
        flex: 1 1 calc(50% - 12px);
        min-width: 200px;
    }
    .footer_end {
        height: auto;
        min-height: 28px;
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 600px) {
    .footer-main {
        padding: 0 16px;
    }
    .footer_menus {
        flex-direction: column !important;
        gap: 22px;
    }
    .footer_menu_card {
        flex: 1 1 100%;
        width: 100% !important;
    }
    .footer_copyright {
        text-align: left;
        margin-top: 24px;
        font-size: 0.78rem;
    }
    .footer_email {
        font-size: 0.85rem;
    }
}
@media (max-width: 400px) {
    .footer-main { padding: 0 14px; }
    .footer_rectangle_text_font1 { font-size: 0.95rem !important; }
    .footer_rectangle_text_font2 { font-size: 0.85rem !important; }
}
