/* ==========================================================================
   Página Dedicada: Patrocinadores do Evento
   Foco em tipografia editorial, grelha limpa em fundo branco e sem cartões cinzentos
   Regras estritas: Sem hover com scale ou shadow, sem emojis
   ========================================================================== */

#sponsors.standalone-sponsors-page {
    background-color: #ffffff !important;
    color: var(--colors-ink, #111113);
    padding: 72px 0 96px 0;
    min-height: 75vh;
    position: relative;
}

/* ==========================================================================
   1. Cabeçalho Editorial
   ========================================================================== */

.sponsors-header-row {
    margin-bottom: 36px;
    position: relative;
}

.sponsors-header-text {
    max-width: 760px;
}

.sponsors-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--colors-primary, #0066cc);
    margin-bottom: 10px;
}

.sponsors-headline {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #111113;
    margin: 0 0 12px 0;
}

.sponsors-subhead {
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.15px;
    color: #555761;
    margin: 0;
}

/* ==========================================================================
   2. Barra de Navegação Rápida (Pills de Categorias)
   ========================================================================== */

.sponsors-nav-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 52px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sponsor-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: #f7f8fa;
    color: #555761;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.1px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sponsor-nav-pill:hover {
    background-color: #ffffff;
    border-color: var(--colors-primary, #0066cc);
    color: var(--colors-primary, #0066cc);
}

.sponsor-nav-pill-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 11px;
    font-weight: 700;
    color: #666;
}

.sponsor-nav-pill:hover .sponsor-nav-pill-badge {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--colors-primary, #0066cc);
}

/* ==========================================================================
   3. Cabeçalho de Categoria (Tier)
   ========================================================================== */

.sponsor-group-block {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}

.sponsor-group-block:last-of-type {
    margin-bottom: 64px;
}

.sponsor-dedicated-tier-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.sponsor-dedicated-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sponsor-dedicated-tier-bar {
    width: 6px;
    height: 28px;
    background-color: var(--colors-primary, #0066cc);
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
}

.sponsor-dedicated-tier-title {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111113;
    line-height: 1;
    margin: 0;
}

.sponsor-dedicated-tier-count {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: #86868b;
    padding: 3px 10px;
    background-color: #f7f8fa;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
}

.sponsor-dedicated-tier-line {
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   4. Cartões de Patrocinadores (Grelha Limpa)
   ========================================================================== */

.sponsor-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 22px 18px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

/* Cartões de primeiro nível (Maior destaque) */
.sponsor-card-top-tier {
    height: 130px;
    padding: 26px 22px;
}

.sponsor-card-link {
    cursor: pointer;
}

.sponsor-card-link:hover {
    border-color: var(--colors-primary, #0066cc);
}

.sponsor-card-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sponsor-card-logo {
    max-height: 54px;
    max-width: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: contrast(1.02);
    transition: opacity 0.2s ease;
}

.sponsor-card-top-tier .sponsor-card-logo {
    max-height: 64px;
    max-width: 86%;
}

.sponsor-card-link:hover .sponsor-card-logo {
    opacity: 0.95;
}

/* Indicador de link externo no canto superior */
.sponsor-card-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--colors-primary, #0066cc);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sponsor-card-link:hover .sponsor-card-arrow {
    opacity: 1;
}

/* Empty State */
.sponsors-empty-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    color: #555761;
    font-size: 16px;
}

/* ==========================================================================
   6. Responsividade
   ========================================================================== */

@media (max-width: 991.98px) {
    #sponsors.standalone-sponsors-page {
        padding: 56px 0 80px 0;
    }

    .sponsor-card-top-tier {
        height: 116px;
    }

    .sponsor-card {
        height: 104px;
    }
}

@media (max-width: 767.98px) {
    #sponsors.standalone-sponsors-page {
        padding: 44px 0 64px 0;
    }

    .sponsors-headline {
        font-size: 28px;
    }

    .sponsors-subhead {
        font-size: 15.5px;
    }

    .sponsors-nav-bar {
        gap: 8px;
        margin-bottom: 36px;
    }

    .sponsor-nav-pill {
        padding: 6px 14px;
        font-size: 12.5px;
    }

    .sponsor-group-block {
        margin-bottom: 40px;
    }

    .sponsor-dedicated-tier-header {
        gap: 12px;
        margin-bottom: 20px;
    }

    .sponsor-dedicated-tier-bar {
        height: 22px;
        width: 5px;
    }

    .sponsor-dedicated-tier-title {
        font-size: 18px;
    }

    .sponsor-card {
        height: 90px;
        padding: 16px 12px;
        border-radius: 14px;
    }

    .sponsor-card-top-tier {
        height: 100px;
        padding: 18px 14px;
    }

    .sponsor-card-logo {
        max-height: 44px;
    }

    .sponsor-card-top-tier .sponsor-card-logo {
        max-height: 48px;
    }
}
