/* =============================== */
/* Timeline                        */
/* =============================== */

.timeline {
  position: relative;
  padding-left: 60px; 
  max-width: 900px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #9C45E8, #350B59);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: #9C45E8;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(156, 69, 232, 0.2);
  z-index: 2;
}

.timeline-date {
  font-weight: 600;
  color: #9C45E8;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  margin-left: 50px;
  white-space: nowrap;
}

.timeline-content {
  background: #1e1e38;
  color: #f0f0f5;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  margin-left: 50px;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  display: block;
}

.timeline-content:hover {
  transform: translateY(-3px);
}

.timeline-content h4 {
  color: #fff;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.timeline-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #9C45E8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.timeline-link:hover {
  color: #c780ff;
}

/* =============================== */
/* Responsividade                  */
/* =============================== */
@media (max-width: 768px) {
  .timeline {
    margin-left: 1rem;
    padding-left: 40px;
  }

  .timeline-date,
  .timeline-content {
    margin-left: 40px;
    width: calc(100% - 40px);
  }

  .timeline-item::before {
    left: 5px;
  }

  .timeline::before {
    left: 10px;
  }
}

@media (max-width: 480px) {
  .timeline {
    margin-left: 0.5rem;
    padding-left: 30px;
  }

  .timeline-date,
  .timeline-content {
    margin-left: 30px;
    width: calc(100% - 30px);
  }

  .timeline-item::before {
    left: 5px;
    top: 8px;
  }

  .timeline::before {
    left: 5px;
  }
}
