/* ================================================
   BANNER STORYTELLING FAEP - ELEMENTOS VISUAIS
   ================================================ */

/* === TIPOGRAFIA PREMIUM === */
.banner-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 900;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.banner-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(239, 68, 68, 0.1) 50%, transparent 100%);
    z-index: -1;
    border-radius: 8px;
}

/* === ANIMAÇÕES PERSONALIZADAS === */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-delay {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fade-in-delay 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* === ELEMENTOS GRÁFICOS AVANÇADOS === */

/* Inovação - Linhas Conectivas */
.innovation-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
    animation: networkPulse 6s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Mercado - Elementos Corporativos */
.corporate-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: 
        conic-gradient(from 0deg, transparent 0deg, rgba(239, 68, 68, 0.1) 90deg, transparent 180deg);
    border-radius: 50%;
    animation: corporateRotate 30s linear infinite;
}

@keyframes corporateRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Professores - Elementos de Sabedoria */
.wisdom-elements::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    border-radius: 50%;
    animation: wisdomFloat 8s ease-in-out infinite;
}

.wisdom-elements::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 20%;
    width: 150px;
    height: 150px;
    background: linear-gradient(-45deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    border-radius: 50%;
    animation: wisdomFloat 8s ease-in-out infinite reverse;
}

@keyframes wisdomFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
}

/* === CARDS DE ESTATÍSTICAS === */
.stats-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* === BOTÕES PREMIUM === */
.btn-primary {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.btn-secondary:hover::before {
    width: 100%;
}

/* === BADGES TEMÁTICOS === */
.theme-badge {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.theme-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* === RESPONSIVIDADE AVANÇADA === */
@media (max-width: 1024px) {
    .innovation-lines::before,
    .corporate-pattern::before,
    .wisdom-elements::before,
    .wisdom-elements::after {
        display: none;
    }
    
    .banner-title {
        font-size: 3rem !important;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .stats-card {
        padding: 1rem !important;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem !important;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
    
    .flex-col {
        flex-direction: column !important;
    }
}

/* === OTIMIZAÇÕES DE PERFORMANCE === */
.innovation-lines,
.corporate-pattern,
.wisdom-elements {
    will-change: transform;
    transform: translateZ(0);
}

.stats-card,
.btn-primary,
.btn-secondary {
    will-change: transform;
    transform: translateZ(0);
}

/* === MODO ESCURO / CLARO === */
@media (prefers-color-scheme: dark) {
    .theme-badge {
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (prefers-color-scheme: light) {
    .theme-badge {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* === ACESSIBILIDADE === */
@media (prefers-reduced-motion: reduce) {
    .innovation-lines,
    .corporate-pattern,
    .wisdom-elements,
    .animate-fade-in,
    .animate-fade-in-delay {
        animation: none !important;
    }
    
    .stats-card:hover {
        transform: none !important;
    }
}

/* === PRINT STYLES === */
@media print {
    .innovation-lines,
    .corporate-pattern,
    .wisdom-elements,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
} 