/* Tipografia base */
body {
  font-family: 'Inter', sans-serif;
}

/* Links */
a {
  color: #60a5fa; /* text-blue-400 */
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Títulos */
h1, h2, h3 {
  font-weight: 600;
}

/* Seleção */
::selection {
  background-color: #3b82f6; /* bg-blue-500 */
  color: white;
}

/* Temas por estação */
.theme-winter {
  background-color: #dbeafe; /* bg-blue-100 */
  color: #111827; /* text-gray-900 */
}

.theme-autumn {
  background-color: #ffedd5; /* bg-orange-100 */
  color: #111827;
}

/* Tema escuro */
.dark {
  background-color: #111827; /* bg-gray-900 */
  color: white;
}

/* Botão genérico */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  background-color: white;
  color: black;
  transition: background-color 0.3s ease-in-out;
}
.btn:hover {
  background-color: #e5e7eb; /* hover:bg-gray-200 */
}

/* Cartão */
.card {
  background-color: #1f2937; /* bg-gray-800 */
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* Input */
.input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.375rem;
  background-color: #1f2937;
  color: white;
  border: 1px solid #4b5563; /* border-gray-600 */
}
.input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #3b82f6;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 0.5s ease-in-out;
}

@keyframes leafFall {
  0% { transform: translateY(-10%) rotate(0deg); opacity: 1; }
  100% { transform: translateY(120vh) rotate(360deg); opacity: 0; }
}
.falling-leaf {
  position: fixed;
  top: -10px;
  font-size: 1.5rem;
  z-index: 0;
  pointer-events: none;
  animation: leafFall linear forwards;
}

/* Vídeo responsivo */
@media (max-width: 768px) {
  video#bgVideo {
    object-position: center top;
  }
}

video#bgVideo {
  transition: opacity 0.8s ease;
}
