/* Fontes */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Scrollbar customizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3758A1, #542279);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2d4a8a, #471d67);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #3758A1 #f1f5f9;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Botões */
.btn-primary {
    @apply bg-gradient-to-r from-primary-500 to-secondary-500 text-white px-6 py-3 rounded-full font-semibold hover:shadow-lg hover:scale-105 transition-all duration-300 inline-flex items-center justify-center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3758A1, #542279);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(55, 88, 161, 0.3);
}

.btn-secondary {
    @apply bg-white text-primary-600 border-2 border-primary-500 px-6 py-3 rounded-full font-semibold hover:bg-primary-50 transition-all duration-300 inline-flex items-center justify-center;
}

.btn-lg {
    @apply px-8 py-4 text-lg;
}

.btn-white {
    @apply bg-white text-primary-600 px-6 py-3 rounded-full font-semibold hover:bg-primary-50 transition-all duration-300 inline-flex items-center justify-center;
}

/* Títulos de seção */
.section-title {
    @apply text-4xl lg:text-5xl font-playfair font-bold text-gray-800 mb-6 text-center;
    background: linear-gradient(135deg, #3758A1, #542279);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards de serviço */
.service-card {
    @apply bg-white p-8 rounded-3xl shadow-lg hover:shadow-2xl transition-all duration-500 border border-gray-100;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
}

/* Cards de depoimento */
.testimonial-card {
    @apply bg-white p-8 rounded-3xl shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* FAQ */
.faq-item {
    @apply transition-all duration-300 hover:shadow-md;
}

.faq-question:hover {
    @apply bg-gray-50;
}

.faq-question.active i {
    transform: rotate(180deg);
}

/* Formulário de contato */
.contact-input {
    @apply w-full px-4 py-3 bg-white/20 border border-white/30 rounded-xl text-white placeholder-purple-200 focus:outline-none focus:border-white/50 focus:bg-white/30 transition-all duration-300;
    color: #000;
}

.contact-input::placeholder {
    color: rgba(196, 181, 253, 0.7);
}

/* Header com glassmorphism */
#header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#header.scrolled {
    @apply bg-white/95 shadow-lg;
}

/* Links de navegação */
.nav-link {
    @apply relative;
}

.nav-link::after {
    content: '';
    @apply absolute bottom-0 left-0 w-0 h-0.5 bg-gradient-to-r from-primary-500 to-secondary-500 transition-all duration-300;
}

.nav-link:hover::after,
.nav-link.active::after {
    @apply w-full;
}

/* Responsividade */
@media (max-width: 768px) {
    .section-title {
        @apply text-3xl;
    }

    .service-card,
    .testimonial-card {
        @apply p-6;
    }
}

/* Efeitos especiais */
.glass-effect {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradientes personalizados */
.gradient-primary-secondary {
    background: linear-gradient(135deg, #3758A1, #542279);
}

.gradient-secondary-primary {
    background: linear-gradient(135deg, #542279, #3758A1);
}

/* Animações de hover para ícones */
.service-card i,
.testimonial-card i {
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Efeito parallax sutil */
@media (prefers-reduced-motion: no-preference) {
    .parallax-element {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Estados de foco para acessibilidade */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3758A1;
    outline-offset: 2px;
}

/* Transições suaves para todos os elementos interativos */
button,
a,
input,
textarea,
select {
    transition: all 0.3s ease;
}

/* Efeito de loading para botões */
.btn-primary:active {
    transform: scale(0.98);
}

/* Sombras personalizadas */
.shadow-primary {
    box-shadow: 0 10px 25px rgba(55, 88, 161, 0.15);
}

.shadow-secondary {
    box-shadow: 0 10px 25px rgba(84, 34, 121, 0.15);
}

/* Animação de pulso personalizada */
@keyframes pulse-primary {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(55, 88, 161, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(55, 88, 161, 0);
    }
}

.animate-pulse-primary {
    animation: pulse-primary 2s infinite;
}

/* Estilos específicos para LUNIR */
.bg-primary-500 {
    background-color: #3758A1;
}

.bg-secondary-500 {
    background-color: #542279;
}

.text-primary-500 {
    color: #3758A1;
}

.text-secondary-500 {
    color: #542279;
}

.from-primary-500 {
    --tw-gradient-from: #3758A1;
    --tw-gradient-to: rgb(55 88 161 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-secondary-500 {
    --tw-gradient-to: #542279;
}

/* Borda customizada */
.border-primary-500 {
    border-color: #3758A1;
}

.border-secondary-500 {
    border-color: #542279;
}

/* Hover states customizados */
.hover\:text-primary-600:hover {
    color: #2d4a8a;
}

.hover\:bg-primary-50:hover {
    background-color: #eef3fb;
}
