/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f6fa;
    color: #333;
    line-height: 1.6;
}


/* 1. CONFIGURAÇÃO DO HEADER COM ANIMAÇÃO DE CORES */
.banner {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff; 
    
    /* Cores iniciais do gradiente de fundo */
    background: linear-gradient(135deg, #1e3c72, #2a5298, #122240);
    background-size: 400% 400%; /* Aumenta o tamanho do fundo para o efeito funcionar */
    
    /* Ativa a animação: nome, duração (20s), suavidade (ease) e infinito */
    animation: mudancaDeCor 20s ease infinite; 
}

/* 2. CONFIGURAÇÃO DA FAIXA DE LOGOS */
.banner-logos-strip {
    display: block;
    width: 50%;            
    max-width: 1200px;      
    height: auto;           
    margin: 0 auto 30px auto; 
    object-fit: contain;
}

/* 3. A ANIMAÇÃO QUE FAZ A COR MUDAR LEVEMENTE COM O TEMPO */
@keyframes mudancaDeCor {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Cores Principal: #004aad (Azul UEM) */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== BANNER ===== */
.banner {
    background: linear-gradient(135deg, #767f8c 0%, #98510e 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.banner h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.banner h2 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.banner .edition-current {
    margin-top: 20px;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
}

/* ===== MENU ===== */
.navbar {
    background-color: #82868b;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-weight: 600;
    transition: background 0.3s;
}

.navbar a:hover {
    background-color: #545557;
}

.btn-forms {
    display: inline-block;
    background-color: #2a5298; 
    color: white !important;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.2s;
    margin: 15px 0;
}

.btn-forms:hover {
    background-color: #1e3c72;
    transform: translateY(-2px); 
}

/* ===== SEÇÕES GERAIS ===== */
.section-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.section-title {
    color: #004aad;
    border-bottom: 2px solid #454647;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* ===== EQUIPE / EXPEDIENTE ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-member {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #5f5f60;
}

/* ===== PROGRAMAÇÃO ===== */
.schedule-day {
    margin-bottom: 25px;
}

.schedule-day h4 {
    background: #e9ecef;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    color: #636567;
}

.schedule-list {
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
    border-radius: 0 0 5px 5px;
}

.schedule-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.schedule-list .time {
    font-weight: bold;
    color: #004aad;
    margin-right: 10px;
    min-width: 60px;
    display: inline-block;
}

/* ===== ANAIS / ANO ===== */
.year-block {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.year-header {
    background: #383839;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.year-tag {
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 5px;
}

.file-list {
    list-style: none;
    background: #fafafa;
}

.file-list li {
    border-bottom: 1px solid #eee;
}

.file-list li:last-child {
    border-bottom: none;
}

.file-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.file-list a:hover {
    background: #eef2ff;
    color: #004aad;
}

.file-type {
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
}

/* ===== RODAPÉ ===== */
footer {
    background: #212529;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-content p {
    margin-bottom: 5px;
    opacity: 0.8;
}