/* Animações suaves */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.5s ease-out forwards;
}

.reveal.stagger-1 { animation-delay: 0.1s; }
.reveal.stagger-2 { animation-delay: 0.2s; }
.reveal.stagger-3 { animation-delay: 0.3s; }
.reveal.stagger-4 { animation-delay: 0.4s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card hover sutil */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Drag and drop kanban */
.kanban-column {
  transition: background-color 0.2s ease;
}
.kanban-column.drag-over {
  background-color: rgba(99, 102, 241, 0.08);
}
.kanban-card {
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.kanban-card:active {
  cursor: grabbing;
}
.kanban-card.dragging {
  opacity: 0.4;
  transform: scale(0.95);
}

/* Focus visível para acessibilidade */
*:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Responsividade da sidebar */
@media (max-width: 768px) {
  #sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    z-index: 50;
    transition: left 0.3s ease;
  }
  #sidebar.open {
    left: 0;
  }
}
