/* Hero Section da História */
.historia-hero {
    height: 60vh;
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), url('../images/historia-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 80px;
}

.historia-content {
    max-width: 800px;
}

.historia-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.historia-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Timeline Section */
.timeline {
    padding: 6rem 10%;
    background-color: var(--light-gray);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    right: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-color);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -6px;
}

.timeline-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.timeline-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Membros Fundadores Section */
.membros-fundadores {
    padding: 6rem 10%;
    text-align: center;
}

.membros-fundadores h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.membros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.membro-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.membro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.membro-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.membro-card h3 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
}

.membro-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 2rem;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -6px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: -6px;
    }

    .historia-content h1 {
        font-size: 2.5rem;
    }

    .historia-content p {
        font-size: 1.1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }
} 