/* 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, #ba7d58, #8c523b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8c523b, #734535);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #ba7d58 #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-wood-500 to-wood-700 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, #8c523b, #734535);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.08);
}

.btn-secondary {
    @apply bg-white text-wood-600 border-2 border-wood-600 px-6 py-3 rounded-full font-semibold hover:bg-wood-600 hover:text-white 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-wood-600 px-6 py-3 rounded-full font-semibold hover:bg-wood-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, #ba7d58, #8c523b);
    -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-100;
}

.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-wood-500 to-wood-700 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-wood {
    background: linear-gradient(135deg, #ba7d58, #8c523b);
}

.gradient-wood-variant {
    background: linear-gradient(135deg, #8c523b, #734535);
}

.gradient-wood-soft {
    background: linear-gradient(135deg, #d9c6b8, #f7efe8);
}

/* 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 #8b5cf6;
    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-purple {
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
}

.shadow-pink {
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.15);
}

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

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
}

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