:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

/* CTA: brilho sutil no hover (complementa Tailwind) */
.cta-btn {
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.45s ease;
}

.cta-btn:hover::after {
  left: 120%;
}

/* Notícias: proporção e skeleton */
.news-card-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #e2e8f0;
}

.skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 1.35s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
