/* ============================================================================
   MOGIANA FC – HEADER CSS (ZERO ABSOLUTO)
   Top Bar branca + Match Bar azul
   Dependência: mogiana-base.css
============================================================================ */

/* ============================
   TOP BAR (BRANCA)
============================ */
.mf-topbar {
    width: 100%;
    background: var(--mf-white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mf-topbar .mf-container {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.mf-topbar-logo img {
    height: 34px;
    width: auto;
}

/* LINKS */
.mf-topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mf-topbar-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--mf-text-primary);
    transition: color var(--mf-transition-fast);
}

.mf-topbar-links a:hover {
    color: var(--mf-navy);
}

/* BOTÃO CONTATO */
.mf-topbar .mf-btn-outline {
    padding: 6px 14px;
    font-size: 13px;
}

/* ============================
   MATCH BAR (AZUL)
============================ */
.mf-match-bar {
    width: 100%;
    background: linear-gradient(90deg, #041354, #061f6e);
    color: var(--mf-white);
    position: sticky;
    top: 56px; /* altura exata da topbar */
    z-index: 900;
    transition: transform var(--mf-transition);
}

.mf-match-bar .mf-container {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* META */
.mf-match-meta span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
}

/* PLACAR */
.mf-match-score {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .5px;
}

/* LINK */
.mf-match-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--mf-white);
    transition: opacity var(--mf-transition-fast);
}

.mf-match-link:hover {
    opacity: 0.8;
}

/* ============================
   COMPORTAMENTO NO SCROLL
============================ */
.mf-match-bar.is-hidden {
    transform: translateY(-100%);
}

/* ============================
   RESPONSIVIDADE
============================ */
@media (max-width: 1024px) {

    .mf-topbar-links {
        display: none;
    }

    .mf-match-score {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    .mf-topbar .mf-container,
    .mf-match-bar .mf-container {
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mf-match-score {
        font-size: 16px;
    }

    .mf-match-meta span {
        font-size: 11px;
    }
}
