/**
 * Gotivo Redação | Central de Jornalismo & Conteúdo
 * Identidade Visual Slim: Vermelho, Amarelo e Off-White
 */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --gotivo-red: #bc9657;
  --gotivo-red-dark: #9a773e;
  --gotivo-red-soft: rgba(188, 150, 87, 0.12);
  --gotivo-yellow: #ceaf78;
  --gotivo-yellow-soft: rgba(206, 175, 120, 0.18);
  --paper-bg: #f7f7f4;
  --card-bg: #ffffff;
  --ink-primary: #121826;
  --ink-secondary: #4b5563;
  --ink-muted: #8c93a0;
  --border-line: rgba(0, 0, 0, 0.08);
  --border-card: #e5e7eb;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--paper-bg);
  color: var(--ink-primary);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: 'League Spartan', sans-serif;
  letter-spacing: -0.02em;
}

/* Custom Scrollbars Slim */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Estilo de Coluna Kanban */
.kanban-column {
  min-height: calc(100vh - 270px);
  background: rgba(243, 244, 246, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.kanban-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  border: 1px solid #e5e7eb;
}
.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

/* Marca d'água discreta de estúdio */
.studio-badge {
  background: linear-gradient(135deg, #e1062c 0%, #b90020 100%);
  color: white;
}

/* Animação do Pulso Ao Vivo */
@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.pulse-dot {
  animation: pulse-live 1.8s infinite ease-in-out;
}

/* Abas Ativas Slim */
.nav-tab-btn {
  position: relative;
  transition: all 0.2s ease;
}
.nav-tab-btn.active {
  color: #795c2d;
  font-weight: 700;
}
.nav-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--gotivo-red);
  border-radius: 4px;
}

/* Modo Teleprompter para Locução */
.teleprompter-mode {
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  font-size: 1.35rem;
  line-height: 2.1;
  color: #111827;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
}

.teleprompter-cue {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #fde68a;
  margin-right: 0.35rem;
}

/* Toast Notification */
#toast-notification {
  transform: translateY(120%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
#toast-notification.show {
  transform: translateY(0);
}


body[data-theme="dark"] .nav-tab-btn.active { color: #e3bc7d; }
body[data-theme="dark"] .kanban-column h3,
body[data-theme="dark"] .kanban-column > div > span[id^="count-"] {
  color: #e2e8f0 !important;
}

@media (max-width: 639px) {
  header > div:first-child { flex-wrap: wrap; gap: .5rem; }
  header > div:first-child img { max-width: 7rem; min-width: 0; }
  #calendario-container .grid-cols-7 > div { min-width: 0; overflow-wrap: anywhere; }
}

[hidden] { display: none !important; }
