/* TESTE: onda passando pelos pontinhos do fundo branco.
   Para desligar, apague a linha que carrega onda.css no index.html.
   Nada mais na página depende deste arquivo. */

body { position: relative; }

/* camada de pontos laranja, alinhada com a grade cinza do body (28px) */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='2' cy='2' r='1.9' fill='%23cc785c'/%3E%3C/svg%3E") -1px -1px / 28px 28px;
  opacity: 0.6;
  /* faixa suave que acende os pontos; duas ondas por ciclo */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #000 30%, transparent 40%, transparent 60%, rgba(0,0,0,.55) 68%, transparent 76%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #000 30%, transparent 40%, transparent 60%, rgba(0,0,0,.55) 68%, transparent 76%, transparent 100%);
  -webkit-mask-size: 400% 100%;
          mask-size: 400% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  animation: onda-passa 9s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes onda-passa {
  0%   { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
}
