/* Fase AH.3.3 — CSS custom complementando Tailwind CDN.
 * Apenas estilos que Tailwind utility não cobre bem:
 *  - Background grid SVG
 *  - Animação de reveal on scroll
 *  - Fade-in inicial
 */

/* Background grid (linha sutil estilo blueprint) */
.grid-bg {
  background-image:
    linear-gradient(rgba(217, 119, 6, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 119, 6, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Fade-in inicial (hero) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll (Intersection Observer trigger) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset por navbar fixa */
}

/* Custom scrollbar (slate/amber theme) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #57534e;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #78716c;
}
