/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,200,150,0.35);
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); }

/* Glow blobs — overflow contido pelo pai */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.06;
  animation: pulse-glow 6s ease-in-out infinite;
  /* Não deixar o blob extrapolar a largura da página */
  max-width: 100%;
}

/* ── Anti-overflow global ──
   Todas as seções de nível superior não devem vazar horizontalmente.
   O html/body já tem overflow-x:hidden, mas seções com position:relative
   podem criar novos contextos de empilhamento que escapam disso.
*/
section {
  max-width: 100%;
}
