/* Timeline processo — fundo azul da página */
#etapas,
#etapas.section-light {
  background-color: #e6f0fa;
  background-image: linear-gradient(180deg, #d9e8f5 0%, #e6f0fa 40%, #e6f0fa 100%);
}

.process-tl {
  --dot: 44px;
  --gap: 1rem;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.process-tl::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(21, 76, 140, 0.28);
  z-index: 0;
}

.process-tl__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr var(--dot) 1fr;
  align-items: center;
  column-gap: var(--gap);
  padding: 0.75rem 0;
  z-index: 1;
}

.process-tl__step--L .process-tl__dot,
.process-tl__step--R .process-tl__dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.process-tl__dot {
  width: var(--dot);
  height: var(--dot);
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #154c8c;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #154c8c;
  box-shadow: 0 4px 16px rgba(21, 76, 140, 0.12);
  z-index: 2;
}

.process-tl__step--fin .process-tl__dot {
  background: #154c8c;
  color: #fff;
  border-color: #154c8c;
}

.process-tl__card {
  position: relative;
  max-width: 300px;
  min-width: 0;
  padding: 1.15rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(21, 76, 140, 0.14);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(21,  76, 140, 0.1);
}

.process-tl__card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--gap);
  height: 1px;
  background: rgba(21, 76, 140, 0.28);
  transform: translateY(-50%);
}

.process-tl__step--L .process-tl__card {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

.process-tl__step--L .process-tl__card::after {
  right: calc(var(--gap) * -1);
}

.process-tl__step--R .process-tl__card {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  text-align: left;
}

.process-tl__step--R .process-tl__card::after {
  left: calc(var(--gap) * -1);
}

.process-tl__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a9fd4;
  margin-bottom: 0.3rem;
}

.process-tl__card h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0c2d54;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.process-tl__card p {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: #4a6585;
  line-height: 1.55;
}

/* Mobile — linha à esquerda, card à direita (sem sobreposição) */
@media (max-width: 640px) {
  .process-tl {
    --dot: 40px;
    --gap: 0.75rem;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .process-tl::before {
    left: calc(var(--dot) / 2);
    transform: none;
    top: 16px;
    bottom: 16px;
  }

  .process-tl__step {
    grid-template-columns: var(--dot) minmax(0, 1fr);
    column-gap: var(--gap);
    row-gap: 0;
    align-items: start;
    padding: 0.45rem 0;
  }

  .process-tl__step--L .process-tl__dot,
  .process-tl__step--R .process-tl__dot {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: start;
    margin-top: 1rem;
  }

  .process-tl__step--L .process-tl__card,
  .process-tl__step--R .process-tl__card {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    align-self: stretch;
    max-width: none;
    width: 100%;
    min-width: 0;
    text-align: left;
    padding: 1rem 1.1rem;
  }

  .process-tl__step--L .process-tl__card::after,
  .process-tl__step--R .process-tl__card::after {
    top: calc(1rem + var(--dot) / 2);
    left: calc(var(--gap) * -1);
    right: auto;
    width: var(--gap);
    transform: none;
  }

  .process-tl__card h3 {
    font-size: 0.95rem;
  }

  .process-tl__card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 380px) {
  .process-tl {
    --dot: 36px;
    --gap: 0.65rem;
  }

  .process-tl__step--L .process-tl__dot,
  .process-tl__step--R .process-tl__dot {
    margin-top: 0.85rem;
  }

  .process-tl__step--L .process-tl__card,
  .process-tl__step--R .process-tl__card {
    padding: 0.9rem 0.95rem;
  }

  .process-tl__card h3 {
    font-size: 0.88rem;
  }
}
