/* Container do Componente */
.timeline-component {
  padding: 64px 16px;
}

.timeline-container {
  max-width: 720px;
  margin: 0 auto;
}

/* Títulos e Parágrafos */
.timeline-title {
  color: var(--brand-primaryMain, #1f8563);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.235;
  text-align: center;
}

.timeline-description {
  color: var(--surface-onSurfaceVariant, #303030);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.timeline-item-title {
  color: var(--surface-onSurface, #1b1b1b);
  font-size: 20px;
  font-weight: 700;
}

.timeline-item-description {
  color: var(--surface-onSurfaceVariant, #303030);
  font-size: 16px;
  font-weight: 400;
}

/* Lista da Timeline */
.timeline-list {
  list-style-type: none;
  padding: 0;
  margin: 40px 0;
  position: relative;
  text-align: left;
}

.timeline-list-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: 56px;
}

/* Linha Conectora Adaptável (ajustada para tracejada) */
.timeline-list-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 17px;
  bottom: 0;
  /* Alterado para 2px dashed para replicar a linha tracejada */
  border-left: 2px dashed var(--brand-primaryMain, #1f8563);
}

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

/* Estilos dos Ícones e Números */
.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  background-color: var(--brand-primaryMain, #1f8563);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--surface-background, #ffffff);
  font-size: 20px;
  font-weight: 700;
}

.timeline-icon img {
  max-width: 20px;
  max-height: 20px;
}

/* Espaçamentos */
.timeline-title {
  margin-bottom: 24px;
}
.timeline-description {
  margin-bottom: 32px;
}

.timeline-button {
  text-align: center;
  margin-top: 40px;
}
/* Estilos do Botão */
.timeline-button .button {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background-color: var(--brand-primaryMain, #1f8563);
  color: var(--brand-onprimaryMain, #ffffff);
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 2px 6px 0 0 var(--brand-primaryDark, #043022);
  text-decoration: none;
  font-family: "Roboto Bold", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* Estados Interativos do Botão */
.timeline-button .button:hover {
  opacity: 0.9;
}

.timeline-button .button:active {
  opacity: 0.8;
}

.timeline-button .button:focus {
  outline: 2px solid #1f8563;
  outline-offset: 2px;
}

/* Animação do Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  animation: ripple 1.2s ease-in-out;
}

@keyframes ripple {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* Responsividade para Mobile */
@media (max-width: 767px) {
  .timeline-list-item {
    padding-left: 48px;
  }
  .timeline-title {
    font-size: 24px;
  }
}
