/* Estilos personalizados além do Tailwind */
@font-face {
  font-family: 'Inter var';
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  font-named-instance: 'Regular';
  src: url('../fonts/inter-var.woff2') format('woff2');
}

body {
  font-family: 'Inter var', system-ui, -apple-system, sans-serif;
}

/* Estilo para os links de navegação */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0d9488; /* primary-600 */
  transition: width 0.3s ease;
  border-radius: 9999px;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* Efeito de hover para botões */
.btn-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover:hover {
  transform: translateY(-2px);
}

.btn-animate {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-animate::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transition: left 0.3s ease;
}

.btn-animate:hover::after {
  left: 0;
}

/* Animações para os cards */
.hero-image-wrap {
  transition: transform 0.5s ease;
}

.hero-image-wrap:hover {
  transform: scale(1.02);
}

/* Animações para a borda dos cards */
.animate-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

.animate-border:hover::before {
  border-color: #0d9488; /* primary-600 */
  transform: scale(1.05);
}

/* Animação blob no fundo do hero */
.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
  animation: blob 7s infinite;
}

/* Estilos para acessibilidade */
*:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

/* Estilos para dark mode */
.dark .dark-filter {
  filter: brightness(0.8) contrast(1.2);
}

/* Estilos para chat simulado */
.chat-bubble {
  position: relative;
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 80%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 8px;
}

.chat-bubble.ai {
  background-color: white;
  color: #333;
  border-top-left-radius: 2px;
}

.chat-bubble.user {
  background-color: #0d9488;
  color: white;
  border-top-right-radius: 2px;
  margin-left: auto;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.chat-message {
  display: flex;
  margin-bottom: 16px;
}

/* Estilo específico para scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
  background: #555;
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Menu Mobile */
.mobile-menu-enter {
    opacity: 0;
    transform: translateX(100%);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 300ms, transform 300ms;
}

.mobile-menu-exit {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 300ms, transform 300ms;
}

/* Botões Flutuantes */
#dark-mode-toggle,
.whatsapp-float {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

#dark-mode-toggle:hover,
.whatsapp-float:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Ajustes para Mobile */
@media (max-width: 768px) {
    #dark-mode-toggle {
        bottom: 5rem;
        right: 1rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
} 