@keyframes splashProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.animate-splash-progress {
  animation: splashProgress 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#splash-screen {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.splash-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(1.05);
}

.nav-btn {
  transition: color 0.2s ease-in-out;
}

.nav-btn.active {
  color: #10b981;
}

.paywall-blur {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.print-only {
  display: none;
}

/* Evita o recarregamento da página (pull-to-refresh) ao deslizar para baixo */
body {
  overscroll-behavior-y: none;
}

/* Oculta marca d'água injetada pelo Netlify se houver */
div[id^="netlify-alumni"], 
a[href*="netlify.com/?utm_source"], 
script ~ div > a[href*="netlify"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
    padding-bottom: 0 !important;
  }
  .no-print, nav, header, button, form, #paywall-banner, #splash-screen, #ad-container {
    display: none !important;
  }
  .tab-content {
    display: block !important;
  }
  .print-only {
    display: block !important;
  }
  .paywall-blur {
    filter: none !important;
  }
  canvas {
    max-height: 220px !important;
    width: 100% !important;
  }
  table {
    color: #000000 !important;
    width: 100%;
    border-collapse: collapse;
  }
  th, td {
    border-bottom: 1px solid #cccccc !important;
    color: #000000 !important;
    padding: 8px !important;
  }
}
