/* ==========================================================================
   PORTAL DE MÍDIA - ADILSON BARROSO 2251 & FABIANA BOLSONARO 22051
   Tema Claro: Limpo, Moderno, Fluido e Otimizado para Mobile
   ========================================================================== */

:root {
  --br-green: #009c3b;
  --br-green-dark: #007a2e;
  --br-green-light: #10b981;
  --br-yellow: #eab308;
  --br-yellow-light: #fef08a;
  --br-blue: #002776;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
}

/* Otimização de renderização e toque no celular */
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-light);
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Efeito sutil patriótico no topo */
.top-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, #009c3b 0%, #ffdf00 50%, #002776 100%);
  width: 100%;
}

/* Cartões no Tema Claro */
.light-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-card:hover {
  border-color: #10b981;
  box-shadow: 0 12px 24px -6px rgba(0, 156, 59, 0.12);
  transform: translateY(-2px);
}

/* Aspect Ratio para Vídeos Verticais 9:16 (Reels/Shorts/Status) */
.aspect-vertical-reel {
  aspect-ratio: 9 / 16;
}

/* Container de Vídeo */
.video-preview-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #020617;
}

.video-preview-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scrollbar Personalizada Clara */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #009c3b;
}

/* Animações e Transições */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(0, 156, 59, 0.25);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0, 156, 59, 0.45);
  }
}

.pulse-cta {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Dropdown de Cidades no Tema Claro */
#cidades-section {
  scroll-margin-top: 4.5rem;
}

.city-dropdown-list {
  max-height: 380px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.city-option-item {
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.city-option-item:hover,
.city-option-item.active {
  background: #f0fdf4;
  border-left: 4px solid #009c3b;
  padding-left: 1rem;
}

/* Estilização do Toast */
#toast-notification {
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast-notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#toast-notification.hide {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

