@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-column: #f1f5f9;
  --bg-card: #ffffff;
  --accent-orange: #ff5500;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-sky: #0284c7;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-light: #e2e8f0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
}

.brand-font {
  font-family: 'Outfit', sans-serif;
}

/* OCULTAR SCROLLBAR VISUALMENTE (mantém scroll funcional) */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE / Edge */
  scrollbar-width: none;     /* Firefox */
}
.no-scrollbar::-webkit-scrollbar {
  display: none;             /* Chrome / Safari / Opera */
}

/* HEADER CLARO */
.light-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* SIDEBAR CLARA */
.light-sidebar {
  background: #ffffff;
  border-right: 1px solid var(--border-light);
}

/* COLUNA KANBAN CLARA */
.kanban-column-light {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kanban-column-light:hover {
  border-color: rgba(255, 85, 0, 0.3);
  box-shadow: 0 4px 12px 0 rgba(255, 85, 0, 0.06);
}

/* CARD CLARO PREMIUM COM ANIMAÇÃO SWIFT & HOVER ZOOM */
.publi-card-light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 2px 8px 0 rgba(15, 23, 42, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.publi-card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-orange), #ff8800);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.publi-card-light:hover {
  transform: translateY(-6px) scale(1.018);
  border-color: rgba(255, 85, 0, 0.4);
  box-shadow: 0 20px 30px -8px rgba(255, 85, 0, 0.18), 0 8px 10px -4px rgba(0, 0, 0, 0.04);
}

.publi-card-light:hover::before {
  opacity: 1;
}

/* ZOOM SUAVE DA IMAGEM DE CAPA NO HOVER */
.publi-card-light img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.publi-card-light:hover img {
  transform: scale(1.04);
}

/* CARD VERDE NO CONCLUÍDO (EXACT MATCH DA SUA FOTO) */
.publi-card-concluido {
  background-color: #064e3b !important;
  color: #ffffff !important;
  border: 1px solid #047857 !important;
  box-shadow: 0 4px 14px 0 rgba(5, 150, 105, 0.2);
}

.publi-card-concluido:hover {
  border-color: #34d399 !important;
  box-shadow: 0 20px 35px -5px rgba(5, 150, 105, 0.4) !important;
}

.publi-card-dev {
  background-color: #ffffff !important;
  border: 1px solid #f97316 !important;
}

/* BADGES DE STATUS */
.badge-status-concluido {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-status-dev {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-status-todo {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* BOTÃO DE ATA DE AUDITORIA */
.btn-ata-orange {
  background: linear-gradient(135deg, #ff5500, #ff7700);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-ata-orange:hover {
  background: linear-gradient(135deg, #e64d00, #ff6600);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.4);
}

/* SCROLLBAR CLARO */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff5500;
}

/* ANIMAÇÃO DE ENTRADA POP-IN */
@keyframes cardPopIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.card-pop-in {
  animation: cardPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popInModal {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-pop-in {
  animation: popInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ══════════════════════════════════════════════════
   CARTÕES KANBAN — ANIMAÇÃO DE ATIVAÇÃO
   Default: branco sem cor
   Hover: borda colorida + fundo colorido embaixo
══════════════════════════════════════════════════ */

/* Base comum: sem borda colorida no default */
.card-afazer,
.card-desenvolvimento,
.card-correcao,
.card-concluido {
  position: relative;
  overflow: hidden;
  border: 2.5px solid #e2e8f0 !important; /* borda neutra default */
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

/* Fundo da faixa de status — default claro */
.card-afazer      .card-status-band { background: #eff6ff; }
.card-desenvolvimento .card-status-band { background: #eef2ff; }
.card-correcao    .card-status-band { background: #fff1f2; }
.card-concluido   .card-status-band { background: #f0fdf4; }

/* Texto do status — default colorido (não branco) */
.card-afazer      .card-status-band .status-dot { background: #2563EB; }
.card-desenvolvimento .card-status-band .status-dot { background: #4F46E5; }
.card-correcao    .card-status-band .status-dot { background: #DC2626; }
.card-concluido   .card-status-band .status-dot { background: #059669; }

.card-afazer      .card-status-band .status-label { color: #1d4ed8; }
.card-desenvolvimento .card-status-band .status-label { color: #4338ca; }
.card-correcao    .card-status-band .status-label { color: #b91c1c; }
.card-concluido   .card-status-band .status-label { color: #047857; }

/* ── HOVER: ATIVAÇÃO COM COR ── */
.card-afazer:hover {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12), 0 12px 32px -8px rgba(37,99,235,0.30) !important;
  transform: translateY(-3px);
}
.card-desenvolvimento:hover {
  border-color: #4F46E5 !important;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.12), 0 12px 32px -8px rgba(79,70,229,0.30) !important;
  transform: translateY(-3px);
}
.card-correcao:hover {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.12), 0 12px 32px -8px rgba(220,38,38,0.30) !important;
  transform: translateY(-3px);
}
.card-concluido:hover {
  border-color: #059669 !important;
  box-shadow: 0 0 0 4px rgba(5,150,105,0.12), 0 12px 32px -8px rgba(5,150,105,0.30) !important;
  transform: translateY(-3px);
}

/* Faixa de status vira sólida no hover */
.card-status-band {
  transition: background 0.35s ease;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-afazer:hover      .card-status-band { background: #2563EB; }
.card-desenvolvimento:hover .card-status-band { background: #4F46E5; }
.card-correcao:hover    .card-status-band { background: #DC2626; }
.card-concluido:hover   .card-status-band { background: #059669; }

/* Ponto e texto ficam brancos no hover */
.card-afazer:hover      .card-status-band .status-dot,
.card-desenvolvimento:hover .card-status-band .status-dot,
.card-correcao:hover    .card-status-band .status-dot,
.card-concluido:hover   .card-status-band .status-dot {
  background: rgba(255,255,255,0.8);
  transition: background 0.35s ease;
}
.card-afazer:hover      .card-status-band .status-label,
.card-desenvolvimento:hover .card-status-band .status-label,
.card-correcao:hover    .card-status-band .status-label,
.card-concluido:hover   .card-status-band .status-label {
  color: #ffffff;
  transition: color 0.35s ease;
}

/* Shimmer deslizante no hover */
@keyframes shimmerCard {
  0%   { left: -70%; opacity: 0.6; }
  100% { left: 130%; opacity: 0; }
}
.card-afazer::after,
.card-desenvolvimento::after,
.card-correcao::after,
.card-concluido::after {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}
.card-afazer:hover::after,
.card-desenvolvimento:hover::after,
.card-correcao:hover::after,
.card-concluido:hover::after {
  animation: shimmerCard 0.7s ease forwards;
}

/* ══════════════════════════════════════════════════
   CRONÔMETRO — ESTILOS FORTES
══════════════════════════════════════════════════ */

/* Pulsação para timer atrasado */
@keyframes timerPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(220,38,38,0.5); }
  50%       { opacity: 0.9; transform: scale(1.03); box-shadow: 0 0 0 6px rgba(220,38,38,0); }
}
.timer-pulse {
  animation: timerPulse 1.4s ease-in-out infinite !important;
}

/* Badge de timer no MODAL — maior e mais impactante */
#modalLiveTimerBadge {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 9999px !important;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
}

/* Badge de timer nos CARDS — destaque maior */
.live-timer-badge {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  letter-spacing: 0.01em;
}

