/* ================= GRAIN OVERLAY ================= */
/* Textura sutil de ruído sobre toda a página via SVG inline em data-URI. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .028;
  mix-blend-mode: overlay;
}

/* ================= SCROLL PROGRESS ================= */
/* Barra fixa no topo preenchida via JS (assets/js/progress.js). */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  z-index: 100;
  width: 0%;
  transition: width .1s linear;
}
