/* =========================================================
   COMPONENT — Propósito (banner azul)
   ========================================================= */

.purpose {
  position: relative;
  background-color: var(--color-blue-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

/* Quando precedida por um .cta-pink--overlap, abre espaço pro card transbordar */
.cta-pink--overlap + .purpose {
  padding-top: calc(56px + 60px);
}
@media (min-width: 768px) {
  .cta-pink--overlap + .purpose {
    padding-top: calc(56px + 90px);
  }
}

/* Container escala junto com --container-max (até 1800px no ultra-wide).
   Layout em coluna pra permitir centralizar h2+divider e alinhar o link à direita. */
.purpose__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.purpose h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 var(--space-6);
  max-width: 100%;
  text-align: center;
}
@media (min-width: 768px)  { .purpose h2 { font-size: 32px; } }
@media (min-width: 1024px) { .purpose h2 { font-size: 40px; } }

/* Linha ROSA decorativa abaixo do texto */
.purpose__divider {
  align-self: stretch;
  width: 100%;
  height: 1px;
  background: var(--color-pink);
  margin: 0 0 var(--space-5);
}

/* Link "Entenda nosso propósito" — alinhado à direita, uppercase, 24px */
.purpose__link {
  color: #fff;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  align-self: flex-end;
}
.purpose__link:hover { color: var(--color-pink-light); }
