/* Estilos específicos para a página de história */

.historia-hero {
    background-color: #262262;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.historia-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../public/images/pattern.svg');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 1;
}

.historia-hero .container {
    position: relative;
    z-index: 2;
}

.historia-hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.historia-hero .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    padding: 80px 0;
    background-color: #f9f9ff;
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 60px;
    bottom: -60px;
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    flex: 0 0 120px;
    text-align: center;
    padding-top: 10px;
}

.timeline-year span {
    display: inline-block;
    background-color: #262262;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content h2 {
    color: #262262;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-image {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.03);
}

/* Valores */
.valores {
    padding: 80px 0;
    background-color: white;
}

.valores h2 {
    text-align: center;
    color: #262262;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.valor-card {
    background-color: #f9f9ff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background-color: #262262;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.valor-icon i {
    font-size: 32px;
    color: white;
}

.valor-card h3 {
    color: #262262;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.valor-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background-color: #262262;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-section .btn {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* Responsividade */
@media (max-width: 768px) {
    .historia-hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item::before {
        left: 50%;
        transform: translateX(-50%);
        top: 50px;
    }
    
    .timeline-year {
        flex: 0 0 auto;
        margin-bottom: 30px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .historia-hero h1 {
        font-size: 2rem;
    }
    
    .timeline-content h2 {
        font-size: 1.5rem;
    }
}
