.teste-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.teste-card:hover:not(.opacity-50) {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.15);
}
.bg-sage { background-color: #1a8a4a; }
.bg-sage-dark { background-color: #15703e; }
.text-sage { color: #1a8a4a; }
.border-sage { border-color: #85d4a8; }
.hover\:bg-sage-dark:hover { background-color: #15703e; }
.focus\:ring-sage:focus { --tw-ring-color: #85d4a8; }

#barraProgresso {
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pergunta-card {
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.opcao-resposta {
  transition: all 0.2s ease;
  cursor: pointer;
}
.opcao-resposta:hover {
  border-color: #85d4a8;
  background-color: #f0faf4;
}
.opcao-resposta.selected {
  border-color: #1a8a4a;
  background-color: #d9f2e3;
  box-shadow: 0 0 0 2px rgba(26, 138, 74, 0.2);
}
.opcao-resposta input:checked + span { font-weight: 600; }

.btn-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 138, 74, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(26, 138, 74, 0); }
}

.loading-spinner {
  border: 3px solid #e5e7eb;
  border-top-color: #1a8a4a;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .teste-grid { grid-template-columns: 1fr; }
}
