.anth-home .anth-jornada {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.anth-home .anth-jornada-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
  text-align: center;
  color: var(--text);
  margin: 0 0 48px;
}

.anth-home .anth-jornada-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.anth-home .anth-jornada-track::before {
  content: "";
  position: absolute;
  left: calc(100% / 12);
  right: calc(100% / 12);
  top: 26px;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.anth-home .anth-jornada-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6px;
  min-width: 0;
}

.anth-home .anth-jornada-step-icon {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--teal-dim);
  background: var(--bg);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.anth-home .anth-jornada-step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-solid);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
}

.anth-home .anth-jornada-step-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin: 0 0 6px;
  overflow-wrap: break-word;
}

.anth-home .anth-jornada-step-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-dim);
  margin: 0;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .anth-home .anth-jornada-track {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .anth-home .anth-jornada-track::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .anth-home .anth-jornada {
    padding: 48px 0;
  }
  .anth-home .anth-jornada-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 8px;
  }
}

/* ---------- Modal (overlay preto por cima de tudo) ---------- */

body.anth-modal-open {
  overflow: hidden;
}

.anth-jornada-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2147483000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 40px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.anth-jornada-overlay[hidden] {
  display: none;
}

.anth-jornada-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0;
  background: rgba(0, 1, 2, 0.78);
  backdrop-filter: blur(4px);
  animation: anthJornadaFade 0.2s ease;
}

.anth-jornada-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: anthJornadaPop 0.22s ease;
  font-family: var(--sans);
}

.anth-jornada-modal-inner {
  position: relative;
  padding: 40px 32px 32px;
}

.anth-jornada-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.anth-jornada-close:hover {
  color: var(--text);
  border-color: var(--teal-dim);
}

.anth-jornada-modal #anth-jornada-modal-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 24px);
  color: var(--text);
  margin: 0 0 16px;
  padding-right: 28px;
}

.anth-jornada-modal-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.anth-jornada-modal-body p {
  margin: 0 0 14px;
}

.anth-jornada-modal-body p:last-child {
  margin-bottom: 0;
}

.anth-jornada-modal-body strong {
  color: var(--text);
  font-weight: 700;
}

.anth-jornada-modal-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.anth-jornada-modal-body a:hover {
  color: var(--teal-solid);
}

.anth-jornada-modal-body .anth-modal-note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-size: 13px;
}

.anth-jornada-modal .anth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--teal-dim);
  background: var(--teal);
  color: #00040a;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.anth-jornada-modal .anth-btn:hover {
  background: var(--teal-solid);
  border-color: var(--teal-solid);
}

.anth-jornada-modal .anth-btn:empty {
  display: none;
}

@media (max-width: 520px) {
  .anth-jornada-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .anth-jornada-modal {
    max-width: none;
    border-radius: 16px 16px 0 0;
    max-height: 88vh;
    overflow-y: auto;
  }

  .anth-jornada-modal-inner {
    padding: 32px 22px 28px;
  }
}

@keyframes anthJornadaFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes anthJornadaPop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .anth-home .anth-jornada-backdrop,
  .anth-home .anth-jornada-modal {
    animation: none;
  }
}