/* Estilo Independente para a Página de Timeline - Mantendo a identidade visual */
:root {
    --primary: #004a99;
    --accent: #f39c12;
    --bg: #f4f7f9;
    --text: #333;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header específico (Mantido igual à sua estrutura) */
.download-hero {
    background: var(--primary);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.btn-back {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-back:hover { background: rgba(255,255,255,0.1); }
.hero-text h1 { margin-top: 20px; font-size: 2.5rem; }

/* Estrutura da Seção */
.timeline-section { margin: 50px 0; }
.section-label { margin-bottom: 40px; color: var(--primary); border-bottom: 2px solid #ddd; padding-bottom: 10px; }

/* ESTRUTURA DA TIMELINE */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* A linha vertical central */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

/* Bloco que contém cada evento */
.timeline-item {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    padding: 10px 40px;
}

/* Posicionamento alternado (Esquerda / Direita) */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* Os círculos/ícones da linha do tempo */
.timeline-badge {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
}

/* Posicionando os círculos exatamente em cima da linha central */
.timeline-item:nth-child(odd) .timeline-badge { right: -20px; }
.timeline-item:nth-child(even) .timeline-badge { left: -20px; }

/* O cartão visual onde fica o texto */
.timeline-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
}

.timeline-date {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-card h3 { margin: 0 0 10px 0; font-size: 1.2rem; color: var(--primary); }
.timeline-card p { margin: 0; font-size: 0.9rem; color: #666; line-height: 1.4; }

/* Rodapé */
.main-footer { text-align: center; padding: 40px; color: #888; font-size: 0.9rem; }

/* REGRAS DE ANIMAÇÃO (Iguais às suas de download, mantendo os estados) */
.animate-hidden { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.6s ease-out; 
}
.animate-active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* RESPONSIVIDADE (Para telas menores/Celulares) */
@media screen and (max-width: 768px) {
    /* Move a linha para a esquerda */
    .timeline-container::after {
        left: 31px;
    }
    
    /* Faz os blocos ocuparem a largura total */
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    /* Alinha todo o texto para a esquerda no mobile */
    .timeline-item:nth-child(odd) { left: 0; text-align: left; }
    .timeline-item:nth-child(even) { left: 0; text-align: left; }
    
    /* Move os círculos para ficarem alinhados na linha da esquerda */
    .timeline-item:nth-child(odd) .timeline-badge,
    .timeline-item:nth-child(even) .timeline-badge {
        left: 11px;
    }
}