/* Página de Prêmios - Estilos Específicos */

.premios-hero {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-verde) 100%);
    padding: 80px 0 60px;
    color: var(--branco);
    text-align: center;
}

.premios-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.premios-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.total-premios {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Prêmios Content */
.premios-content {
    padding: 60px 0;
}

/* Tabela de Prêmios */
.tabela-premios {
    background: var(--branco);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.tabela-header {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-verde) 100%);
    color: var(--branco);
    padding: 25px 30px;
}

.tabela-header h2 {
    margin: 0;
    font-weight: 700;
}

.table-premios {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-premios thead th {
    background-color: var(--cinza-claro);
    color: var(--azul-escuro);
    font-weight: 600;
    padding: 20px 15px;
    border-bottom: 2px solid var(--dourado);
    text-align: center;
    vertical-align: middle;
}

.table-premios tbody tr {
    transition: all 0.3s;
}

.table-premios tbody tr:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-premios td {
    padding: 20px 15px;
    border-bottom: 1px solid #eaeaea;
    vertical-align: middle;
    text-align: center;
}

.posicao-premio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.numero-posicao {
    background: var(--dourado);
    color: var(--branco);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.posicao-1 .numero-posicao {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.posicao-2 .numero-posicao {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    box-shadow: 0 4px 10px rgba(192, 192, 192, 0.3);
}

.posicao-3 .numero-posicao {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    box-shadow: 0 4px 10px rgba(205, 127, 50, 0.3);
}

.descricao-premio {
    text-align: left;
    font-weight: 500;
}

.valor-premio {
    color: var(--dourado);
    font-weight: 700;
    font-size: 1.1rem;
}

.valor-total {
    color: var(--azul-escuro);
    font-weight: 600;
}

.quantidade-premio {
    background: var(--cinza-claro);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--azul-escuro);
}

/* Destaques */
.destaque-premio {
    background: linear-gradient(135deg, #fff9e6 0%, #fff0cc 100%);
    border-left: 4px solid var(--dourado);
}

/* Resumo */
.resumo-premios {
    background: var(--branco);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
}

.resumo-item:last-child {
    border-bottom: none;
}

.resumo-item.total {
    background: var(--cinza-claro);
    margin: 20px -30px -30px;
    padding: 20px 30px;
    border-radius: 0 0 15px 15px;
}

.resumo-label {
    font-weight: 500;
    color: var(--azul-escuro);
}

.resumo-valor {
    font-weight: 700;
    color: var(--dourado);
    font-size: 1.2rem;
}

.resumo-total {
    font-size: 1.5rem;
    color: var(--azul-escuro);
}

/* Informações Legais */
.info-legal {
    background-color: var(--branco);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-top: 50px;
}

.info-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item h4 {
    color: var(--azul-escuro);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-item h4 i {
    color: var(--dourado);
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .premios-hero h1 {
        font-size: 2.2rem;
    }
    
    .premios-hero p {
        font-size: 1.1rem;
    }
    
    .table-premios {
        font-size: 0.9rem;
    }
    
    .table-premios td, 
    .table-premios th {
        padding: 12px 8px;
    }
    
    .numero-posicao {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .info-legal {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .table-premios {
        display: block;
        overflow-x: auto;
    }
    
    .posicao-premio {
        flex-direction: column;
        gap: 5px;
    }
}
/* Header Scroll Behavior - MESMA ESTILIZAÇÃO DA PÁGINA PRINCIPAL */
.header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--azul-escuro);
    padding: 12px 0;
    transform: translateY(-100%); /* Inicia escondido */
    opacity: 0;
}

/* Header quando está visível */
.header.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Header quando está reduzido */
.header.shrink {
    padding: 6px 0;
    background-color: rgba(22, 68, 118, 0.95);
    backdrop-filter: blur(10px);
}

.header.shrink .logo img {
    height: 35px;
}

/* Ajuste para o conteúdo não ficar escondido atrás do header fixo */
body {
    padding-top: 0; /* Removido pois header inicia escondido */
}

/* Área sensível ao hover no topo da tela */
.hover-trigger-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px; /* Altura da área sensível */
    z-index: 999;
    background: transparent;
}

/* Garante que as imagens do logo tenham transição suave */
.logo img {
    transition: all 0.3s ease;
    height: 45px;
}

/* Navbar toggler color */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar links - MESMO ESTILO DA PÁGINA PRINCIPAL */
.navbar-nav .nav-link {
    color: var(--branco) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--dourado) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dourado);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Botão primário - MESMO ESTILO DA PÁGINA PRINCIPAL */
.btn-primary {
    background-color: var(--azul-verde);
    border-color: var(--azul-verde);
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #4a9494;
    border-color: #4a9494;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }
    
    .header.shrink {
        padding: 4px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .header.shrink .logo img {
        height: 30px;
    }
    
    .hover-trigger-area {
        height: 40px; /* Menor em mobile */
    }
}

/* Melhora a performance da animação */
.header {
    will-change: transform, opacity;
}

/* Ajuste do padding para o hero section considerando o header */
.regulamento-hero {
    padding-top: 20px; /* Ajustado para header que inicia escondido */
}