/* Linha do Tempo - Estilos principais */

.linhadotempo-container {
    padding: 60px 20px;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.linhadotempo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.linhadotempo-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    padding-left: 80px;
}

/* Marcador circular */
.linhadotempo-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.linhadotempo-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Linha vertical conectando os itens */
.linhadotempo-line {
    position: absolute;
    left: 11px;
    top: 24px;
    width: 2px;
    height: calc(100% + 26px);
    background-color: #E0E0E0;
    z-index: 1;
}

.linhadotempo-item:last-child .linhadotempo-line {
    display: none;
}

/* Conteúdo da timeline */
.linhadotempo-content {
    flex: 1;
    padding-top: 2px;
}

/* Subtítulo (acima do título) */
.linhadotempo-subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    display: block;
}

/* Título principal */
.linhadotempo-title {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.4;
}

/* Descrição */
.linhadotempo-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.linhadotempo-description p {
    margin: 0;
}

/* Mensagem quando não há itens */
.linhadotempo-empty {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .linhadotempo-container {
        padding: 40px 15px;
    }

    .linhadotempo-item {
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .linhadotempo-title {
        font-size: 20px;
    }

    .linhadotempo-description {
        font-size: 14px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .linhadotempo-container {
        padding: 30px 10px;
    }

    .linhadotempo-item {
        padding-left: 50px;
        margin-bottom: 30px;
    }

    .linhadotempo-marker {
        width: 12px;
        height: 12px;
    }

    .linhadotempo-line {
        left: 8px;
        top: 18px;
        height: calc(100% + 22px);
    }

    .linhadotempo-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .linhadotempo-title {
        font-size: 18px;
    }

    .linhadotempo-description {
        font-size: 13px;
    }
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.linhadotempo-item {
    animation: fadeInUp 0.6s ease-out;
}

.linhadotempo-item:nth-child(1) {
    animation-delay: 0.1s;
}

.linhadotempo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.linhadotempo-item:nth-child(3) {
    animation-delay: 0.3s;
}

.linhadotempo-item:nth-child(n+4) {
    animation-delay: calc(0.1s * (var(--item-index, 4)));
}
