/* motion.css — suporte visual para as animações GSAP.
   Tudo aqui é aditivo: sem JS, o site continua legível e completo. */

/* --- marquee do ticker --- */
.ticker.is-marquee > .wrap { width: 100%; overflow: hidden; }
.ticker.is-marquee .marquee-track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content; will-change: transform;
}
.ticker.is-marquee .marquee-group {
  display: flex; align-items: center; gap: 2.5rem;
  flex: 0 0 auto; padding-right: 2.5rem;
}

/* --- split de linhas/palavras (só aplicado quando o JS roda) --- */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; will-change: transform; }
.split-word { display: inline-block; white-space: pre; will-change: transform, opacity; }

/* --- seção do sonho --- */
.dream-section { background: var(--ink); color: #fff; padding-block: 5.5rem; border-top: 1px solid #373d38; }
.dream-head { max-width: 46rem; margin-bottom: 3rem; }
.dream-head .eyebrow { color: #b4c0b1; }
.dream-head h2 { margin-bottom: 1.2rem; }
.dream-head > p { color: #b4c0b1; font-size: 1.1rem; margin: 0; max-width: 38rem; }
.dream-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.dream-card {
  border: 1px solid #465044; border-radius: .9rem; padding: 1.9rem 1.7rem;
  background: #1d2320; display: flex; flex-direction: column;
}
.dream-card .dream-icon {
  font: 800 .75rem/1 'Manrope', Arial, sans-serif; letter-spacing: .08em;
  color: var(--ink); background: var(--yellow);
  align-self: flex-start; padding: .45rem .6rem; border-radius: .3rem; margin-bottom: 1.9rem;
}
.dream-card h3 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em;
  line-height: 1.22; margin-bottom: 1rem;
}
.dream-card p { color: #bac4b7; font-size: 1rem; margin: 0; }
.dream-card strong { color: #fff; font-weight: 600; }
.dream-note {
  margin: 2.2rem 0 0; font-size: .875rem; color: #98a396;
  border-top: 1px solid #373d38; padding-top: 1.4rem; max-width: 46rem;
}

@media (max-width: 1050px) {
  .dream-grid { gap: 1rem; }
  .dream-card { padding: 1.5rem 1.3rem; }
  .dream-card h3 { font-size: 1.32rem; }
}
@media (max-width: 760px) {
  .dream-section { padding-block: 3.5rem; }
  .dream-head { margin-bottom: 2rem; }
  .dream-head > p { font-size: 1rem; }
  .dream-grid { grid-template-columns: 1fr; }
  .dream-card { padding: 1.5rem; }
  .dream-card .dream-icon { margin-bottom: 1.4rem; }
  .dream-card h3 { font-size: 1.5rem; }
  .ticker.is-marquee .marquee-track,
  .ticker.is-marquee .marquee-group { gap: 1.6rem; }
  .ticker.is-marquee .marquee-group { padding-right: 1.6rem; }
}

/* Sem animação para quem pediu menos movimento: o JS não roda,
   então nada pode ficar invisível por causa de um estado inicial. */
@media (prefers-reduced-motion: reduce) {
  .split-line, .split-word { display: inline; overflow: visible; }
}
