/* 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, #0F3A7D, #2E7DBE);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0D2E61, #1E5FA8);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #0F3A7D #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-blue-600 to-blue-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, #1E5FA8, #2E7DBE);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 95, 168, 0.3);
}

/* Botão Flutuante WhatsApp */
.whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    background-color: #25d366 !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 45px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5) !important;
    transition: all 0.3s ease !important;
    animation: bounce-whatsapp 0.5s ease-in-out !important;
}

.whatsapp-btn:hover {
    background-color: #20ba5a !important;
    transform: scale(1.15) !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7) !important;
}

.whatsapp-btn:active {
    transform: scale(0.95) !important;
}

@keyframes bounce-whatsapp {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 70px !important;
        height: 70px !important;
        font-size: 38px !important;
    }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

.btn-secondary {
    @apply bg-white text-blue-600 border-2 border-blue-600 px-6 py-3 rounded-full font-semibold hover:bg-blue-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-blue-600 px-6 py-3 rounded-full font-semibold hover:bg-blue-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, #0F3A7D, #2E7DBE);
    -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);
}

.faq-answer {
    max-height: 1000px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    padding: 1.5rem 1.5rem 0 !important;
    display: block !important;
}

.faq-answer.hidden {
    max-height: 0;
    padding: 0 1.5rem !important;
    overflow: hidden;
    display: block !important;
}

/* 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-blue-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-blue-600 to-blue-400 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-blue-cyan {
    background: linear-gradient(135deg, #0F3A7D, #2E7DBE);
}

.gradient-blue-sky {
    background: linear-gradient(135deg, #1E5FA8, #3B9DDE);
}

.gradient-sky-cyan {
    background: linear-gradient(135deg, #2E7DBE, #4BB0E8);
}

/* 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 #0F3A7D;
    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-blue {
    box-shadow: 0 10px 25px rgba(30, 95, 168, 0.15);
}

.shadow-cyan {
    box-shadow: 0 10px 25px rgba(62, 157, 222, 0.15);
}

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

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(30, 95, 168, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(30, 95, 168, 0);
    }
}

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