/* ===== 03-ponto-de-partida.css ===== */
.ex-home .ex-moment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.ex-home .ex-moment-card:hover::before {
  transform: scaleX(1);
}

.ex-home .ex-moment-top,
.ex-home .ex-moment-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ex-home .ex-moment-arrow {
  flex: none;
  font-size: 1.05rem;
  line-height: 1;
}

.ex-home .ex-moment-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 0;
  color: #7f91aa;
  font-size: 0.8rem;
}

.ex-home .ex-moment-footnote svg {
  width: 15px;
  height: 15px;
}

.ex-home .ex-moment-section {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(230, 56, 61, 0.08),
      transparent 36%
    ),
    #eef2f6;
  border-top: 1px solid var(--ex-line);
  border-top-color: rgba(40, 49, 59, 0.13);
}

.ex-home .ex-moment-section .ex-section-heading h2 {
  color: #111b28;
}

.ex-home .ex-moment-section .ex-section-heading > p:last-child,
.ex-home .ex-moment-footnote {
  color: #626e79;
}

.ex-home .ex-moment-card {
  position: relative;
  min-height: 365px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--ex-line-bright);
  border-radius: 3px 3px 17px 17px;
  background: #ffffff;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
  border-color: rgba(44, 55, 67, 0.16);
  box-shadow: 0 22px 55px rgba(35, 42, 49, 0.07);
}

.ex-home .ex-moment-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  transform: scaleX(1);
  transform-origin: left;
  background: var(--ex-red);
  transition: transform 200ms ease;
}

.ex-home .ex-moment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 56, 61, 0.46);
  background: #ffffff;
  box-shadow: 0 28px 64px rgba(35, 42, 49, 0.12);
}

.ex-home .ex-moment-top small {
  color: #77818b;
  font-size: 0.63rem;
  font-weight: 670;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ex-home .ex-moment-card h3 {
  width: 100%;
  max-width: none;
  min-height: 2.3em;
  margin: 64px 0 0;
  color: #172330;
  font-size: clamp(1.4rem, 1.85vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  text-wrap: balance;
}

.ex-home .ex-moment-card > p {
  margin: 16px 0 30px;
  color: #65717d;
  font-size: 0.91rem;
  line-height: 1.65;
}

.ex-home .ex-moment-route {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ex-line);
  color: #b92328;
  font-size: 0.75rem;
  font-weight: 710;
  border-top-color: rgba(44, 55, 67, 0.12);
}

.ex-home .ex-moment-footnote a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b92328;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .ex-home .ex-moment-card {
    min-height: 280px;
  }

  .ex-home .ex-moment-card h3 {
    margin-top: 38px;
  }
}

@media (max-width: 768px) {
  .ex-home .ex-centered-heading .ex-eyebrow,
  .ex-home .ex-moment-section .ex-eyebrow {
    justify-content: center;
  }

  .ex-home .ex-moment-card {
    min-height: 310px;
    padding: 23px;
  }

  .ex-home .ex-moment-footnote {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 1024px) {
  .ex-home .ex-moment-grid {
    grid-template-columns: 1fr;
    width: min(100%, 680px);
    margin-inline: auto;
  }
}
