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

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Outfit', sans-serif;
}

/* Animacoes e Movimentos Flutuantes (Keyframes) */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}
@keyframes slide-up-fade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-float-medium { animation: float-medium 4.5s ease-in-out infinite; }
.animate-float-fast { animation: float-fast 3.5s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-slide-up { animation: slide-up-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Efeitos Glassmorphic e Gradients */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.dark .glass-card {
    background: rgba(22, 18, 69, 0.8) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(33, 28, 99, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 148, 64, 0.18);
    border-color: rgba(0, 148, 64, 0.4);
}
.dark .feature-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 148, 64, 0.25);
}

.btn-glow {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: scale(0.5);
}
.btn-glow:hover::after {
    opacity: 1;
    transform: scale(1);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 148, 64, 0.5);
}

/* Dark Mode Overrides */
.dark .bg-gray-50 { background-color: #0a0820 !important; } /* Fundo azul escuro profundo */
.dark .bg-white { background-color: #161245 !important; } /* Cards azul escuro */
.dark .bg-gray-900 { background-color: #08061a !important; } /* Rodape e cabecalho */
.dark .bg-gray-800 { background-color: #0e0b2e !important; } /* Botoes e cartoes secundarios */
.dark .text-gray-900 { color: #f8fafc !important; }
.dark .text-gray-800 { color: #f1f5f9 !important; }
.dark .text-gray-600 { color: #cbd5e1 !important; }
.dark .text-gray-500 { color: #94a3b8 !important; }
.dark .border-gray-100 { border-color: #211c63 !important; }
.dark .border-gray-200 { border-color: #211c63 !important; }
.dark .border-gray-700 { border-color: #211c63 !important; }
.dark .border-gray-800 { border-color: #211c63 !important; }

/* AI Chat Drawer */
#ai-agent-drawer {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
