/* ═══════════════════════════════════════════════════════════
   Talentis — Design Enhancements
   Scroll reveal, hover states, hero polish
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll reveal ── */
.tj-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.tj-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger para grids */
.tj-reveal:nth-child(2) { transition-delay: .08s; }
.tj-reveal:nth-child(3) { transition-delay: .16s; }
.tj-reveal:nth-child(4) { transition-delay: .24s; }

/* Respeitar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .tj-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Hover states ricos nos cards ── */
.rs-acard,
.tj-pillar,
.tj-sector-card,
.tj-card,
.rs-scard {
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1) !important;
}
.rs-acard:hover,
.tj-pillar:hover,
.tj-sector-card:hover,
.tj-card:hover,
.rs-scard:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15, 25, 65, .12) !important;
}

/* Links de cards: subtle arrow movement */
.tj-card a,
.rs-acard a { transition: color .15s; }

/* ── Botões: micro-feedback ── */
.tj-btn {
  transition: transform .15s, box-shadow .2s, background .15s !important;
}
.tj-btn:hover {
  transform: translateY(-1px);
}
.tj-btn:active {
  transform: translateY(0);
}
.tj-btn--solid:hover {
  box-shadow: 0 8px 20px rgba(33, 117, 217, .35);
}

/* ── Hero: gradiente animado subtil sobre a imagem ── */
.rs-hero-new__ov {
  background: linear-gradient(120deg,
    rgba(15, 25, 65, .92) 0%,
    rgba(15, 25, 65, .78) 45%,
    rgba(21, 96, 187, .55) 100%) !important;
  background-size: 200% 200% !important;
  animation: tj-hero-shift 14s ease-in-out infinite;
}
@keyframes tj-hero-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-hero-new__ov { animation: none; }
}

/* ── Contadores stats (estado inicial) ── */
.tj-counter { font-variant-numeric: tabular-nums; }
