/* Custom animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #0066cc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0052a3;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Skip to content for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0066cc;
  color: white;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Header scroll effect */
.header-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile menu: escondido de verdade (não captura clique) */
#mobile-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover effects enhancement */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Print styles */
@media print {
  header,
  footer,
  .fixed {
    display: none !important;
  }

  section {
    page-break-inside: avoid;
  }
}
