/* ========================================================================
   MELHORIAS VISUAIS PREMIUM - COMPONENTES COMPARTILHADOS
   Design profissional para todos os temas
   ======================================================================== */

/* ===== FONTES PREMIUM ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== LOGO MELHORADO ===== */
.nav-logo img,
.hero-logo {
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4),
                0 0 40px rgba(212, 175, 55, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-logo img:hover,
.hero-logo:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6),
                0 0 60px rgba(212, 175, 55, 0.3),
                0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

/* ===== TÍTULOS HERO MELHORADOS ===== */
.hero h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8),
                 0 2px 10px rgba(0, 0, 0, 0.9),
                 0 0 40px rgba(212, 175, 55, 0.3) !important;
    position: relative;
    z-index: 2;
}

.hero p {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9),
                 0 1px 5px rgba(0, 0, 0, 1) !important;
    backdrop-filter: blur(2px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
}

/* ===== BOTÕES COM EFEITO NEON ===== */
.hero-btn,
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn-primary {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4),
                0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.hero-btn-primary:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.7),
                0 0 80px rgba(212, 175, 55, 0.4),
                0 12px 35px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-5px) scale(1.05) !important;
}

/* ===== CARDS COM GLOW 3D ===== */
.card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card:hover {
    transform: translateY(-15px) scale(1.03) rotateZ(1deg) !important;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3),
                0 25px 60px rgba(0, 0, 0, 0.7),
                inset 0 0 15px rgba(255, 255, 255, 0.05) !important;
}

/* Animação de brilho ao passar mouse */
.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    pointer-events: none;
    opacity: 0;
}

.card:hover::after {
    opacity: 1;
    left: 100%;
}

/* ===== IMAGENS COM ZOOM SUAVE ===== */
.card-image {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s ease !important;
}

.card:hover .card-image {
    transform: scale(1.12) !important;
    filter: brightness(1.1) contrast(1.05);
}

/* ===== ANIMAÇÕES DE ENTRADA ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* ===== SOCIAL LINKS COM EFEITO ===== */
.social-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.social-links a:hover {
    transform: scale(1.2) translateY(-3px) !important;
    text-shadow: 0 0 15px currentColor !important;
}

/* ===== NAVEGAÇÃO COM BLUR PREMIUM ===== */
.main-nav {
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}

/* ===== TÍTULOS DE SEÇÃO COM UNDERLINE ANIMADO ===== */
.section-title {
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent,
        var(--color-primary, #D4AF37),
        transparent
    );
    border-radius: 2px;
    box-shadow: 0 0 20px var(--color-primary, #D4AF37);
}

/* ===== SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}

/* ===== PERFORMANCE ===== */
* {
    will-change: auto;
}

.card,
.hero-btn,
.card-image {
    will-change: transform, box-shadow;
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== LOADING STATE ===== */
.loading {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.loaded {
    opacity: 1;
}
